asTemplateLinked
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.