Interface CfnLayerVersionProps

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnLayerVersionProps.Jsii$Proxy

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:30:35.675Z") @Stability(Stable) public interface CfnLayerVersionProps extends software.amazon.jsii.JsiiSerializable
Properties for defining a CfnLayerVersion.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.sam.*;
 CfnLayerVersionProps cfnLayerVersionProps = CfnLayerVersionProps.builder()
         .compatibleRuntimes(List.of("compatibleRuntimes"))
         .contentUri("contentUri")
         .description("description")
         .layerName("layerName")
         .licenseInfo("licenseInfo")
         .retentionPolicy("retentionPolicy")
         .build();
 
  • Method Details

    • getCompatibleRuntimes

      @Stability(Stable) @Nullable default List<String> getCompatibleRuntimes()
      AWS::Serverless::LayerVersion.CompatibleRuntimes.
    • getContentUri

      @Stability(Stable) @Nullable default Object getContentUri()
      AWS::Serverless::LayerVersion.ContentUri.
    • getDescription

      @Stability(Stable) @Nullable default String getDescription()
      AWS::Serverless::LayerVersion.Description.
    • getLayerName

      @Stability(Stable) @Nullable default String getLayerName()
      AWS::Serverless::LayerVersion.LayerName.
    • getLicenseInfo

      @Stability(Stable) @Nullable default String getLicenseInfo()
      AWS::Serverless::LayerVersion.LicenseInfo.
    • getRetentionPolicy

      @Stability(Stable) @Nullable default String getRetentionPolicy()
      AWS::Serverless::LayerVersion.RetentionPolicy.
    • builder

      @Stability(Stable) static CfnLayerVersionProps.Builder builder()
      Returns:
      a CfnLayerVersionProps.Builder of CfnLayerVersionProps