@Generated(value="jsii-pacmak/1.73.0 (build 6faeda3)", date="2023-01-31T18:36:49.453Z") public class CfnDatasetGroup extends CfnResource implements IInspectable
A dataset group is a collection of related datasets (Interactions, User, and Item). You create a dataset group by calling CreateDatasetGroup . You then create a dataset and add it to a dataset group by calling CreateDataset . The dataset group is used to create and train a solution by calling CreateSolution . A dataset group can contain only one of each type of dataset.
You can specify an AWS Key Management Service (KMS) key to encrypt the datasets in the group.
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.personalize.*; CfnDatasetGroup cfnDatasetGroup = CfnDatasetGroup.Builder.create(this, "MyCfnDatasetGroup") .name("name") // the properties below are optional .domain("domain") .kmsKeyArn("kmsKeyArn") .roleArn("roleArn") .build();
Modifier and Type | Class and Description |
---|---|
static class |
CfnDatasetGroup.Builder
A fluent builder for
CfnDatasetGroup . |
IInspectable.Jsii$Default, IInspectable.Jsii$Proxy
IConstruct.Jsii$Default
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
|
Modifier | Constructor and Description |
---|---|
|
CfnDatasetGroup(Construct scope,
java.lang.String id,
CfnDatasetGroupProps props)
Create a new `AWS::Personalize::DatasetGroup`.
|
protected |
CfnDatasetGroup(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
CfnDatasetGroup(software.amazon.jsii.JsiiObjectRef objRef) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAttrDatasetGroupArn()
The Amazon Resource Name (ARN) of the dataset group.
|
protected java.util.Map<java.lang.String,java.lang.Object> |
getCfnProperties() |
java.lang.String |
getDomain()
The domain of a Domain dataset group.
|
java.lang.String |
getKmsKeyArn()
The Amazon Resource Name (ARN) of the AWS Key Management Service (KMS) key used to encrypt the datasets.
|
java.lang.String |
getName()
The name of the dataset group.
|
java.lang.String |
getRoleArn()
The ARN of the IAM role that has permissions to create the dataset group.
|
void |
inspect(TreeInspector inspector)
Examines the CloudFormation resource and discloses attributes.
|
protected java.util.Map<java.lang.String,java.lang.Object> |
renderProperties(java.util.Map<java.lang.String,java.lang.Object> props) |
void |
setDomain(java.lang.String value)
The domain of a Domain dataset group.
|
void |
setKmsKeyArn(java.lang.String value)
The Amazon Resource Name (ARN) of the AWS Key Management Service (KMS) key used to encrypt the datasets.
|
void |
setName(java.lang.String value)
The name of the dataset group.
|
void |
setRoleArn(java.lang.String value)
The ARN of the IAM role that has permissions to create the dataset group.
|
addDeletionOverride, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, isCfnResource, shouldSynthesize, toString, validateProperties
getRef
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalId
getNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validate
public static final java.lang.String CFN_RESOURCE_TYPE_NAME
protected CfnDatasetGroup(software.amazon.jsii.JsiiObjectRef objRef)
protected CfnDatasetGroup(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
public CfnDatasetGroup(Construct scope, java.lang.String id, CfnDatasetGroupProps props)
scope
- - scope in which this resource is defined. This parameter is required.id
- - scoped id of the resource. This parameter is required.props
- - resource properties. This parameter is required.public void inspect(TreeInspector inspector)
inspect
in interface IInspectable
inspector
- - tree inspector to collect and process attributes. This parameter is required.protected java.util.Map<java.lang.String,java.lang.Object> renderProperties(java.util.Map<java.lang.String,java.lang.Object> props)
renderProperties
in class CfnResource
props
- This parameter is required.public java.lang.String getAttrDatasetGroupArn()
protected java.util.Map<java.lang.String,java.lang.Object> getCfnProperties()
getCfnProperties
in class CfnResource
public java.lang.String getName()
public void setName(java.lang.String value)
public java.lang.String getDomain()
public void setDomain(java.lang.String value)
public java.lang.String getKmsKeyArn()
public void setKmsKeyArn(java.lang.String value)
public java.lang.String getRoleArn()
public void setRoleArn(java.lang.String value)