aws-cdk-lib.aws_cloudformation.CfnModuleDefaultVersionProps

interface CfnModuleDefaultVersionProps

LanguageType name
.NETAmazon.CDK.AWS.CloudFormation.CfnModuleDefaultVersionProps
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awscloudformation#CfnModuleDefaultVersionProps
Javasoftware.amazon.awscdk.services.cloudformation.CfnModuleDefaultVersionProps
Pythonaws_cdk.aws_cloudformation.CfnModuleDefaultVersionProps
TypeScript aws-cdk-lib » aws_cloudformation » CfnModuleDefaultVersionProps

Properties for defining a CfnModuleDefaultVersion.

Example

// 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

NameTypeDescription
arn?stringThe Amazon Resource Name (ARN) of the module version to set as the default version.
moduleName?stringThe name of the module.
versionId?stringThe ID for the specific version of the module.

arn?

Type: string (optional)

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 .


moduleName?

Type: string (optional)

The name of the module.

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


versionId?

Type: string (optional)

The ID for the specific version of the module.

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