GetLayerVersionArgs constructor

const GetLayerVersionArgs({
  1. Input<String>? compatibleArchitecture,
  2. Input<String>? compatibleRuntime,
  3. Input<String>? layerName,
  4. Input<String>? layerVersionArn,
  5. Input<String>? region,
  6. Input<int>? version,
})

Creates a new GetLayerVersionArgs. compatibleArchitecture Specific architecture the layer version must support. 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. 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. 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. region Region where this resource will be managed. Defaults to the Region set in the provider configuration. version Specific layer version. 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,
});