@Generated(value="jsii-pacmak/0.22.0 (build 14afdde)", date="2020-03-16T08:55:37.198Z") @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, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, 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(@NotNull
Construct scope,
@NotNull
String id,
@Nullable
ServerDeploymentGroupProps props)
scope - This parameter is required.id - This parameter is required.props - @Stability(value=Stable) @NotNull public static IServerDeploymentGroup fromServerDeploymentGroupAttributes(@NotNull Construct scope, @NotNull String id, @NotNull 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(@NotNull
IAlarm alarm)
alarm - the alarm to associate with this Deployment Group. This parameter is required.@Stability(value=Stable)
public void addAutoScalingGroup(@NotNull
AutoScalingGroup asg)
asg - the auto-scaling group to add to this Deployment Group. This parameter is required.@Stability(value=Stable) @NotNull public IServerApplication getApplication()
getApplication in interface IServerDeploymentGroup@Stability(value=Stable) @NotNull public IServerDeploymentConfig getDeploymentConfig()
getDeploymentConfig in interface IServerDeploymentGroup@Stability(value=Stable) @NotNull public String getDeploymentGroupArn()
getDeploymentGroupArn in interface IServerDeploymentGroup@Stability(value=Stable) @NotNull public String getDeploymentGroupName()
getDeploymentGroupName in interface IServerDeploymentGroup@Stability(value=Stable) @Nullable public List<AutoScalingGroup> getAutoScalingGroups()
getAutoScalingGroups in interface IServerDeploymentGroup@Stability(value=Stable) @Nullable public IRole getRole()
getRole in interface IServerDeploymentGroupCopyright © 2020. All rights reserved.