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. .. 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 .
- See:
- 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.
- 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 .