CfnTerminologyProps

class aws_cdk.aws_translate.CfnTerminologyProps(*, name, description=None, encryption_key=None, merge_strategy=None, tags=None, terminology_data=None)

Bases: object

Properties for defining a CfnTerminology.

Parameters:
  • name (str) – The name of the custom terminology.

  • description (Optional[str]) – The description of the custom terminology.

  • encryption_key (Union[IResolvable, EncryptionKeyProperty, Dict[str, Any], None]) – The encryption key for the custom terminology.

  • merge_strategy (Optional[str]) – The merge strategy for the custom terminology. Currently only OVERWRITE is supported.

  • tags (Optional[Sequence[Union[TagsItemsProperty, Dict[str, Any]]]]) – Tags associated with the terminology.

  • terminology_data (Union[IResolvable, TerminologyDataProperty, Dict[str, Any], None]) – The terminology data for the custom terminology being imported.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-translate-terminology.html

ExampleMetadata:

fixture=_generated

Example:

# 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_terminology_props = translate.CfnTerminologyProps(
    name="name",

    # the properties below are optional
    description="description",
    encryption_key=translate.CfnTerminology.EncryptionKeyProperty(
        id="id",
        type="type"
    ),
    merge_strategy="mergeStrategy",
    tags=[translate.CfnTerminology.TagsItemsProperty(
        key="key",
        value="value"
    )],
    terminology_data=translate.CfnTerminology.TerminologyDataProperty(
        file="file",
        format="format",

        # the properties below are optional
        directionality="directionality"
    )
)

Attributes

description

The description of the custom terminology.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-translate-terminology.html#cfn-translate-terminology-description

encryption_key

The encryption key for the custom terminology.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-translate-terminology.html#cfn-translate-terminology-encryptionkey

merge_strategy

The merge strategy for the custom terminology.

Currently only OVERWRITE is supported.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-translate-terminology.html#cfn-translate-terminology-mergestrategy

name

The name of the custom terminology.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-translate-terminology.html#cfn-translate-terminology-name

tags

Tags associated with the terminology.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-translate-terminology.html#cfn-translate-terminology-tags

terminology_data

The terminology data for the custom terminology being imported.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-translate-terminology.html#cfn-translate-terminology-terminologydata