Class CfnTrainingDataset
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.CfnElement
software.amazon.awscdk.CfnRefElement
software.amazon.awscdk.CfnResource
software.amazon.awscdk.services.cleanroomsml.CfnTrainingDataset
- All Implemented Interfaces:
IInspectable
,ITaggableV2
,software.amazon.jsii.JsiiSerializable
,software.constructs.IConstruct
,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2024-12-27T17:01:58.236Z")
@Stability(Stable)
public class CfnTrainingDataset
extends CfnResource
implements IInspectable, ITaggableV2
Defines the information necessary to create a training dataset.
In Clean Rooms ML, the TrainingDataset
is metadata that points to a Glue table, which is read only during AudienceModel
creation.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.cleanroomsml.*; CfnTrainingDataset cfnTrainingDataset = CfnTrainingDataset.Builder.create(this, "MyCfnTrainingDataset") .name("name") .roleArn("roleArn") .trainingData(List.of(DatasetProperty.builder() .inputConfig(DatasetInputConfigProperty.builder() .dataSource(DataSourceProperty.builder() .glueDataSource(GlueDataSourceProperty.builder() .databaseName("databaseName") .tableName("tableName") // the properties below are optional .catalogId("catalogId") .build()) .build()) .schema(List.of(ColumnSchemaProperty.builder() .columnName("columnName") .columnTypes(List.of("columnTypes")) .build())) .build()) .type("type") .build())) // the properties below are optional .description("description") .tags(List.of(CfnTag.builder() .key("key") .value("value") .build())) .build();
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
A fluent builder forCfnTrainingDataset
.static interface
Metadata for a column.static interface
Defines the Glue data source and schema mapping information.static interface
Defines where the training dataset is located, what type of data it contains, and how to access the data.static interface
Defines information about the Glue data source that contains the training data.static interface
Defines the Glue data source that contains the training data.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$Default
Nested classes/interfaces inherited from interface software.amazon.awscdk.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$Proxy
Nested classes/interfaces inherited from interface software.amazon.awscdk.ITaggableV2
ITaggableV2.Jsii$Default, ITaggableV2.Jsii$Proxy
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
The CloudFormation resource type name for this resource class. -
Constructor Summary
ModifierConstructorDescriptionprotected
CfnTrainingDataset
(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protected
CfnTrainingDataset
(software.amazon.jsii.JsiiObjectRef objRef) CfnTrainingDataset
(software.constructs.Construct scope, String id, CfnTrainingDatasetProps props) -
Method Summary
Modifier and TypeMethodDescriptionThe status of the training dataset.The Amazon Resource Name (ARN) of the training dataset.Tag Manager which manages the tags for this resource.The description of the training dataset.getName()
The name of the training dataset.The ARN of the IAM role that Clean Rooms ML can assume to read the data referred to in thedataSource
field of each dataset.getTags()
The optional metadata that you apply to the resource to help you categorize and organize them.An array of information that lists the Dataset objects, which specifies the dataset type and details on its location and schema.void
inspect
(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.renderProperties
(Map<String, Object> props) void
setDescription
(String value) The description of the training dataset.void
The name of the training dataset.void
setRoleArn
(String value) The ARN of the IAM role that Clean Rooms ML can assume to read the data referred to in thedataSource
field of each dataset.void
The optional metadata that you apply to the resource to help you categorize and organize them.void
setTrainingData
(List<Object> value) An array of information that lists the Dataset objects, which specifies the dataset type and details on its location and schema.void
setTrainingData
(IResolvable value) An array of information that lists the Dataset objects, which specifies the dataset type and details on its location and schema.Methods inherited from class software.amazon.awscdk.CfnResource
addDeletionOverride, addDependency, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, obtainDependencies, obtainResourceDependencies, removeDependency, replaceDependency, shouldSynthesize, toString, validateProperties
Methods inherited from class software.amazon.awscdk.CfnRefElement
getRef
Methods inherited from class software.amazon.awscdk.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalId
Methods inherited from class software.constructs.Construct
getNode, isConstruct
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
-
-
Constructor Details
-
CfnTrainingDataset
protected CfnTrainingDataset(software.amazon.jsii.JsiiObjectRef objRef) -
CfnTrainingDataset
protected CfnTrainingDataset(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnTrainingDataset
@Stability(Stable) public CfnTrainingDataset(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnTrainingDatasetProps props) - Parameters:
scope
- Scope in which this resource is defined. This parameter is required.id
- Construct identifier for this resource (unique in its scope). This parameter is required.props
- Resource properties. This parameter is required.
-
-
Method Details
-
inspect
Examines the CloudFormation resource and discloses attributes.- Specified by:
inspect
in interfaceIInspectable
- Parameters:
inspector
- tree inspector to collect and process attributes. This parameter is required.
-
renderProperties
@Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String, Object> props) - Overrides:
renderProperties
in classCfnResource
- Parameters:
props
- This parameter is required.
-
getAttrStatus
The status of the training dataset. -
getAttrTrainingDatasetArn
The Amazon Resource Name (ARN) of the training dataset. -
getCdkTagManager
Tag Manager which manages the tags for this resource.- Specified by:
getCdkTagManager
in interfaceITaggableV2
-
getCfnProperties
- Overrides:
getCfnProperties
in classCfnResource
-
getName
The name of the training dataset. -
setName
The name of the training dataset. -
getRoleArn
The ARN of the IAM role that Clean Rooms ML can assume to read the data referred to in thedataSource
field of each dataset. -
setRoleArn
The ARN of the IAM role that Clean Rooms ML can assume to read the data referred to in thedataSource
field of each dataset. -
getTrainingData
An array of information that lists the Dataset objects, which specifies the dataset type and details on its location and schema. -
setTrainingData
An array of information that lists the Dataset objects, which specifies the dataset type and details on its location and schema. -
setTrainingData
An array of information that lists the Dataset objects, which specifies the dataset type and details on its location and schema. -
getDescription
The description of the training dataset. -
setDescription
The description of the training dataset. -
getTags
The optional metadata that you apply to the resource to help you categorize and organize them. -
setTags
The optional metadata that you apply to the resource to help you categorize and organize them.
-