Interface CfnPolicyTemplateProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnPolicyTemplateProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2024-11-06T23:25:17.979Z")
@Stability(Stable)
public interface CfnPolicyTemplateProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnPolicyTemplate
.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.verifiedpermissions.*; CfnPolicyTemplateProps cfnPolicyTemplateProps = CfnPolicyTemplateProps.builder() .policyStoreId("policyStoreId") .statement("statement") // the properties below are optional .description("description") .build();
- See Also:
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnPolicyTemplateProps
static final class
An implementation forCfnPolicyTemplateProps
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
default String
The description to attach to the new or updated policy template.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.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getPolicyStoreId
The unique identifier of the policy store that contains the template.- See Also:
-
getStatement
Specifies the content that you want to use for the new policy template, written in the Cedar policy language.- See Also:
-
getDescription
The description to attach to the new or updated policy template.- See Also:
-
builder
- Returns:
- a
CfnPolicyTemplateProps.Builder
ofCfnPolicyTemplateProps
-