LayerVersionState class
Input properties used for looking up and filtering LayerVersion resources.
Constructors
-
LayerVersionState({Input<
String?> ? arn, Input? code, Input<String?> ? codeSha256, Input<List< ? compatibleArchitectures, Input<String> ?>List< ? compatibleRuntimes, Input<String> ?>String?> ? createdDate, Input<String?> ? description, Input<String?> ? layerArn, Input<String?> ? layerName, Input<String?> ? licenseInfo, Input<String?> ? region, Input<String?> ? s3Bucket, Input<String?> ? s3Key, Input<String?> ? s3ObjectVersion, Input<String?> ? signingJobArn, Input<String?> ? signingProfileVersionArn, Input<bool?> ? skipDestroy, Input<String?> ? sourceCodeHash, Input<int?> ? sourceCodeSize, Input<String?> ? version}) -
Creates a new LayerVersionState.
arnARN of the Lambda Layer with version.codePath to the function's deployment package within the local filesystem. If defined, Thes3_-prefixed options cannot be used.codeSha256Base64-encoded representation of raw SHA-256 sum of the zip file.compatibleArchitecturesList of Architectures this layer is compatible with. Currentlyx8664andarm64can be specified.compatibleRuntimesList of Runtimes this layer is compatible with. Up to 15 runtimes can be specified.createdDateDate this resource was created.descriptionDescription of what your Lambda Layer does.layerArnARN of the Lambda Layer without version.layerNameUnique name for your Lambda Layer.licenseInfoLicense info for your Lambda Layer. See License Info.regionRegion where this resource will be managed. Defaults to the Region set in the provider configuration.s3BucketS3 bucket location containing the function's deployment package. Conflicts withfilename. This bucket must reside in the same AWS region where you are creating the Lambda function.s3KeyS3 key of an object containing the function's deployment package. Conflicts withfilename.s3ObjectVersionObject version containing the function's deployment package. Conflicts withfilename.signingJobArnARN of a signing job.signingProfileVersionArnARN for a signing profile version.skipDestroyWhether to retain the old version of a previously deployed Lambda Layer. Default isfalse. When this is not set totrue, changing any ofcompatibleArchitectures,compatibleRuntimes,description,filename,layerName,licenseInfo,s3Bucket,s3Key,s3ObjectVersion, orsourceCodeHashforces deletion of the existing layer version and creation of a new layer version.sourceCodeHashVirtual attribute used to trigger replacement when source code changes. Must be set to a base64-encoded SHA256 hash of the package file specified with eitherfilenameors3Key. The usual way to set this isfilebase64sha256("file.zip")orbase64sha256(file("file.zip")), where "file.zip" is the local filename of the lambda layer source archive.sourceCodeSizeSize in bytes of the function .zip file.versionLambda Layer version.const -
LayerVersionState.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
arn
→ Input<
String?> ? -
ARN of the Lambda Layer with version.
final
- code → Input?
-
Path to the function's deployment package within the local filesystem. If defined, The
s3_-prefixed options cannot be used.final -
codeSha256
→ Input<
String?> ? -
Base64-encoded representation of raw SHA-256 sum of the zip file.
final
-
compatibleArchitectures
→ Input<
List< ?String> ?> -
List of Architectures this layer is compatible with. Currently
x8664andarm64can be specified.final -
compatibleRuntimes
→ Input<
List< ?String> ?> -
List of Runtimes this layer is compatible with. Up to 15 runtimes can be specified.
final
-
createdDate
→ Input<
String?> ? -
Date this resource was created.
final
-
description
→ Input<
String?> ? -
Description of what your Lambda Layer does.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
layerArn
→ Input<
String?> ? -
ARN of the Lambda Layer without version.
final
-
layerName
→ Input<
String?> ? -
Unique name for your Lambda Layer.
final
-
licenseInfo
→ Input<
String?> ? -
License info for your Lambda Layer. See License Info.
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
-
s3Bucket
→ Input<
String?> ? -
S3 bucket location containing the function's deployment package. Conflicts with
filename. This bucket must reside in the same AWS region where you are creating the Lambda function.final -
s3Key
→ Input<
String?> ? -
S3 key of an object containing the function's deployment package. Conflicts with
filename.final -
s3ObjectVersion
→ Input<
String?> ? -
Object version containing the function's deployment package. Conflicts with
filename.final -
signingJobArn
→ Input<
String?> ? -
ARN of a signing job.
final
-
signingProfileVersionArn
→ Input<
String?> ? -
ARN for a signing profile version.
final
-
skipDestroy
→ Input<
bool?> ? -
Whether to retain the old version of a previously deployed Lambda Layer. Default is
false. When this is not set totrue, changing any ofcompatibleArchitectures,compatibleRuntimes,description,filename,layerName,licenseInfo,s3Bucket,s3Key,s3ObjectVersion, orsourceCodeHashforces deletion of the existing layer version and creation of a new layer version.final -
sourceCodeHash
→ Input<
String?> ? -
Virtual attribute used to trigger replacement when source code changes. Must be set to a base64-encoded SHA256 hash of the package file specified with either
filenameors3Key. The usual way to set this isfilebase64sha256("file.zip")orbase64sha256(file("file.zip")), where "file.zip" is the local filename of the lambda layer source archive.final -
sourceCodeSize
→ Input<
int?> ? -
Size in bytes of the function .zip file.
final
-
version
→ Input<
String?> ? -
Lambda Layer version.
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