Class: AWSCDK::Interfaces::AWSElasticloadbalancingv2::TargetGroupReference
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Interfaces::AWSElasticloadbalancingv2::TargetGroupReference
- Defined in:
- interfaces/aws_elasticloadbalancingv2/target_group_reference.rb
Overview
A reference to a TargetGroup resource.
Instance Attribute Summary collapse
-
#target_group_arn ⇒ String
readonly
The TargetGroupArn of the TargetGroup resource.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(target_group_arn:) ⇒ TargetGroupReference
constructor
A new instance of TargetGroupReference.
- #to_jsii ⇒ Object
Constructor Details
#initialize(target_group_arn:) ⇒ TargetGroupReference
Returns a new instance of TargetGroupReference.
8 9 10 11 |
# File 'interfaces/aws_elasticloadbalancingv2/target_group_reference.rb', line 8 def initialize(target_group_arn:) @target_group_arn = target_group_arn Jsii::Type.check_type(@target_group_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "targetGroupArn") end |
Instance Attribute Details
#target_group_arn ⇒ String (readonly)
The TargetGroupArn of the TargetGroup resource.
16 17 18 |
# File 'interfaces/aws_elasticloadbalancingv2/target_group_reference.rb', line 16 def target_group_arn @target_group_arn end |
Class Method Details
.jsii_properties ⇒ Object
18 19 20 21 22 |
# File 'interfaces/aws_elasticloadbalancingv2/target_group_reference.rb', line 18 def self.jsii_properties { :target_group_arn => "targetGroupArn", } end |
Instance Method Details
#to_jsii ⇒ Object
24 25 26 27 28 29 30 |
# File 'interfaces/aws_elasticloadbalancingv2/target_group_reference.rb', line 24 def to_jsii result = {} result.merge!({ "targetGroupArn" => @target_group_arn, }) result.compact end |