@Stability(value=Stable) public static final class ServerDeploymentGroup.Builder extends Object
ServerDeploymentGroup.@Stability(value=Stable) public static ServerDeploymentGroup.Builder create(Construct scope, String id)
scope - This parameter is required.id - This parameter is required.ServerDeploymentGroup.Builder.@Stability(value=Stable) public ServerDeploymentGroup.Builder alarms(List<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 parameter is required.this@Stability(value=Stable) public ServerDeploymentGroup.Builder application(IServerApplication application)
application - The CodeDeploy EC2/on-premise Application this Deployment Group belongs to. This parameter is required.this@Stability(value=Stable) public ServerDeploymentGroup.Builder autoRollback(AutoRollbackConfig autoRollback)
autoRollback - The auto-rollback configuration for this Deployment Group. This parameter is required.this@Stability(value=Stable) public ServerDeploymentGroup.Builder autoScalingGroups(List<AutoScalingGroup> autoScalingGroups)
autoScalingGroups - The auto-scaling groups belonging to this Deployment Group. This parameter is required.this@Stability(value=Stable) public ServerDeploymentGroup.Builder deploymentConfig(IServerDeploymentConfig deploymentConfig)
deploymentConfig - The EC2/on-premise Deployment Configuration to use for this Deployment Group. This parameter is required.this@Stability(value=Stable) public ServerDeploymentGroup.Builder deploymentGroupName(String deploymentGroupName)
deploymentGroupName - The physical, human-readable name of the CodeDeploy Deployment Group. This parameter is required.this@Stability(value=Stable) public ServerDeploymentGroup.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 parameter is required.this@Stability(value=Stable) public ServerDeploymentGroup.Builder ignorePollAlarmsFailure(Boolean ignorePollAlarmsFailure)
ignorePollAlarmsFailure - Whether to continue a deployment even if fetching the alarm status from CloudWatch failed. This parameter is required.this@Stability(value=Stable) public ServerDeploymentGroup.Builder installAgent(Boolean installAgent)
installAgent - If you've provided any auto-scaling groups with the autoScalingGroups(java.util.List<software.amazon.awscdk.services.autoscaling.AutoScalingGroup>) property, you can set this property to add User Data that installs the CodeDeploy agent on the instances. This parameter is required.this@Stability(value=Stable) public ServerDeploymentGroup.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 parameter is required.this@Stability(value=Stable) public ServerDeploymentGroup.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 parameter is required.this@Stability(value=Stable) public ServerDeploymentGroup.Builder role(IRole role)
role - The service Role of this Deployment Group. This parameter is required.this@Stability(value=Stable) public ServerDeploymentGroup build()
Copyright © 2019. All rights reserved.