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
,ITaggableV2
,IAutomatedReasoningPolicyVersionRef
,software.amazon.jsii.JsiiSerializable
,software.constructs.IConstruct
,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.113.0 (build fc68b25)",
date="2025-09-15T14:51:52.784Z")
@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 class
A fluent builder forCfnAutomatedReasoningPolicyVersion
.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.amazon.awscdk.services.bedrock.IAutomatedReasoningPolicyVersionRef
IAutomatedReasoningPolicyVersionRef.Jsii$Default, IAutomatedReasoningPolicyVersionRef.Jsii$Proxy
Nested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$Default
Nested classes/interfaces inherited from interface software.amazon.awscdk.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$Proxy
Nested classes/interfaces inherited from interface software.amazon.awscdk.ITaggableV2
ITaggableV2.Jsii$Default, ITaggableV2.Jsii$Proxy
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
The CloudFormation resource type name for this resource class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
CfnAutomatedReasoningPolicyVersion
(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protected
CfnAutomatedReasoningPolicyVersion
(software.amazon.jsii.JsiiObjectRef objRef) CfnAutomatedReasoningPolicyVersion
(software.constructs.Construct scope, String id, CfnAutomatedReasoningPolicyVersionProps props) -
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.void
inspect
(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.renderProperties
(Map<String, Object> props) void
The hash of the policy definition that was last updated.void
setPolicyArn
(String value) The Amazon Resource Name (ARN) of the policy.void
The 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, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, obtainDependencies, obtainResourceDependencies, removeDependency, replaceDependency, shouldSynthesize, toString, validateProperties
Methods inherited from class software.amazon.awscdk.CfnRefElement
getRef
Methods inherited from class software.amazon.awscdk.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalId
Methods inherited from class software.constructs.Construct
getNode, isConstruct
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface software.constructs.IConstruct
getNode
Methods 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) - 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
-
inspect
Examines the CloudFormation resource and discloses attributes.- Specified by:
inspect
in 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:
renderProperties
in 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:
getAutomatedReasoningPolicyVersionRef
in interfaceIAutomatedReasoningPolicyVersionRef
-
getCdkTagManager
Tag Manager which manages the tags for this resource.- Specified by:
getCdkTagManager
in interfaceITaggableV2
-
getCfnProperties
- Overrides:
getCfnProperties
in 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.
-