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