Interface IPolicyEngineAttributes
(experimental) Attributes for importing an existing PolicyEngine.
Namespace: Amazon.CDK.AWS.Bedrock.Agentcore.Alpha
Assembly: Amazon.CDK.AWS.Bedrock.Agentcore.Alpha.dll
Syntax (csharp)
public interface IPolicyEngineAttributes
Syntax (vb)
Public Interface IPolicyEngineAttributes
Remarks
Stability: Experimental
ExampleMetadata: fixture=default infused
Examples
var importedEngine = PolicyEngine.FromPolicyEngineAttributes(this, "ImportedEngine", new PolicyEngineAttributes {
PolicyEngineArn = "policy-engine-arn",
KmsKeyArn = "kms-arn"
});
// Use the imported engine
var policy = new Policy(this, "PolicyForImportedEngine", new PolicyProps {
PolicyEngine = importedEngine,
Definition = "permit(principal, action, resource);"
});
Synopsis
Properties
| KmsKeyArn | (experimental) The KMS key ARN used for encryption (optional). |
| PolicyEngineArn | (experimental) The ARN of the policy engine. |
Properties
KmsKeyArn
(experimental) The KMS key ARN used for encryption (optional).
string? KmsKeyArn { get; }
Property Value
Remarks
Default: - No KMS key
Stability: Experimental
PolicyEngineArn
(experimental) The ARN of the policy engine.
string PolicyEngineArn { get; }
Property Value
Remarks
Stability: Experimental