Skip to content
v2.273.0

CfnModuleVersionProps Struct ​

Properties for defining a CfnModuleVersion.

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 cfnModuleVersionProps: cloudformation.CfnModuleVersionProps = {
  moduleName: 'moduleName',
  modulePackage: 'modulePackage',
};

Properties ​

moduleNamestringmodule_namestrmoduleNameStringModuleNamestringModuleName*stringrequired#
The name of the module being registered.
modulePackagestringmodule_packagestrmodulePackageStringModulePackagestringModulePackage*stringrequired#
A URL to the S3 bucket for the package that contains the template fragment and schema files for the module version to register.
notes

For more information, see Module structure and requirements in the CloudFormation Command Line Interface (CLI) User Guide .

To register the module version, you must have s3:GetObject permissions to access the S3 objects.

Used as props by ​