CfnApprovalPolicyPropsMixin
- class aws_cdk.cfn_property_mixins.aws_quicksight.CfnApprovalPolicyPropsMixin(props, *, strategy=None)
Bases:
MixinDefinition of the AWS::QuickSight::ApprovalPolicy Resource Type.
- See:
- CloudformationResource:
AWS::QuickSight::ApprovalPolicy
- 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 # actions: Any # asset_types: Any # merge_strategy: cdk.IMergeStrategy # type: Any cfn_approval_policy_props_mixin = quicksight.CfnApprovalPolicyPropsMixin(quicksight.CfnApprovalPolicyMixinProps( actions=[actions], applicable_to=quicksight.CfnApprovalPolicyPropsMixin.ApplicableToProperty( group_arns=["groupArns"], type=type ), approval_groups=["approvalGroups"], asset_types=[asset_types], description="description", name="name", policy_id="policyId" ), strategy=merge_strategy )
Create a mixin to apply properties to
AWS::QuickSight::ApprovalPolicy.- Parameters:
props (
Union[CfnApprovalPolicyMixinProps,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 = ['actions', 'applicableTo', 'approvalGroups', 'assetTypes', 'description', 'name', 'policyId']
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.
ApplicableToProperty
- class CfnApprovalPolicyPropsMixin.ApplicableToProperty(*, group_arns=None, type=None)
Bases:
objectScoping: who the policy applies to.
GROUP:
groupArnsrequired (one or more group ARNs).- Parameters:
group_arns (
Optional[Sequence[str]]) – Required when type = GROUP. One or more group ARNs.type (
Any)
- 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 # type: Any applicable_to_property = quicksight.CfnApprovalPolicyPropsMixin.ApplicableToProperty( group_arns=["groupArns"], type=type )
Attributes
- group_arns
Required when type = GROUP.
One or more group ARNs.