@Generated(value="jsii-pacmak/1.30.0 (build adae23f)", date="2021-06-30T10:00:56.593Z") @Stability(value=Experimental) public interface ServerDeploymentGroupProps extends software.amazon.jsii.JsiiSerializable
ServerDeploymentGroup.| Modifier and Type | Interface and Description |
|---|---|
static class |
ServerDeploymentGroupProps.Builder
A builder for
ServerDeploymentGroupProps |
static class |
ServerDeploymentGroupProps.Jsii$Proxy
An implementation for
ServerDeploymentGroupProps |
| Modifier and Type | Method and Description |
|---|---|
static ServerDeploymentGroupProps.Builder |
builder() |
default List<IAlarm> |
getAlarms()
(experimental) The CloudWatch alarms associated with this Deployment Group.
|
default IServerApplication |
getApplication()
(experimental) The CodeDeploy EC2/on-premise Application this Deployment Group belongs to.
|
default AutoRollbackConfig |
getAutoRollback()
(experimental) The auto-rollback configuration for this Deployment Group.
|
default List<IAutoScalingGroup> |
getAutoScalingGroups()
(experimental) The auto-scaling groups belonging to this Deployment Group.
|
default IServerDeploymentConfig |
getDeploymentConfig()
(experimental) The EC2/on-premise Deployment Configuration to use for this Deployment Group.
|
default String |
getDeploymentGroupName()
(experimental) The physical, human-readable name of the CodeDeploy Deployment Group.
|
default InstanceTagSet |
getEc2InstanceTags()
(experimental) All EC2 instances matching the given set of tags when a deployment occurs will be added to this Deployment Group.
|
default Boolean |
getIgnorePollAlarmsFailure()
(experimental) Whether to continue a deployment even if fetching the alarm status from CloudWatch failed.
|
default 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. |
default LoadBalancer |
getLoadBalancer()
(experimental) The load balancer to place in front of this Deployment Group.
|
default InstanceTagSet |
getOnPremiseInstanceTags()
(experimental) All on-premise instances matching the given set of tags when a deployment occurs will be added to this Deployment Group.
|
default IRole |
getRole()
(experimental) The service Role of this Deployment Group.
|
@Stability(value=Experimental) @Nullable default List<IAlarm> getAlarms()
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: []
https://docs.aws.amazon.com/codedeploy/latest/userguide/monitoring-create-alarms.html@Stability(value=Experimental) @Nullable default IServerApplication getApplication()
Default: - A new Application will be created.
@Stability(value=Experimental) @Nullable default AutoRollbackConfig getAutoRollback()
Default: - default AutoRollbackConfig.
@Stability(value=Experimental) @Nullable default List<IAutoScalingGroup> getAutoScalingGroups()
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: []
@Stability(value=Experimental) @Nullable default IServerDeploymentConfig getDeploymentConfig()
Default: ServerDeploymentConfig#OneAtATime
@Stability(value=Experimental) @Nullable default String getDeploymentGroupName()
Default: - An auto-generated name will be used.
@Stability(value=Experimental) @Nullable default InstanceTagSet getEc2InstanceTags()
Default: - No additional EC2 instances will be added to the Deployment Group.
@Stability(value=Experimental) @Nullable default Boolean getIgnorePollAlarmsFailure()
Default: false
@Stability(value=Experimental) @Nullable default Boolean getInstallAgent()
#autoScalingGroups property, you can set this property to add User Data that installs the CodeDeploy agent on the instances.
Default: true
https://docs.aws.amazon.com/codedeploy/latest/userguide/codedeploy-agent-operations-install.html@Stability(value=Experimental) @Nullable default LoadBalancer getLoadBalancer()
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.
@Stability(value=Experimental) @Nullable default InstanceTagSet getOnPremiseInstanceTags()
Default: - No additional on-premise instances will be added to the Deployment Group.
@Stability(value=Experimental) @Nullable default IRole getRole()
Default: - A new Role will be created.
@Stability(value=Experimental) static ServerDeploymentGroupProps.Builder builder()
ServerDeploymentGroupProps.Builder of ServerDeploymentGroupPropsCopyright © 2021. All rights reserved.