AgentcorePolicyState constructor

const AgentcorePolicyState({
  1. Input<AgentcorePolicyDefinition?>? definition,
  2. Input<String?>? description,
  3. Input<String?>? name,
  4. Input<String?>? policyArn,
  5. Input<String?>? policyEngineId,
  6. Input<String?>? policyId,
  7. Input<String?>? region,
  8. Input<AgentcorePolicyTimeouts?>? timeouts,
  9. Input<String?>? validationMode,
})

Creates a new AgentcorePolicyState. definition Policy definition. See definition Block for details. description Description of the policy. name Name of the policy. Must be 1-48 characters and match the pattern ^[A-Za-z][A-Za-z0-9_]*$. Changing this forces a new resource to be created. policyArn ARN of the Policy. policyEngineId Identifier of the Policy Engine that owns this policy. Changing this forces a new resource to be created. policyId Identifier of the Policy. region Region where this resource will be managed. Defaults to the Region set in the provider configuration. timeouts Optional. validationMode Controls whether validation findings cause policy creation or update to fail. Valid values: FAIL_ON_ANY_FINDINGS, IGNORE_ALL_FINDINGS. Defaults to FAIL_ON_ANY_FINDINGS.

Implementation

const AgentcorePolicyState({
  this.definition,
  this.description,
  this.name,
  this.policyArn,
  this.policyEngineId,
  this.policyId,
  this.region,
  this.timeouts,
  this.validationMode,
});