GetLayerVersionArgs class

Arguments for getLayerVersion. Arguments for getLayerVersion.

Constructors

GetLayerVersionArgs({Input<String>? compatibleArchitecture, Input<String>? compatibleRuntime, Input<String>? layerName, Input<String>? layerVersionArn, Input<String>? region, 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.
const
GetLayerVersionArgs.fromMap(Map<String, dynamic> map)
factory

Properties

compatibleArchitecture → Input<String>?
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.
final
compatibleRuntime → Input<String>?
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.
final
hashCode → int
The hash code for this object.
no setterinherited
layerName → Input<String>?
Name of the Lambda layer.
final
layerVersionArn → Input<String>?
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.
final
region → Input<String>?
Region where this resource will be managed. Defaults to the Region set in the provider configuration.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
version → Input<int>?
Specific layer version. Conflicts with compatibleRuntime, compatibleArchitecture, and layerVersionArn. If omitted, the latest available layer version will be used.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited