We recommend new projects start with resources from the AWS provider.
published on Wednesday, Nov 18, 2026 by Pulumi
We recommend new projects start with resources from the AWS provider.
published on Wednesday, Nov 18, 2026 by Pulumi
Definition of AWS::BedrockAgentCore::Dataset Resource Type
Create Dataset Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Dataset(name: string, args: DatasetArgs, opts?: CustomResourceOptions);@overload
def Dataset(resource_name: str,
args: DatasetArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Dataset(resource_name: str,
opts: Optional[ResourceOptions] = None,
schema_type: Optional[DatasetSchemaType] = None,
dataset_name: Optional[str] = None,
description: Optional[str] = None,
kms_key_arn: Optional[str] = None,
source: Optional[DatasetDataSourceTypeArgs] = None,
tags: Optional[Sequence[_root_inputs.TagArgs]] = None)func NewDataset(ctx *Context, name string, args DatasetArgs, opts ...ResourceOption) (*Dataset, error)public Dataset(string name, DatasetArgs args, CustomResourceOptions? opts = null)
public Dataset(String name, DatasetArgs args)
public Dataset(String name, DatasetArgs args, CustomResourceOptions options)
type: aws-native:bedrockagentcore:Dataset
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "aws-native_bedrockagentcore_dataset" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args DatasetArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args DatasetArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args DatasetArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args DatasetArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args DatasetArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Dataset Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The Dataset resource accepts the following input properties:
- Schema
Type Pulumi.Aws Native. Bedrock Agent Core. Dataset Schema Type - Versioned schema type governing the structure of examples. Immutable after creation.
- Dataset
Name string - Human-readable name for the dataset. Unique within the account (case-insensitive). Immutable after creation.
- Description string
- A description of the dataset.
- Kms
Key stringArn - Optional AWS KMS key ARN for SSE-KMS on service S3 writes.
- Source
Pulumi.
Aws Native. Bedrock Agent Core. Inputs. Dataset Data Source Type -
List<Pulumi.
Aws Native. Inputs. Tag> - A list of tags to assign to the dataset.
- Schema
Type DatasetSchema Type - Versioned schema type governing the structure of examples. Immutable after creation.
- Dataset
Name string - Human-readable name for the dataset. Unique within the account (case-insensitive). Immutable after creation.
- Description string
- A description of the dataset.
- Kms
Key stringArn - Optional AWS KMS key ARN for SSE-KMS on service S3 writes.
- Source
Dataset
Data Source Type Args -
Tag
Args - A list of tags to assign to the dataset.
- schema_
type "AGENTCORE_EVALUATION_PREDEFINED_V1" | "AGENTCORE_EVALUATION_SIMULATED_V1" | "GENERIC_EVALUATION_PREDEFINED_V1" | "THIRD_PARTY_EVALUATION_V1" - Versioned schema type governing the structure of examples. Immutable after creation.
- dataset_
name string - Human-readable name for the dataset. Unique within the account (case-insensitive). Immutable after creation.
- description string
- A description of the dataset.
- kms_
key_ stringarn - Optional AWS KMS key ARN for SSE-KMS on service S3 writes.
- source object
- list(object)
- A list of tags to assign to the dataset.
- schema
Type DatasetSchema Type - Versioned schema type governing the structure of examples. Immutable after creation.
- dataset
Name String - Human-readable name for the dataset. Unique within the account (case-insensitive). Immutable after creation.
- description String
- A description of the dataset.
- kms
Key StringArn - Optional AWS KMS key ARN for SSE-KMS on service S3 writes.
- source
Dataset
Data Source Type - List<Tag>
- A list of tags to assign to the dataset.
- schema
Type DatasetSchema Type - Versioned schema type governing the structure of examples. Immutable after creation.
- dataset
Name string - Human-readable name for the dataset. Unique within the account (case-insensitive). Immutable after creation.
- description string
- A description of the dataset.
- kms
Key stringArn - Optional AWS KMS key ARN for SSE-KMS on service S3 writes.
- source
Dataset
Data Source Type - Tag[]
- A list of tags to assign to the dataset.
- schema_
type DatasetSchema Type - Versioned schema type governing the structure of examples. Immutable after creation.
- dataset_
name str - Human-readable name for the dataset. Unique within the account (case-insensitive). Immutable after creation.
- description str
- A description of the dataset.
- kms_
key_ strarn - Optional AWS KMS key ARN for SSE-KMS on service S3 writes.
- source
Dataset
Data Source Type Args -
Sequence[Tag
Args] - A list of tags to assign to the dataset.
- schema
Type "AGENTCORE_EVALUATION_PREDEFINED_V1" | "AGENTCORE_EVALUATION_SIMULATED_V1" | "GENERIC_EVALUATION_PREDEFINED_V1" | "THIRD_PARTY_EVALUATION_V1" - Versioned schema type governing the structure of examples. Immutable after creation.
- dataset
Name String - Human-readable name for the dataset. Unique within the account (case-insensitive). Immutable after creation.
- description String
- A description of the dataset.
- kms
Key StringArn - Optional AWS KMS key ARN for SSE-KMS on service S3 writes.
- source Property Map
- List<Property Map>
- A list of tags to assign to the dataset.
Outputs
All input properties are implicitly available as output properties. Additionally, the Dataset resource produces the following output properties:
- Created
At string - The timestamp when the dataset was created.
- Dataset
Arn string - The Amazon Resource Name (ARN) of the dataset.
- Dataset
Id string - The unique identifier of the dataset.
- Example
Count int - The number of examples in the dataset DRAFT.
- Id string
- The provider-assigned unique ID for this managed resource.
- Status
Pulumi.
Aws Native. Bedrock Agent Core. Dataset Status - The current status of the dataset.
- Updated
At string - The timestamp when the dataset was last updated.
- Created
At string - The timestamp when the dataset was created.
- Dataset
Arn string - The Amazon Resource Name (ARN) of the dataset.
- Dataset
Id string - The unique identifier of the dataset.
- Example
Count int - The number of examples in the dataset DRAFT.
- Id string
- The provider-assigned unique ID for this managed resource.
- Status
Dataset
Status - The current status of the dataset.
- Updated
At string - The timestamp when the dataset was last updated.
- created_
at string - The timestamp when the dataset was created.
- dataset_
arn string - The Amazon Resource Name (ARN) of the dataset.
- dataset_
id string - The unique identifier of the dataset.
- example_
count number - The number of examples in the dataset DRAFT.
- id string
- The provider-assigned unique ID for this managed resource.
- status "CREATING" | "UPDATING" | "DELETING" | "ACTIVE" | "CREATE_FAILED" | "UPDATE_FAILED" | "DELETE_FAILED"
- The current status of the dataset.
- updated_
at string - The timestamp when the dataset was last updated.
- created
At String - The timestamp when the dataset was created.
- dataset
Arn String - The Amazon Resource Name (ARN) of the dataset.
- dataset
Id String - The unique identifier of the dataset.
- example
Count Integer - The number of examples in the dataset DRAFT.
- id String
- The provider-assigned unique ID for this managed resource.
- status
Dataset
Status - The current status of the dataset.
- updated
At String - The timestamp when the dataset was last updated.
- created
At string - The timestamp when the dataset was created.
- dataset
Arn string - The Amazon Resource Name (ARN) of the dataset.
- dataset
Id string - The unique identifier of the dataset.
- example
Count number - The number of examples in the dataset DRAFT.
- id string
- The provider-assigned unique ID for this managed resource.
- status
Dataset
Status - The current status of the dataset.
- updated
At string - The timestamp when the dataset was last updated.
- created_
at str - The timestamp when the dataset was created.
- dataset_
arn str - The Amazon Resource Name (ARN) of the dataset.
- dataset_
id str - The unique identifier of the dataset.
- example_
count int - The number of examples in the dataset DRAFT.
- id str
- The provider-assigned unique ID for this managed resource.
- status
Dataset
Status - The current status of the dataset.
- updated_
at str - The timestamp when the dataset was last updated.
- created
At String - The timestamp when the dataset was created.
- dataset
Arn String - The Amazon Resource Name (ARN) of the dataset.
- dataset
Id String - The unique identifier of the dataset.
- example
Count Number - The number of examples in the dataset DRAFT.
- id String
- The provider-assigned unique ID for this managed resource.
- status "CREATING" | "UPDATING" | "DELETING" | "ACTIVE" | "CREATE_FAILED" | "UPDATE_FAILED" | "DELETE_FAILED"
- The current status of the dataset.
- updated
At String - The timestamp when the dataset was last updated.
Look up Existing Dataset Resource
Get an existing Dataset resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, opts?: CustomResourceOptions): Dataset@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None) -> Datasetfunc GetDataset(ctx *Context, name string, id IDInput, state *DatasetState, opts ...ResourceOption) (*Dataset, error)public static Dataset Get(string name, Input<string> id, CustomResourceOptions? opts = null)public static Dataset get(String name, Output<String> id, CustomResourceOptions options)resources: existingDataset: type: aws-native:bedrockagentcore:Dataset get: id: ${id}import {
to = aws-native_bedrockagentcore_dataset.example
id = "${id}"
}
- name string
- The unique name of the resulting resource.
- id Input<ID>
- The unique provider ID of the resource to look up.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resulting resource.
- id str
- The unique provider ID of the resource to look up.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resulting resource.
- id IDInput
- The unique provider ID of the resource to look up.
- state DatasetState
- Pass nil. This resource has no state arguments.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resulting resource.
- id Input<string>
- The unique provider ID of the resource to look up.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resulting resource.
- id Output<String>
- The unique provider ID of the resource to look up.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Supporting Types
DatasetDataSourceType, DatasetDataSourceTypeArgs
Source of initial examples. Provide either inline examples or an S3 URI pointing to a JSONL file.
DatasetInlineExamplesSource, DatasetInlineExamplesSourceArgs
Inline examples provided directly in the request body.
- Examples List<object>
- Examples to add. Each example is a free-form JSON document validated against the declared schemaType.
- Examples []interface{}
- Examples to add. Each example is a free-form JSON document validated against the declared schemaType.
- examples list(any)
- Examples to add. Each example is a free-form JSON document validated against the declared schemaType.
- examples List<Object>
- Examples to add. Each example is a free-form JSON document validated against the declared schemaType.
- examples any[]
- Examples to add. Each example is a free-form JSON document validated against the declared schemaType.
- examples Sequence[Any]
- Examples to add. Each example is a free-form JSON document validated against the declared schemaType.
- examples List<Any>
- Examples to add. Each example is a free-form JSON document validated against the declared schemaType.
DatasetS3Source, DatasetS3SourceArgs
S3 location of a JSONL file containing dataset examples.
- S3Uri string
- S3 URI of the JSONL file (e.g. s3://my-bucket/path/to/examples.jsonl).
- S3Uri string
- S3 URI of the JSONL file (e.g. s3://my-bucket/path/to/examples.jsonl).
- s3_
uri string - S3 URI of the JSONL file (e.g. s3://my-bucket/path/to/examples.jsonl).
- s3Uri String
- S3 URI of the JSONL file (e.g. s3://my-bucket/path/to/examples.jsonl).
- s3Uri string
- S3 URI of the JSONL file (e.g. s3://my-bucket/path/to/examples.jsonl).
- s3_
uri str - S3 URI of the JSONL file (e.g. s3://my-bucket/path/to/examples.jsonl).
- s3Uri String
- S3 URI of the JSONL file (e.g. s3://my-bucket/path/to/examples.jsonl).
DatasetSchemaType
Versioned schema type governing the structure of examples. Immutable after creation.
| Name | Value |
|---|---|
| Agentcore | AGENTCORE_EVALUATION_PREDEFINED_V1 |
| Agentcore | AGENTCORE_EVALUATION_SIMULATED_V1 |
| Generic | GENERIC_EVALUATION_PREDEFINED_V1 |
| Third | THIRD_PARTY_EVALUATION_V1 |
| Name | Value |
|---|---|
| Dataset | AGENTCORE_EVALUATION_PREDEFINED_V1 |
| Dataset | AGENTCORE_EVALUATION_SIMULATED_V1 |
| Dataset | GENERIC_EVALUATION_PREDEFINED_V1 |
| Dataset | THIRD_PARTY_EVALUATION_V1 |
| Value |
|---|
AGENTCORE_EVALUATION_PREDEFINED_V1 |
AGENTCORE_EVALUATION_SIMULATED_V1 |
GENERIC_EVALUATION_PREDEFINED_V1 |
THIRD_PARTY_EVALUATION_V1 |
| Name | Value |
|---|---|
| Agentcore | AGENTCORE_EVALUATION_PREDEFINED_V1 |
| Agentcore | AGENTCORE_EVALUATION_SIMULATED_V1 |
| Generic | GENERIC_EVALUATION_PREDEFINED_V1 |
| Third | THIRD_PARTY_EVALUATION_V1 |
| Name | Value |
|---|---|
| Agentcore | AGENTCORE_EVALUATION_PREDEFINED_V1 |
| Agentcore | AGENTCORE_EVALUATION_SIMULATED_V1 |
| Generic | GENERIC_EVALUATION_PREDEFINED_V1 |
| Third | THIRD_PARTY_EVALUATION_V1 |
| Name | Value |
|---|---|
| AGENTCORE_EVALUATION_PREDEFINED_V1 | AGENTCORE_EVALUATION_PREDEFINED_V1 |
| AGENTCORE_EVALUATION_SIMULATED_V1 | AGENTCORE_EVALUATION_SIMULATED_V1 |
| GENERIC_EVALUATION_PREDEFINED_V1 | GENERIC_EVALUATION_PREDEFINED_V1 |
| THIRD_PARTY_EVALUATION_V1 | THIRD_PARTY_EVALUATION_V1 |
| Value |
|---|
AGENTCORE_EVALUATION_PREDEFINED_V1 |
AGENTCORE_EVALUATION_SIMULATED_V1 |
GENERIC_EVALUATION_PREDEFINED_V1 |
THIRD_PARTY_EVALUATION_V1 |
DatasetStatus
The current status of the dataset.
| Name | Value |
|---|---|
| Creating | CREATING |
| Updating | UPDATING |
| Deleting | DELETING |
| Active | ACTIVE |
| Create | CREATE_FAILED |
| Update | UPDATE_FAILED |
| Delete | DELETE_FAILED |
| Name | Value |
|---|---|
| Dataset | CREATING |
| Dataset | UPDATING |
| Dataset | DELETING |
| Dataset | ACTIVE |
| Dataset | CREATE_FAILED |
| Dataset | UPDATE_FAILED |
| Dataset | DELETE_FAILED |
| Value |
|---|
CREATING |
UPDATING |
DELETING |
ACTIVE |
CREATE_FAILED |
UPDATE_FAILED |
DELETE_FAILED |
| Name | Value |
|---|---|
| Creating | CREATING |
| Updating | UPDATING |
| Deleting | DELETING |
| Active | ACTIVE |
| Create | CREATE_FAILED |
| Update | UPDATE_FAILED |
| Delete | DELETE_FAILED |
| Name | Value |
|---|---|
| Creating | CREATING |
| Updating | UPDATING |
| Deleting | DELETING |
| Active | ACTIVE |
| Create | CREATE_FAILED |
| Update | UPDATE_FAILED |
| Delete | DELETE_FAILED |
| Name | Value |
|---|---|
| CREATING | CREATING |
| UPDATING | UPDATING |
| DELETING | DELETING |
| ACTIVE | ACTIVE |
| CREATE_FAILED | CREATE_FAILED |
| UPDATE_FAILED | UPDATE_FAILED |
| DELETE_FAILED | DELETE_FAILED |
| Value |
|---|
CREATING |
UPDATING |
DELETING |
ACTIVE |
CREATE_FAILED |
UPDATE_FAILED |
DELETE_FAILED |
Tag, TagArgs
A set of tags to apply to the resource.
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.
published on Wednesday, Nov 18, 2026 by Pulumi