@Stability(value=Stable) public static final class CfnModuleVersionProps.Builder extends Object implements software.amazon.jsii.Builder<CfnModuleVersionProps>
CfnModuleVersionProps
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnModuleVersionProps |
build()
Builds the configured instance.
|
CfnModuleVersionProps.Builder |
moduleName(String moduleName)
Sets the value of
CfnModuleVersionProps.getModuleName() |
CfnModuleVersionProps.Builder |
modulePackage(String modulePackage)
Sets the value of
CfnModuleVersionProps.getModulePackage() |
@Stability(value=Stable) public CfnModuleVersionProps.Builder moduleName(String moduleName)
CfnModuleVersionProps.getModuleName()
moduleName
- The name of the module being registered. This parameter is required.this
@Stability(value=Stable) public CfnModuleVersionProps.Builder modulePackage(String modulePackage)
CfnModuleVersionProps.getModulePackage()
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.
The user registering the module version must be able to access the module package in the S3 bucket. That is, 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 .
this
@Stability(value=Stable) public CfnModuleVersionProps build()
build
in interface software.amazon.jsii.Builder<CfnModuleVersionProps>
CfnModuleVersionProps
NullPointerException
- if any required attribute was not providedCopyright © 2022. All rights reserved.