We recommend new projects start with resources from the AWS provider.
aws-native.personalize.DatasetGroup
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
Resource Schema for AWS::Personalize::DatasetGroup.
Example Usage
Example
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AwsNative = Pulumi.AwsNative;
return await Deployment.RunAsync(() =>
{
var myDatasetGroup = new AwsNative.Personalize.DatasetGroup("myDatasetGroup", new()
{
Name = "my-dataset-group-name",
});
});
package main
import (
"github.com/pulumi/pulumi-aws-native/sdk/go/aws/personalize"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := personalize.NewDatasetGroup(ctx, "myDatasetGroup", &personalize.DatasetGroupArgs{
Name: pulumi.String("my-dataset-group-name"),
})
if err != nil {
return err
}
return nil
})
}
Coming soon!
import pulumi
import pulumi_aws_native as aws_native
my_dataset_group = aws_native.personalize.DatasetGroup("myDatasetGroup", name="my-dataset-group-name")
import * as pulumi from "@pulumi/pulumi";
import * as aws_native from "@pulumi/aws-native";
const myDatasetGroup = new aws_native.personalize.DatasetGroup("myDatasetGroup", {name: "my-dataset-group-name"});
Coming soon!
Example
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AwsNative = Pulumi.AwsNative;
return await Deployment.RunAsync(() =>
{
var myDatasetGroup = new AwsNative.Personalize.DatasetGroup("myDatasetGroup", new()
{
Name = "my-dataset-group-name",
});
});
package main
import (
"github.com/pulumi/pulumi-aws-native/sdk/go/aws/personalize"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := personalize.NewDatasetGroup(ctx, "myDatasetGroup", &personalize.DatasetGroupArgs{
Name: pulumi.String("my-dataset-group-name"),
})
if err != nil {
return err
}
return nil
})
}
Coming soon!
import pulumi
import pulumi_aws_native as aws_native
my_dataset_group = aws_native.personalize.DatasetGroup("myDatasetGroup", name="my-dataset-group-name")
import * as pulumi from "@pulumi/pulumi";
import * as aws_native from "@pulumi/aws-native";
const myDatasetGroup = new aws_native.personalize.DatasetGroup("myDatasetGroup", {name: "my-dataset-group-name"});
Coming soon!
Create DatasetGroup Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new DatasetGroup(name: string, args?: DatasetGroupArgs, opts?: CustomResourceOptions);
@overload
def DatasetGroup(resource_name: str,
args: Optional[DatasetGroupArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def DatasetGroup(resource_name: str,
opts: Optional[ResourceOptions] = None,
domain: Optional[DatasetGroupDomain] = None,
kms_key_arn: Optional[str] = None,
name: Optional[str] = None,
role_arn: Optional[str] = None)
func NewDatasetGroup(ctx *Context, name string, args *DatasetGroupArgs, opts ...ResourceOption) (*DatasetGroup, error)
public DatasetGroup(string name, DatasetGroupArgs? args = null, CustomResourceOptions? opts = null)
public DatasetGroup(String name, DatasetGroupArgs args)
public DatasetGroup(String name, DatasetGroupArgs args, CustomResourceOptions options)
type: aws-native:personalize:DatasetGroup
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args DatasetGroupArgs
- 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 DatasetGroupArgs
- 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 DatasetGroupArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args DatasetGroupArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args DatasetGroupArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
DatasetGroup Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The DatasetGroup resource accepts the following input properties:
- Domain
Pulumi.
Aws Native. Personalize. Dataset Group Domain - The domain of a Domain dataset group.
- Kms
Key stringArn - The Amazon Resource Name(ARN) of a AWS Key Management Service (KMS) key used to encrypt the datasets.
- Name string
- The name for the new dataset group.
- Role
Arn string - The ARN of the AWS Identity and Access Management (IAM) role that has permissions to access the AWS Key Management Service (KMS) key. Supplying an IAM role is only valid when also specifying a KMS key.
- Domain
Dataset
Group Domain - The domain of a Domain dataset group.
- Kms
Key stringArn - The Amazon Resource Name(ARN) of a AWS Key Management Service (KMS) key used to encrypt the datasets.
- Name string
- The name for the new dataset group.
- Role
Arn string - The ARN of the AWS Identity and Access Management (IAM) role that has permissions to access the AWS Key Management Service (KMS) key. Supplying an IAM role is only valid when also specifying a KMS key.
- domain
Dataset
Group Domain - The domain of a Domain dataset group.
- kms
Key StringArn - The Amazon Resource Name(ARN) of a AWS Key Management Service (KMS) key used to encrypt the datasets.
- name String
- The name for the new dataset group.
- role
Arn String - The ARN of the AWS Identity and Access Management (IAM) role that has permissions to access the AWS Key Management Service (KMS) key. Supplying an IAM role is only valid when also specifying a KMS key.
- domain
Dataset
Group Domain - The domain of a Domain dataset group.
- kms
Key stringArn - The Amazon Resource Name(ARN) of a AWS Key Management Service (KMS) key used to encrypt the datasets.
- name string
- The name for the new dataset group.
- role
Arn string - The ARN of the AWS Identity and Access Management (IAM) role that has permissions to access the AWS Key Management Service (KMS) key. Supplying an IAM role is only valid when also specifying a KMS key.
- domain
Dataset
Group Domain - The domain of a Domain dataset group.
- kms_
key_ strarn - The Amazon Resource Name(ARN) of a AWS Key Management Service (KMS) key used to encrypt the datasets.
- name str
- The name for the new dataset group.
- role_
arn str - The ARN of the AWS Identity and Access Management (IAM) role that has permissions to access the AWS Key Management Service (KMS) key. Supplying an IAM role is only valid when also specifying a KMS key.
- domain "ECOMMERCE" | "VIDEO_ON_DEMAND"
- The domain of a Domain dataset group.
- kms
Key StringArn - The Amazon Resource Name(ARN) of a AWS Key Management Service (KMS) key used to encrypt the datasets.
- name String
- The name for the new dataset group.
- role
Arn String - The ARN of the AWS Identity and Access Management (IAM) role that has permissions to access the AWS Key Management Service (KMS) key. Supplying an IAM role is only valid when also specifying a KMS key.
Outputs
All input properties are implicitly available as output properties. Additionally, the DatasetGroup resource produces the following output properties:
- Dataset
Group stringArn - The Amazon Resource Name (ARN) of the dataset group.
- Id string
- The provider-assigned unique ID for this managed resource.
- Dataset
Group stringArn - The Amazon Resource Name (ARN) of the dataset group.
- Id string
- The provider-assigned unique ID for this managed resource.
- dataset
Group StringArn - The Amazon Resource Name (ARN) of the dataset group.
- id String
- The provider-assigned unique ID for this managed resource.
- dataset
Group stringArn - The Amazon Resource Name (ARN) of the dataset group.
- id string
- The provider-assigned unique ID for this managed resource.
- dataset_
group_ strarn - The Amazon Resource Name (ARN) of the dataset group.
- id str
- The provider-assigned unique ID for this managed resource.
- dataset
Group StringArn - The Amazon Resource Name (ARN) of the dataset group.
- id String
- The provider-assigned unique ID for this managed resource.
Supporting Types
DatasetGroupDomain, DatasetGroupDomainArgs
- Ecommerce
- ECOMMERCE
- Video
On Demand - VIDEO_ON_DEMAND
- Dataset
Group Domain Ecommerce - ECOMMERCE
- Dataset
Group Domain Video On Demand - VIDEO_ON_DEMAND
- Ecommerce
- ECOMMERCE
- Video
On Demand - VIDEO_ON_DEMAND
- Ecommerce
- ECOMMERCE
- Video
On Demand - VIDEO_ON_DEMAND
- ECOMMERCE
- ECOMMERCE
- VIDEO_ON_DEMAND
- VIDEO_ON_DEMAND
- "ECOMMERCE"
- ECOMMERCE
- "VIDEO_ON_DEMAND"
- VIDEO_ON_DEMAND
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.