CfnModuleVersionMixinProps

class aws_cdk.mixins_preview.aws_cloudformation.mixins.CfnModuleVersionMixinProps(*, module_name=None, module_package=None)

Bases: object

Properties for CfnModuleVersionPropsMixin.

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

  • module_package (Optional[str]) – 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 in the 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.mixins_preview.aws_cloudformation import mixins as cloudformation_mixins

cfn_module_version_mixin_props = cloudformation_mixins.CfnModuleVersionMixinProps(
    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 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 in the 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