CfnModuleVersionProps

class aws_cdk.core.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. .. epigraph:: 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 .

Link:

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.
import aws_cdk.core as cdk

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

Attributes

module_name

The name of the module being registered.

Link:

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.

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 .

Link:

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