We recommend new projects start with resources from the AWS provider.
AWS Native v0.126.0 published on Monday, Sep 30, 2024 by Pulumi
aws-native.lambda.LayerVersion
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
AWS Native v0.126.0 published on Monday, Sep 30, 2024 by Pulumi
Resource Type definition for AWS::Lambda::LayerVersion
Create LayerVersion Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new LayerVersion(name: string, args: LayerVersionArgs, opts?: CustomResourceOptions);
@overload
def LayerVersion(resource_name: str,
args: LayerVersionArgs,
opts: Optional[ResourceOptions] = None)
@overload
def LayerVersion(resource_name: str,
opts: Optional[ResourceOptions] = None,
content: Optional[_lambda_.LayerVersionContentArgs] = None,
compatible_architectures: Optional[Sequence[str]] = None,
compatible_runtimes: Optional[Sequence[str]] = None,
description: Optional[str] = None,
layer_name: Optional[str] = None,
license_info: Optional[str] = None)
func NewLayerVersion(ctx *Context, name string, args LayerVersionArgs, opts ...ResourceOption) (*LayerVersion, error)
public LayerVersion(string name, LayerVersionArgs args, CustomResourceOptions? opts = null)
public LayerVersion(String name, LayerVersionArgs args)
public LayerVersion(String name, LayerVersionArgs args, CustomResourceOptions options)
type: aws-native:lambda:LayerVersion
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args LayerVersionArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args LayerVersionArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args LayerVersionArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args LayerVersionArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args LayerVersionArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
LayerVersion Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The LayerVersion resource accepts the following input properties:
- Content
Pulumi.
Aws Native. Lambda. Inputs. Layer Version Content - The function layer archive.
- Compatible
Architectures List<string> - A list of compatible instruction set architectures.
- Compatible
Runtimes List<string> - A list of compatible function runtimes. Used for filtering with ListLayers and ListLayerVersions.
- Description string
- The description of the version.
- Layer
Name string - The name or Amazon Resource Name (ARN) of the layer.
- License
Info string - The layer's software license.
- Content
Layer
Version Content Args - The function layer archive.
- Compatible
Architectures []string - A list of compatible instruction set architectures.
- Compatible
Runtimes []string - A list of compatible function runtimes. Used for filtering with ListLayers and ListLayerVersions.
- Description string
- The description of the version.
- Layer
Name string - The name or Amazon Resource Name (ARN) of the layer.
- License
Info string - The layer's software license.
- content
Layer
Version Content - The function layer archive.
- compatible
Architectures List<String> - A list of compatible instruction set architectures.
- compatible
Runtimes List<String> - A list of compatible function runtimes. Used for filtering with ListLayers and ListLayerVersions.
- description String
- The description of the version.
- layer
Name String - The name or Amazon Resource Name (ARN) of the layer.
- license
Info String - The layer's software license.
- content
Layer
Version Content - The function layer archive.
- compatible
Architectures string[] - A list of compatible instruction set architectures.
- compatible
Runtimes string[] - A list of compatible function runtimes. Used for filtering with ListLayers and ListLayerVersions.
- description string
- The description of the version.
- layer
Name string - The name or Amazon Resource Name (ARN) of the layer.
- license
Info string - The layer's software license.
- content
lambda_.
Layer Version Content Args - The function layer archive.
- compatible_
architectures Sequence[str] - A list of compatible instruction set architectures.
- compatible_
runtimes Sequence[str] - A list of compatible function runtimes. Used for filtering with ListLayers and ListLayerVersions.
- description str
- The description of the version.
- layer_
name str - The name or Amazon Resource Name (ARN) of the layer.
- license_
info str - The layer's software license.
- content Property Map
- The function layer archive.
- compatible
Architectures List<String> - A list of compatible instruction set architectures.
- compatible
Runtimes List<String> - A list of compatible function runtimes. Used for filtering with ListLayers and ListLayerVersions.
- description String
- The description of the version.
- layer
Name String - The name or Amazon Resource Name (ARN) of the layer.
- license
Info String - The layer's software license.
Outputs
All input properties are implicitly available as output properties. Additionally, the LayerVersion resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Layer
Version stringArn - The ARN of the layer version.
- Id string
- The provider-assigned unique ID for this managed resource.
- Layer
Version stringArn - The ARN of the layer version.
- id String
- The provider-assigned unique ID for this managed resource.
- layer
Version StringArn - The ARN of the layer version.
- id string
- The provider-assigned unique ID for this managed resource.
- layer
Version stringArn - The ARN of the layer version.
- id str
- The provider-assigned unique ID for this managed resource.
- layer_
version_ strarn - The ARN of the layer version.
- id String
- The provider-assigned unique ID for this managed resource.
- layer
Version StringArn - The ARN of the layer version.
Supporting Types
LayerVersionContent, LayerVersionContentArgs
- S3Bucket string
- The Amazon S3 bucket of the layer archive.
- S3Key string
- The Amazon S3 key of the layer archive.
- S3Object
Version string - For versioned objects, the version of the layer archive object to use.
- S3Bucket string
- The Amazon S3 bucket of the layer archive.
- S3Key string
- The Amazon S3 key of the layer archive.
- S3Object
Version string - For versioned objects, the version of the layer archive object to use.
- s3Bucket String
- The Amazon S3 bucket of the layer archive.
- s3Key String
- The Amazon S3 key of the layer archive.
- s3Object
Version String - For versioned objects, the version of the layer archive object to use.
- s3Bucket string
- The Amazon S3 bucket of the layer archive.
- s3Key string
- The Amazon S3 key of the layer archive.
- s3Object
Version string - For versioned objects, the version of the layer archive object to use.
- s3_
bucket str - The Amazon S3 bucket of the layer archive.
- s3_
key str - The Amazon S3 key of the layer archive.
- s3_
object_ strversion - For versioned objects, the version of the layer archive object to use.
- s3Bucket String
- The Amazon S3 bucket of the layer archive.
- s3Key String
- The Amazon S3 key of the layer archive.
- s3Object
Version String - For versioned objects, the version of the layer archive object to use.
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.
AWS Native v0.126.0 published on Monday, Sep 30, 2024 by Pulumi