Package software.amazon.awscdk
Class CfnModuleVersion.Builder
java.lang.Object
software.amazon.awscdk.CfnModuleVersion.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnModuleVersion>
- Enclosing class:
CfnModuleVersion
@Stability(Stable)
public static final class CfnModuleVersion.Builder
extends Object
implements software.amazon.jsii.Builder<CfnModuleVersion>
A fluent builder for
CfnModuleVersion
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
static CfnModuleVersion.Builder
moduleName
(String moduleName) The name of the module being registered.modulePackage
(String modulePackage) A URL to the S3 bucket containing the package that contains the template fragment and schema files for the module version to register.
-
Method Details
-
create
@Stability(Stable) public static CfnModuleVersion.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope
- Scope in which this resource is defined. This parameter is required.id
- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnModuleVersion.Builder
.
-
moduleName
The name of the module being registered.- Parameters:
moduleName
- The name of the module being registered. This parameter is required.- Returns:
this
- See Also:
-
modulePackage
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 .
To register the module version, you must have
s3:GetObject
permissions to access the S3 objects.- Parameters:
modulePackage
- A URL to the S3 bucket containing the package that contains the template fragment and schema files for the module version to register. This parameter is required.- Returns:
this
- See Also:
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnModuleVersion>
- Returns:
- a newly built instance of
CfnModuleVersion
.
-