Class CfnModuleDefaultVersionProps
Properties for defining a CfnModuleDefaultVersion.
Implements
Inherited Members
Namespace: Amazon.CDK
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnModuleDefaultVersionProps : ICfnModuleDefaultVersionProps
Syntax (vb)
Public Class CfnModuleDefaultVersionProps Implements ICfnModuleDefaultVersionProps
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;
var cfnModuleDefaultVersionProps = new CfnModuleDefaultVersionProps {
Arn = "arn",
ModuleName = "moduleName",
VersionId = "versionId"
};
Synopsis
Constructors
| CfnModuleDefaultVersionProps() | Properties for defining a |
Properties
| Arn | The Amazon Resource Name (ARN) of the module version to set as the default version. |
| ModuleName | The name of the module. |
| VersionId | The ID for the specific version of the module. |
Constructors
CfnModuleDefaultVersionProps()
Properties for defining a CfnModuleDefaultVersion.
public CfnModuleDefaultVersionProps()
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;
var cfnModuleDefaultVersionProps = new CfnModuleDefaultVersionProps {
Arn = "arn",
ModuleName = "moduleName",
VersionId = "versionId"
};
Properties
Arn
The Amazon Resource Name (ARN) of the module version to set as the default version.
public object? Arn { get; set; }
Property Value
Remarks
Conditional: You must specify either Arn , or ModuleName and VersionId .
Type union: either string or IModuleVersionRef
ModuleName
The name of the module.
public string? ModuleName { get; set; }
Property Value
Remarks
Conditional: You must specify either Arn , or ModuleName and VersionId .
VersionId
The ID for the specific version of the module.
public string? VersionId { get; set; }
Property Value
Remarks
Conditional: You must specify either Arn , or ModuleName and VersionId .