1. Packages
  2. AWS Native
  3. API Docs
  4. personalize
  5. DatasetGroup

AWS Native is in preview. AWS Classic is fully supported.

AWS Native v0.102.0 published on Tuesday, Apr 16, 2024 by Pulumi

aws-native.personalize.DatasetGroup

Explore with Pulumi AI

aws-native logo

AWS Native is in preview. AWS Classic is fully supported.

AWS Native v0.102.0 published on Tuesday, Apr 16, 2024 by Pulumi

    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.

    Example

    The following reference example uses placeholder values for all input properties.

    Coming soon!
    
    Coming soon!
    
    Coming soon!
    
    Coming soon!
    
    const aws_nativeDatasetGroupResource = new aws_native.personalize.DatasetGroup("aws-nativeDatasetGroupResource", {
        domain: aws_native.personalize.DatasetGroupDomain.Ecommerce,
        kmsKeyArn: "string",
        name: "string",
        roleArn: "string",
    });
    
    Coming soon!
    

    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.AwsNative.Personalize.DatasetGroupDomain
    The domain of a Domain dataset group.
    KmsKeyArn string
    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.
    RoleArn 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 DatasetGroupDomain
    The domain of a Domain dataset group.
    KmsKeyArn string
    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.
    RoleArn 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 DatasetGroupDomain
    The domain of a Domain dataset group.
    kmsKeyArn String
    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.
    roleArn 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 DatasetGroupDomain
    The domain of a Domain dataset group.
    kmsKeyArn string
    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.
    roleArn 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 DatasetGroupDomain
    The domain of a Domain dataset group.
    kms_key_arn str
    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.
    kmsKeyArn String
    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.
    roleArn 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:

    DatasetGroupArn string
    The Amazon Resource Name (ARN) of the dataset group.
    Id string
    The provider-assigned unique ID for this managed resource.
    DatasetGroupArn string
    The Amazon Resource Name (ARN) of the dataset group.
    Id string
    The provider-assigned unique ID for this managed resource.
    datasetGroupArn String
    The Amazon Resource Name (ARN) of the dataset group.
    id String
    The provider-assigned unique ID for this managed resource.
    datasetGroupArn string
    The Amazon Resource Name (ARN) of the dataset group.
    id string
    The provider-assigned unique ID for this managed resource.
    dataset_group_arn str
    The Amazon Resource Name (ARN) of the dataset group.
    id str
    The provider-assigned unique ID for this managed resource.
    datasetGroupArn String
    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
    VideoOnDemand
    VIDEO_ON_DEMAND
    DatasetGroupDomainEcommerce
    ECOMMERCE
    DatasetGroupDomainVideoOnDemand
    VIDEO_ON_DEMAND
    Ecommerce
    ECOMMERCE
    VideoOnDemand
    VIDEO_ON_DEMAND
    Ecommerce
    ECOMMERCE
    VideoOnDemand
    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
    aws-native logo

    AWS Native is in preview. AWS Classic is fully supported.

    AWS Native v0.102.0 published on Tuesday, Apr 16, 2024 by Pulumi