public static final class CfnModuleVersion.Builder
extends java.lang.Object
CfnModuleVersion
.Modifier and Type | Method and Description |
---|---|
CfnModuleVersion |
build() |
static CfnModuleVersion.Builder |
create(Construct scope,
java.lang.String id) |
CfnModuleVersion.Builder |
moduleName(java.lang.String moduleName)
The name of the module being registered.
|
CfnModuleVersion.Builder |
modulePackage(java.lang.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.
|
public static CfnModuleVersion.Builder create(Construct scope, java.lang.String id)
scope
- - scope in which this resource is defined. This parameter is required.id
- - scoped id of the resource. This parameter is required.CfnModuleVersion.Builder
.public CfnModuleVersion.Builder moduleName(java.lang.String moduleName)
moduleName
- The name of the module being registered. This parameter is required.this
public CfnModuleVersion.Builder modulePackage(java.lang.String modulePackage)
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 .
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.this
public CfnModuleVersion build()