Class CfnResourcePolicyPropsMixin.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.xray.mixins.CfnResourcePolicyPropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnResourcePolicyPropsMixin>
- Enclosing class:
CfnResourcePolicyPropsMixin
@Stability(Stable)
public static final class CfnResourcePolicyPropsMixin.Builder
extends Object
implements software.amazon.jsii.Builder<CfnResourcePolicyPropsMixin>
A fluent builder for
CfnResourcePolicyPropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionbuild()bypassPolicyLockoutCheck(Boolean bypassPolicyLockoutCheck) A flag to indicate whether to bypass the resource-based policy lockout safety check.bypassPolicyLockoutCheck(IResolvable bypassPolicyLockoutCheck) A flag to indicate whether to bypass the resource-based policy lockout safety check.create()create(CfnPropertyMixinOptions options) policyDocument(String policyDocument) The resource-based policy document, which can be up to 5kb in size.policyName(String policyName) The name of the resource-based policy.
-
Method Details
-
create
@Stability(Stable) public static CfnResourcePolicyPropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnResourcePolicyPropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnResourcePolicyPropsMixin.Builder.
-
bypassPolicyLockoutCheck
@Stability(Stable) public CfnResourcePolicyPropsMixin.Builder bypassPolicyLockoutCheck(Boolean bypassPolicyLockoutCheck) A flag to indicate whether to bypass the resource-based policy lockout safety check.- Parameters:
bypassPolicyLockoutCheck- A flag to indicate whether to bypass the resource-based policy lockout safety check. This parameter is required.- Returns:
this- See Also:
-
bypassPolicyLockoutCheck
@Stability(Stable) public CfnResourcePolicyPropsMixin.Builder bypassPolicyLockoutCheck(IResolvable bypassPolicyLockoutCheck) A flag to indicate whether to bypass the resource-based policy lockout safety check.- Parameters:
bypassPolicyLockoutCheck- A flag to indicate whether to bypass the resource-based policy lockout safety check. This parameter is required.- Returns:
this- See Also:
-
policyDocument
The resource-based policy document, which can be up to 5kb in size.- Parameters:
policyDocument- The resource-based policy document, which can be up to 5kb in size. This parameter is required.- Returns:
this- See Also:
-
policyName
The name of the resource-based policy.Must be unique within a specific AWS account.
- Parameters:
policyName- The name of the resource-based policy. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnResourcePolicyPropsMixin>- Returns:
- a newly built instance of
CfnResourcePolicyPropsMixin.
-