Class CfnLayerVersion
Implements
Inherited Members
Namespace: Amazon.CDK.AWS.SAM
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnLayerVersion : CfnResource, IInspectable
Syntax (vb)
Public Class CfnLayerVersion
Inherits CfnResource
Implements IInspectable
Remarks
CloudformationResource: AWS::Serverless::LayerVersion
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.SAM;
var cfnLayerVersion = new CfnLayerVersion(this, "MyCfnLayerVersion", new CfnLayerVersionProps {
CompatibleRuntimes = new [] { "compatibleRuntimes" },
ContentUri = "contentUri",
Description = "description",
LayerName = "layerName",
LicenseInfo = "licenseInfo",
RetentionPolicy = "retentionPolicy"
});
Synopsis
Constructors
CfnLayerVersion(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
CfnLayerVersion(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
CfnLayerVersion(Construct, String, ICfnLayerVersionProps) |
Properties
CFN_RESOURCE_TYPE_NAME | The CloudFormation resource type name for this resource class. |
CfnProperties | |
CompatibleRuntimes | |
ContentUri | |
Description | |
LayerName | |
LicenseInfo | |
REQUIRED_TRANSFORM | The |
RetentionPolicy |
Methods
Inspect(TreeInspector) | Examines the CloudFormation resource and discloses attributes. |
RenderProperties(IDictionary<String, Object>) |
Constructors
CfnLayerVersion(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected CfnLayerVersion(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
CfnLayerVersion(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected CfnLayerVersion(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
CfnLayerVersion(Construct, String, ICfnLayerVersionProps)
public CfnLayerVersion(Construct scope, string id, ICfnLayerVersionProps props = null)
Parameters
- scope Constructs.Construct
Scope in which this resource is defined.
- id System.String
Construct identifier for this resource (unique in its scope).
- props ICfnLayerVersionProps
Resource properties.
Properties
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
public static string CFN_RESOURCE_TYPE_NAME { get; }
Property Value
System.String
CfnProperties
protected override IDictionary<string, object> CfnProperties { get; }
Property Value
System.Collections.Generic.IDictionary<System.String, System.Object>
Overrides
CompatibleRuntimes
public virtual string[] CompatibleRuntimes { get; set; }
Property Value
System.String[]
ContentUri
public virtual object ContentUri { get; set; }
Property Value
System.Object
Description
public virtual string Description { get; set; }
Property Value
System.String
LayerName
public virtual string LayerName { get; set; }
Property Value
System.String
LicenseInfo
public virtual string LicenseInfo { get; set; }
Property Value
System.String
REQUIRED_TRANSFORM
The Transform
a template must use in order to use this resource.
public static string REQUIRED_TRANSFORM { get; }
Property Value
System.String
RetentionPolicy
public virtual string RetentionPolicy { get; set; }
Property Value
System.String
Methods
Inspect(TreeInspector)
Examines the CloudFormation resource and discloses attributes.
public virtual void Inspect(TreeInspector inspector)
Parameters
- inspector TreeInspector
tree inspector to collect and process attributes.
RenderProperties(IDictionary<String, Object>)
protected override IDictionary<string, object> RenderProperties(IDictionary<string, object> props)
Parameters
- props System.Collections.Generic.IDictionary<System.String, System.Object>
Returns
System.Collections.Generic.IDictionary<System.String, System.Object>