CfnApprovalPolicyPropsMixin

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

Bases: Mixin

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

See:

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

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 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.

ApplicableToProperty

class CfnApprovalPolicyPropsMixin.ApplicableToProperty(*, group_arns=None, type=None)

Bases: object

Scoping: who the policy applies to.

GROUP: groupArns required (one or more group ARNs).

Parameters:
  • group_arns (Optional[Sequence[str]]) – Required when type = GROUP. One or more group ARNs.

  • type (Any)

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-approvalpolicy-applicableto.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

# 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.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-approvalpolicy-applicableto.html#cfn-quicksight-approvalpolicy-applicableto-grouparns

type

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-approvalpolicy-applicableto.html#cfn-quicksight-approvalpolicy-applicableto-type

Type:

see