# CfnModuleVersionProps

Properties for defining a `CfnModuleVersion`.

Extends: CfnModuleVersionProps
Used as props by: CfnModuleVersion

- Source: Generated code

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

- `moduleName`: string (required) — The name of the module being registered.

- `modulePackage`: string (required) — A URL to the S3 bucket for the package that contains the template fragment and schema files for the module version to register.

  For more information, see [Module structure and requirements](https://docs.aws.amazon.com/cloudformation-cli/latest/userguide/modules-structure.html) 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.
