Class: AWSCDK::ECS::CfnCapacityProvider::ManagedInstancesStorageConfigurationProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
ecs/cfn_capacity_provider.rb

Overview

The storage configuration for Amazon ECS Managed Instances.

This defines the root volume configuration for the instances.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(storage_size_gib:) ⇒ ManagedInstancesStorageConfigurationProperty

Returns a new instance of ManagedInstancesStorageConfigurationProperty.

Parameters:

  • storage_size_gib (Numeric)

    The size of the tasks volume.



1524
1525
1526
1527
# File 'ecs/cfn_capacity_provider.rb', line 1524

def initialize(storage_size_gib:)
  @storage_size_gib = storage_size_gib
  Jsii::Type.check_type(@storage_size_gib, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "storageSizeGiB")
end

Instance Attribute Details

#storage_size_gibNumeric (readonly)

The size of the tasks volume.



1533
1534
1535
# File 'ecs/cfn_capacity_provider.rb', line 1533

def storage_size_gib
  @storage_size_gib
end

Class Method Details

.jsii_propertiesObject



1535
1536
1537
1538
1539
# File 'ecs/cfn_capacity_provider.rb', line 1535

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

Instance Method Details

#to_jsiiObject



1541
1542
1543
1544
1545
1546
1547
# File 'ecs/cfn_capacity_provider.rb', line 1541

def to_jsii
  result = {}
  result.merge!({
    "storageSizeGiB" => @storage_size_gib,
  })
  result.compact
end