Sha256: 7b302f621ea7e91a53aa3ed6a6cfeef3cf5d36f54799567383b43b41266ad20a
Contents?: true
Size: 884 Bytes
Versions: 164
Compression:
Stored size: 884 Bytes
Contents
# Type: "AWS::Lambda::LayerVersion" # Properties: # CompatibleRuntimes: # - String # - ... # Content: # Content # Description: String # LayerName: String # LicenseInfo: String module Jets::Resource::Lambda class LayerVersion < Jets::Resource::Base def definition { layer_version_logical_id => { type: "AWS::Lambda::LayerVersion", properties: { content: { s3_bucket: s3_bucket, s3_key: code_s3_key, }, description: description, layer_name: layer_name, license_info: "MIT", } } } end def s3_bucket "!Ref S3Bucket" end def layer_version_logical_id self.class.name.split('::').last end def outputs { logical_id => "!Ref #{logical_id}", } end end end
Version data entries
164 entries across 164 versions & 4 rubygems