Class CfnApprovalPolicy.Builder
java.lang.Object
software.amazon.awscdk.services.quicksight.CfnApprovalPolicy.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnApprovalPolicy>
- Enclosing class:
CfnApprovalPolicy
@Stability(Stable)
public static final class CfnApprovalPolicy.Builder
extends Object
implements software.amazon.jsii.Builder<CfnApprovalPolicy>
A fluent builder for
CfnApprovalPolicy.-
Method Summary
Modifier and TypeMethodDescriptionList of governed actions a policy applies to.actions(IResolvable actions) List of governed actions a policy applies to.applicableTo(IResolvable applicableTo) Scoping: who the policy applies to.applicableTo(CfnApprovalPolicy.ApplicableToProperty 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()static CfnApprovalPolicy.Builderdescription(String description)
-
Method Details
-
create
@Stability(Stable) public static CfnApprovalPolicy.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope- Scope in which this resource is defined. This parameter is required.id- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnApprovalPolicy.Builder.
-
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
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 CfnApprovalPolicy.Builder applicableTo(CfnApprovalPolicy.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
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
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:
-
name
- Parameters:
name- This parameter is required.- Returns:
this- See Also:
-
policyId
- Parameters:
policyId- This parameter is required.- Returns:
this- See Also:
-
description
- Parameters:
description- This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnApprovalPolicy>- Returns:
- a newly built instance of
CfnApprovalPolicy.
-