CfnPolicyTemplateProps
- class aws_cdk.aws_verifiedpermissions.CfnPolicyTemplateProps(*, policy_store_id, statement, description=None)
Bases:
object
Properties for defining a
CfnPolicyTemplate
.- Parameters:
policy_store_id (
str
) – The unique identifier of the policy store that contains the template.statement (
str
) – Specifies the content that you want to use for the new policy template, written in the Cedar policy language.description (
Optional
[str
]) – The description to attach to the new or updated policy template.
- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk import aws_verifiedpermissions as verifiedpermissions cfn_policy_template_props = verifiedpermissions.CfnPolicyTemplateProps( policy_store_id="policyStoreId", statement="statement", # the properties below are optional description="description" )
Attributes
- description
The description to attach to the new or updated policy template.
- policy_store_id
The unique identifier of the policy store that contains the template.
- statement
Specifies the content that you want to use for the new policy template, written in the Cedar policy language.