CfnThesaurusProps

class aws_cdk.aws_kendra.CfnThesaurusProps(*, index_id, name, role_arn, source_s3_path, description=None, tags=None)

Bases: object

Properties for defining a CfnThesaurus.

Parameters:
  • index_id (str) – The identifier of the index for the thesaurus.

  • name (str) – A name for the thesaurus.

  • role_arn (str) – An IAM role that gives Amazon Kendra permissions to access the thesaurus file specified in SourceS3Path.

  • source_s3_path (Union[IResolvable, S3PathProperty, Dict[str, Any]]) – Information required to find a specific file in an Amazon S3 bucket.

  • description (Optional[str]) – A description for the thesaurus.

  • tags (Optional[Sequence[Union[CfnTag, Dict[str, Any]]]]) – A list of key-value pairs that identify or categorize the thesaurus.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-kendra-thesaurus.html

ExampleMetadata:

fixture=_generated

Example:

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_kendra as kendra

cfn_thesaurus_props = kendra.CfnThesaurusProps(
    index_id="indexId",
    name="name",
    role_arn="roleArn",
    source_s3_path=kendra.CfnThesaurus.S3PathProperty(
        bucket="bucket",
        key="key"
    ),

    # the properties below are optional
    description="description",
    tags=[CfnTag(
        key="key",
        value="value"
    )]
)

Attributes

description

A description for the thesaurus.

See:

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

index_id

The identifier of the index for the thesaurus.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-kendra-thesaurus.html#cfn-kendra-thesaurus-indexid

name

A name for the thesaurus.

See:

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

role_arn

An IAM role that gives Amazon Kendra permissions to access the thesaurus file specified in SourceS3Path.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-kendra-thesaurus.html#cfn-kendra-thesaurus-rolearn

source_s3_path

Information required to find a specific file in an Amazon S3 bucket.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-kendra-thesaurus.html#cfn-kendra-thesaurus-sources3path

tags

A list of key-value pairs that identify or categorize the thesaurus.

See:

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