Class LayerVersionAttributes
Properties necessary to import a LayerVersion.
Inheritance
System.Object
LayerVersionAttributes
Implements
Namespace: Amazon.CDK.AWS.Lambda
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class LayerVersionAttributes : Object, ILayerVersionAttributes
Syntax (vb)
Public Class LayerVersionAttributes
Inherits Object
Implements ILayerVersionAttributes
Remarks
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;
Runtime runtime;
var layerVersionAttributes = new LayerVersionAttributes {
LayerVersionArn = "layerVersionArn",
// the properties below are optional
CompatibleRuntimes = new [] { runtime }
};
Synopsis
Constructors
LayerVersionAttributes() |
Properties
CompatibleRuntimes | The list of compatible runtimes with this Layer. |
LayerVersionArn | The ARN of the LayerVersion. |
Constructors
LayerVersionAttributes()
public LayerVersionAttributes()
Properties
CompatibleRuntimes
The list of compatible runtimes with this Layer.
public Runtime[] CompatibleRuntimes { get; set; }
Property Value
Runtime[]
LayerVersionArn
The ARN of the LayerVersion.
public string LayerVersionArn { get; set; }
Property Value
System.String