Class AwsCliLayer

java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
All Implemented Interfaces:
IConstruct, IDependable, IResource, ILayerVersion, software.amazon.jsii.JsiiSerializable, software.constructs.IConstruct

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:30:43.057Z") @Stability(Stable) public class AwsCliLayer extends LayerVersion
An AWS Lambda layer that includes the AWS CLI.

Example:

 // AwsCliLayer bundles the AWS CLI in a lambda layer
 import software.amazon.awscdk.lambdalayer.awscli.AwsCliLayer;
 Function fn;
 fn.addLayers(new AwsCliLayer(this, "AwsCliLayer"));
 
  • Constructor Details

    • AwsCliLayer

      protected AwsCliLayer(software.amazon.jsii.JsiiObjectRef objRef)
    • AwsCliLayer

      protected AwsCliLayer(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
    • AwsCliLayer

      @Stability(Stable) public AwsCliLayer(@NotNull software.constructs.Construct scope, @NotNull String id)
      Parameters:
      scope - This parameter is required.
      id - This parameter is required.