Class CfnPolicyTemplatePropsMixin.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.verifiedpermissions.CfnPolicyTemplatePropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPolicyTemplatePropsMixin>
- Enclosing class:
CfnPolicyTemplatePropsMixin
@Stability(Stable)
public static final class CfnPolicyTemplatePropsMixin.Builder
extends Object
implements software.amazon.jsii.Builder<CfnPolicyTemplatePropsMixin>
A fluent builder for
CfnPolicyTemplatePropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionbuild()create()create(CfnPropertyMixinOptions options) description(String description) The description to attach to the new or updated policy template.policyStoreId(String policyStoreId) The unique identifier of the policy store that contains the template.Specifies the content that you want to use for the new policy template, written in the Cedar policy language.
-
Method Details
-
create
@Stability(Stable) public static CfnPolicyTemplatePropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnPolicyTemplatePropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnPolicyTemplatePropsMixin.Builder.
-
description
The description to attach to the new or updated policy template.- Parameters:
description- The description to attach to the new or updated policy template. This parameter is required.- Returns:
this- See Also:
-
policyStoreId
The unique identifier of the policy store that contains the template.- Parameters:
policyStoreId- The unique identifier of the policy store that contains the template. This parameter is required.- Returns:
this- See Also:
-
statement
Specifies the content that you want to use for the new policy template, written in the Cedar policy language.- Parameters:
statement- Specifies the content that you want to use for the new policy template, written in the Cedar policy language. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnPolicyTemplatePropsMixin>- Returns:
- a newly built instance of
CfnPolicyTemplatePropsMixin.
-