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