CfnDataDeletionJobMixinProps

class aws_cdk.cfn_property_mixins.aws_personalize.CfnDataDeletionJobMixinProps(*, dataset_group_arn=None, data_source=None, job_name=None, role_arn=None)

Bases: object

Properties for CfnDataDeletionJobPropsMixin.

Parameters:
  • dataset_group_arn (Optional[str]) – The Amazon Resource Name (ARN) of the dataset group that has the datasets you want to delete records from.

  • data_source (Union[IResolvable, DataSourceProperty, Dict[str, Any], None]) – The Amazon S3 bucket that contains the list of userIds to delete.

  • job_name (Optional[str]) – The name for the data deletion job.

  • role_arn (Optional[str]) – The Amazon Resource Name (ARN) of the IAM role that has permissions to read from the Amazon S3 data source.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-personalize-datadeletionjob.html

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.cfn_property_mixins import aws_personalize as personalize

cfn_data_deletion_job_mixin_props = personalize.CfnDataDeletionJobMixinProps(
    dataset_group_arn="datasetGroupArn",
    data_source=personalize.CfnDataDeletionJobPropsMixin.DataSourceProperty(
        data_location="dataLocation"
    ),
    job_name="jobName",
    role_arn="roleArn"
)

Attributes

data_source

The Amazon S3 bucket that contains the list of userIds to delete.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-personalize-datadeletionjob.html#cfn-personalize-datadeletionjob-datasource

dataset_group_arn

The Amazon Resource Name (ARN) of the dataset group that has the datasets you want to delete records from.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-personalize-datadeletionjob.html#cfn-personalize-datadeletionjob-datasetgrouparn

job_name

The name for the data deletion job.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-personalize-datadeletionjob.html#cfn-personalize-datadeletionjob-jobname

role_arn

The Amazon Resource Name (ARN) of the IAM role that has permissions to read from the Amazon S3 data source.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-personalize-datadeletionjob.html#cfn-personalize-datadeletionjob-rolearn