@Generated(value="jsii-pacmak/0.19.0 (build 7c562bc)", date="2019-10-15T12:37:28.462Z") @Stability(value=Stable) public class ServerDeploymentGroup extends software.amazon.awscdk.core.Resource implements IServerDeploymentGroup
software.amazon.jsii.JsiiObject.InitializationModeIServerDeploymentGroup.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
|
ServerDeploymentGroup(software.amazon.awscdk.core.Construct scope,
String id) |
|
ServerDeploymentGroup(software.amazon.awscdk.core.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(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.core.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<software.amazon.awscdk.services.autoscaling.AutoScalingGroup> |
getAutoScalingGroups() |
IServerDeploymentConfig |
getDeploymentConfig() |
String |
getDeploymentGroupArn() |
String |
getDeploymentGroupName() |
software.amazon.awscdk.services.iam.IRole |
getRole() |
generatePhysicalName, getPhysicalName, getResourceArnAttribute, getResourceNameAttribute, getStackgetNode, isConstruct, prepare, synthesize, toString, validatejsiiAsyncCall, jsiiCall, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticGet, jsiiStaticSet, setObjRefprotected ServerDeploymentGroup(software.amazon.jsii.JsiiObjectRef objRef)
protected ServerDeploymentGroup(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
public ServerDeploymentGroup(software.amazon.awscdk.core.Construct scope,
String id,
ServerDeploymentGroupProps props)
scope - This parameter is required.id - This parameter is required.props - @Stability(value=Stable)
public ServerDeploymentGroup(software.amazon.awscdk.core.Construct scope,
String id)
scope - This parameter is required.id - This parameter is required.@Stability(value=Stable) public static IServerDeploymentGroup fromServerDeploymentGroupAttributes(software.amazon.awscdk.core.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(software.amazon.awscdk.services.cloudwatch.IAlarm alarm)
alarm - the alarm to associate with this Deployment Group. This parameter is required.@Stability(value=Stable) 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. 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<software.amazon.awscdk.services.autoscaling.AutoScalingGroup> getAutoScalingGroups()
getAutoScalingGroups in interface IServerDeploymentGroup@Stability(value=Stable) public software.amazon.awscdk.services.iam.IRole getRole()
getRole in interface IServerDeploymentGroupCopyright © 2019. All rights reserved.