@Generated(value="jsii-pacmak/0.11.3 (build 464b8c6)", date="2019-06-19T15:19:43.962Z") @Stability(value=Experimental) public class ServerDeploymentGroup extends software.amazon.awscdk.Resource implements IServerDeploymentGroup
software.amazon.jsii.JsiiObject.InitializationModeIServerDeploymentGroup.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
|
ServerDeploymentGroup(software.amazon.awscdk.Construct scope,
String id)
EXPERIMENTAL
|
|
ServerDeploymentGroup(software.amazon.awscdk.Construct scope,
String id,
ServerDeploymentGroupProps props)
EXPERIMENTAL
|
protected |
ServerDeploymentGroup(software.amazon.jsii.JsiiObject.InitializationMode mode) |
| Modifier and Type | Method and Description |
|---|---|
void |
addAlarm(software.amazon.awscdk.services.cloudwatch.IAlarm alarm)
Associates an additional alarm with this Deployment Group.
|
void |
addAutoScalingGroup(software.amazon.awscdk.services.autoscaling.AutoScalingGroup asg)
Adds an additional auto-scaling group to this Deployment Group.
|
static IServerDeploymentGroup |
fromServerDeploymentGroupAttributes(software.amazon.awscdk.Construct scope,
String id,
ServerDeploymentGroupAttributes attrs)
Import an EC2/on-premise Deployment Group defined either outside the CDK, or in a different CDK Stack and exported using the
#export method. |
IServerApplication |
getApplication()
EXPERIMENTAL
|
List<software.amazon.awscdk.services.autoscaling.AutoScalingGroup> |
getAutoScalingGroups()
EXPERIMENTAL
|
IServerDeploymentConfig |
getDeploymentConfig()
EXPERIMENTAL
|
String |
getDeploymentGroupArn()
EXPERIMENTAL
|
String |
getDeploymentGroupName()
EXPERIMENTAL
|
software.amazon.awscdk.services.iam.IRole |
getRole()
EXPERIMENTAL
|
getNode, isConstruct, prepare, synthesize, toString, validatejsiiAsyncCall, jsiiCall, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticGet, jsiiStaticSetprotected ServerDeploymentGroup(software.amazon.jsii.JsiiObject.InitializationMode mode)
@Stability(value=Experimental)
public ServerDeploymentGroup(software.amazon.awscdk.Construct scope,
String id,
@Nullable
ServerDeploymentGroupProps props)
@Stability(value=Experimental)
public ServerDeploymentGroup(software.amazon.awscdk.Construct scope,
String id)
@Stability(value=Experimental) public static IServerDeploymentGroup fromServerDeploymentGroupAttributes(software.amazon.awscdk.Construct scope, String id, ServerDeploymentGroupAttributes attrs)
#export method.
EXPERIMENTALscope - the parent Construct for this new Construct.id - the logical ID of this new Construct.attrs - the properties of the referenced Deployment Group.@Stability(value=Experimental) public void addAlarm(software.amazon.awscdk.services.cloudwatch.IAlarm alarm)
alarm - the alarm to associate with this Deployment Group.@Stability(value=Experimental) public void addAutoScalingGroup(software.amazon.awscdk.services.autoscaling.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.@Stability(value=Experimental) public IServerApplication getApplication()
getApplication in interface IServerDeploymentGroup@Stability(value=Experimental) public IServerDeploymentConfig getDeploymentConfig()
getDeploymentConfig in interface IServerDeploymentGroup@Stability(value=Experimental) public String getDeploymentGroupArn()
getDeploymentGroupArn in interface IServerDeploymentGroup@Stability(value=Experimental) public String getDeploymentGroupName()
getDeploymentGroupName in interface IServerDeploymentGroup@Stability(value=Experimental) @Nullable public List<software.amazon.awscdk.services.autoscaling.AutoScalingGroup> getAutoScalingGroups()
getAutoScalingGroups in interface IServerDeploymentGroup@Stability(value=Experimental) @Nullable public software.amazon.awscdk.services.iam.IRole getRole()
getRole in interface IServerDeploymentGroupCopyright © 2019. All rights reserved.