AssociatedTemplateOrRule
An association between a policy and either a template or a rule, as returned in outputs. Exactly one of templateArn or ruleArn is set. The corresponding request structure is TemplateOrRuleReference.
Inheritors
Types
Functions
Casts this AssociatedTemplateOrRule as a RuleArn and retrieves its kotlin.String value. Throws an exception if the AssociatedTemplateOrRule is not a RuleArn.
Casts this AssociatedTemplateOrRule as a RuleArn and retrieves its kotlin.String value. Returns null if the AssociatedTemplateOrRule is not a RuleArn.
Casts this AssociatedTemplateOrRule as a TemplateArn and retrieves its kotlin.String value. Throws an exception if the AssociatedTemplateOrRule is not a TemplateArn.
Casts this AssociatedTemplateOrRule as a TemplateArn and retrieves its kotlin.String value. Returns null if the AssociatedTemplateOrRule is not a TemplateArn.