interface CfnDatasetProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.BedrockAgentCore.CfnDatasetProps |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsbedrockagentcore#CfnDatasetProps |
Java | software.amazon.awscdk.services.bedrockagentcore.CfnDatasetProps |
Python | aws_cdk.aws_bedrockagentcore.CfnDatasetProps |
TypeScript | aws-cdk-lib » aws_bedrockagentcore » CfnDatasetProps |
Properties for defining a CfnDataset.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_bedrockagentcore as bedrockagentcore } from 'aws-cdk-lib';
declare const examples: any;
const cfnDatasetProps: bedrockagentcore.CfnDatasetProps = {
datasetName: 'datasetName',
schemaType: 'schemaType',
// the properties below are optional
description: 'description',
kmsKeyArn: 'kmsKeyArn',
source: {
inlineExamples: {
examples: [examples],
},
s3Source: {
s3Uri: 's3Uri',
},
},
tags: [{
key: 'key',
value: 'value',
}],
};
Properties
| Name | Type | Description |
|---|---|---|
| dataset | string | Human-readable name for the dataset. |
| schema | string | Versioned schema type governing the structure of examples. |
| description? | string | A description of the dataset. |
| kms | string | Optional AWS KMS key ARN for SSE-KMS on service S3 writes. |
| source? | IResolvable | Data | Source of initial examples. |
| tags? | Cfn[] | A list of tags to assign to the dataset. |
datasetName
Type:
string
Human-readable name for the dataset.
Unique within the account (case-insensitive). Immutable after creation.
schemaType
Type:
string
Versioned schema type governing the structure of examples.
Immutable after creation.
description?
Type:
string
(optional)
A description of the dataset.
kmsKeyArn?
Type:
string
(optional)
Optional AWS KMS key ARN for SSE-KMS on service S3 writes.
source?
Type:
IResolvable | Data
(optional)
Source of initial examples.
Provide either inline examples or an S3 URI pointing to a JSONL file.
tags?
Type:
Cfn[]
(optional)
A list of tags to assign to the dataset.

.NET
Go
Java
Python
TypeScript