public static final class ServerDeploymentGroupProps.Builder extends Object
ServerDeploymentGroupProps| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
ServerDeploymentGroupProps |
build()
Builds the configured instance.
|
ServerDeploymentGroupProps.Builder |
withApplication(ServerApplicationRef value)
Sets the value of Application
|
ServerDeploymentGroupProps.Builder |
withDeploymentGroupName(String value)
Sets the value of DeploymentGroupName
|
ServerDeploymentGroupProps.Builder |
withRole(software.amazon.awscdk.services.iam.Role value)
Sets the value of Role
|
public ServerDeploymentGroupProps.Builder withApplication(@Nullable ServerApplicationRef value)
value - The CodeDeploy EC2/on-premise Application this Deployment Group belongs to.
If you don't provide one, a new Application will be created.thispublic ServerDeploymentGroupProps.Builder withDeploymentGroupName(@Nullable String value)
value - The physical, human-readable name of the CodeDeploy Deployment Group.thispublic ServerDeploymentGroupProps.Builder withRole(@Nullable software.amazon.awscdk.services.iam.Role value)
value - The service Role of this Deployment Group.
If you don't provide one, a new Role will be created.thispublic ServerDeploymentGroupProps build()
ServerDeploymentGroupPropsNullPointerException - if any required attribute was not providedCopyright © 2018. All rights reserved.