Class: AWSCDK::SAM::CfnFunction::BucketSAMPTProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::SAM::CfnFunction::BucketSAMPTProperty
- Defined in:
- sam/cfn_function.rb
Overview
Instance Attribute Summary collapse
- #bucket_name ⇒ String readonly
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(bucket_name:) ⇒ BucketSAMPTProperty
constructor
A new instance of BucketSAMPTProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(bucket_name:) ⇒ BucketSAMPTProperty
Returns a new instance of BucketSAMPTProperty.
1149 1150 1151 1152 |
# File 'sam/cfn_function.rb', line 1149 def initialize(bucket_name:) @bucket_name = bucket_name Jsii::Type.check_type(@bucket_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "bucketName") end |
Instance Attribute Details
#bucket_name ⇒ String (readonly)
1156 1157 1158 |
# File 'sam/cfn_function.rb', line 1156 def bucket_name @bucket_name end |
Class Method Details
.jsii_properties ⇒ Object
1158 1159 1160 1161 1162 |
# File 'sam/cfn_function.rb', line 1158 def self.jsii_properties { :bucket_name => "bucketName", } end |
Instance Method Details
#to_jsii ⇒ Object
1164 1165 1166 1167 1168 1169 1170 |
# File 'sam/cfn_function.rb', line 1164 def to_jsii result = {} result.merge!({ "bucketName" => @bucket_name, }) result.compact end |