Class: AWSCDK::EC2::CfnSpotFleet::ClassicLoadBalancerProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::EC2::CfnSpotFleet::ClassicLoadBalancerProperty
- Defined in:
- ec2/cfn_spot_fleet.rb
Overview
Specifies a Classic Load Balancer.
Instance Attribute Summary collapse
-
#name ⇒ String
readonly
The name of the load balancer.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(name:) ⇒ ClassicLoadBalancerProperty
constructor
A new instance of ClassicLoadBalancerProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(name:) ⇒ ClassicLoadBalancerProperty
Returns a new instance of ClassicLoadBalancerProperty.
784 785 786 787 |
# File 'ec2/cfn_spot_fleet.rb', line 784 def initialize(name:) @name = name Jsii::Type.check_type(@name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "name") end |
Instance Attribute Details
#name ⇒ String (readonly)
The name of the load balancer.
793 794 795 |
# File 'ec2/cfn_spot_fleet.rb', line 793 def name @name end |
Class Method Details
.jsii_properties ⇒ Object
795 796 797 798 799 |
# File 'ec2/cfn_spot_fleet.rb', line 795 def self.jsii_properties { :name => "name", } end |
Instance Method Details
#to_jsii ⇒ Object
801 802 803 804 805 806 807 |
# File 'ec2/cfn_spot_fleet.rb', line 801 def to_jsii result = {} result.merge!({ "name" => @name, }) result.compact end |