Class AwsCliLayer
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.Resource
software.amazon.awscdk.services.lambda.LayerVersion
software.amazon.awscdk.lambdalayer.awscli.AwsCliLayer
- All Implemented Interfaces:
IResource,ILayerVersion,ILayerVersionRef,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.116.0 (build 0eddcff)",
date="2025-10-24T13:34:49.281Z")
@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"));
-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.awscdk.services.lambda.LayerVersion
LayerVersion.BuilderNested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.services.lambda.ILayerVersion
ILayerVersion.Jsii$Default, ILayerVersion.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.IResource
IResource.Jsii$Default -
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAwsCliLayer(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedAwsCliLayer(software.amazon.jsii.JsiiObjectRef objRef) AwsCliLayer(software.constructs.Construct scope, String id) -
Method Summary
Methods inherited from class software.amazon.awscdk.services.lambda.LayerVersion
addPermission, fromLayerVersionArn, fromLayerVersionAttributes, getCompatibleRuntimes, getLayerVersionArn, getLayerVersionRefMethods inherited from class software.amazon.awscdk.Resource
applyRemovalPolicy, generatePhysicalName, getEnv, getPhysicalName, getResourceArnAttribute, getResourceNameAttribute, getStack, isOwnedResource, isResourceMethods inherited from class software.constructs.Construct
getNode, isConstruct, toStringMethods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.awscdk.services.lambda.ILayerVersion
getNodeMethods inherited from interface software.amazon.awscdk.IResource
applyRemovalPolicy, getEnv, getStackMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
PROPERTY_INJECTION_ID
Uniquely identifies this class.
-
-
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.
-