CfnDLPSettingPropsMixin

class aws_cdk.cfn_property_mixins.aws_quicksight.CfnDLPSettingPropsMixin(props, *, strategy=None)

Bases: Mixin

Definition of the AWS::QuickSight::DLPSetting Resource Type.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-quicksight-dlpsetting.html

CloudformationResource:

AWS::QuickSight::DLPSetting

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

# merge_strategy: cdk.IMergeStrategy

cfn_dlp_setting_props_mixin = quicksight.CfnDLPSettingPropsMixin(quicksight.CfnDLPSettingMixinProps(
    aws_account_id="awsAccountId",
    dlp_setting_id="dlpSettingId",
    enabled=False,
    name="name",
    provider_config=quicksight.CfnDLPSettingPropsMixin.ProviderConfigProperty(
        microsoft_purview=quicksight.CfnDLPSettingPropsMixin.MicrosoftPurviewProviderConfigProperty(
            credentials=quicksight.CfnDLPSettingPropsMixin.MicrosoftPurviewCredentialsProperty(
                secret_arn="secretArn"
            ),
            label_action_mappings=[quicksight.CfnDLPSettingPropsMixin.LabelActionMappingProperty(
                action="action",
                label_id="labelId",
                label_name="labelName"
            )],
            unmapped_action="unmappedAction"
        )
    ),
    provider_outage_action="providerOutageAction",
    provider_type="providerType",
    tags=[cdk.CfnTag(
        key="key",
        value="value"
    )]
),
    strategy=merge_strategy
)

Create a mixin to apply properties to AWS::QuickSight::DLPSetting.

Parameters:
  • props (Union[CfnDLPSettingMixinProps, 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 = ['awsAccountId', 'dlpSettingId', 'enabled', 'name', 'providerConfig', 'providerOutageAction', 'providerType', 'tags']

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.

LabelActionMappingProperty

class CfnDLPSettingPropsMixin.LabelActionMappingProperty(*, action=None, label_id=None, label_name=None)

Bases: object

Parameters:
  • action (Optional[str])

  • label_id (Optional[str])

  • label_name (Optional[str])

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dlpsetting-labelactionmapping.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_quicksight as quicksight

label_action_mapping_property = quicksight.CfnDLPSettingPropsMixin.LabelActionMappingProperty(
    action="action",
    label_id="labelId",
    label_name="labelName"
)

Attributes

action

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dlpsetting-labelactionmapping.html#cfn-quicksight-dlpsetting-labelactionmapping-action

Type:

see

label_id

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dlpsetting-labelactionmapping.html#cfn-quicksight-dlpsetting-labelactionmapping-labelid

Type:

see

label_name

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dlpsetting-labelactionmapping.html#cfn-quicksight-dlpsetting-labelactionmapping-labelname

Type:

see

MicrosoftPurviewCredentialsProperty

class CfnDLPSettingPropsMixin.MicrosoftPurviewCredentialsProperty(*, secret_arn=None)

Bases: object

Parameters:

secret_arn (Optional[str])

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dlpsetting-microsoftpurviewcredentials.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_quicksight as quicksight

microsoft_purview_credentials_property = quicksight.CfnDLPSettingPropsMixin.MicrosoftPurviewCredentialsProperty(
    secret_arn="secretArn"
)

Attributes

secret_arn

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dlpsetting-microsoftpurviewcredentials.html#cfn-quicksight-dlpsetting-microsoftpurviewcredentials-secretarn

Type:

see

MicrosoftPurviewProviderConfigProperty

class CfnDLPSettingPropsMixin.MicrosoftPurviewProviderConfigProperty(*, credentials=None, label_action_mappings=None, unmapped_action=None)

Bases: object

Parameters:
See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dlpsetting-microsoftpurviewproviderconfig.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_quicksight as quicksight

microsoft_purview_provider_config_property = quicksight.CfnDLPSettingPropsMixin.MicrosoftPurviewProviderConfigProperty(
    credentials=quicksight.CfnDLPSettingPropsMixin.MicrosoftPurviewCredentialsProperty(
        secret_arn="secretArn"
    ),
    label_action_mappings=[quicksight.CfnDLPSettingPropsMixin.LabelActionMappingProperty(
        action="action",
        label_id="labelId",
        label_name="labelName"
    )],
    unmapped_action="unmappedAction"
)

Attributes

credentials

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dlpsetting-microsoftpurviewproviderconfig.html#cfn-quicksight-dlpsetting-microsoftpurviewproviderconfig-credentials

Type:

see

label_action_mappings

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dlpsetting-microsoftpurviewproviderconfig.html#cfn-quicksight-dlpsetting-microsoftpurviewproviderconfig-labelactionmappings

Type:

see

unmapped_action

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dlpsetting-microsoftpurviewproviderconfig.html#cfn-quicksight-dlpsetting-microsoftpurviewproviderconfig-unmappedaction

Type:

see

ProviderConfigProperty

class CfnDLPSettingPropsMixin.ProviderConfigProperty(*, microsoft_purview=None)

Bases: object

Parameters:

microsoft_purview (Union[IResolvable, MicrosoftPurviewProviderConfigProperty, Dict[str, Any], None])

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dlpsetting-providerconfig.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_quicksight as quicksight

provider_config_property = quicksight.CfnDLPSettingPropsMixin.ProviderConfigProperty(
    microsoft_purview=quicksight.CfnDLPSettingPropsMixin.MicrosoftPurviewProviderConfigProperty(
        credentials=quicksight.CfnDLPSettingPropsMixin.MicrosoftPurviewCredentialsProperty(
            secret_arn="secretArn"
        ),
        label_action_mappings=[quicksight.CfnDLPSettingPropsMixin.LabelActionMappingProperty(
            action="action",
            label_id="labelId",
            label_name="labelName"
        )],
        unmapped_action="unmappedAction"
    )
)

Attributes

microsoft_purview

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dlpsetting-providerconfig.html#cfn-quicksight-dlpsetting-providerconfig-microsoftpurview

Type:

see