Class: AWSCDK::EC2::CfnSpotFleet::TargetGroupProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
ec2/cfn_spot_fleet.rb

Overview

Describes a load balancer target group.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(arn:) ⇒ TargetGroupProperty

Returns a new instance of TargetGroupProperty.

Parameters:

  • arn (String)

    The Amazon Resource Name (ARN) of the target group.



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

#arnString (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_propertiesObject



3101
3102
3103
3104
3105
# File 'ec2/cfn_spot_fleet.rb', line 3101

def self.jsii_properties
  {
    :arn => "arn",
  }
end

Instance Method Details

#to_jsiiObject



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