public static final class ServerDeploymentGroupProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements ServerDeploymentGroupProps
ServerDeploymentGroupProps
ServerDeploymentGroupProps.Builder, ServerDeploymentGroupProps.Jsii$Proxy
Modifier | Constructor and Description |
---|---|
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
Modifier and Type | Method and Description |
---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(java.lang.Object o) |
java.util.List<IAlarm> |
getAlarms()
The CloudWatch alarms associated with this Deployment Group.
|
IServerApplication |
getApplication()
The CodeDeploy EC2/on-premise Application this Deployment Group belongs to.
|
AutoRollbackConfig |
getAutoRollback()
The auto-rollback configuration for this Deployment Group.
|
java.util.List<IAutoScalingGroup> |
getAutoScalingGroups()
The auto-scaling groups belonging to this Deployment Group.
|
IServerDeploymentConfig |
getDeploymentConfig()
The EC2/on-premise Deployment Configuration to use for this Deployment Group.
|
java.lang.String |
getDeploymentGroupName()
The physical, human-readable name of the CodeDeploy Deployment Group.
|
InstanceTagSet |
getEc2InstanceTags()
All EC2 instances matching the given set of tags when a deployment occurs will be added to this Deployment Group.
|
java.lang.Boolean |
getIgnorePollAlarmsFailure()
Whether to continue a deployment even if fetching the alarm status from CloudWatch failed.
|
java.lang.Boolean |
getInstallAgent()
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. |
LoadBalancer |
getLoadBalancer()
The load balancer to place in front of this Deployment Group.
|
InstanceTagSet |
getOnPremiseInstanceTags()
All on-premise instances matching the given set of tags when a deployment occurs will be added to this Deployment Group.
|
IRole |
getRole()
The service Role of this Deployment Group.
|
int |
hashCode() |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
builder
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef
- Reference to the JSII managed object.public final java.util.List<IAlarm> getAlarms()
ServerDeploymentGroupProps
CodeDeploy will stop (and optionally roll back) a deployment if during it any of the alarms trigger.
Alarms can also be added after the Deployment Group is created using the {@link #addAlarm} method.
Default: []
getAlarms
in interface ServerDeploymentGroupProps
public final IServerApplication getApplication()
ServerDeploymentGroupProps
Default: - A new Application will be created.
getApplication
in interface ServerDeploymentGroupProps
public final AutoRollbackConfig getAutoRollback()
ServerDeploymentGroupProps
Default: - default AutoRollbackConfig.
getAutoRollback
in interface ServerDeploymentGroupProps
public final java.util.List<IAutoScalingGroup> getAutoScalingGroups()
ServerDeploymentGroupProps
Auto-scaling groups can also be added after the Deployment Group is created using the {@link #addAutoScalingGroup} method.
[disable-awslint:ref-via-interface] is needed because we update userdata for ASGs to install the codedeploy agent.
Default: []
getAutoScalingGroups
in interface ServerDeploymentGroupProps
public final IServerDeploymentConfig getDeploymentConfig()
ServerDeploymentGroupProps
Default: ServerDeploymentConfig#OneAtATime
getDeploymentConfig
in interface ServerDeploymentGroupProps
public final java.lang.String getDeploymentGroupName()
ServerDeploymentGroupProps
Default: - An auto-generated name will be used.
getDeploymentGroupName
in interface ServerDeploymentGroupProps
public final InstanceTagSet getEc2InstanceTags()
ServerDeploymentGroupProps
Default: - No additional EC2 instances will be added to the Deployment Group.
getEc2InstanceTags
in interface ServerDeploymentGroupProps
public final java.lang.Boolean getIgnorePollAlarmsFailure()
ServerDeploymentGroupProps
Default: false
getIgnorePollAlarmsFailure
in interface ServerDeploymentGroupProps
public final java.lang.Boolean getInstallAgent()
ServerDeploymentGroupProps
#autoScalingGroups
property, you can set this property to add User Data that installs the CodeDeploy agent on the instances.
Default: true
getInstallAgent
in interface ServerDeploymentGroupProps
public final LoadBalancer getLoadBalancer()
ServerDeploymentGroupProps
Can be created from either a classic Elastic Load Balancer, or an Application Load Balancer / Network Load Balancer Target Group.
Default: - Deployment Group will not have a load balancer defined.
getLoadBalancer
in interface ServerDeploymentGroupProps
public final InstanceTagSet getOnPremiseInstanceTags()
ServerDeploymentGroupProps
Default: - No additional on-premise instances will be added to the Deployment Group.
getOnPremiseInstanceTags
in interface ServerDeploymentGroupProps
public final IRole getRole()
ServerDeploymentGroupProps
Default: - A new Role will be created.
getRole
in interface ServerDeploymentGroupProps
public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
public final boolean equals(java.lang.Object o)
public final int hashCode()