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.
Contents
Important
This data type is a UNION, so only one of the following members can be specified when used or returned.
- ruleArn
-
The ARN of the associated rule.
Type: String
Length Constraints: Minimum length of 20. Maximum length of 1010.
Pattern:
arn(:[a-z0-9]+([.-][a-z0-9]+)*){2}(:([a-z0-9]+([.-][a-z0-9]+)*)?){2}:(.+)Required: No
- templateArn
-
The ARN of the associated template.
Type: String
Length Constraints: Minimum length of 20. Maximum length of 1010.
Pattern:
arn(:[a-z0-9]+([.-][a-z0-9]+)*){2}(:([a-z0-9]+([.-][a-z0-9]+)*)?){2}:(.+)Required: No
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: