Class: Aws::SecurityHub::Types::AwsLambdaLayerVersionDetails

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb

Overview

Note:

When making an API call, you may pass AwsLambdaLayerVersionDetails data as a hash:

{
  version: 1,
  compatible_runtimes: ["NonEmptyString"],
  created_date: "NonEmptyString",
}

Details about a Lambda layer version.

Instance Attribute Summary collapse

Instance Attribute Details

#compatible_runtimesArray<String>

The layer's compatible runtimes. Maximum number of five items.

Valid values: nodejs10.x | nodejs12.x | java8 | java11 | python2.7 | python3.6 | python3.7 | python3.8 | dotnetcore1.0 | dotnetcore2.1 | go1.x | ruby2.5 | provided

Returns:

  • (Array<String>)


2008
2009
2010
2011
2012
2013
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 2008

class AwsLambdaLayerVersionDetails < Struct.new(
  :version,
  :compatible_runtimes,
  :created_date)
  include Aws::Structure
end

#created_dateString

The date that the version was created, in ISO 8601 format. For example, 2018-11-27T15:10:45.123+0000.

Returns:

  • (String)


2008
2009
2010
2011
2012
2013
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 2008

class AwsLambdaLayerVersionDetails < Struct.new(
  :version,
  :compatible_runtimes,
  :created_date)
  include Aws::Structure
end

#versionInteger

The version number.

Returns:

  • (Integer)


2008
2009
2010
2011
2012
2013
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 2008

class AwsLambdaLayerVersionDetails < Struct.new(
  :version,
  :compatible_runtimes,
  :created_date)
  include Aws::Structure
end