public static final class CfnModuleVersionProps.Builder
extends java.lang.Object
CfnModuleVersionProps
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnModuleVersionProps |
build()
Builds the configured instance.
|
CfnModuleVersionProps.Builder |
moduleName(java.lang.String moduleName)
Sets the value of
CfnModuleVersionProps.getModuleName() |
CfnModuleVersionProps.Builder |
modulePackage(java.lang.String modulePackage)
Sets the value of
CfnModuleVersionProps.getModulePackage() |
public CfnModuleVersionProps.Builder moduleName(java.lang.String moduleName)
CfnModuleVersionProps.getModuleName()
moduleName
- The name of the module being registered. This parameter is required.this
public CfnModuleVersionProps.Builder modulePackage(java.lang.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'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 .
this
public CfnModuleVersionProps build()
CfnModuleVersionProps
java.lang.NullPointerException
- if any required attribute was not provided