TemplateOrRuleReference

A reference to either a template or a rule in a create or update request. Set exactly one of templateIdentifier or ruleIdentifier.

Inheritors

Types

Link copied to clipboard

The identifier of the rule. This is the rule's Amazon Resource Name (ARN).

Link copied to clipboard
Link copied to clipboard

The identifier of the template. This is the template's Amazon Resource Name (ARN).

Functions

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard