Class CfnApprovalPolicyPropsMixin.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.quicksight.CfnApprovalPolicyPropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnApprovalPolicyPropsMixin>
- Enclosing class:
CfnApprovalPolicyPropsMixin
@Stability(Stable)
public static final class CfnApprovalPolicyPropsMixin.Builder
extends Object
implements software.amazon.jsii.Builder<CfnApprovalPolicyPropsMixin>
A fluent builder for
CfnApprovalPolicyPropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionList of governed actions a policy applies to.actions(IResolvable actions) List of governed actions a policy applies to.applicableTo(CfnApprovalPolicyPropsMixin.ApplicableToProperty applicableTo) Scoping: who the policy applies to.applicableTo(IResolvable applicableTo) Scoping: who the policy applies to.approvalGroups(List<String> approvalGroups) List of approval group ARNs (e.g.assetTypes(List<? extends Object> assetTypes) List of asset types a policy applies to.assetTypes(IResolvable assetTypes) List of asset types a policy applies to.build()create()create(CfnPropertyMixinOptions options) description(String description)
-
Method Details
-
create
@Stability(Stable) public static CfnApprovalPolicyPropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnApprovalPolicyPropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnApprovalPolicyPropsMixin.Builder.
-
actions
@Stability(Stable) public CfnApprovalPolicyPropsMixin.Builder actions(List<? extends Object> actions) List of governed actions a policy applies to.- Parameters:
actions- List of governed actions a policy applies to. This parameter is required.- Returns:
this- See Also:
-
actions
List of governed actions a policy applies to.- Parameters:
actions- List of governed actions a policy applies to. This parameter is required.- Returns:
this- See Also:
-
applicableTo
@Stability(Stable) public CfnApprovalPolicyPropsMixin.Builder applicableTo(IResolvable applicableTo) Scoping: who the policy applies to.GROUP:
groupArnsrequired (one or more group ARNs).- Parameters:
applicableTo- Scoping: who the policy applies to. This parameter is required.- Returns:
this- See Also:
-
applicableTo
@Stability(Stable) public CfnApprovalPolicyPropsMixin.Builder applicableTo(CfnApprovalPolicyPropsMixin.ApplicableToProperty applicableTo) Scoping: who the policy applies to.GROUP:
groupArnsrequired (one or more group ARNs).- Parameters:
applicableTo- Scoping: who the policy applies to. This parameter is required.- Returns:
this- See Also:
-
approvalGroups
@Stability(Stable) public CfnApprovalPolicyPropsMixin.Builder approvalGroups(List<String> approvalGroups) 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.- Parameters:
approvalGroups- 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. This parameter is required.- Returns:
this- See Also:
-
assetTypes
@Stability(Stable) public CfnApprovalPolicyPropsMixin.Builder assetTypes(List<? extends Object> assetTypes) List of asset types a policy applies to.At least one asset type is required.
- Parameters:
assetTypes- List of asset types a policy applies to. This parameter is required.- Returns:
this- See Also:
-
assetTypes
List of asset types a policy applies to.At least one asset type is required.
- Parameters:
assetTypes- List of asset types a policy applies to. This parameter is required.- Returns:
this- See Also:
-
description
- Parameters:
description- This parameter is required.- Returns:
this- See Also:
-
name
- Parameters:
name- This parameter is required.- Returns:
this- See Also:
-
policyId
- Parameters:
policyId- This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnApprovalPolicyPropsMixin>- Returns:
- a newly built instance of
CfnApprovalPolicyPropsMixin.
-