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.
compatibleArchitectureSpecific architecture the layer version must support. Only valid withlayerName. Conflicts withversionandlayerVersionArn. If specified, the latest available layer version supporting the provided architecture will be used.compatibleRuntimeSpecific runtime the layer version must support. Only valid withlayerName. Conflicts withversionandlayerVersionArn. If specified, the latest available layer version supporting the provided runtime will be used.layerNameName of the Lambda layer. One oflayerNameorlayerVersionArnis required.layerVersionArnARN 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 (requireslambda:ListLayerVersionspermission). Use the full ARN with version for cross-account layers where you don't have list permissions. One oflayerNameorlayerVersionArnis required.regionRegion where this resource will be managed. Defaults to the Region set in the provider configuration.versionSpecific layer version. Only valid withlayerName. Conflicts withcompatibleRuntime,compatibleArchitecture, andlayerVersionArn. 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. Only valid with
layerName. Conflicts withversionandlayerVersionArn. 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. Only valid with
layerName. Conflicts withversionandlayerVersionArn. 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. One of
layerNameorlayerVersionArnis required.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 (requireslambda:ListLayerVersionspermission). Use the full ARN with version for cross-account layers where you don't have list permissions. One oflayerNameorlayerVersionArnis required.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. Only valid with
layerName. Conflicts withcompatibleRuntime,compatibleArchitecture, andlayerVersionArn. 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