CfnBlueprintProps Struct
Properties for defining a CfnBlueprint.
| 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_bedrock as bedrock } from 'aws-cdk-lib';
declare const schema: any;
const cfnBlueprintProps: bedrock.CfnBlueprintProps = {
blueprintName: 'blueprintName',
schema: schema,
type: 'type',
// the properties below are optional
kmsEncryptionContext: {
kmsEncryptionContextKey: 'kmsEncryptionContext',
},
kmsKeyId: 'kmsKeyId',
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
# schema: Any
cfn_blueprint_props = bedrock.CfnBlueprintProps(
blueprint_name="blueprintName",
schema=schema,
type="type",
# the properties below are optional
kms_encryption_context={
"kms_encryption_context_key": "kmsEncryptionContext"
},
kms_key_id="kmsKeyId",
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.*;
Object schema;
CfnBlueprintProps cfnBlueprintProps = CfnBlueprintProps.builder()
.blueprintName("blueprintName")
.schema(schema)
.type("type")
// the properties below are optional
.kmsEncryptionContext(Map.of(
"kmsEncryptionContextKey", "kmsEncryptionContext"))
.kmsKeyId("kmsKeyId")
.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 schema;
var cfnBlueprintProps = new CfnBlueprintProps {
BlueprintName = "blueprintName",
Schema = schema,
Type = "type",
// the properties below are optional
KmsEncryptionContext = new Dictionary<string, string> {
{ "kmsEncryptionContextKey", "kmsEncryptionContext" }
},
KmsKeyId = "kmsKeyId",
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"
var schema interface{}
cfnBlueprintProps := &CfnBlueprintProps{
BlueprintName: jsii.String("blueprintName"),
Schema: schema,
Type: jsii.String("type"),
// the properties below are optional
KmsEncryptionContext: map[string]*string{
"kmsEncryptionContextKey": jsii.String("kmsEncryptionContext"),
},
KmsKeyId: jsii.String("kmsKeyId"),
Tags: []CfnTag{
&CfnTag{
Key: jsii.String("key"),
Value: jsii.String("value"),
},
},
}
Properties
blueprintNamestringblueprint_namestrblueprintNameStringBlueprintNamestringBlueprintName*string required #The blueprint's name.
kmsEncryptionContextoptionalIResolvable | { [key: string]: string }kms_encryption_contextoptionaltyping.Union[IResolvable, typing.Mapping[str, str]]kmsEncryptionContextoptionalIResolvableKmsEncryptionContextoptionalIResolvableKmsEncryptionContextoptionalinterface{} #Name-value pairs to include as an encryption context.
kmsKeyIdoptionalstringkms_key_idoptionalstrkmsKeyIdoptionalStringKmsKeyIdoptionalstringKmsKeyIdoptional*string #The AWS key to use for encryption.
The blueprint's schema.
tagsoptionalCfnTag[]tagsoptionaltyping.List[CfnTag]tagsoptionalList<CfnTag>TagsoptionalCfnTag[]Tagsoptional*[]CfnTag #List of Tags.
The blueprint's type.