Class: Aws::NetworkSecurityManager::Types::AssociatedTemplateOrRule
- Inherits:
-
Struct
- Object
- Struct
- Aws::NetworkSecurityManager::Types::AssociatedTemplateOrRule
- Defined in:
- gems/aws-sdk-networksecuritymanager/lib/aws-sdk-networksecuritymanager/types.rb
Overview
Note:
AssociatedTemplateOrRule is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of AssociatedTemplateOrRule corresponding to the set member.
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.
Defined Under Namespace
Classes: RuleArn, TemplateArn, Unknown
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#rule_arn ⇒ String
The ARN of the associated rule.
-
#template_arn ⇒ String
The ARN of the associated template.
-
#unknown ⇒ Object
Returns the value of attribute unknown.
Instance Attribute Details
#rule_arn ⇒ String
The ARN of the associated rule.
427 428 429 430 431 432 433 434 435 436 437 438 |
# File 'gems/aws-sdk-networksecuritymanager/lib/aws-sdk-networksecuritymanager/types.rb', line 427 class AssociatedTemplateOrRule < Struct.new( :template_arn, :rule_arn, :unknown) SENSITIVE = [] include Aws::Structure include Aws::Structure::Union class TemplateArn < AssociatedTemplateOrRule; end class RuleArn < AssociatedTemplateOrRule; end class Unknown < AssociatedTemplateOrRule; end end |
#template_arn ⇒ String
The ARN of the associated template.
427 428 429 430 431 432 433 434 435 436 437 438 |
# File 'gems/aws-sdk-networksecuritymanager/lib/aws-sdk-networksecuritymanager/types.rb', line 427 class AssociatedTemplateOrRule < Struct.new( :template_arn, :rule_arn, :unknown) SENSITIVE = [] include Aws::Structure include Aws::Structure::Union class TemplateArn < AssociatedTemplateOrRule; end class RuleArn < AssociatedTemplateOrRule; end class Unknown < AssociatedTemplateOrRule; end end |
#unknown ⇒ Object
Returns the value of attribute unknown
427 428 429 |
# File 'gems/aws-sdk-networksecuritymanager/lib/aws-sdk-networksecuritymanager/types.rb', line 427 def unknown @unknown end |