AWS::VerifiedPermissions::Policy TemplateLinkedPolicyDefinition
A structure that describes a policy created by instantiating a policy template.
Note
You can't directly update a template-linked policy. You must update the associated policy template instead.
Syntax
To declare this entity in your AWS CloudFormation template, use the following syntax:
JSON
{ "PolicyTemplateId" :
String
, "Principal" :EntityIdentifier
, "Resource" :EntityIdentifier
}
YAML
PolicyTemplateId:
String
Principal:EntityIdentifier
Resource:EntityIdentifier
Properties
PolicyTemplateId
-
The unique identifier of the policy template used to create this policy.
Required: Yes
Type: String
Pattern:
^[a-zA-Z0-9-]*$
Minimum:
1
Maximum:
200
Update requires: Updates are not supported.
Principal
-
The principal associated with this template-linked policy. Verified Permissions substitutes this principal for the
?principal
placeholder in the policy template when it evaluates an authorization request.Required: No
Type: EntityIdentifier
Update requires: Updates are not supported.
Resource
-
The resource associated with this template-linked policy. Verified Permissions substitutes this resource for the
?resource
placeholder in the policy template when it evaluates an authorization request.Required: No
Type: EntityIdentifier
Update requires: Updates are not supported.