@Generated(value="jsii-pacmak/0.20.6 (build 17f281e)", date="2019-11-19T17:18:14.368Z") @Stability(value=Stable) public class ServerDeploymentGroup extends Resource implements IServerDeploymentGroup
| Modifier and Type | Class and Description |
|---|---|
static class |
ServerDeploymentGroup.Builder
A fluent builder for
ServerDeploymentGroup. |
software.amazon.jsii.JsiiObject.InitializationModeIServerDeploymentGroup.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
|
ServerDeploymentGroup(Construct scope,
String id) |
|
ServerDeploymentGroup(Construct scope,
String id,
ServerDeploymentGroupProps props) |
protected |
ServerDeploymentGroup(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
ServerDeploymentGroup(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
void |
addAlarm(IAlarm alarm)
Associates an additional alarm with this Deployment Group.
|
void |
addAutoScalingGroup(AutoScalingGroup asg)
Adds an additional auto-scaling group to this Deployment Group.
|
static IServerDeploymentGroup |
fromServerDeploymentGroupAttributes(Construct scope,
String id,
ServerDeploymentGroupAttributes attrs)
Import an EC2/on-premise Deployment Group defined either outside the CDK app, or in a different region.
|
IServerApplication |
getApplication() |
List<AutoScalingGroup> |
getAutoScalingGroups() |
IServerDeploymentConfig |
getDeploymentConfig() |
String |
getDeploymentGroupArn() |
String |
getDeploymentGroupName() |
IRole |
getRole() |
generatePhysicalName, getPhysicalName, getResourceArnAttribute, getResourceNameAttribute, getStackgetNode, isConstruct, prepare, synthesize, toString, validatejsiiAsyncCall, jsiiCall, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticGet, jsiiStaticSetclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetNodeprotected ServerDeploymentGroup(software.amazon.jsii.JsiiObjectRef objRef)
protected ServerDeploymentGroup(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable) public ServerDeploymentGroup(Construct scope, String id, ServerDeploymentGroupProps props)
scope - This parameter is required.id - This parameter is required.props - @Stability(value=Stable) public static IServerDeploymentGroup fromServerDeploymentGroupAttributes(Construct scope, String id, ServerDeploymentGroupAttributes attrs)
scope - the parent Construct for this new Construct. This parameter is required.id - the logical ID of this new Construct. This parameter is required.attrs - the properties of the referenced Deployment Group. This parameter is required.@Stability(value=Stable) public void addAlarm(IAlarm alarm)
alarm - the alarm to associate with this Deployment Group. This parameter is required.@Stability(value=Stable) public void addAutoScalingGroup(AutoScalingGroup asg)
asg - the auto-scaling group to add to this Deployment Group. [disable-awslint:ref-via-interface] is needed in order to install the code deploy agent by updating the ASGs user data. This parameter is required.@Stability(value=Stable) public IServerApplication getApplication()
getApplication in interface IServerDeploymentGroup@Stability(value=Stable) public IServerDeploymentConfig getDeploymentConfig()
getDeploymentConfig in interface IServerDeploymentGroup@Stability(value=Stable) public String getDeploymentGroupArn()
getDeploymentGroupArn in interface IServerDeploymentGroup@Stability(value=Stable) public String getDeploymentGroupName()
getDeploymentGroupName in interface IServerDeploymentGroup@Stability(value=Stable) public List<AutoScalingGroup> getAutoScalingGroups()
getAutoScalingGroups in interface IServerDeploymentGroup@Stability(value=Stable) public IRole getRole()
getRole in interface IServerDeploymentGroupCopyright © 2019. All rights reserved.