Skip to content
v2.274.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 { aws_cloudformation as cloudformation } from 'aws-cdk-lib';
const cfnModuleDefaultVersionProps: cloudformation.CfnModuleDefaultVersionProps = {
  arn: 'arn',
  moduleName: 'moduleName',
  versionId: 'versionId',
};

Properties ​

arnoptionalstring | IModuleVersionRefarnoptionaltyping.Union[str, IModuleVersionRef]arnoptionalStringArnoptionalstringArnoptionalinterface{}#
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 .

moduleNameoptionalstringmodule_nameoptionalstrmoduleNameoptionalStringModuleNameoptionalstringModuleNameoptional*string#
The name of the module.

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

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

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