interface CfnDatasetProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.SCN.CfnDatasetProps |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsscn#CfnDatasetProps |
Java | software.amazon.awscdk.services.scn.CfnDatasetProps |
Python | aws_cdk.aws_scn.CfnDatasetProps |
TypeScript | aws-cdk-lib » aws_scn » CfnDatasetProps |
Properties for defining a CfnDataset.
See also: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-scn-dataset.html
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_scn as scn } from 'aws-cdk-lib';
const cfnDatasetProps: scn.CfnDatasetProps = {
instanceId: 'instanceId',
name: 'name',
namespace: 'namespace',
// the properties below are optional
description: 'description',
partitionSpec: {
fields: [{
name: 'name',
transform: {
type: 'type',
},
}],
},
schema: {
fields: [{
isRequired: false,
name: 'name',
type: 'type',
}],
name: 'name',
// the properties below are optional
primaryKeys: [{
name: 'name',
}],
},
tags: [{
key: 'key',
value: 'value',
}],
};
Properties
| Name | Type | Description |
|---|---|---|
| instance | string | The Amazon Web Services Supply Chain instance identifier. |
| name | string | The name of the dataset. |
| namespace | string | The namespace of the dataset. |
| description? | string | The description of the dataset. |
| partition | IResolvable | Partition | The partition specification of the dataset. |
| schema? | IResolvable | Schema | The schema of the dataset. |
| tags? | Cfn[] | The tags for the dataset. |
instanceId
Type:
string
The Amazon Web Services Supply Chain instance identifier.
name
Type:
string
The name of the dataset.
namespace
Type:
string
The namespace of the dataset.
description?
Type:
string
(optional)
The description of the dataset.
partitionSpec?
Type:
IResolvable | Partition
(optional)
The partition specification of the dataset.
schema?
Type:
IResolvable | Schema
(optional)
The schema of the dataset.
tags?
Type:
Cfn[]
(optional)
The tags for the dataset.

.NET
Go
Java
Python
TypeScript