Show / Hide Table of Contents

Class CfnLayerVersionPropsMixin

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

Inheritance
object
Mixin
CfnLayerVersionPropsMixin
Implements
IMixin
Inherited Members
Mixin.IsMixin(object)
Namespace: Amazon.CDK.CfnPropertyMixins.AWS.SAM
Assembly: Amazon.CDK.CfnPropertyMixins.dll
Syntax (csharp)
public class CfnLayerVersionPropsMixin : Mixin, IMixin
Syntax (vb)
Public Class CfnLayerVersionPropsMixin Inherits Mixin Implements IMixin
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-serverless-layerversion.html

CloudformationResource: AWS::Serverless::LayerVersion

Mixin: true

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.CfnPropertyMixins.AWS.SAM;
             using Amazon.CDK;

             IMergeStrategy mergeStrategy;

             var cfnLayerVersionPropsMixin = new CfnLayerVersionPropsMixin(new CfnLayerVersionMixinProps {
                 CompatibleRuntimes = new [] { "compatibleRuntimes" },
                 ContentUri = "contentUri",
                 Description = "description",
                 LayerName = "layerName",
                 LicenseInfo = "licenseInfo",
                 RetentionPolicy = "retentionPolicy"
             }, new CfnPropertyMixinOptions {
                 Strategy = mergeStrategy
             });

Synopsis

Constructors

CfnLayerVersionPropsMixin(ICfnLayerVersionMixinProps, ICfnPropertyMixinOptions?)

Create a mixin to apply properties to AWS::Serverless::LayerVersion.

Properties

CFN_PROPERTY_KEYS

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

Props

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

Strategy

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

Methods

ApplyTo(IConstruct)

Apply the mixin properties to the construct.

Supports(IConstruct)

Check if this mixin supports the given construct.

Constructors

CfnLayerVersionPropsMixin(ICfnLayerVersionMixinProps, ICfnPropertyMixinOptions?)

Create a mixin to apply properties to AWS::Serverless::LayerVersion.

public CfnLayerVersionPropsMixin(ICfnLayerVersionMixinProps props, ICfnPropertyMixinOptions? options = null)
Parameters
props ICfnLayerVersionMixinProps

L1 properties to apply.

options ICfnPropertyMixinOptions

Mixin options.

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-serverless-layerversion.html

CloudformationResource: AWS::Serverless::LayerVersion

Mixin: true

ExampleMetadata: fixture=_generated

Properties

CFN_PROPERTY_KEYS

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

protected static string[] CFN_PROPERTY_KEYS { get; }
Property Value

string[]

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-serverless-layerversion.html

CloudformationResource: AWS::Serverless::LayerVersion

Mixin: true

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.CfnPropertyMixins.AWS.SAM;
             using Amazon.CDK;

             IMergeStrategy mergeStrategy;

             var cfnLayerVersionPropsMixin = new CfnLayerVersionPropsMixin(new CfnLayerVersionMixinProps {
                 CompatibleRuntimes = new [] { "compatibleRuntimes" },
                 ContentUri = "contentUri",
                 Description = "description",
                 LayerName = "layerName",
                 LicenseInfo = "licenseInfo",
                 RetentionPolicy = "retentionPolicy"
             }, new CfnPropertyMixinOptions {
                 Strategy = mergeStrategy
             });

Props

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

protected virtual ICfnLayerVersionMixinProps Props { get; }
Property Value

ICfnLayerVersionMixinProps

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-serverless-layerversion.html

CloudformationResource: AWS::Serverless::LayerVersion

Mixin: true

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.CfnPropertyMixins.AWS.SAM;
             using Amazon.CDK;

             IMergeStrategy mergeStrategy;

             var cfnLayerVersionPropsMixin = new CfnLayerVersionPropsMixin(new CfnLayerVersionMixinProps {
                 CompatibleRuntimes = new [] { "compatibleRuntimes" },
                 ContentUri = "contentUri",
                 Description = "description",
                 LayerName = "layerName",
                 LicenseInfo = "licenseInfo",
                 RetentionPolicy = "retentionPolicy"
             }, new CfnPropertyMixinOptions {
                 Strategy = mergeStrategy
             });

Strategy

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

protected virtual IMergeStrategy Strategy { get; }
Property Value

IMergeStrategy

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-serverless-layerversion.html

CloudformationResource: AWS::Serverless::LayerVersion

Mixin: true

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.CfnPropertyMixins.AWS.SAM;
             using Amazon.CDK;

             IMergeStrategy mergeStrategy;

             var cfnLayerVersionPropsMixin = new CfnLayerVersionPropsMixin(new CfnLayerVersionMixinProps {
                 CompatibleRuntimes = new [] { "compatibleRuntimes" },
                 ContentUri = "contentUri",
                 Description = "description",
                 LayerName = "layerName",
                 LicenseInfo = "licenseInfo",
                 RetentionPolicy = "retentionPolicy"
             }, new CfnPropertyMixinOptions {
                 Strategy = mergeStrategy
             });

Methods

ApplyTo(IConstruct)

Apply the mixin properties to the construct.

public override void ApplyTo(IConstruct construct)
Parameters
construct IConstruct
Overrides
Mixin.ApplyTo(IConstruct)
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-serverless-layerversion.html

CloudformationResource: AWS::Serverless::LayerVersion

Mixin: true

ExampleMetadata: fixture=_generated

Supports(IConstruct)

Check if this mixin supports the given construct.

public override bool Supports(IConstruct construct)
Parameters
construct IConstruct
Returns

bool

Overrides
Mixin.Supports(IConstruct)
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-serverless-layerversion.html

CloudformationResource: AWS::Serverless::LayerVersion

Mixin: true

ExampleMetadata: fixture=_generated

Implements

Constructs.IMixin
Back to top Generated by DocFX