TemplateLinked
A structure that describes a policy that was instantiated from a template. The template can specify placeholders for principal
and resource
. When you use CreatePolicy to create a policy from a template, you specify the exact principal and resource to use for the instantiated policy.
Inherited functions
Casts this PolicyDefinition as a Static and retrieves its aws.sdk.kotlin.services.verifiedpermissions.model.StaticPolicyDefinition value. Throws an exception if the PolicyDefinition is not a Static.
Casts this PolicyDefinition as a Static and retrieves its aws.sdk.kotlin.services.verifiedpermissions.model.StaticPolicyDefinition value. Returns null if the PolicyDefinition is not a Static.
Casts this PolicyDefinition as a TemplateLinked and retrieves its aws.sdk.kotlin.services.verifiedpermissions.model.TemplateLinkedPolicyDefinition value. Throws an exception if the PolicyDefinition is not a TemplateLinked.
Casts this PolicyDefinition as a TemplateLinked and retrieves its aws.sdk.kotlin.services.verifiedpermissions.model.TemplateLinkedPolicyDefinition value. Returns null if the PolicyDefinition is not a TemplateLinked.