interface CfnPolicyTemplateProps
Language | Type name |
---|---|
![]() | Amazon.CDK.aws_verifiedpermissions.CfnPolicyTemplateProps |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awsverifiedpermissions#CfnPolicyTemplateProps |
![]() | software.amazon.awscdk.services.verifiedpermissions.CfnPolicyTemplateProps |
![]() | aws_cdk.aws_verifiedpermissions.CfnPolicyTemplateProps |
![]() | 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 = {
policyStoreId: 'policyStoreId',
statement: 'statement',
// the properties below are optional
description: 'description',
};
Properties
Name | Type | Description |
---|---|---|
policy | string | The unique identifier of the policy store that contains the template. |
statement | string | Specifies the content that you want to use for the new policy template, written in the Cedar policy language. |
description? | string | The description to attach to the new or updated policy template. |
policyStoreId
Type:
string
The 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.