Skip to content
v2.273.0

CfnModuleDefaultVersionProps Struct ​

Properties for defining a CfnModuleDefaultVersion.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as cdk from 'aws-cdk-lib';
const cfnModuleDefaultVersionProps: cdk.CfnModuleDefaultVersionProps = {
  arn: 'arn',
  moduleName: 'moduleName',
  versionId: 'versionId',
};

Properties ​

arnstring | IModuleVersionRefarntyping.Union[str, IModuleVersionRef]arnStringArnstringArninterface{}#
The Amazon Resource Name (ARN) of the module version to set as the default version.

Conditional: You must specify either Arn , or ModuleName and VersionId .

moduleNamestringmodule_namestrmoduleNameStringModuleNamestringModuleName*string#
The name of the module.

Conditional: You must specify either Arn , or ModuleName and VersionId .

versionIdstringversion_idstrversionIdStringVersionIdstringVersionId*string#
The ID for the specific version of the module.

Conditional: You must specify either Arn , or ModuleName and VersionId .

Used as props by ​