Class CfnPolicyEngine

java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
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:
  • Field Details

    • CFN_RESOURCE_TYPE_NAME

      @Stability(Stable) public static final String 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 new AWS::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

      @Stability(Stable) @NotNull public static Boolean isCfnPolicyEngine(@NotNull Object x)
      Checks whether the given object is a CfnPolicyEngine.

      Parameters:
      x - This parameter is required.
    • inspect

      @Stability(Stable) public void inspect(@NotNull TreeInspector inspector)
      Examines the CloudFormation resource and discloses attributes.

      Specified by:
      inspect in interface IInspectable
      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:
      renderProperties in class CfnResource
      Parameters:
      props - This parameter is required.
    • getAttrCreatedAt

      @Stability(Stable) @NotNull public String getAttrCreatedAt()
      The timestamp when the policy engine was created.
    • getAttrPolicyEngineArn

      @Stability(Stable) @NotNull public String getAttrPolicyEngineArn()
      The Amazon Resource Name (ARN) of the policy engine.
    • getAttrPolicyEngineId

      @Stability(Stable) @NotNull public String getAttrPolicyEngineId()
      The unique identifier for the policy engine.
    • getAttrStatus

      @Stability(Stable) @NotNull public String getAttrStatus()
    • getAttrStatusReasons

      @Stability(Stable) @NotNull public List<String> getAttrStatusReasons()
      Additional information about the policy engine status.
    • getAttrUpdatedAt

      @Stability(Stable) @NotNull public String getAttrUpdatedAt()
      The timestamp when the policy engine was last updated.
    • getCdkTagManager

      @Stability(Stable) @NotNull public TagManager getCdkTagManager()
      Tag Manager which manages the tags for this resource.
      Specified by:
      getCdkTagManager in interface ITaggableV2
    • getCfnProperties

      @Stability(Stable) @NotNull protected Map<String,Object> getCfnProperties()
      Overrides:
      getCfnProperties in class CfnResource
    • getPolicyEngineRef

      @Stability(Stable) @NotNull public PolicyEngineReference getPolicyEngineRef()
      A reference to a PolicyEngine resource.
      Specified by:
      getPolicyEngineRef in interface IPolicyEngineRef
    • getName

      @Stability(Stable) @NotNull public String getName()
      The customer-assigned immutable name for the policy engine.
    • setName

      @Stability(Stable) public void setName(@NotNull String value)
      The customer-assigned immutable name for the policy engine.
    • getDescription

      @Stability(Stable) @Nullable public String getDescription()
      A human-readable description of the policy engine's purpose and scope.
    • setDescription

      @Stability(Stable) public void setDescription(@Nullable String value)
      A human-readable description of the policy engine's purpose and scope.
    • getEncryptionKeyArn

      @Stability(Stable) @Nullable public String getEncryptionKeyArn()
      The ARN of the KMS key used to encrypt the policy engine data.
    • setEncryptionKeyArn

      @Stability(Stable) public void setEncryptionKeyArn(@Nullable String value)
      The ARN of the KMS key used to encrypt the policy engine data.
    • getTags

      @Stability(Stable) @Nullable public List<CfnTag> getTags()
      A list of tags to assign to the policy engine.
    • setTags

      @Stability(Stable) public void setTags(@Nullable List<CfnTag> value)
      A list of tags to assign to the policy engine.