Class CfnLayerVersionProps
Properties for defining a CfnLayerVersion
.
Implements
Inherited Members
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 |
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
CompatibleRuntimes
A list of compatible function runtimes . Used for filtering with ListLayers and ListLayerVersions .
public string[]? CompatibleRuntimes { get; set; }
Property Value
string[]
Remarks
Content
The function layer archive.
public object Content { get; set; }
Property Value
Remarks
Description
The description of the version.
public string? Description { get; set; }
Property Value
Remarks
LayerName
The name or Amazon Resource Name (ARN) of the layer.
public string? LayerName { get; set; }
Property Value
Remarks
LicenseInfo
The layer's software license. It can be any of the following:.
public string? LicenseInfo { get; set; }