Show / Hide Table of Contents

Class CfnLayerVersion

A CloudFormation AWS::Serverless::LayerVersion.

Inheritance
System.Object
Construct
CfnElement
CfnRefElement
CfnResource
CfnLayerVersion
Implements
IConstruct
Constructs.IConstruct
IDependable
IInspectable
Inherited Members
CfnResource.IsCfnResource(IConstruct)
CfnResource.AddDeletionOverride(String)
CfnResource.AddDependsOn(CfnResource)
CfnResource.AddMetadata(String, Object)
CfnResource.AddOverride(String, Object)
CfnResource.AddPropertyDeletionOverride(String)
CfnResource.AddPropertyOverride(String, Object)
CfnResource.ApplyRemovalPolicy(Nullable<RemovalPolicy>, IRemovalPolicyOptions)
CfnResource.GetAtt(String)
CfnResource.GetMetadata(String)
CfnResource.ShouldSynthesize()
CfnResource.ToString()
CfnResource.ValidateProperties(Object)
CfnResource.CfnOptions
CfnResource.CfnResourceType
CfnResource.UpdatedProperites
CfnRefElement.Ref
CfnElement.IsCfnElement(Object)
CfnElement.OverrideLogicalId(String)
CfnElement.CreationStack
CfnElement.LogicalId
CfnElement.Stack
Construct.IsConstruct(Object)
Construct.OnPrepare()
Construct.OnSynthesize(ISynthesisSession)
Construct.OnValidate()
Construct.Prepare()
Construct.Synthesize(ISynthesisSession)
Construct.Validate()
Construct.Node
Namespace: Amazon.CDK.AWS.SAM
Assembly: Amazon.CDK.AWS.SAM.dll
Syntax (csharp)
public class CfnLayerVersion : CfnResource, IConstruct, IDependable, IInspectable
Syntax (vb)
Public Class CfnLayerVersion
    Inherits CfnResource
    Implements IConstruct, IDependable, IInspectable
Remarks

CloudformationResource: AWS::Serverless::LayerVersion

Link: https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#awsserverlesslayerversion

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(Construct, String, ICfnLayerVersionProps)

Create a new AWS::Serverless::LayerVersion.

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

Properties

CFN_RESOURCE_TYPE_NAME

The CloudFormation resource type name for this resource class.

CfnProperties
CompatibleRuntimes

AWS::Serverless::LayerVersion.CompatibleRuntimes.

ContentUri

AWS::Serverless::LayerVersion.ContentUri.

Description

AWS::Serverless::LayerVersion.Description.

LayerName

AWS::Serverless::LayerVersion.LayerName.

LicenseInfo

AWS::Serverless::LayerVersion.LicenseInfo.

REQUIRED_TRANSFORM

The Transform a template must use in order to use this resource.

RetentionPolicy

AWS::Serverless::LayerVersion.RetentionPolicy.

Methods

Inspect(TreeInspector)

Examines the CloudFormation resource and discloses attributes.

RenderProperties(IDictionary<String, Object>)

Constructors

CfnLayerVersion(Construct, String, ICfnLayerVersionProps)

Create a new AWS::Serverless::LayerVersion.

public CfnLayerVersion(Construct scope, string id, ICfnLayerVersionProps props = null)
Parameters
scope Construct
  • scope in which this resource is defined.
id System.String
  • scoped id of the resource.
props ICfnLayerVersionProps
  • resource properties.

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

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
CfnResource.CfnProperties

CompatibleRuntimes

AWS::Serverless::LayerVersion.CompatibleRuntimes.

public virtual string[] CompatibleRuntimes { get; set; }
Property Value

System.String[]

Remarks

Link: https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#awsserverlesslayerversion

ContentUri

AWS::Serverless::LayerVersion.ContentUri.

public virtual object ContentUri { get; set; }
Property Value

System.Object

Remarks

Link: https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#awsserverlesslayerversion

Description

AWS::Serverless::LayerVersion.Description.

public virtual string Description { get; set; }
Property Value

System.String

Remarks

Link: https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#awsserverlesslayerversion

LayerName

AWS::Serverless::LayerVersion.LayerName.

public virtual string LayerName { get; set; }
Property Value

System.String

Remarks

Link: https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#awsserverlesslayerversion

LicenseInfo

AWS::Serverless::LayerVersion.LicenseInfo.

public virtual string LicenseInfo { get; set; }
Property Value

System.String

Remarks

Link: https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#awsserverlesslayerversion

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

AWS::Serverless::LayerVersion.RetentionPolicy.

public virtual string RetentionPolicy { get; set; }
Property Value

System.String

Remarks

Link: https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#awsserverlesslayerversion

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>

Overrides
CfnResource.RenderProperties(IDictionary<String, Object>)

Implements

IConstruct
Constructs.IConstruct
IDependable
IInspectable
Back to top Generated by DocFX