aws-cdk-lib.aws_cloudformation.CfnModuleVersionProps

interface CfnModuleVersionProps

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

Properties for defining a CfnModuleVersion.

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

Properties

NameTypeDescription
moduleNamestringThe name of the module being registered.
modulePackagestringA URL to the S3 bucket containing the package that contains the template fragment and schema files for the module version to register.

moduleName

Type: string

The name of the module being registered.


modulePackage

Type: string

A URL to the S3 bucket containing the package that contains the template fragment and schema files for the module version to register.

The user registering the module version must be able to access the module package in the S3 bucket. That's, the user needs to have GetObject permissions for the package. For more information, see Actions, Resources, and Condition Keys for Amazon S3 in the AWS Identity and Access Management User Guide .