@Stability(value=Experimental) @Internal public static final class ServerDeploymentGroupProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements ServerDeploymentGroupProps
ServerDeploymentGroupPropssoftware.amazon.jsii.JsiiObject.InitializationModeServerDeploymentGroupProps.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.
|
protected |
Jsii$Proxy(List<? extends IAlarm> alarms,
IServerApplication application,
AutoRollbackConfig autoRollback,
List<? extends IAutoScalingGroup> autoScalingGroups,
IServerDeploymentConfig deploymentConfig,
String deploymentGroupName,
InstanceTagSet ec2InstanceTags,
Boolean ignorePollAlarmsFailure,
Boolean installAgent,
LoadBalancer loadBalancer,
InstanceTagSet onPremiseInstanceTags,
IRole role)
Constructor that initializes the object based on literal property values passed by the
ServerDeploymentGroupProps.Builder. |
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(Object o) |
List<IAlarm> |
getAlarms()
(experimental) The CloudWatch alarms associated with this Deployment Group.
|
IServerApplication |
getApplication()
(experimental) The CodeDeploy EC2/on-premise Application this Deployment Group belongs to.
|
AutoRollbackConfig |
getAutoRollback()
(experimental) The auto-rollback configuration for this Deployment Group.
|
List<IAutoScalingGroup> |
getAutoScalingGroups()
(experimental) The auto-scaling groups belonging to this Deployment Group.
|
IServerDeploymentConfig |
getDeploymentConfig()
(experimental) The EC2/on-premise Deployment Configuration to use for this Deployment Group.
|
String |
getDeploymentGroupName()
(experimental) The physical, human-readable name of the CodeDeploy Deployment Group.
|
InstanceTagSet |
getEc2InstanceTags()
(experimental) All EC2 instances matching the given set of tags when a deployment occurs will be added to this Deployment Group.
|
Boolean |
getIgnorePollAlarmsFailure()
(experimental) Whether to continue a deployment even if fetching the alarm status from CloudWatch failed.
|
Boolean |
getInstallAgent()
(experimental) 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()
(experimental) The load balancer to place in front of this Deployment Group.
|
InstanceTagSet |
getOnPremiseInstanceTags()
(experimental) All on-premise instances matching the given set of tags when a deployment occurs will be added to this Deployment Group.
|
IRole |
getRole()
(experimental) The service Role of this Deployment Group.
|
int |
hashCode() |
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitbuilderprotected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef - Reference to the JSII managed object.protected Jsii$Proxy(List<? extends IAlarm> alarms, IServerApplication application, AutoRollbackConfig autoRollback, List<? extends IAutoScalingGroup> autoScalingGroups, IServerDeploymentConfig deploymentConfig, String deploymentGroupName, InstanceTagSet ec2InstanceTags, Boolean ignorePollAlarmsFailure, Boolean installAgent, LoadBalancer loadBalancer, InstanceTagSet onPremiseInstanceTags, IRole role)
ServerDeploymentGroupProps.Builder.public final List<IAlarm> getAlarms()
ServerDeploymentGroupPropsCodeDeploy 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 ServerDeploymentGroupPropshttps://docs.aws.amazon.com/codedeploy/latest/userguide/monitoring-create-alarms.htmlpublic final IServerApplication getApplication()
ServerDeploymentGroupPropsDefault: - A new Application will be created.
getApplication in interface ServerDeploymentGroupPropspublic final AutoRollbackConfig getAutoRollback()
ServerDeploymentGroupPropsDefault: - default AutoRollbackConfig.
getAutoRollback in interface ServerDeploymentGroupPropspublic final List<IAutoScalingGroup> getAutoScalingGroups()
ServerDeploymentGroupPropsAuto-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 ServerDeploymentGroupPropspublic final IServerDeploymentConfig getDeploymentConfig()
ServerDeploymentGroupPropsDefault: ServerDeploymentConfig#OneAtATime
getDeploymentConfig in interface ServerDeploymentGroupPropspublic final String getDeploymentGroupName()
ServerDeploymentGroupPropsDefault: - An auto-generated name will be used.
getDeploymentGroupName in interface ServerDeploymentGroupPropspublic final InstanceTagSet getEc2InstanceTags()
ServerDeploymentGroupPropsDefault: - No additional EC2 instances will be added to the Deployment Group.
getEc2InstanceTags in interface ServerDeploymentGroupPropspublic final Boolean getIgnorePollAlarmsFailure()
ServerDeploymentGroupPropsDefault: false
getIgnorePollAlarmsFailure in interface ServerDeploymentGroupPropspublic final 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 ServerDeploymentGroupPropshttps://docs.aws.amazon.com/codedeploy/latest/userguide/codedeploy-agent-operations-install.htmlpublic final LoadBalancer getLoadBalancer()
ServerDeploymentGroupPropsCan 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 ServerDeploymentGroupPropspublic final InstanceTagSet getOnPremiseInstanceTags()
ServerDeploymentGroupPropsDefault: - No additional on-premise instances will be added to the Deployment Group.
getOnPremiseInstanceTags in interface ServerDeploymentGroupPropspublic final IRole getRole()
ServerDeploymentGroupPropsDefault: - A new Role will be created.
getRole in interface ServerDeploymentGroupProps@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2021. All rights reserved.