CfnDatasetMixinProps

class aws_cdk.cfn_property_mixins.aws_bedrockagentcore.CfnDatasetMixinProps(*, dataset_name=None, description=None, kms_key_arn=None, schema_type=None, source=None, tags=None)

Bases: object

Properties for CfnDatasetPropsMixin.

Parameters:
  • dataset_name (Optional[str]) – Human-readable name for the dataset. Unique within the account (case-insensitive). Immutable after creation.

  • description (Optional[str]) – A description of the dataset.

  • kms_key_arn (Optional[str]) – Optional AWS KMS key ARN for SSE-KMS on service S3 writes.

  • schema_type (Optional[str]) – Versioned schema type governing the structure of examples. Immutable after creation.

  • source (Union[IResolvable, DataSourceTypeProperty, Dict[str, Any], None]) – Source of initial examples. Provide either inline examples or an S3 URI pointing to a JSONL file.

  • tags (Optional[Sequence[Union[CfnTag, Dict[str, Any]]]]) – A list of tags to assign to the dataset.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrockagentcore-dataset.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.cfn_property_mixins import aws_bedrockagentcore as bedrockagentcore

# examples: Any

cfn_dataset_mixin_props = bedrockagentcore.CfnDatasetMixinProps(
    dataset_name="datasetName",
    description="description",
    kms_key_arn="kmsKeyArn",
    schema_type="schemaType",
    source=bedrockagentcore.CfnDatasetPropsMixin.DataSourceTypeProperty(
        inline_examples=bedrockagentcore.CfnDatasetPropsMixin.InlineExamplesSourceProperty(
            examples=[examples]
        ),
        s3_source=bedrockagentcore.CfnDatasetPropsMixin.S3SourceProperty(
            s3_uri="s3Uri"
        )
    ),
    tags=[CfnTag(
        key="key",
        value="value"
    )]
)

Attributes

dataset_name

Human-readable name for the dataset.

Unique within the account (case-insensitive). Immutable after creation.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrockagentcore-dataset.html#cfn-bedrockagentcore-dataset-datasetname

description

A description of the dataset.

See:

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

kms_key_arn

Optional AWS KMS key ARN for SSE-KMS on service S3 writes.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrockagentcore-dataset.html#cfn-bedrockagentcore-dataset-kmskeyarn

schema_type

Versioned schema type governing the structure of examples.

Immutable after creation.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrockagentcore-dataset.html#cfn-bedrockagentcore-dataset-schematype

source

Source of initial examples.

Provide either inline examples or an S3 URI pointing to a JSONL file.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrockagentcore-dataset.html#cfn-bedrockagentcore-dataset-source

tags

A list of tags to assign to the dataset.

See:

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