CfnParallelDataProps Struct
Properties for defining a CfnParallelData.
| 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_translate as translate } from 'aws-cdk-lib';
const cfnParallelDataProps: translate.CfnParallelDataProps = {
name: 'name',
parallelDataConfig: {
format: 'format',
s3Uri: 's3Uri',
},
// the properties below are optional
description: 'description',
encryptionKey: {
id: 'id',
type: 'type',
},
tags: [{
key: 'key',
value: 'value',
}],
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_translate as translate
cfn_parallel_data_props = translate.CfnParallelDataProps(
name="name",
parallel_data_config=translate.CfnParallelData.ParallelDataConfigProperty(
format="format",
s3_uri="s3Uri"
),
# the properties below are optional
description="description",
encryption_key=translate.CfnParallelData.EncryptionKeyProperty(
id="id",
type="type"
),
tags=[translate.CfnParallelData.TagsItemsProperty(
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.translate.*;
CfnParallelDataProps cfnParallelDataProps = CfnParallelDataProps.builder()
.name("name")
.parallelDataConfig(ParallelDataConfigProperty.builder()
.format("format")
.s3Uri("s3Uri")
.build())
// the properties below are optional
.description("description")
.encryptionKey(EncryptionKeyProperty.builder()
.id("id")
.type("type")
.build())
.tags(List.of(TagsItemsProperty.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.Translate;
var cfnParallelDataProps = new CfnParallelDataProps {
Name = "name",
ParallelDataConfig = new ParallelDataConfigProperty {
Format = "format",
S3Uri = "s3Uri"
},
// the properties below are optional
Description = "description",
EncryptionKey = new EncryptionKeyProperty {
Id = "id",
Type = "type"
},
Tags = new [] { new TagsItemsProperty {
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"
cfnParallelDataProps := &CfnParallelDataProps{
Name: jsii.String("name"),
ParallelDataConfig: &ParallelDataConfigProperty{
Format: jsii.String("format"),
S3Uri: jsii.String("s3Uri"),
},
// the properties below are optional
Description: jsii.String("description"),
EncryptionKey: &EncryptionKeyProperty{
Id: jsii.String("id"),
Type: jsii.String("type"),
},
Tags: []TagsItemsProperty{
&TagsItemsProperty{
Key: jsii.String("key"),
Value: jsii.String("value"),
},
},
}
Properties
descriptionoptionalstringdescriptionoptionalstrdescriptionoptionalStringDescriptionoptionalstringDescriptionoptional*string #A custom description for the parallel data resource.
encryptionKeyoptionalIResolvable | CfnParallelData.encryption_keyoptionaltyping.Union[IResolvable, EncryptionKeyProperty]encryptionKeyoptionalIResolvableEncryptionKeyoptionalIResolvableEncryptionKeyoptionalinterface{} #The encryption key used to encrypt this object.
A custom name for the parallel data resource.
Must be unique in the account and region.
parallelDataConfigIResolvable | CfnParallelData.parallel_data_configtyping.Union[IResolvable, ParallelDataConfigProperty]parallelDataConfigIResolvableParallelDataConfigIResolvableParallelDataConfiginterface{} required #Specifies the format and S3 location of the parallel data input file.
tagsoptionalCfnParallelData.tagsoptionaltyping.List[TagsItemsProperty]tagsoptionalList<TagsItemsProperty>TagsoptionalTagsItemsProperty[]Tagsoptional*[]TagsItemsProperty #Tags associated with the parallel data resource.