Class CfnPolicyPropsMixin.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.verifiedpermissions.CfnPolicyPropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPolicyPropsMixin>
- Enclosing class:
CfnPolicyPropsMixin
@Stability(Stable)
public static final class CfnPolicyPropsMixin.Builder
extends Object
implements software.amazon.jsii.Builder<CfnPolicyPropsMixin>
A fluent builder for
CfnPolicyPropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionbuild()static CfnPolicyPropsMixin.Buildercreate()static CfnPolicyPropsMixin.Buildercreate(CfnPropertyMixinOptions options) Specifies the policy type and content to use for the new or updated policy.definition(IResolvable definition) Specifies the policy type and content to use for the new or updated policy.policyStoreId(String policyStoreId) Specifies thePolicyStoreIdof the policy store you want to store the policy in.
-
Method Details
-
create
@Stability(Stable) public static CfnPolicyPropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnPolicyPropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnPolicyPropsMixin.Builder.
-
definition
Specifies the policy type and content to use for the new or updated policy.The definition structure must include either a
Staticor aTemplateLinkedelement.- Parameters:
definition- Specifies the policy type and content to use for the new or updated policy. This parameter is required.- Returns:
this- See Also:
-
definition
@Stability(Stable) public CfnPolicyPropsMixin.Builder definition(CfnPolicyPropsMixin.PolicyDefinitionProperty definition) Specifies the policy type and content to use for the new or updated policy.The definition structure must include either a
Staticor aTemplateLinkedelement.- Parameters:
definition- Specifies the policy type and content to use for the new or updated policy. This parameter is required.- Returns:
this- See Also:
-
policyStoreId
Specifies thePolicyStoreIdof the policy store you want to store the policy in.- Parameters:
policyStoreId- Specifies thePolicyStoreIdof the policy store you want to store the policy in. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnPolicyPropsMixin>- Returns:
- a newly built instance of
CfnPolicyPropsMixin.
-