Class CfnPolicyEngine
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.CfnElement
software.amazon.awscdk.CfnRefElement
software.amazon.awscdk.CfnResource
software.amazon.awscdk.services.bedrockagentcore.CfnPolicyEngine
- All Implemented Interfaces:
IInspectable,IPolicyEngineRef,IEnvironmentAware,ITaggableV2,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.127.0 (build 2117ad5)",
date="2026-03-19T12:55:00.035Z")
@Stability(Stable)
public class CfnPolicyEngine
extends CfnResource
implements IInspectable, IPolicyEngineRef, ITaggableV2
Resource Type definition for AWS::BedrockAgentCore::PolicyEngine.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.bedrockagentcore.*;
CfnPolicyEngine cfnPolicyEngine = CfnPolicyEngine.Builder.create(this, "MyCfnPolicyEngine")
.name("name")
// the properties below are optional
.description("description")
.encryptionKeyArn("encryptionKeyArn")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.interfaces.bedrockagentcore.IPolicyEngineRef
IPolicyEngineRef.Jsii$Default, IPolicyEngineRef.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.ITaggableV2
ITaggableV2.Jsii$Default, ITaggableV2.Jsii$Proxy -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe CloudFormation resource type name for this resource class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCfnPolicyEngine(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnPolicyEngine(software.amazon.jsii.JsiiObjectRef objRef) CfnPolicyEngine(software.constructs.Construct scope, String id, CfnPolicyEngineProps props) Create a newAWS::BedrockAgentCore::PolicyEngine. -
Method Summary
Modifier and TypeMethodDescriptionstatic StringarnForPolicyEngine(IPolicyEngineRef resource) The timestamp when the policy engine was created.The Amazon Resource Name (ARN) of the policy engine.The unique identifier for the policy engine.Additional information about the policy engine status.The timestamp when the policy engine was last updated.Tag Manager which manages the tags for this resource.A human-readable description of the policy engine's purpose and scope.The ARN of the KMS key used to encrypt the policy engine data.getName()The customer-assigned immutable name for the policy engine.A reference to a PolicyEngine resource.getTags()A list of tags to assign to the policy engine.voidinspect(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.static BooleanChecks whether the given object is a CfnPolicyEngine.renderProperties(Map<String, Object> props) voidsetDescription(String value) A human-readable description of the policy engine's purpose and scope.voidsetEncryptionKeyArn(String value) The ARN of the KMS key used to encrypt the policy engine data.voidThe customer-assigned immutable name for the policy engine.voidA list of tags to assign to the policy engine.Methods inherited from class software.amazon.awscdk.CfnResource
addDeletionOverride, addDependency, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getAtt, getCfnOptions, getCfnResourceType, getEnv, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, obtainDependencies, obtainResourceDependencies, removeDependency, replaceDependency, shouldSynthesize, toString, validatePropertiesMethods inherited from class software.amazon.awscdk.CfnRefElement
getRefMethods inherited from class software.amazon.awscdk.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalId, withMethods inherited from class software.constructs.Construct
getNode, isConstructMethods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface software.constructs.IConstruct
getNode, withMethods inherited from interface software.amazon.awscdk.interfaces.IEnvironmentAware
getEnvMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
-
-
Constructor Details
-
CfnPolicyEngine
protected CfnPolicyEngine(software.amazon.jsii.JsiiObjectRef objRef) -
CfnPolicyEngine
protected CfnPolicyEngine(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnPolicyEngine
@Stability(Stable) public CfnPolicyEngine(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnPolicyEngineProps props) Create a newAWS::BedrockAgentCore::PolicyEngine.- Parameters:
scope- Scope in which this resource is defined. This parameter is required.id- Construct identifier for this resource (unique in its scope). This parameter is required.props- Resource properties. This parameter is required.
-
-
Method Details
-
arnForPolicyEngine
@Stability(Stable) @NotNull public static String arnForPolicyEngine(@NotNull IPolicyEngineRef resource) - Parameters:
resource- This parameter is required.
-
isCfnPolicyEngine
Checks whether the given object is a CfnPolicyEngine.- Parameters:
x- This parameter is required.
-
inspect
Examines the CloudFormation resource and discloses attributes.- Specified by:
inspectin interfaceIInspectable- Parameters:
inspector- tree inspector to collect and process attributes. This parameter is required.
-
renderProperties
@Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String, Object> props) - Overrides:
renderPropertiesin classCfnResource- Parameters:
props- This parameter is required.
-
getAttrCreatedAt
The timestamp when the policy engine was created. -
getAttrPolicyEngineArn
The Amazon Resource Name (ARN) of the policy engine. -
getAttrPolicyEngineId
The unique identifier for the policy engine. -
getAttrStatus
-
getAttrStatusReasons
Additional information about the policy engine status. -
getAttrUpdatedAt
The timestamp when the policy engine was last updated. -
getCdkTagManager
Tag Manager which manages the tags for this resource.- Specified by:
getCdkTagManagerin interfaceITaggableV2
-
getCfnProperties
- Overrides:
getCfnPropertiesin classCfnResource
-
getPolicyEngineRef
A reference to a PolicyEngine resource.- Specified by:
getPolicyEngineRefin interfaceIPolicyEngineRef
-
getName
The customer-assigned immutable name for the policy engine. -
setName
The customer-assigned immutable name for the policy engine. -
getDescription
A human-readable description of the policy engine's purpose and scope. -
setDescription
A human-readable description of the policy engine's purpose and scope. -
getEncryptionKeyArn
The ARN of the KMS key used to encrypt the policy engine data. -
setEncryptionKeyArn
The ARN of the KMS key used to encrypt the policy engine data. -
getTags
A list of tags to assign to the policy engine. -
setTags
A list of tags to assign to the policy engine.
-