aws-cdk-lib.aws_verifiedpermissions.CfnPolicyTemplateProps

interface CfnPolicyTemplateProps

LanguageType name
.NETAmazon.CDK.aws_verifiedpermissions.CfnPolicyTemplateProps
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsverifiedpermissions#CfnPolicyTemplateProps
Javaservices.verifiedpermissions.CfnPolicyTemplateProps
Pythonaws_cdk.aws_verifiedpermissions.CfnPolicyTemplateProps
TypeScript aws-cdk-lib » aws_verifiedpermissions » CfnPolicyTemplateProps

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 { aws_verifiedpermissions as verifiedpermissions } from 'aws-cdk-lib';
const cfnPolicyTemplateProps: verifiedpermissions.CfnPolicyTemplateProps = {
  statement: 'statement',

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

Properties

NameTypeDescription
statementstringSpecifies the content that you want to use for the new policy template, written in the Cedar policy language.
description?stringThe description to attach to the new or updated policy template.
policyStoreId?stringThe unique identifier of the policy store that contains the template.

statement

Type: string

Specifies the content that you want to use for the new policy template, written in the Cedar policy language.


description?

Type: string (optional)

The description to attach to the new or updated policy template.


policyStoreId?

Type: string (optional)

The unique identifier of the policy store that contains the template.