Show / Hide Table of Contents

Interface IPolicyEngineProps

(experimental) Properties for creating a PolicyEngine resource.

Namespace: Amazon.CDK.AWS.Bedrock.Agentcore.Alpha
Assembly: Amazon.CDK.AWS.Bedrock.Agentcore.Alpha.dll
Syntax (csharp)
public interface IPolicyEngineProps
Syntax (vb)
Public Interface IPolicyEngineProps
Remarks

Stability: Experimental

ExampleMetadata: fixture=default infused

Examples
var policyEngine = new PolicyEngine(this, "MyEngine", new PolicyEngineProps {
                 PolicyEngineName = "my_engine"
             });

             var lambdaRole = new Role(this, "LambdaRole", new RoleProps {
                 AssumedBy = new ServicePrincipal("lambda.amazonaws.com")
             });

             // Grant read permissions
             policyEngine.GrantRead(lambdaRole);

             // Grant evaluation permissions
             policyEngine.GrantEvaluate(lambdaRole);

Synopsis

Properties

Description

(experimental) Optional description for the policy engine.

KmsKey

(experimental) Custom KMS key for encryption.

PolicyEngineName

(experimental) The name of the policy engine.

Tags

(experimental) Tags for the policy engine.

Properties

Description

(experimental) Optional description for the policy engine.

string? Description { get; }
Property Value

string

Remarks

Maximum 4,096 characters.

Default: - No description

Stability: Experimental

KmsKey

(experimental) Custom KMS key for encryption.

IKey? KmsKey { get; }
Property Value

IKey

Remarks

[disable-awslint:prefer-ref-interface]

Default: - AWS owned key

Stability: Experimental

PolicyEngineName

(experimental) The name of the policy engine.

string? PolicyEngineName { get; }
Property Value

string

Remarks

Valid characters: a-z, A-Z, 0-9, _ (underscore) Must start with a letter, 1-48 characters Pattern: ^[A-Za-z][A-Za-z0-9_]*$

Default: - Auto-generated unique name

Stability: Experimental

Tags

(experimental) Tags for the policy engine.

IDictionary<string, string>? Tags { get; }
Property Value

IDictionary<string, string>

Remarks

Maximum 50 tags.

Default: - No tags

Stability: Experimental

Back to top Generated by DocFX