Interface ILayerVersion.Jsii$Default
- All Superinterfaces:
software.constructs.IConstruct,software.constructs.IConstruct.Jsii$Default,software.constructs.IDependable,software.constructs.IDependable.Jsii$Default,IEnvironmentAware,IEnvironmentAware.Jsii$Default,ILayerVersion,ILayerVersionRef,ILayerVersionRef.Jsii$Default,IResource,IResource.Jsii$Default,software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
ILayerVersion.Jsii$Proxy
- Enclosing interface:
ILayerVersion
@Internal
public static interface ILayerVersion.Jsii$Default
extends ILayerVersion, IResource.Jsii$Default, ILayerVersionRef.Jsii$Default
Internal default implementation for
ILayerVersion.-
Nested Class Summary
Nested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$Default, software.constructs.IConstruct.Jsii$ProxyNested classes/interfaces inherited from interface software.constructs.IDependable
software.constructs.IDependable.Jsii$Default, software.constructs.IDependable.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.interfaces.IEnvironmentAware
IEnvironmentAware.Jsii$Default, IEnvironmentAware.Jsii$ProxyNested 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.interfaces.lambda.ILayerVersionRef
ILayerVersionRef.Jsii$Default, ILayerVersionRef.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.IResource
IResource.Jsii$Default, IResource.Jsii$Proxy -
Method Summary
Modifier and TypeMethodDescriptiondefault voidaddPermission(String id, LayerVersionPermission permission) Add permission for this layer version to specific entities.The runtimes compatible with this Layer.default StringThe ARN of the Lambda Layer version that this Layer defines.Methods inherited from interface software.constructs.IConstruct.Jsii$Default
getNodeMethods inherited from interface software.amazon.awscdk.interfaces.IEnvironmentAware.Jsii$Default
getEnvMethods inherited from interface software.amazon.awscdk.interfaces.lambda.ILayerVersionRef.Jsii$Default
getLayerVersionRefMethods inherited from interface software.amazon.awscdk.IResource.Jsii$Default
applyRemovalPolicy, getStackMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getLayerVersionArn
The ARN of the Lambda Layer version that this Layer defines.- Specified by:
getLayerVersionArnin interfaceILayerVersion
-
getCompatibleRuntimes
The runtimes compatible with this Layer.Default: - All supported runtimes. Setting this to Runtime.ALL is equivalent to leaving it undefined.
- Specified by:
getCompatibleRuntimesin interfaceILayerVersion
-
addPermission
@Stability(Stable) default void addPermission(@NotNull String id, @NotNull LayerVersionPermission permission) Add permission for this layer version to specific entities.Usage within the same account where the layer is defined is always allowed and does not require calling this method. Note that the principal that creates the Lambda function using the layer (for example, a CloudFormation changeset execution role) also needs to have the
lambda:GetLayerVersionpermission on the layer version.- Specified by:
addPermissionin interfaceILayerVersion- Parameters:
id- the ID of the grant in the construct tree. This parameter is required.permission- the identification of the grantee. This parameter is required.
-