Class: AWSCDK::SAM::CfnFunction::BucketSAMPTProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
sam/cfn_function.rb

Overview

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(bucket_name:) ⇒ BucketSAMPTProperty

Returns a new instance of BucketSAMPTProperty.

Parameters:

  • bucket_name (String)


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_nameString (readonly)



1156
1157
1158
# File 'sam/cfn_function.rb', line 1156

def bucket_name
  @bucket_name
end

Class Method Details

.jsii_propertiesObject



1158
1159
1160
1161
1162
# File 'sam/cfn_function.rb', line 1158

def self.jsii_properties
  {
    :bucket_name => "bucketName",
  }
end

Instance Method Details

#to_jsiiObject



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