Class CfnModuleVersionMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.cloudformation.CfnModuleVersionMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnModuleVersionMixinProps>
- Enclosing interface:
CfnModuleVersionMixinProps
@Stability(Stable)
public static final class CfnModuleVersionMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnModuleVersionMixinProps>
A builder for
CfnModuleVersionMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.moduleName(String moduleName) Sets the value ofCfnModuleVersionMixinProps.getModuleName()modulePackage(String modulePackage) Sets the value ofCfnModuleVersionMixinProps.getModulePackage()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
moduleName
Sets the value ofCfnModuleVersionMixinProps.getModuleName()- Parameters:
moduleName- The name of the module being registered.- Returns:
this
-
modulePackage
Sets the value ofCfnModuleVersionMixinProps.getModulePackage()- Parameters:
modulePackage- 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 .To register the module version, you must have
s3:GetObjectpermissions to access the S3 objects.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnModuleVersionMixinProps>- Returns:
- a new instance of
CfnModuleVersionMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-