Class: AWSCDK::SAM::CfnFunction::TableSAMPTProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::SAM::CfnFunction::TableSAMPTProperty
- Defined in:
- sam/cfn_function.rb
Overview
Instance Attribute Summary collapse
- #table_name ⇒ String readonly
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(table_name:) ⇒ TableSAMPTProperty
constructor
A new instance of TableSAMPTProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(table_name:) ⇒ TableSAMPTProperty
Returns a new instance of TableSAMPTProperty.
3399 3400 3401 3402 |
# File 'sam/cfn_function.rb', line 3399 def initialize(table_name:) @table_name = table_name Jsii::Type.check_type(@table_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "tableName") end |
Instance Attribute Details
#table_name ⇒ String (readonly)
3406 3407 3408 |
# File 'sam/cfn_function.rb', line 3406 def table_name @table_name end |
Class Method Details
.jsii_properties ⇒ Object
3408 3409 3410 3411 3412 |
# File 'sam/cfn_function.rb', line 3408 def self.jsii_properties { :table_name => "tableName", } end |
Instance Method Details
#to_jsii ⇒ Object
3414 3415 3416 3417 3418 3419 3420 |
# File 'sam/cfn_function.rb', line 3414 def to_jsii result = {} result.merge!({ "tableName" => @table_name, }) result.compact end |