Show / Hide Table of Contents

Class CfnLayerVersionProps

Properties for defining a CfnLayerVersion.

Inheritance
object
CfnLayerVersionProps
Implements
ICfnLayerVersionProps
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Amazon.CDK.AWS.Lambda
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnLayerVersionProps : ICfnLayerVersionProps
Syntax (vb)
Public Class CfnLayerVersionProps Implements ICfnLayerVersionProps
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-layerversion.html

ExampleMetadata: fixture=_generated

Examples
// The code below shows an example of how to instantiate this type.
             // The values are placeholders you should change.
             using Amazon.CDK.AWS.Lambda;

             var cfnLayerVersionProps = new CfnLayerVersionProps {
                 Content = new ContentProperty {
                     S3Bucket = "s3Bucket",
                     S3Key = "s3Key",

                     // the properties below are optional
                     S3ObjectVersion = "s3ObjectVersion"
                 },

                 // the properties below are optional
                 CompatibleArchitectures = new [] { "compatibleArchitectures" },
                 CompatibleRuntimes = new [] { "compatibleRuntimes" },
                 Description = "description",
                 LayerName = "layerName",
                 LicenseInfo = "licenseInfo"
             };

Synopsis

Constructors

CfnLayerVersionProps()

Properties for defining a CfnLayerVersion.

Properties

CompatibleArchitectures

A list of compatible instruction set architectures .

CompatibleRuntimes

A list of compatible function runtimes . Used for filtering with ListLayers and ListLayerVersions .

Content

The function layer archive.

Description

The description of the version.

LayerName

The name or Amazon Resource Name (ARN) of the layer.

LicenseInfo

The layer's software license. It can be any of the following:.

Constructors

CfnLayerVersionProps()

Properties for defining a CfnLayerVersion.

public CfnLayerVersionProps()
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-layerversion.html

ExampleMetadata: fixture=_generated

Examples
// The code below shows an example of how to instantiate this type.
             // The values are placeholders you should change.
             using Amazon.CDK.AWS.Lambda;

             var cfnLayerVersionProps = new CfnLayerVersionProps {
                 Content = new ContentProperty {
                     S3Bucket = "s3Bucket",
                     S3Key = "s3Key",

                     // the properties below are optional
                     S3ObjectVersion = "s3ObjectVersion"
                 },

                 // the properties below are optional
                 CompatibleArchitectures = new [] { "compatibleArchitectures" },
                 CompatibleRuntimes = new [] { "compatibleRuntimes" },
                 Description = "description",
                 LayerName = "layerName",
                 LicenseInfo = "licenseInfo"
             };

Properties

CompatibleArchitectures

A list of compatible instruction set architectures .

public string[]? CompatibleArchitectures { get; set; }
Property Value

string[]

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-layerversion.html#cfn-lambda-layerversion-compatiblearchitectures

CompatibleRuntimes

A list of compatible function runtimes . Used for filtering with ListLayers and ListLayerVersions .

public string[]? CompatibleRuntimes { get; set; }
Property Value

string[]

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-layerversion.html#cfn-lambda-layerversion-compatibleruntimes

Content

The function layer archive.

public object Content { get; set; }
Property Value

object

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-layerversion.html#cfn-lambda-layerversion-content

Description

The description of the version.

public string? Description { get; set; }
Property Value

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-layerversion.html#cfn-lambda-layerversion-description

LayerName

The name or Amazon Resource Name (ARN) of the layer.

public string? LayerName { get; set; }
Property Value

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-layerversion.html#cfn-lambda-layerversion-layername

LicenseInfo

The layer's software license. It can be any of the following:.

public string? LicenseInfo { get; set; }
Property Value

string

Remarks

    See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-layerversion.html#cfn-lambda-layerversion-licenseinfo

    Implements

    ICfnLayerVersionProps
    Back to top Generated by DocFX