CfnPolicyEngineProps Struct
Properties for defining a CfnPolicyEngine.
| Source | |
|---|---|
| Type last changed |
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_bedrockagentcore as bedrockagentcore } from 'aws-cdk-lib';
const cfnPolicyEngineProps: bedrockagentcore.CfnPolicyEngineProps = {
name: 'name',
// the properties below are optional
description: 'description',
encryptionKeyArn: 'encryptionKeyArn',
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_bedrockagentcore as bedrockagentcore
cfn_policy_engine_props = bedrockagentcore.CfnPolicyEngineProps(
name="name",
# the properties below are optional
description="description",
encryption_key_arn="encryptionKeyArn",
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.bedrockagentcore.*;
CfnPolicyEngineProps cfnPolicyEngineProps = CfnPolicyEngineProps.builder()
.name("name")
// the properties below are optional
.description("description")
.encryptionKeyArn("encryptionKeyArn")
.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.BedrockAgentCore;
var cfnPolicyEngineProps = new CfnPolicyEngineProps {
Name = "name",
// the properties below are optional
Description = "description",
EncryptionKeyArn = "encryptionKeyArn",
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"
cfnPolicyEngineProps := &CfnPolicyEngineProps{
Name: jsii.String("name"),
// the properties below are optional
Description: jsii.String("description"),
EncryptionKeyArn: jsii.String("encryptionKeyArn"),
Tags: []CfnTag{
&CfnTag{
Key: jsii.String("key"),
Value: jsii.String("value"),
},
},
}
Properties
descriptionoptionalstringdescriptionoptionalstrdescriptionoptionalStringDescriptionoptionalstringDescriptionoptional*string #A human-readable description of the policy engine's purpose and scope.
encryptionKeyArnoptionalstringencryption_key_arnoptionalstrencryptionKeyArnoptionalStringEncryptionKeyArnoptionalstringEncryptionKeyArnoptional*string #The ARN of the KMS key used to encrypt the policy engine data.
The customer-assigned immutable name for the policy engine.