@Stability(value=Stable) public static final class ServerDeploymentGroupProps.Builder extends Object
ServerDeploymentGroupProps| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
ServerDeploymentGroupProps.Builder |
alarms(List<software.amazon.awscdk.services.cloudwatch.IAlarm> alarms)
Sets the value of Alarms
|
ServerDeploymentGroupProps.Builder |
application(IServerApplication application)
Sets the value of Application
|
ServerDeploymentGroupProps.Builder |
autoRollback(AutoRollbackConfig autoRollback)
Sets the value of AutoRollback
|
ServerDeploymentGroupProps.Builder |
autoScalingGroups(List<software.amazon.awscdk.services.autoscaling.AutoScalingGroup> autoScalingGroups)
Sets the value of AutoScalingGroups
|
ServerDeploymentGroupProps |
build()
Builds the configured instance.
|
ServerDeploymentGroupProps.Builder |
deploymentConfig(IServerDeploymentConfig deploymentConfig)
Sets the value of DeploymentConfig
|
ServerDeploymentGroupProps.Builder |
deploymentGroupName(String deploymentGroupName)
Sets the value of DeploymentGroupName
|
ServerDeploymentGroupProps.Builder |
ec2InstanceTags(InstanceTagSet ec2InstanceTags)
Sets the value of Ec2InstanceTags
|
ServerDeploymentGroupProps.Builder |
ignorePollAlarmsFailure(Boolean ignorePollAlarmsFailure)
Sets the value of IgnorePollAlarmsFailure
|
ServerDeploymentGroupProps.Builder |
installAgent(Boolean installAgent)
Sets the value of InstallAgent
|
ServerDeploymentGroupProps.Builder |
loadBalancer(LoadBalancer loadBalancer)
Sets the value of LoadBalancer
|
ServerDeploymentGroupProps.Builder |
onPremiseInstanceTags(InstanceTagSet onPremiseInstanceTags)
Sets the value of OnPremiseInstanceTags
|
ServerDeploymentGroupProps.Builder |
role(software.amazon.awscdk.services.iam.IRole role)
Sets the value of Role
|
@Stability(value=Stable) public ServerDeploymentGroupProps.Builder alarms(List<software.amazon.awscdk.services.cloudwatch.IAlarm> alarms)
alarms - The CloudWatch alarms associated with this Deployment Group. CodeDeploy will stop (and optionally roll back) a deployment if during it any of the alarms trigger.this@Stability(value=Stable) public ServerDeploymentGroupProps.Builder application(IServerApplication application)
application - The CodeDeploy EC2/on-premise Application this Deployment Group belongs to.this@Stability(value=Stable) public ServerDeploymentGroupProps.Builder autoRollback(AutoRollbackConfig autoRollback)
autoRollback - The auto-rollback configuration for this Deployment Group.this@Stability(value=Stable) public ServerDeploymentGroupProps.Builder autoScalingGroups(List<software.amazon.awscdk.services.autoscaling.AutoScalingGroup> autoScalingGroups)
autoScalingGroups - The auto-scaling groups belonging to this Deployment Group.this@Stability(value=Stable) public ServerDeploymentGroupProps.Builder deploymentConfig(IServerDeploymentConfig deploymentConfig)
deploymentConfig - The EC2/on-premise Deployment Configuration to use for this Deployment Group.this@Stability(value=Stable) public ServerDeploymentGroupProps.Builder deploymentGroupName(String deploymentGroupName)
deploymentGroupName - The physical, human-readable name of the CodeDeploy Deployment Group.this@Stability(value=Stable) public ServerDeploymentGroupProps.Builder ec2InstanceTags(InstanceTagSet ec2InstanceTags)
ec2InstanceTags - All EC2 instances matching the given set of tags when a deployment occurs will be added to this Deployment Group.this@Stability(value=Stable) public ServerDeploymentGroupProps.Builder ignorePollAlarmsFailure(Boolean ignorePollAlarmsFailure)
ignorePollAlarmsFailure - Whether to continue a deployment even if fetching the alarm status from CloudWatch failed.this@Stability(value=Stable) public ServerDeploymentGroupProps.Builder installAgent(Boolean installAgent)
installAgent - If you've provided any auto-scaling groups with the autoScalingGroups property, you can set this property to add User Data that installs the CodeDeploy agent on the instances.this@Stability(value=Stable) public ServerDeploymentGroupProps.Builder loadBalancer(LoadBalancer loadBalancer)
loadBalancer - The load balancer to place in front of this Deployment Group. Can be created from either a classic Elastic Load Balancer, or an Application Load Balancer / Network Load Balancer Target Group.this@Stability(value=Stable) public ServerDeploymentGroupProps.Builder onPremiseInstanceTags(InstanceTagSet onPremiseInstanceTags)
onPremiseInstanceTags - All on-premise instances matching the given set of tags when a deployment occurs will be added to this Deployment Group.this@Stability(value=Stable) public ServerDeploymentGroupProps.Builder role(software.amazon.awscdk.services.iam.IRole role)
role - The service Role of this Deployment Group.this@Stability(value=Stable) public ServerDeploymentGroupProps build()
ServerDeploymentGroupPropsNullPointerException - if any required attribute was not providedCopyright © 2019. All rights reserved.