Class PolicyEngine.Builder
java.lang.Object
software.amazon.awscdk.services.bedrockagentcore.PolicyEngine.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<PolicyEngine>
- Enclosing class:
PolicyEngine
@Stability(Stable)
public static final class PolicyEngine.Builder
extends Object
implements software.amazon.jsii.Builder<PolicyEngine>
A fluent builder for
PolicyEngine.-
Method Summary
Modifier and TypeMethodDescriptionbuild()static PolicyEngine.Builderdescription(String description) Optional description for the policy engine.Custom KMS key for encryption.policyEngineName(String policyEngineName) The name of the policy engine.Tags for the policy engine.
-
Method Details
-
create
@Stability(Stable) public static PolicyEngine.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope- This parameter is required.id- This parameter is required.- Returns:
- a new instance of
PolicyEngine.Builder.
-
description
Optional description for the policy engine.Maximum 4,096 characters.
Default: - No description
- Parameters:
description- Optional description for the policy engine. This parameter is required.- Returns:
this
-
kmsKey
Custom KMS key for encryption.[disable-awslint:prefer-ref-interface]
Default: - AWS owned key
- Parameters:
kmsKey- Custom KMS key for encryption. This parameter is required.- Returns:
this
-
policyEngineName
The name of the policy engine.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
- Parameters:
policyEngineName- The name of the policy engine. This parameter is required.- Returns:
this
-
tags
Tags for the policy engine.Maximum 50 tags.
Default: - No tags
- Parameters:
tags- Tags for the policy engine. This parameter is required.- Returns:
this
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<PolicyEngine>- Returns:
- a newly built instance of
PolicyEngine.
-