Class: AWSCDK::EC2::CfnSpotFleet::TargetGroupProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::EC2::CfnSpotFleet::TargetGroupProperty
- Defined in:
- ec2/cfn_spot_fleet.rb
Overview
Describes a load balancer target group.
Instance Attribute Summary collapse
-
#arn ⇒ String
readonly
The Amazon Resource Name (ARN) of the target group.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(arn:) ⇒ TargetGroupProperty
constructor
A new instance of TargetGroupProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(arn:) ⇒ TargetGroupProperty
Returns a new instance of TargetGroupProperty.
3090 3091 3092 3093 |
# File 'ec2/cfn_spot_fleet.rb', line 3090 def initialize(arn:) @arn = arn Jsii::Type.check_type(@arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "arn") end |
Instance Attribute Details
#arn ⇒ String (readonly)
The Amazon Resource Name (ARN) of the target group.
3099 3100 3101 |
# File 'ec2/cfn_spot_fleet.rb', line 3099 def arn @arn end |
Class Method Details
.jsii_properties ⇒ Object
3101 3102 3103 3104 3105 |
# File 'ec2/cfn_spot_fleet.rb', line 3101 def self.jsii_properties { :arn => "arn", } end |
Instance Method Details
#to_jsii ⇒ Object
3107 3108 3109 3110 3111 3112 3113 |
# File 'ec2/cfn_spot_fleet.rb', line 3107 def to_jsii result = {} result.merge!({ "arn" => @arn, }) result.compact end |