@Stability(value=Stable) @Internal public static final class CfnDeploymentGroupProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CfnDeploymentGroupProps
CfnDeploymentGroupProps
software.amazon.jsii.JsiiObject.InitializationMode
CfnDeploymentGroupProps.Builder, CfnDeploymentGroupProps.Jsii$Proxy
Modifier | Constructor and Description |
---|---|
protected |
Jsii$Proxy(CfnDeploymentGroupProps.Builder builder)
Constructor that initializes the object based on literal property values passed by the
CfnDeploymentGroupProps.Builder . |
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
Modifier and Type | Method and Description |
---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(Object o) |
Object |
getAlarmConfiguration()
Information about the Amazon CloudWatch alarms that are associated with the deployment group.
|
String |
getApplicationName()
The name of an existing CodeDeploy application to associate this deployment group with.
|
Object |
getAutoRollbackConfiguration()
Information about the automatic rollback configuration that is associated with the deployment group.
|
List<String> |
getAutoScalingGroups()
A list of associated Auto Scaling groups that CodeDeploy automatically deploys revisions to when new instances are created.
|
Object |
getBlueGreenDeploymentConfiguration()
Information about blue/green deployment options for a deployment group.
|
Object |
getDeployment()
The application revision to deploy to this deployment group.
|
String |
getDeploymentConfigName()
A deployment configuration name or a predefined configuration name.
|
String |
getDeploymentGroupName()
A name for the deployment group.
|
Object |
getDeploymentStyle()
Attributes that determine the type of deployment to run and whether to route deployment traffic behind a load balancer.
|
Object |
getEc2TagFilters()
The Amazon EC2 tags that are already applied to Amazon EC2 instances that you want to include in the deployment group.
|
Object |
getEc2TagSet()
Information about groups of tags applied to Amazon EC2 instances.
|
Object |
getEcsServices()
The target Amazon ECS services in the deployment group.
|
Object |
getLoadBalancerInfo()
Information about the load balancer to use in a deployment.
|
Object |
getOnPremisesInstanceTagFilters()
The on-premises instance tags already applied to on-premises instances that you want to include in the deployment group.
|
Object |
getOnPremisesTagSet()
Information about groups of tags applied to on-premises instances.
|
String |
getOutdatedInstancesStrategy()
Indicates what happens when new Amazon EC2 instances are launched mid-deployment and do not receive the deployed application revision.
|
String |
getServiceRoleArn()
A service role Amazon Resource Name (ARN) that grants CodeDeploy permission to make calls to AWS services on your behalf.
|
List<CfnTag> |
getTags()
The metadata that you apply to CodeDeploy deployment groups to help you organize and categorize them.
|
Object |
getTriggerConfigurations()
Information about triggers associated with the deployment group.
|
int |
hashCode() |
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
builder
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef
- Reference to the JSII managed object.protected Jsii$Proxy(CfnDeploymentGroupProps.Builder builder)
CfnDeploymentGroupProps.Builder
.public final String getApplicationName()
CfnDeploymentGroupProps
getApplicationName
in interface CfnDeploymentGroupProps
public final String getServiceRoleArn()
CfnDeploymentGroupProps
For more information, see Create a Service Role for AWS CodeDeploy in the AWS CodeDeploy User Guide .
In some cases, you might need to add a dependency on the service role's policy. For more information, see IAM role policy in DependsOn Attribute .
getServiceRoleArn
in interface CfnDeploymentGroupProps
public final Object getAlarmConfiguration()
CfnDeploymentGroupProps
getAlarmConfiguration
in interface CfnDeploymentGroupProps
public final Object getAutoRollbackConfiguration()
CfnDeploymentGroupProps
If you specify this property, don't specify the Deployment
property.
getAutoRollbackConfiguration
in interface CfnDeploymentGroupProps
public final List<String> getAutoScalingGroups()
CfnDeploymentGroupProps
Duplicates are not allowed.
getAutoScalingGroups
in interface CfnDeploymentGroupProps
public final Object getBlueGreenDeploymentConfiguration()
CfnDeploymentGroupProps
getBlueGreenDeploymentConfiguration
in interface CfnDeploymentGroupProps
public final Object getDeployment()
CfnDeploymentGroupProps
If you specify this property, your target application revision is deployed as soon as the provisioning process is complete. If you specify this property, don't specify the AutoRollbackConfiguration
property.
getDeployment
in interface CfnDeploymentGroupProps
public final String getDeploymentConfigName()
CfnDeploymentGroupProps
With predefined configurations, you can deploy application revisions to one instance at a time ( CodeDeployDefault.OneAtATime
), half of the instances at a time ( CodeDeployDefault.HalfAtATime
), or all the instances at once ( CodeDeployDefault.AllAtOnce
). For more information and valid values, see Working with Deployment Configurations in the AWS CodeDeploy User Guide .
getDeploymentConfigName
in interface CfnDeploymentGroupProps
public final String getDeploymentGroupName()
CfnDeploymentGroupProps
If you don't specify a name, AWS CloudFormation generates a unique physical ID and uses that ID for the deployment group name. For more information, see Name Type .
If you specify a name, you cannot perform updates that require replacement of this resource. You can perform updates that require no or some interruption. If you must replace the resource, specify a new name.
getDeploymentGroupName
in interface CfnDeploymentGroupProps
public final Object getDeploymentStyle()
CfnDeploymentGroupProps
If you specify this property with a blue/green deployment type, don't specify the AutoScalingGroups
, LoadBalancerInfo
, or Deployment
properties.
For blue/green deployments, AWS CloudFormation supports deployments on Lambda compute platforms only. You can perform Amazon ECS blue/green deployments using
AWS::CodeDeploy::BlueGreen
hook. See Perform Amazon ECS blue/green deployments through CodeDeploy using AWS CloudFormation for more information.
getDeploymentStyle
in interface CfnDeploymentGroupProps
public final Object getEc2TagFilters()
CfnDeploymentGroupProps
CodeDeploy includes all Amazon EC2 instances identified by any of the tags you specify in this deployment group. Duplicates are not allowed.
You can specify EC2TagFilters
or Ec2TagSet
, but not both.
getEc2TagFilters
in interface CfnDeploymentGroupProps
public final Object getEc2TagSet()
CfnDeploymentGroupProps
The deployment group includes only Amazon EC2 instances identified by all the tag groups. Cannot be used in the same call as ec2TagFilter
.
getEc2TagSet
in interface CfnDeploymentGroupProps
public final Object getEcsServices()
CfnDeploymentGroupProps
This applies only to deployment groups that use the Amazon ECS compute platform. A target Amazon ECS service is specified as an Amazon ECS cluster and service name pair using the format <clustername>:<servicename>
.
getEcsServices
in interface CfnDeploymentGroupProps
public final Object getLoadBalancerInfo()
CfnDeploymentGroupProps
For more information, see Integrating CodeDeploy with Elastic Load Balancing in the AWS CodeDeploy User Guide .
getLoadBalancerInfo
in interface CfnDeploymentGroupProps
public final Object getOnPremisesInstanceTagFilters()
CfnDeploymentGroupProps
CodeDeploy includes all on-premises instances identified by any of the tags you specify in this deployment group. To register on-premises instances with CodeDeploy , see Working with On-Premises Instances for CodeDeploy in the AWS CodeDeploy User Guide . Duplicates are not allowed.
You can specify OnPremisesInstanceTagFilters
or OnPremisesInstanceTagSet
, but not both.
getOnPremisesInstanceTagFilters
in interface CfnDeploymentGroupProps
public final Object getOnPremisesTagSet()
CfnDeploymentGroupProps
The deployment group includes only on-premises instances identified by all the tag groups.
You can specify OnPremisesInstanceTagFilters
or OnPremisesInstanceTagSet
, but not both.
getOnPremisesTagSet
in interface CfnDeploymentGroupProps
public final String getOutdatedInstancesStrategy()
CfnDeploymentGroupProps
If this option is set to UPDATE
or is unspecified, CodeDeploy initiates one or more 'auto-update outdated instances' deployments to apply the deployed application revision to the new Amazon EC2 instances.
If this option is set to IGNORE
, CodeDeploy does not initiate a deployment to update the new Amazon EC2 instances. This may result in instances having different revisions.
getOutdatedInstancesStrategy
in interface CfnDeploymentGroupProps
public final List<CfnTag> getTags()
CfnDeploymentGroupProps
Each tag consists of a key and an optional value, both of which you define.
getTags
in interface CfnDeploymentGroupProps
public final Object getTriggerConfigurations()
CfnDeploymentGroupProps
Duplicates are not allowed
getTriggerConfigurations
in interface CfnDeploymentGroupProps
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson
in interface software.amazon.jsii.JsiiSerializable
Copyright © 2022. All rights reserved.