CfnModuleVersionProps

class aws_cdk.aws_cloudformation.CfnModuleVersionProps(*, module_name, module_package)

Bases: object

Properties for defining a CfnModuleVersion.

Parameters:
  • module_name (str) – The name of the module being registered.

  • module_package (str) – A URL to the S3 bucket containing the package that contains the template fragment and schema files for the module version to register. For more information, see Module structure and requirements in the AWS CloudFormation Command Line Interface (CLI) User Guide . .. epigraph:: To register the module version, you must have s3:GetObject permissions to access the S3 objects.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudformation-moduleversion.html

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_cloudformation as cloudformation

cfn_module_version_props = cloudformation.CfnModuleVersionProps(
    module_name="moduleName",
    module_package="modulePackage"
)

Attributes

module_name

The name of the module being registered.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudformation-moduleversion.html#cfn-cloudformation-moduleversion-modulename

module_package

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

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

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

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudformation-moduleversion.html#cfn-cloudformation-moduleversion-modulepackage