Class: AWSCDK::Lightsail::CfnInstance::MonthlyTransferProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Lightsail::CfnInstance::MonthlyTransferProperty
- Defined in:
- lightsail/cfn_instance.rb
Overview
MonthlyTransfer is a property of the Networking property. It describes the amount of allocated monthly data transfer (in GB) for an instance.
Instance Attribute Summary collapse
-
#gb_per_month_allocated ⇒ String?
readonly
The amount of allocated monthly data transfer (in GB) for an instance.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(gb_per_month_allocated: nil) ⇒ MonthlyTransferProperty
constructor
A new instance of MonthlyTransferProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(gb_per_month_allocated: nil) ⇒ MonthlyTransferProperty
Returns a new instance of MonthlyTransferProperty.
1079 1080 1081 1082 |
# File 'lightsail/cfn_instance.rb', line 1079 def initialize(gb_per_month_allocated: nil) @gb_per_month_allocated = gb_per_month_allocated Jsii::Type.check_type(@gb_per_month_allocated, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "gbPerMonthAllocated") unless @gb_per_month_allocated.nil? end |
Instance Attribute Details
#gb_per_month_allocated ⇒ String? (readonly)
The amount of allocated monthly data transfer (in GB) for an instance.
1088 1089 1090 |
# File 'lightsail/cfn_instance.rb', line 1088 def gb_per_month_allocated @gb_per_month_allocated end |
Class Method Details
.jsii_properties ⇒ Object
1090 1091 1092 1093 1094 |
# File 'lightsail/cfn_instance.rb', line 1090 def self.jsii_properties { :gb_per_month_allocated => "gbPerMonthAllocated", } end |
Instance Method Details
#to_jsii ⇒ Object
1096 1097 1098 1099 1100 1101 1102 |
# File 'lightsail/cfn_instance.rb', line 1096 def to_jsii result = {} result.merge!({ "gbPerMonthAllocated" => @gb_per_month_allocated, }) result.compact end |