GetLayerVersionArgs constructor
Creates a new GetLayerVersionArgs.
compatibleArchitecture Specific architecture the layer version must support. Only valid with layerName. Conflicts with version and layerVersionArn. If specified, the latest available layer version supporting the provided architecture will be used.
compatibleRuntime Specific runtime the layer version must support. Only valid with layerName. Conflicts with version and layerVersionArn. If specified, the latest available layer version supporting the provided runtime will be used.
layerName Name of the Lambda layer. One of layerName or layerVersionArn is required.
layerVersionArn ARN of the Lambda layer version. Can be a full ARN with version (e.g., arn:aws:lambda:region:account:layer:name:1) or without version (e.g., arn:aws:lambda:region:account:layer:name). When the version is omitted, the latest version will be retrieved (requires lambda:ListLayerVersions permission). Use the full ARN with version for cross-account layers where you don't have list permissions. One of layerName or layerVersionArn is required.
region Region where this resource will be managed. Defaults to the Region set in the provider configuration.
version Specific layer version. Only valid with layerName. Conflicts with compatibleRuntime, compatibleArchitecture, and layerVersionArn. If omitted, the latest available layer version will be used.
Implementation
const GetLayerVersionArgs({
this.compatibleArchitecture,
this.compatibleRuntime,
this.layerName,
this.layerVersionArn,
this.region,
this.version,
});