@Generated(value="jsii-pacmak/1.74.0 (build 6d08790)", date="2023-03-02T14:17:16.188Z") @Stability(value=Stable) 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. |
software.amazon.jsii.JsiiObject.InitializationModeIInspectable.Jsii$Default, IInspectable.Jsii$ProxyIConstruct.Jsii$Default| Modifier and Type | Field and Description |
|---|---|
static String |
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
|
| Modifier | Constructor and Description |
|---|---|
|
CfnDatasetGroup(Construct scope,
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 |
|---|---|
String |
getAttrDatasetGroupArn()
The Amazon Resource Name (ARN) of the dataset group.
|
protected Map<String,Object> |
getCfnProperties() |
String |
getDomain()
The domain of a Domain dataset group.
|
String |
getKmsKeyArn()
The Amazon Resource Name (ARN) of the AWS Key Management Service (KMS) key used to encrypt the datasets.
|
String |
getName()
The name of the dataset group.
|
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 Map<String,Object> |
renderProperties(Map<String,Object> props) |
void |
setDomain(String value)
The domain of a Domain dataset group.
|
void |
setKmsKeyArn(String value)
The Amazon Resource Name (ARN) of the AWS Key Management Service (KMS) key used to encrypt the datasets.
|
void |
setName(String value)
The name of the dataset group.
|
void |
setRoleArn(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, validatePropertiesgetRefgetCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdgetNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validatejsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet@Stability(value=Stable) public static final String CFN_RESOURCE_TYPE_NAME
protected CfnDatasetGroup(software.amazon.jsii.JsiiObjectRef objRef)
protected CfnDatasetGroup(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
public CfnDatasetGroup(@NotNull
Construct scope,
@NotNull
String id,
@NotNull
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.@Stability(value=Stable)
public void inspect(@NotNull
TreeInspector inspector)
inspect in interface IInspectableinspector - - tree inspector to collect and process attributes. This parameter is required.@Stability(value=Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String,Object> props)
renderProperties in class CfnResourceprops - This parameter is required.@Stability(value=Stable) @NotNull public String getAttrDatasetGroupArn()
@Stability(value=Stable) @NotNull protected Map<String,Object> getCfnProperties()
getCfnProperties in class CfnResource@Stability(value=Stable) @NotNull public String getName()
@Stability(value=Stable)
public void setName(@NotNull
String value)
@Stability(value=Stable) @Nullable public String getDomain()
@Stability(value=Stable)
public void setDomain(@Nullable
String value)
@Stability(value=Stable) @Nullable public String getKmsKeyArn()
@Stability(value=Stable)
public void setKmsKeyArn(@Nullable
String value)
@Stability(value=Stable) @Nullable public String getRoleArn()
@Stability(value=Stable)
public void setRoleArn(@Nullable
String value)
Copyright © 2023. All rights reserved.