Interface LayerVersionOptions

All Superinterfaces:
All Known Subinterfaces:
LayerVersionProps, PythonLayerVersionProps
All Known Implementing Classes:
LayerVersionOptions.Jsii$Proxy, LayerVersionProps.Jsii$Proxy, PythonLayerVersionProps.Jsii$Proxy

@Generated(value="jsii-pacmak/1.94.0 (build b380f01)", date="2024-03-01T20:58:26.580Z") @Stability(Stable) public interface LayerVersionOptions extends
Non runtime options.


 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 LayerVersionOptions layerVersionOptions = LayerVersionOptions.builder()
  • Method Details

    • getDescription

      @Stability(Stable) @Nullable default String getDescription()
      The description the this Lambda Layer.

      Default: - No description.

    • getLayerVersionName

      @Stability(Stable) @Nullable default String getLayerVersionName()
      The name of the layer.

      Default: - A name will be generated.

    • getLicense

      @Stability(Stable) @Nullable default String getLicense()
      The SPDX licence identifier or URL to the license file for this layer.

      Default: - No license information will be recorded.

    • getRemovalPolicy

      @Stability(Stable) @Nullable default RemovalPolicy getRemovalPolicy()
      Whether to retain this version of the layer when a new version is added or when the stack is deleted.

      Default: RemovalPolicy.DESTROY

    • builder

      @Stability(Stable) static LayerVersionOptions.Builder builder()
      a LayerVersionOptions.Builder of LayerVersionOptions