asTemplateArn

Casts this AssociatedTemplateOrRule as a TemplateArn and retrieves its kotlin.String value. Throws an exception if the AssociatedTemplateOrRule is not a TemplateArn.