Class: AWSCDK::ECS::CfnCapacityProvider::ManagedInstancesLocalStorageConfigurationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::ECS::CfnCapacityProvider::ManagedInstancesLocalStorageConfigurationProperty
- Defined in:
- ecs/cfn_capacity_provider.rb
Overview
Instance Attribute Summary collapse
- #use_local_storage ⇒ Boolean, ... readonly
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(use_local_storage: nil) ⇒ ManagedInstancesLocalStorageConfigurationProperty
constructor
A new instance of ManagedInstancesLocalStorageConfigurationProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(use_local_storage: nil) ⇒ ManagedInstancesLocalStorageConfigurationProperty
Returns a new instance of ManagedInstancesLocalStorageConfigurationProperty.
1357 1358 1359 1360 |
# File 'ecs/cfn_capacity_provider.rb', line 1357 def initialize(use_local_storage: nil) @use_local_storage = use_local_storage Jsii::Type.check_type(@use_local_storage, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3sicHJpbWl0aXZlIjoiYm9vbGVhbiJ9LHsiZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifV19fQ==")), "useLocalStorage") unless @use_local_storage.nil? end |
Instance Attribute Details
#use_local_storage ⇒ Boolean, ... (readonly)
1364 1365 1366 |
# File 'ecs/cfn_capacity_provider.rb', line 1364 def use_local_storage @use_local_storage end |
Class Method Details
.jsii_properties ⇒ Object
1366 1367 1368 1369 1370 |
# File 'ecs/cfn_capacity_provider.rb', line 1366 def self.jsii_properties { :use_local_storage => "useLocalStorage", } end |
Instance Method Details
#to_jsii ⇒ Object
1372 1373 1374 1375 1376 1377 1378 |
# File 'ecs/cfn_capacity_provider.rb', line 1372 def to_jsii result = {} result.merge!({ "useLocalStorage" => @use_local_storage, }) result.compact end |