CfnDLPSettingPropsMixin
- class aws_cdk.cfn_property_mixins.aws_quicksight.CfnDLPSettingPropsMixin(props, *, strategy=None)
Bases:
MixinDefinition of the AWS::QuickSight::DLPSetting Resource Type.
- See:
- 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
xis a Mixin.- Parameters:
x (
Any) – Any object.- Return type:
bool- Returns:
true if
xis an object created from a class which extendsMixin.
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:
- 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
-
- Type:
see
- label_id
-
- Type:
see
MicrosoftPurviewCredentialsProperty
- class CfnDLPSettingPropsMixin.MicrosoftPurviewCredentialsProperty(*, secret_arn=None)
Bases:
object- Parameters:
secret_arn (
Optional[str])- See:
- 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
MicrosoftPurviewProviderConfigProperty
- class CfnDLPSettingPropsMixin.MicrosoftPurviewProviderConfigProperty(*, credentials=None, label_action_mappings=None, unmapped_action=None)
Bases:
object- Parameters:
credentials (
Union[IResolvable,MicrosoftPurviewCredentialsProperty,Dict[str,Any],None])label_action_mappings (
Union[IResolvable,Sequence[Union[IResolvable,LabelActionMappingProperty,Dict[str,Any]]],None])unmapped_action (
Optional[str])
- See:
- 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
-
- Type:
see
- label_action_mappings
-
- Type:
see
ProviderConfigProperty
- class CfnDLPSettingPropsMixin.ProviderConfigProperty(*, microsoft_purview=None)
Bases:
object- Parameters:
microsoft_purview (
Union[IResolvable,MicrosoftPurviewProviderConfigProperty,Dict[str,Any],None])- See:
- 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