Class CfnLayerVersionPropsMixin
Implements
Inherited Members
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
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 |
Properties
| CFN_PROPERTY_KEYS | |
| Props | |
| Strategy |
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
CloudformationResource: AWS::Serverless::LayerVersion
Mixin: true
ExampleMetadata: fixture=_generated
Properties
CFN_PROPERTY_KEYS
protected static string[] CFN_PROPERTY_KEYS { get; }
Property Value
string[]
Remarks
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
protected virtual ICfnLayerVersionMixinProps Props { get; }
Property Value
Remarks
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
protected virtual IMergeStrategy Strategy { get; }
Property Value
Remarks
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
Remarks
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
Overrides
Remarks
CloudformationResource: AWS::Serverless::LayerVersion
Mixin: true
ExampleMetadata: fixture=_generated