CfnDataDeletionJobPropsMixin

class aws_cdk.cfn_property_mixins.aws_personalize.CfnDataDeletionJobPropsMixin(props, *, strategy=None)

Bases: Mixin

Resource Type definition for AWS::Personalize::DataDeletionJob.

See:

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

CloudformationResource:

AWS::Personalize::DataDeletionJob

Mixin:

true

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
import aws_cdk as cdk

# merge_strategy: cdk.IMergeStrategy

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

Create a mixin to apply properties to AWS::Personalize::DataDeletionJob.

Parameters:
  • props (Union[CfnDataDeletionJobMixinProps, Dict[str, Any]]) – L1 properties to apply.

  • strategy (Optional[IMergeStrategy]) – Strategy for merging nested properties. Default: - PropertyMergeStrategy.combine()

Methods

apply_to(construct)

Apply the mixin properties to the construct.

Parameters:

construct (IConstruct)

Return type:

None

supports(construct)

Check if this mixin supports the given construct.

Parameters:

construct (IConstruct)

Return type:

bool

Attributes

CFN_PROPERTY_KEYS = ['datasetGroupArn', 'dataSource', 'jobName', 'roleArn']

Static Methods

classmethod is_mixin(x)

Checks if x is a Mixin.

Parameters:

x (Any) – Any object.

Return type:

bool

Returns:

true if x is an object created from a class which extends Mixin.

DataSourceProperty

class CfnDataDeletionJobPropsMixin.DataSourceProperty(*, data_location=None)

Bases: object

Parameters:

data_location (Optional[str])

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-personalize-datadeletionjob-datasource.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

data_source_property = personalize.CfnDataDeletionJobPropsMixin.DataSourceProperty(
    data_location="dataLocation"
)

Attributes

data_location

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

Type:

see