Sha256: 62e67447f37597f105a1730985d9886ff06f81452c205a8726504c663b50812f
Contents?: true
Size: 888 Bytes
Versions: 15
Compression:
Stored size: 888 Bytes
Contents
# Type: "AWS::Lambda::LayerVersion" # Properties: # CompatibleRuntimes: # - String # - ... # Content: # Content # Description: String # LayerName: String # LicenseInfo: String module Jets::Cfn::Resource::Lambda class LayerVersion < Jets::Cfn::Base def definition { layer_version_logical_id => { Type: "AWS::Lambda::LayerVersion", Properties: { Content: { S3Bucket: s3_bucket, S3Key: code_s3_key, }, Description: description, LayerName: layer_name, LicenseInfo: "Nonstandard", } } } 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
15 entries across 15 versions & 1 rubygems