Class: AWSCDK::SAM::CfnFunction::EphemeralStorageProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::SAM::CfnFunction::EphemeralStorageProperty
- Defined in:
- sam/cfn_function.rb
Overview
Instance Attribute Summary collapse
- #size ⇒ Numeric readonly
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(size:) ⇒ EphemeralStorageProperty
constructor
A new instance of EphemeralStorageProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(size:) ⇒ EphemeralStorageProperty
Returns a new instance of EphemeralStorageProperty.
1702 1703 1704 1705 |
# File 'sam/cfn_function.rb', line 1702 def initialize(size:) @size = size Jsii::Type.check_type(@size, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "size") end |
Instance Attribute Details
#size ⇒ Numeric (readonly)
1709 1710 1711 |
# File 'sam/cfn_function.rb', line 1709 def size @size end |
Class Method Details
.jsii_properties ⇒ Object
1711 1712 1713 1714 1715 |
# File 'sam/cfn_function.rb', line 1711 def self.jsii_properties { :size => "size", } end |
Instance Method Details
#to_jsii ⇒ Object
1717 1718 1719 1720 1721 1722 1723 |
# File 'sam/cfn_function.rb', line 1717 def to_jsii result = {} result.merge!({ "size" => @size, }) result.compact end |