CfnApprovalPolicyProps

class aws_cdk.aws_quicksight.CfnApprovalPolicyProps(*, actions, applicable_to, approval_groups, asset_types, name, policy_id, description=None)

Bases: object

Properties for defining a CfnApprovalPolicy.

Parameters:
  • actions (Union[Sequence[Any], IResolvable]) – List of governed actions a policy applies to.

  • applicable_to (Union[IResolvable, ApplicableToProperty, Dict[str, Any]]) – Scoping: who the policy applies to. GROUP: groupArns required (one or more group ARNs).

  • approval_groups (Sequence[str]) – List of approval group ARNs (e.g. QuickSight group ARNs). At least one approval group is required; the upper bound is enforced per-account at the service layer via the configurable approver-group limit.

  • asset_types (Union[Sequence[Any], IResolvable]) – List of asset types a policy applies to. At least one asset type is required.

  • name (str)

  • policy_id (str)

  • description (Optional[str])

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-quicksight-approvalpolicy.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 import aws_quicksight as quicksight

# actions: Any
# asset_types: Any
# type: Any

cfn_approval_policy_props = quicksight.CfnApprovalPolicyProps(
    actions=[actions],
    applicable_to=quicksight.CfnApprovalPolicy.ApplicableToProperty(
        type=type,

        # the properties below are optional
        group_arns=["groupArns"]
    ),
    approval_groups=["approvalGroups"],
    asset_types=[asset_types],
    name="name",
    policy_id="policyId",

    # the properties below are optional
    description="description"
)

Attributes

actions

List of governed actions a policy applies to.

See:

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

applicable_to

who the policy applies to.

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

See:

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

Type:

Scoping

approval_groups

List of approval group ARNs (e.g. QuickSight group ARNs). At least one approval group is required; the upper bound is enforced per-account at the service layer via the configurable approver-group limit.

See:

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

asset_types

List of asset types a policy applies to.

At least one asset type is required.

See:

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

description

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

Type:

see

name

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

Type:

see

policy_id

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

Type:

see