CfnDataAutomationLibraryProps Struct
Properties for defining a CfnDataAutomationLibrary.
| 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';
const cfnDataAutomationLibraryProps: bedrock.CfnDataAutomationLibraryProps = {
libraryName: 'libraryName',
// the properties below are optional
encryptionConfiguration: {
kmsKeyId: 'kmsKeyId',
// the properties below are optional
kmsEncryptionContext: {
kmsEncryptionContextKey: 'kmsEncryptionContext',
},
},
libraryDescription: 'libraryDescription',
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_data_automation_library_props = bedrock.CfnDataAutomationLibraryProps(
library_name="libraryName",
# the properties below are optional
encryption_configuration=bedrock.CfnDataAutomationLibrary.EncryptionConfigurationProperty(
kms_key_id="kmsKeyId",
# the properties below are optional
kms_encryption_context={
"kms_encryption_context_key": "kmsEncryptionContext"
}
),
library_description="libraryDescription",
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.*;
CfnDataAutomationLibraryProps cfnDataAutomationLibraryProps = CfnDataAutomationLibraryProps.builder()
.libraryName("libraryName")
// the properties below are optional
.encryptionConfiguration(EncryptionConfigurationProperty.builder()
.kmsKeyId("kmsKeyId")
// the properties below are optional
.kmsEncryptionContext(Map.of(
"kmsEncryptionContextKey", "kmsEncryptionContext"))
.build())
.libraryDescription("libraryDescription")
.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 cfnDataAutomationLibraryProps = new CfnDataAutomationLibraryProps {
LibraryName = "libraryName",
// the properties below are optional
EncryptionConfiguration = new EncryptionConfigurationProperty {
KmsKeyId = "kmsKeyId",
// the properties below are optional
KmsEncryptionContext = new Dictionary<string, string> {
{ "kmsEncryptionContextKey", "kmsEncryptionContext" }
}
},
LibraryDescription = "libraryDescription",
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"
cfnDataAutomationLibraryProps := &CfnDataAutomationLibraryProps{
LibraryName: jsii.String("libraryName"),
// the properties below are optional
EncryptionConfiguration: &EncryptionConfigurationProperty{
KmsKeyId: jsii.String("kmsKeyId"),
// the properties below are optional
KmsEncryptionContext: map[string]*string{
"kmsEncryptionContextKey": jsii.String("kmsEncryptionContext"),
},
},
LibraryDescription: jsii.String("libraryDescription"),
Tags: []CfnTag{
&CfnTag{
Key: jsii.String("key"),
Value: jsii.String("value"),
},
},
}
Properties
encryptionConfigurationoptionalIResolvable | CfnDataAutomationLibrary.encryption_configurationoptionaltyping.Union[IResolvable, EncryptionConfigurationProperty]encryptionConfigurationoptionalIResolvableEncryptionConfigurationoptionalIResolvableEncryptionConfigurationoptionalinterface{} #KMS Encryption Configuration.
libraryDescriptionoptionalstringlibrary_descriptionoptionalstrlibraryDescriptionoptionalStringLibraryDescriptionoptionalstringLibraryDescriptionoptional*string #Description of the DataAutomationLibrary.
Name of the DataAutomationLibrary.