Skip to content
v2.276.0

CfnPolicyTemplateProps Struct ​

Properties for defining a CfnPolicyTemplate.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_verifiedpermissions as verifiedpermissions } from 'aws-cdk-lib';
const cfnPolicyTemplateProps: verifiedpermissions.CfnPolicyTemplateProps = {
  policyStoreId: 'policyStoreId',
  statement: 'statement',

  // the properties below are optional
  description: 'description',
  name: 'name',
};

Properties ​

descriptionoptionalstringdescriptionoptionalstrdescriptionoptionalStringDescriptionoptionalstringDescriptionoptional*string#
The description to attach to the new or updated policy template.
nameoptionalstringnameoptionalstrnameoptionalStringNameoptionalstringNameoptional*string#
policyStoreIdstringpolicy_store_idstrpolicyStoreIdStringPolicyStoreIdstringPolicyStoreId*stringrequired#
The unique identifier of the policy store that contains the template.
statementstringstatementstrstatementStringStatementstringStatement*stringrequired#
Specifies the content that you want to use for the new policy template, written in the Cedar policy language.