Skip to content
v2.277.0

CfnAutomatedReasoningPolicyVersionProps Struct ​

Properties for defining a CfnAutomatedReasoningPolicyVersion.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_bedrock as bedrock } from 'aws-cdk-lib';
const cfnAutomatedReasoningPolicyVersionProps: bedrock.CfnAutomatedReasoningPolicyVersionProps = {
  policyArn: 'policyArn',

  // the properties below are optional
  lastUpdatedDefinitionHash: 'lastUpdatedDefinitionHash',
  tags: [{
    key: 'key',
    value: 'value',
  }],
};
python
from aws_cdk import CfnTag
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_bedrock as bedrock

cfn_automated_reasoning_policy_version_props = bedrock.CfnAutomatedReasoningPolicyVersionProps(
    policy_arn="policyArn",

    # the properties below are optional
    last_updated_definition_hash="lastUpdatedDefinitionHash",
    tags=[CfnTag(
        key="key",
        value="value"
    )]
)
java
// 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.*;

CfnAutomatedReasoningPolicyVersionProps cfnAutomatedReasoningPolicyVersionProps = CfnAutomatedReasoningPolicyVersionProps.builder()
        .policyArn("policyArn")

        // the properties below are optional
        .lastUpdatedDefinitionHash("lastUpdatedDefinitionHash")
        .tags(List.of(CfnTag.builder()
                .key("key")
                .value("value")
                .build()))
        .build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Bedrock;

var cfnAutomatedReasoningPolicyVersionProps = new CfnAutomatedReasoningPolicyVersionProps {
    PolicyArn = "policyArn",

    // the properties below are optional
    LastUpdatedDefinitionHash = "lastUpdatedDefinitionHash",
    Tags = new [] { new CfnTag {
        Key = "key",
        Value = "value"
    } }
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

cfnAutomatedReasoningPolicyVersionProps := &CfnAutomatedReasoningPolicyVersionProps{
	PolicyArn: jsii.String("policyArn"),

	// the properties below are optional
	LastUpdatedDefinitionHash: jsii.String("lastUpdatedDefinitionHash"),
	Tags: []CfnTag{
		&CfnTag{
			Key: jsii.String("key"),
			Value: jsii.String("value"),
		},
	},
}

Properties ​

lastUpdatedDefinitionHashoptionalstringlast_updated_definition_hashoptionalstrlastUpdatedDefinitionHashoptionalStringLastUpdatedDefinitionHashoptionalstringLastUpdatedDefinitionHashoptional*string#
The hash of the policy definition that was last updated.
policyArnstringpolicy_arnstrpolicyArnStringPolicyArnstringPolicyArn*stringrequired#
The Amazon Resource Name (ARN) of the policy.
tagsoptionalCfnTag[]tagsoptionaltyping.List[CfnTag]tagsoptionalList<CfnTag>TagsoptionalCfnTag[]Tagsoptional*[]CfnTag#
The tags associated with the Automated Reasoning policy version.