Policy
¶
Source code in docs_src/capo_bedrock_agentcore_control/types/policy.py
created_at
instance-attribute
¶
created_at: DateTimestamp
The timestamp when the policy was originally created. This is automatically set by the service and used for auditing and lifecycle management.
definition
instance-attribute
¶
definition: PolicyDefinition
The Cedar or Dogwood policy statement that defines the access control rules. This contains the actual policy logic used for agent behavior control and access decisions.
description
instance-attribute
¶
description: NotRequired[Description]
A human-readable description of the policy's purpose and functionality. Limited to 4,096 characters, this helps administrators understand and manage the policy.
enforcement_mode
instance-attribute
¶
enforcement_mode: EnforcementMode
The current enforcement mode of the policy.
name
instance-attribute
¶
name: PolicyName
The customer-assigned immutable name for the policy. This human-readable identifier must be unique within the account and cannot exceed 48 characters.
policy_arn
instance-attribute
¶
policy_arn: PolicyArn
The Amazon Resource Name (ARN) of the policy. This globally unique identifier can be used for cross-service references and IAM policy statements.
policy_engine_id
instance-attribute
¶
policy_engine_id: ResourceId
The identifier of the policy engine that manages this policy. This establishes the policy engine context for policy evaluation and management.
policy_id
instance-attribute
¶
policy_id: ResourceId
The unique identifier for the policy. This system-generated identifier consists of the user name plus a 10-character generated suffix and serves as the primary key for policy operations.
status_reasons
instance-attribute
¶
status_reasons: PolicyStatusReasons
Additional information about the policy status. This provides details about any failures or the current state of the policy lifecycle.
updated_at
instance-attribute
¶
updated_at: DateTimestamp
The timestamp when the policy was last modified. This tracks the most recent changes to the policy configuration or metadata.