PolicyEngineAttributes
- class aws_cdk.aws_bedrock_agentcore_alpha.PolicyEngineAttributes(*, policy_engine_arn, kms_key_arn=None)
Bases:
object(experimental) Attributes for importing an existing PolicyEngine.
- Parameters:
policy_engine_arn (
str) – (experimental) The ARN of the policy engine.kms_key_arn (
Optional[str]) – (experimental) The KMS key ARN used for encryption (optional). Default: - No KMS key
- Stability:
experimental
- ExampleMetadata:
fixture=default infused
Example:
imported_engine = agentcore.PolicyEngine.from_policy_engine_attributes(self, "ImportedEngine", policy_engine_arn="policy-engine-arn", kms_key_arn="kms-arn" ) # Use the imported engine policy = agentcore.Policy(self, "PolicyForImportedEngine", policy_engine=imported_engine, definition="permit(principal, action, resource);" )
Attributes
- kms_key_arn
(experimental) The KMS key ARN used for encryption (optional).
- Default:
No KMS key
- Stability:
experimental
- policy_engine_arn
(experimental) The ARN of the policy engine.
- Stability:
experimental