Class LayerVersionOptions.Jsii$Proxy

java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.lambda.LayerVersionOptions.Jsii$Proxy
All Implemented Interfaces:
LayerVersionOptions, software.amazon.jsii.JsiiSerializable
Enclosing interface:
LayerVersionOptions

@Stability(Stable) @Internal public static final class LayerVersionOptions.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements LayerVersionOptions
An implementation for LayerVersionOptions
  • Constructor Details

    • Jsii$Proxy

      protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
      Constructor that initializes the object based on values retrieved from the JsiiObject.
      Parameters:
      objRef - Reference to the JSII managed object.
    • Jsii$Proxy

      protected Jsii$Proxy(LayerVersionOptions.Builder builder)
      Constructor that initializes the object based on literal property values passed by the LayerVersionOptions.Builder.
  • Method Details

    • getDescription

      public final String getDescription()
      Description copied from interface: LayerVersionOptions
      The description the this Lambda Layer.

      Default: - No description.

      Specified by:
      getDescription in interface LayerVersionOptions
    • getLayerVersionName

      public final String getLayerVersionName()
      Description copied from interface: LayerVersionOptions
      The name of the layer.

      Default: - A name will be generated.

      Specified by:
      getLayerVersionName in interface LayerVersionOptions
    • getLicense

      public final String getLicense()
      Description copied from interface: LayerVersionOptions
      The SPDX licence identifier or URL to the license file for this layer.

      Default: - No license information will be recorded.

      Specified by:
      getLicense in interface LayerVersionOptions
    • getRemovalPolicy

      public final RemovalPolicy getRemovalPolicy()
      Description copied from interface: LayerVersionOptions
      Whether to retain this version of the layer when a new version is added or when the stack is deleted.

      Default: RemovalPolicy.DESTROY

      Specified by:
      getRemovalPolicy in interface LayerVersionOptions
    • $jsii$toJson

      @Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
      Specified by:
      $jsii$toJson in interface software.amazon.jsii.JsiiSerializable
    • equals

      public final boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public final int hashCode()
      Overrides:
      hashCode in class Object