asRuleArnOrNull

Casts this AssociatedTemplateOrRule as a RuleArn and retrieves its kotlin.String value. Returns null if the AssociatedTemplateOrRule is not a RuleArn.