Class CfnLayerVersionProps
Properties for defining a CfnLayerVersion
.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.Lambda
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnLayerVersionProps : Object, ICfnLayerVersionProps
Syntax (vb)
Public Class CfnLayerVersionProps
Inherits Object
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
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()
public CfnLayerVersionProps()
Properties
CompatibleArchitectures
A list of compatible instruction set architectures .
public string[] CompatibleArchitectures { get; set; }
Property Value
System.String[]
Remarks
CompatibleRuntimes
A list of compatible function runtimes . Used for filtering with ListLayers and ListLayerVersions .
public string[] CompatibleRuntimes { get; set; }
Property Value
System.String[]
Remarks
Content
The function layer archive.
public object Content { get; set; }
Property Value
System.Object
Remarks
Description
The description of the version.
public string Description { get; set; }
Property Value
System.String
Remarks
LayerName
The name or Amazon Resource Name (ARN) of the layer.
public string LayerName { get; set; }
Property Value
System.String
Remarks
LicenseInfo
The layer's software license. It can be any of the following:.
public string LicenseInfo { get; set; }
Property Value
System.String