Class CfnAutomatedReasoningPolicyVersion
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.bedrock.CfnAutomatedReasoningPolicyVersion
- All Implemented Interfaces:
IInspectable,IAutomatedReasoningPolicyVersionRef,IEnvironmentAware,ITaggableV2,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.121.0 (build d7af9b9)",
date="2025-12-18T18:20:05.866Z")
@Stability(Stable)
public class CfnAutomatedReasoningPolicyVersion
extends CfnResource
implements IInspectable, IAutomatedReasoningPolicyVersionRef, ITaggableV2
Creates a new version of an existing Automated Reasoning policy.
This allows you to iterate on your policy rules while maintaining previous versions for rollback or comparison purposes.
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.bedrock.*;
CfnAutomatedReasoningPolicyVersion cfnAutomatedReasoningPolicyVersion = CfnAutomatedReasoningPolicyVersion.Builder.create(this, "MyCfnAutomatedReasoningPolicyVersion")
.policyArn("policyArn")
// the properties below are optional
.lastUpdatedDefinitionHash("lastUpdatedDefinitionHash")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA fluent builder forCfnAutomatedReasoningPolicyVersion.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.interfaces.bedrock.IAutomatedReasoningPolicyVersionRef
IAutomatedReasoningPolicyVersionRef.Jsii$Default, IAutomatedReasoningPolicyVersionRef.Jsii$ProxyNested 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.ITaggableV2
ITaggableV2.Jsii$Default, ITaggableV2.Jsii$Proxy -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe CloudFormation resource type name for this resource class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCfnAutomatedReasoningPolicyVersion(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnAutomatedReasoningPolicyVersion(software.amazon.jsii.JsiiObjectRef objRef) CfnAutomatedReasoningPolicyVersion(software.constructs.Construct scope, String id, CfnAutomatedReasoningPolicyVersionProps props) Create a newAWS::Bedrock::AutomatedReasoningPolicyVersion. -
Method Summary
Modifier and TypeMethodDescriptionThe timestamp when the policy version was created.A hash of the policy definition used to identify the version.The description of the policy version.The name of the policy version.The unique identifier of the policy.The timestamp when the policy version was last updated.The version number of the policy version.A reference to a AutomatedReasoningPolicyVersion resource.Tag Manager which manages the tags for this resource.The hash of the policy definition that was last updated.The Amazon Resource Name (ARN) of the policy.getTags()The tags associated with the Automated Reasoning policy version.voidinspect(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.static BooleanChecks whether the given object is a CfnAutomatedReasoningPolicyVersion.renderProperties(Map<String, Object> props) voidThe hash of the policy definition that was last updated.voidsetPolicyArn(String value) The Amazon Resource Name (ARN) of the policy.voidThe tags associated with the Automated Reasoning policy version.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, overrideLogicalIdMethods 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
getNodeMethods 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
-
CfnAutomatedReasoningPolicyVersion
protected CfnAutomatedReasoningPolicyVersion(software.amazon.jsii.JsiiObjectRef objRef) -
CfnAutomatedReasoningPolicyVersion
protected CfnAutomatedReasoningPolicyVersion(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnAutomatedReasoningPolicyVersion
@Stability(Stable) public CfnAutomatedReasoningPolicyVersion(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnAutomatedReasoningPolicyVersionProps props) Create a newAWS::Bedrock::AutomatedReasoningPolicyVersion.- 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
-
isCfnAutomatedReasoningPolicyVersion
@Stability(Stable) @NotNull public static Boolean isCfnAutomatedReasoningPolicyVersion(@NotNull Object x) Checks whether the given object is a CfnAutomatedReasoningPolicyVersion.- 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 version was created. -
getAttrDefinitionHash
A hash of the policy definition used to identify the version. -
getAttrDescription
The description of the policy version. -
getAttrName
The name of the policy version. -
getAttrPolicyId
The unique identifier of the policy. -
getAttrUpdatedAt
The timestamp when the policy version was last updated. -
getAttrVersion
The version number of the policy version. -
getAutomatedReasoningPolicyVersionRef
@Stability(Stable) @NotNull public AutomatedReasoningPolicyVersionReference getAutomatedReasoningPolicyVersionRef()A reference to a AutomatedReasoningPolicyVersion resource.- Specified by:
getAutomatedReasoningPolicyVersionRefin interfaceIAutomatedReasoningPolicyVersionRef
-
getCdkTagManager
Tag Manager which manages the tags for this resource.- Specified by:
getCdkTagManagerin interfaceITaggableV2
-
getCfnProperties
- Overrides:
getCfnPropertiesin classCfnResource
-
getPolicyArn
The Amazon Resource Name (ARN) of the policy. -
setPolicyArn
The Amazon Resource Name (ARN) of the policy. -
getLastUpdatedDefinitionHash
The hash of the policy definition that was last updated. -
setLastUpdatedDefinitionHash
The hash of the policy definition that was last updated. -
getTags
The tags associated with the Automated Reasoning policy version. -
setTags
The tags associated with the Automated Reasoning policy version.
-