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

Link copied to clipboard
data class RuleArn(val value: String) : AssociatedTemplateOrRule

The ARN of the associated rule.

Link copied to clipboard
Link copied to clipboard

The ARN of the associated template.

Functions

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard

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