@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateDeploymentGroupRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Represents the input of a CreateDeploymentGroup
operation.
NOOP
Constructor and Description |
---|
CreateDeploymentGroupRequest() |
Modifier and Type | Method and Description |
---|---|
CreateDeploymentGroupRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
AlarmConfiguration |
getAlarmConfiguration()
Information to add about Amazon CloudWatch alarms when the deployment group is created.
|
String |
getApplicationName()
The name of an CodeDeploy application associated with the user or Amazon Web Services account.
|
AutoRollbackConfiguration |
getAutoRollbackConfiguration()
Configuration information for an automatic rollback that is added when a deployment group is created.
|
List<String> |
getAutoScalingGroups()
A list of associated Amazon EC2 Auto Scaling groups.
|
BlueGreenDeploymentConfiguration |
getBlueGreenDeploymentConfiguration()
Information about blue/green deployment options for a deployment group.
|
String |
getDeploymentConfigName()
If specified, the deployment configuration name can be either one of the predefined configurations provided with
CodeDeploy or a custom deployment configuration that you create by calling the create deployment configuration
operation.
|
String |
getDeploymentGroupName()
The name of a new deployment group for the specified application.
|
DeploymentStyle |
getDeploymentStyle()
Information about the type of deployment, in-place or blue/green, that you want to run and whether to route
deployment traffic behind a load balancer.
|
List<EC2TagFilter> |
getEc2TagFilters()
The Amazon EC2 tags on which to filter.
|
EC2TagSet |
getEc2TagSet()
Information about groups of tags applied to Amazon EC2 instances.
|
List<ECSService> |
getEcsServices()
The target Amazon ECS services in the deployment group.
|
LoadBalancerInfo |
getLoadBalancerInfo()
Information about the load balancer used in a deployment.
|
List<TagFilter> |
getOnPremisesInstanceTagFilters()
The on-premises instance tags on which to filter.
|
OnPremisesTagSet |
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 allows CodeDeploy to act on the user's behalf when interacting
with Amazon Web Services services.
|
List<Tag> |
getTags()
The metadata that you apply to CodeDeploy deployment groups to help you organize and categorize them.
|
Boolean |
getTerminationHookEnabled()
This parameter only applies if you are using CodeDeploy with Amazon EC2 Auto Scaling.
|
List<TriggerConfig> |
getTriggerConfigurations()
Information about triggers to create when the deployment group is created.
|
int |
hashCode() |
Boolean |
isTerminationHookEnabled()
This parameter only applies if you are using CodeDeploy with Amazon EC2 Auto Scaling.
|
void |
setAlarmConfiguration(AlarmConfiguration alarmConfiguration)
Information to add about Amazon CloudWatch alarms when the deployment group is created.
|
void |
setApplicationName(String applicationName)
The name of an CodeDeploy application associated with the user or Amazon Web Services account.
|
void |
setAutoRollbackConfiguration(AutoRollbackConfiguration autoRollbackConfiguration)
Configuration information for an automatic rollback that is added when a deployment group is created.
|
void |
setAutoScalingGroups(Collection<String> autoScalingGroups)
A list of associated Amazon EC2 Auto Scaling groups.
|
void |
setBlueGreenDeploymentConfiguration(BlueGreenDeploymentConfiguration blueGreenDeploymentConfiguration)
Information about blue/green deployment options for a deployment group.
|
void |
setDeploymentConfigName(String deploymentConfigName)
If specified, the deployment configuration name can be either one of the predefined configurations provided with
CodeDeploy or a custom deployment configuration that you create by calling the create deployment configuration
operation.
|
void |
setDeploymentGroupName(String deploymentGroupName)
The name of a new deployment group for the specified application.
|
void |
setDeploymentStyle(DeploymentStyle deploymentStyle)
Information about the type of deployment, in-place or blue/green, that you want to run and whether to route
deployment traffic behind a load balancer.
|
void |
setEc2TagFilters(Collection<EC2TagFilter> ec2TagFilters)
The Amazon EC2 tags on which to filter.
|
void |
setEc2TagSet(EC2TagSet ec2TagSet)
Information about groups of tags applied to Amazon EC2 instances.
|
void |
setEcsServices(Collection<ECSService> ecsServices)
The target Amazon ECS services in the deployment group.
|
void |
setLoadBalancerInfo(LoadBalancerInfo loadBalancerInfo)
Information about the load balancer used in a deployment.
|
void |
setOnPremisesInstanceTagFilters(Collection<TagFilter> onPremisesInstanceTagFilters)
The on-premises instance tags on which to filter.
|
void |
setOnPremisesTagSet(OnPremisesTagSet onPremisesTagSet)
Information about groups of tags applied to on-premises instances.
|
void |
setOutdatedInstancesStrategy(String outdatedInstancesStrategy)
Indicates what happens when new Amazon EC2 instances are launched mid-deployment and do not receive the deployed
application revision.
|
void |
setServiceRoleArn(String serviceRoleArn)
A service role Amazon Resource Name (ARN) that allows CodeDeploy to act on the user's behalf when interacting
with Amazon Web Services services.
|
void |
setTags(Collection<Tag> tags)
The metadata that you apply to CodeDeploy deployment groups to help you organize and categorize them.
|
void |
setTerminationHookEnabled(Boolean terminationHookEnabled)
This parameter only applies if you are using CodeDeploy with Amazon EC2 Auto Scaling.
|
void |
setTriggerConfigurations(Collection<TriggerConfig> triggerConfigurations)
Information about triggers to create when the deployment group is created.
|
String |
toString()
Returns a string representation of this object.
|
CreateDeploymentGroupRequest |
withAlarmConfiguration(AlarmConfiguration alarmConfiguration)
Information to add about Amazon CloudWatch alarms when the deployment group is created.
|
CreateDeploymentGroupRequest |
withApplicationName(String applicationName)
The name of an CodeDeploy application associated with the user or Amazon Web Services account.
|
CreateDeploymentGroupRequest |
withAutoRollbackConfiguration(AutoRollbackConfiguration autoRollbackConfiguration)
Configuration information for an automatic rollback that is added when a deployment group is created.
|
CreateDeploymentGroupRequest |
withAutoScalingGroups(Collection<String> autoScalingGroups)
A list of associated Amazon EC2 Auto Scaling groups.
|
CreateDeploymentGroupRequest |
withAutoScalingGroups(String... autoScalingGroups)
A list of associated Amazon EC2 Auto Scaling groups.
|
CreateDeploymentGroupRequest |
withBlueGreenDeploymentConfiguration(BlueGreenDeploymentConfiguration blueGreenDeploymentConfiguration)
Information about blue/green deployment options for a deployment group.
|
CreateDeploymentGroupRequest |
withDeploymentConfigName(String deploymentConfigName)
If specified, the deployment configuration name can be either one of the predefined configurations provided with
CodeDeploy or a custom deployment configuration that you create by calling the create deployment configuration
operation.
|
CreateDeploymentGroupRequest |
withDeploymentGroupName(String deploymentGroupName)
The name of a new deployment group for the specified application.
|
CreateDeploymentGroupRequest |
withDeploymentStyle(DeploymentStyle deploymentStyle)
Information about the type of deployment, in-place or blue/green, that you want to run and whether to route
deployment traffic behind a load balancer.
|
CreateDeploymentGroupRequest |
withEc2TagFilters(Collection<EC2TagFilter> ec2TagFilters)
The Amazon EC2 tags on which to filter.
|
CreateDeploymentGroupRequest |
withEc2TagFilters(EC2TagFilter... ec2TagFilters)
The Amazon EC2 tags on which to filter.
|
CreateDeploymentGroupRequest |
withEc2TagSet(EC2TagSet ec2TagSet)
Information about groups of tags applied to Amazon EC2 instances.
|
CreateDeploymentGroupRequest |
withEcsServices(Collection<ECSService> ecsServices)
The target Amazon ECS services in the deployment group.
|
CreateDeploymentGroupRequest |
withEcsServices(ECSService... ecsServices)
The target Amazon ECS services in the deployment group.
|
CreateDeploymentGroupRequest |
withLoadBalancerInfo(LoadBalancerInfo loadBalancerInfo)
Information about the load balancer used in a deployment.
|
CreateDeploymentGroupRequest |
withOnPremisesInstanceTagFilters(Collection<TagFilter> onPremisesInstanceTagFilters)
The on-premises instance tags on which to filter.
|
CreateDeploymentGroupRequest |
withOnPremisesInstanceTagFilters(TagFilter... onPremisesInstanceTagFilters)
The on-premises instance tags on which to filter.
|
CreateDeploymentGroupRequest |
withOnPremisesTagSet(OnPremisesTagSet onPremisesTagSet)
Information about groups of tags applied to on-premises instances.
|
CreateDeploymentGroupRequest |
withOutdatedInstancesStrategy(OutdatedInstancesStrategy outdatedInstancesStrategy)
Indicates what happens when new Amazon EC2 instances are launched mid-deployment and do not receive the deployed
application revision.
|
CreateDeploymentGroupRequest |
withOutdatedInstancesStrategy(String outdatedInstancesStrategy)
Indicates what happens when new Amazon EC2 instances are launched mid-deployment and do not receive the deployed
application revision.
|
CreateDeploymentGroupRequest |
withServiceRoleArn(String serviceRoleArn)
A service role Amazon Resource Name (ARN) that allows CodeDeploy to act on the user's behalf when interacting
with Amazon Web Services services.
|
CreateDeploymentGroupRequest |
withTags(Collection<Tag> tags)
The metadata that you apply to CodeDeploy deployment groups to help you organize and categorize them.
|
CreateDeploymentGroupRequest |
withTags(Tag... tags)
The metadata that you apply to CodeDeploy deployment groups to help you organize and categorize them.
|
CreateDeploymentGroupRequest |
withTerminationHookEnabled(Boolean terminationHookEnabled)
This parameter only applies if you are using CodeDeploy with Amazon EC2 Auto Scaling.
|
CreateDeploymentGroupRequest |
withTriggerConfigurations(Collection<TriggerConfig> triggerConfigurations)
Information about triggers to create when the deployment group is created.
|
CreateDeploymentGroupRequest |
withTriggerConfigurations(TriggerConfig... triggerConfigurations)
Information about triggers to create when the deployment group is created.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setApplicationName(String applicationName)
The name of an CodeDeploy application associated with the user or Amazon Web Services account.
applicationName
- The name of an CodeDeploy application associated with the user or Amazon Web Services account.public String getApplicationName()
The name of an CodeDeploy application associated with the user or Amazon Web Services account.
public CreateDeploymentGroupRequest withApplicationName(String applicationName)
The name of an CodeDeploy application associated with the user or Amazon Web Services account.
applicationName
- The name of an CodeDeploy application associated with the user or Amazon Web Services account.public void setDeploymentGroupName(String deploymentGroupName)
The name of a new deployment group for the specified application.
deploymentGroupName
- The name of a new deployment group for the specified application.public String getDeploymentGroupName()
The name of a new deployment group for the specified application.
public CreateDeploymentGroupRequest withDeploymentGroupName(String deploymentGroupName)
The name of a new deployment group for the specified application.
deploymentGroupName
- The name of a new deployment group for the specified application.public void setDeploymentConfigName(String deploymentConfigName)
If specified, the deployment configuration name can be either one of the predefined configurations provided with CodeDeploy or a custom deployment configuration that you create by calling the create deployment configuration operation.
CodeDeployDefault.OneAtATime
is the default deployment configuration. It is used if a configuration
isn't specified for the deployment or deployment group.
For more information about the predefined deployment configurations in CodeDeploy, see Working with Deployment Configurations in CodeDeploy in the CodeDeploy User Guide.
deploymentConfigName
- If specified, the deployment configuration name can be either one of the predefined configurations
provided with CodeDeploy or a custom deployment configuration that you create by calling the create
deployment configuration operation.
CodeDeployDefault.OneAtATime
is the default deployment configuration. It is used if a
configuration isn't specified for the deployment or deployment group.
For more information about the predefined deployment configurations in CodeDeploy, see Working with Deployment Configurations in CodeDeploy in the CodeDeploy User Guide.
public String getDeploymentConfigName()
If specified, the deployment configuration name can be either one of the predefined configurations provided with CodeDeploy or a custom deployment configuration that you create by calling the create deployment configuration operation.
CodeDeployDefault.OneAtATime
is the default deployment configuration. It is used if a configuration
isn't specified for the deployment or deployment group.
For more information about the predefined deployment configurations in CodeDeploy, see Working with Deployment Configurations in CodeDeploy in the CodeDeploy User Guide.
CodeDeployDefault.OneAtATime
is the default deployment configuration. It is used if a
configuration isn't specified for the deployment or deployment group.
For more information about the predefined deployment configurations in CodeDeploy, see Working with Deployment Configurations in CodeDeploy in the CodeDeploy User Guide.
public CreateDeploymentGroupRequest withDeploymentConfigName(String deploymentConfigName)
If specified, the deployment configuration name can be either one of the predefined configurations provided with CodeDeploy or a custom deployment configuration that you create by calling the create deployment configuration operation.
CodeDeployDefault.OneAtATime
is the default deployment configuration. It is used if a configuration
isn't specified for the deployment or deployment group.
For more information about the predefined deployment configurations in CodeDeploy, see Working with Deployment Configurations in CodeDeploy in the CodeDeploy User Guide.
deploymentConfigName
- If specified, the deployment configuration name can be either one of the predefined configurations
provided with CodeDeploy or a custom deployment configuration that you create by calling the create
deployment configuration operation.
CodeDeployDefault.OneAtATime
is the default deployment configuration. It is used if a
configuration isn't specified for the deployment or deployment group.
For more information about the predefined deployment configurations in CodeDeploy, see Working with Deployment Configurations in CodeDeploy in the CodeDeploy User Guide.
public List<EC2TagFilter> getEc2TagFilters()
The Amazon EC2 tags on which to filter. The deployment group includes Amazon EC2 instances with any of the specified tags. Cannot be used in the same call as ec2TagSet.
public void setEc2TagFilters(Collection<EC2TagFilter> ec2TagFilters)
The Amazon EC2 tags on which to filter. The deployment group includes Amazon EC2 instances with any of the specified tags. Cannot be used in the same call as ec2TagSet.
ec2TagFilters
- The Amazon EC2 tags on which to filter. The deployment group includes Amazon EC2 instances with any of the
specified tags. Cannot be used in the same call as ec2TagSet.public CreateDeploymentGroupRequest withEc2TagFilters(EC2TagFilter... ec2TagFilters)
The Amazon EC2 tags on which to filter. The deployment group includes Amazon EC2 instances with any of the specified tags. Cannot be used in the same call as ec2TagSet.
NOTE: This method appends the values to the existing list (if any). Use
setEc2TagFilters(java.util.Collection)
or withEc2TagFilters(java.util.Collection)
if you want
to override the existing values.
ec2TagFilters
- The Amazon EC2 tags on which to filter. The deployment group includes Amazon EC2 instances with any of the
specified tags. Cannot be used in the same call as ec2TagSet.public CreateDeploymentGroupRequest withEc2TagFilters(Collection<EC2TagFilter> ec2TagFilters)
The Amazon EC2 tags on which to filter. The deployment group includes Amazon EC2 instances with any of the specified tags. Cannot be used in the same call as ec2TagSet.
ec2TagFilters
- The Amazon EC2 tags on which to filter. The deployment group includes Amazon EC2 instances with any of the
specified tags. Cannot be used in the same call as ec2TagSet.public List<TagFilter> getOnPremisesInstanceTagFilters()
The on-premises instance tags on which to filter. The deployment group includes on-premises instances with any of
the specified tags. Cannot be used in the same call as OnPremisesTagSet
.
OnPremisesTagSet
.public void setOnPremisesInstanceTagFilters(Collection<TagFilter> onPremisesInstanceTagFilters)
The on-premises instance tags on which to filter. The deployment group includes on-premises instances with any of
the specified tags. Cannot be used in the same call as OnPremisesTagSet
.
onPremisesInstanceTagFilters
- The on-premises instance tags on which to filter. The deployment group includes on-premises instances with
any of the specified tags. Cannot be used in the same call as OnPremisesTagSet
.public CreateDeploymentGroupRequest withOnPremisesInstanceTagFilters(TagFilter... onPremisesInstanceTagFilters)
The on-premises instance tags on which to filter. The deployment group includes on-premises instances with any of
the specified tags. Cannot be used in the same call as OnPremisesTagSet
.
NOTE: This method appends the values to the existing list (if any). Use
setOnPremisesInstanceTagFilters(java.util.Collection)
or
withOnPremisesInstanceTagFilters(java.util.Collection)
if you want to override the existing values.
onPremisesInstanceTagFilters
- The on-premises instance tags on which to filter. The deployment group includes on-premises instances with
any of the specified tags. Cannot be used in the same call as OnPremisesTagSet
.public CreateDeploymentGroupRequest withOnPremisesInstanceTagFilters(Collection<TagFilter> onPremisesInstanceTagFilters)
The on-premises instance tags on which to filter. The deployment group includes on-premises instances with any of
the specified tags. Cannot be used in the same call as OnPremisesTagSet
.
onPremisesInstanceTagFilters
- The on-premises instance tags on which to filter. The deployment group includes on-premises instances with
any of the specified tags. Cannot be used in the same call as OnPremisesTagSet
.public List<String> getAutoScalingGroups()
A list of associated Amazon EC2 Auto Scaling groups.
public void setAutoScalingGroups(Collection<String> autoScalingGroups)
A list of associated Amazon EC2 Auto Scaling groups.
autoScalingGroups
- A list of associated Amazon EC2 Auto Scaling groups.public CreateDeploymentGroupRequest withAutoScalingGroups(String... autoScalingGroups)
A list of associated Amazon EC2 Auto Scaling groups.
NOTE: This method appends the values to the existing list (if any). Use
setAutoScalingGroups(java.util.Collection)
or withAutoScalingGroups(java.util.Collection)
if
you want to override the existing values.
autoScalingGroups
- A list of associated Amazon EC2 Auto Scaling groups.public CreateDeploymentGroupRequest withAutoScalingGroups(Collection<String> autoScalingGroups)
A list of associated Amazon EC2 Auto Scaling groups.
autoScalingGroups
- A list of associated Amazon EC2 Auto Scaling groups.public void setServiceRoleArn(String serviceRoleArn)
A service role Amazon Resource Name (ARN) that allows CodeDeploy to act on the user's behalf when interacting with Amazon Web Services services.
serviceRoleArn
- A service role Amazon Resource Name (ARN) that allows CodeDeploy to act on the user's behalf when
interacting with Amazon Web Services services.public String getServiceRoleArn()
A service role Amazon Resource Name (ARN) that allows CodeDeploy to act on the user's behalf when interacting with Amazon Web Services services.
public CreateDeploymentGroupRequest withServiceRoleArn(String serviceRoleArn)
A service role Amazon Resource Name (ARN) that allows CodeDeploy to act on the user's behalf when interacting with Amazon Web Services services.
serviceRoleArn
- A service role Amazon Resource Name (ARN) that allows CodeDeploy to act on the user's behalf when
interacting with Amazon Web Services services.public List<TriggerConfig> getTriggerConfigurations()
Information about triggers to create when the deployment group is created. For examples, see Create a Trigger for an CodeDeploy Event in the CodeDeploy User Guide.
public void setTriggerConfigurations(Collection<TriggerConfig> triggerConfigurations)
Information about triggers to create when the deployment group is created. For examples, see Create a Trigger for an CodeDeploy Event in the CodeDeploy User Guide.
triggerConfigurations
- Information about triggers to create when the deployment group is created. For examples, see Create a Trigger for
an CodeDeploy Event in the CodeDeploy User Guide.public CreateDeploymentGroupRequest withTriggerConfigurations(TriggerConfig... triggerConfigurations)
Information about triggers to create when the deployment group is created. For examples, see Create a Trigger for an CodeDeploy Event in the CodeDeploy User Guide.
NOTE: This method appends the values to the existing list (if any). Use
setTriggerConfigurations(java.util.Collection)
or
withTriggerConfigurations(java.util.Collection)
if you want to override the existing values.
triggerConfigurations
- Information about triggers to create when the deployment group is created. For examples, see Create a Trigger for
an CodeDeploy Event in the CodeDeploy User Guide.public CreateDeploymentGroupRequest withTriggerConfigurations(Collection<TriggerConfig> triggerConfigurations)
Information about triggers to create when the deployment group is created. For examples, see Create a Trigger for an CodeDeploy Event in the CodeDeploy User Guide.
triggerConfigurations
- Information about triggers to create when the deployment group is created. For examples, see Create a Trigger for
an CodeDeploy Event in the CodeDeploy User Guide.public void setAlarmConfiguration(AlarmConfiguration alarmConfiguration)
Information to add about Amazon CloudWatch alarms when the deployment group is created.
alarmConfiguration
- Information to add about Amazon CloudWatch alarms when the deployment group is created.public AlarmConfiguration getAlarmConfiguration()
Information to add about Amazon CloudWatch alarms when the deployment group is created.
public CreateDeploymentGroupRequest withAlarmConfiguration(AlarmConfiguration alarmConfiguration)
Information to add about Amazon CloudWatch alarms when the deployment group is created.
alarmConfiguration
- Information to add about Amazon CloudWatch alarms when the deployment group is created.public void setAutoRollbackConfiguration(AutoRollbackConfiguration autoRollbackConfiguration)
Configuration information for an automatic rollback that is added when a deployment group is created.
autoRollbackConfiguration
- Configuration information for an automatic rollback that is added when a deployment group is created.public AutoRollbackConfiguration getAutoRollbackConfiguration()
Configuration information for an automatic rollback that is added when a deployment group is created.
public CreateDeploymentGroupRequest withAutoRollbackConfiguration(AutoRollbackConfiguration autoRollbackConfiguration)
Configuration information for an automatic rollback that is added when a deployment group is created.
autoRollbackConfiguration
- Configuration information for an automatic rollback that is added when a deployment group is created.public void setOutdatedInstancesStrategy(String outdatedInstancesStrategy)
Indicates what happens when new Amazon EC2 instances are launched mid-deployment and do not receive the deployed application revision.
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.
outdatedInstancesStrategy
- Indicates what happens when new Amazon EC2 instances are launched mid-deployment and do not receive the
deployed application revision.
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.
OutdatedInstancesStrategy
public String getOutdatedInstancesStrategy()
Indicates what happens when new Amazon EC2 instances are launched mid-deployment and do not receive the deployed application revision.
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.
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.
OutdatedInstancesStrategy
public CreateDeploymentGroupRequest withOutdatedInstancesStrategy(String outdatedInstancesStrategy)
Indicates what happens when new Amazon EC2 instances are launched mid-deployment and do not receive the deployed application revision.
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.
outdatedInstancesStrategy
- Indicates what happens when new Amazon EC2 instances are launched mid-deployment and do not receive the
deployed application revision.
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.
OutdatedInstancesStrategy
public CreateDeploymentGroupRequest withOutdatedInstancesStrategy(OutdatedInstancesStrategy outdatedInstancesStrategy)
Indicates what happens when new Amazon EC2 instances are launched mid-deployment and do not receive the deployed application revision.
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.
outdatedInstancesStrategy
- Indicates what happens when new Amazon EC2 instances are launched mid-deployment and do not receive the
deployed application revision.
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.
OutdatedInstancesStrategy
public void setDeploymentStyle(DeploymentStyle deploymentStyle)
Information about the type of deployment, in-place or blue/green, that you want to run and whether to route deployment traffic behind a load balancer.
deploymentStyle
- Information about the type of deployment, in-place or blue/green, that you want to run and whether to
route deployment traffic behind a load balancer.public DeploymentStyle getDeploymentStyle()
Information about the type of deployment, in-place or blue/green, that you want to run and whether to route deployment traffic behind a load balancer.
public CreateDeploymentGroupRequest withDeploymentStyle(DeploymentStyle deploymentStyle)
Information about the type of deployment, in-place or blue/green, that you want to run and whether to route deployment traffic behind a load balancer.
deploymentStyle
- Information about the type of deployment, in-place or blue/green, that you want to run and whether to
route deployment traffic behind a load balancer.public void setBlueGreenDeploymentConfiguration(BlueGreenDeploymentConfiguration blueGreenDeploymentConfiguration)
Information about blue/green deployment options for a deployment group.
blueGreenDeploymentConfiguration
- Information about blue/green deployment options for a deployment group.public BlueGreenDeploymentConfiguration getBlueGreenDeploymentConfiguration()
Information about blue/green deployment options for a deployment group.
public CreateDeploymentGroupRequest withBlueGreenDeploymentConfiguration(BlueGreenDeploymentConfiguration blueGreenDeploymentConfiguration)
Information about blue/green deployment options for a deployment group.
blueGreenDeploymentConfiguration
- Information about blue/green deployment options for a deployment group.public void setLoadBalancerInfo(LoadBalancerInfo loadBalancerInfo)
Information about the load balancer used in a deployment.
loadBalancerInfo
- Information about the load balancer used in a deployment.public LoadBalancerInfo getLoadBalancerInfo()
Information about the load balancer used in a deployment.
public CreateDeploymentGroupRequest withLoadBalancerInfo(LoadBalancerInfo loadBalancerInfo)
Information about the load balancer used in a deployment.
loadBalancerInfo
- Information about the load balancer used in a deployment.public void setEc2TagSet(EC2TagSet ec2TagSet)
Information about groups of tags applied to Amazon EC2 instances. The deployment group includes only Amazon EC2
instances identified by all the tag groups. Cannot be used in the same call as ec2TagFilters
.
ec2TagSet
- Information about groups of tags applied to Amazon EC2 instances. The deployment group includes only
Amazon EC2 instances identified by all the tag groups. Cannot be used in the same call as
ec2TagFilters
.public EC2TagSet getEc2TagSet()
Information about groups of tags applied to Amazon EC2 instances. The deployment group includes only Amazon EC2
instances identified by all the tag groups. Cannot be used in the same call as ec2TagFilters
.
ec2TagFilters
.public CreateDeploymentGroupRequest withEc2TagSet(EC2TagSet ec2TagSet)
Information about groups of tags applied to Amazon EC2 instances. The deployment group includes only Amazon EC2
instances identified by all the tag groups. Cannot be used in the same call as ec2TagFilters
.
ec2TagSet
- Information about groups of tags applied to Amazon EC2 instances. The deployment group includes only
Amazon EC2 instances identified by all the tag groups. Cannot be used in the same call as
ec2TagFilters
.public List<ECSService> getEcsServices()
The target Amazon ECS services in the deployment group. 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>
.
<clustername>:<servicename>
.public void setEcsServices(Collection<ECSService> ecsServices)
The target Amazon ECS services in the deployment group. 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>
.
ecsServices
- The target Amazon ECS services in the deployment group. 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>
.public CreateDeploymentGroupRequest withEcsServices(ECSService... ecsServices)
The target Amazon ECS services in the deployment group. 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>
.
NOTE: This method appends the values to the existing list (if any). Use
setEcsServices(java.util.Collection)
or withEcsServices(java.util.Collection)
if you want to
override the existing values.
ecsServices
- The target Amazon ECS services in the deployment group. 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>
.public CreateDeploymentGroupRequest withEcsServices(Collection<ECSService> ecsServices)
The target Amazon ECS services in the deployment group. 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>
.
ecsServices
- The target Amazon ECS services in the deployment group. 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>
.public void setOnPremisesTagSet(OnPremisesTagSet onPremisesTagSet)
Information about groups of tags applied to on-premises instances. The deployment group includes only on-premises
instances identified by all of the tag groups. Cannot be used in the same call as
onPremisesInstanceTagFilters
.
onPremisesTagSet
- Information about groups of tags applied to on-premises instances. The deployment group includes only
on-premises instances identified by all of the tag groups. Cannot be used in the same call as
onPremisesInstanceTagFilters
.public OnPremisesTagSet getOnPremisesTagSet()
Information about groups of tags applied to on-premises instances. The deployment group includes only on-premises
instances identified by all of the tag groups. Cannot be used in the same call as
onPremisesInstanceTagFilters
.
onPremisesInstanceTagFilters
.public CreateDeploymentGroupRequest withOnPremisesTagSet(OnPremisesTagSet onPremisesTagSet)
Information about groups of tags applied to on-premises instances. The deployment group includes only on-premises
instances identified by all of the tag groups. Cannot be used in the same call as
onPremisesInstanceTagFilters
.
onPremisesTagSet
- Information about groups of tags applied to on-premises instances. The deployment group includes only
on-premises instances identified by all of the tag groups. Cannot be used in the same call as
onPremisesInstanceTagFilters
.public List<Tag> getTags()
The metadata that you apply to CodeDeploy deployment groups to help you organize and categorize them. Each tag consists of a key and an optional value, both of which you define.
public void setTags(Collection<Tag> tags)
The metadata that you apply to CodeDeploy deployment groups to help you organize and categorize them. Each tag consists of a key and an optional value, both of which you define.
tags
- The metadata that you apply to CodeDeploy deployment groups to help you organize and categorize them. Each
tag consists of a key and an optional value, both of which you define.public CreateDeploymentGroupRequest withTags(Tag... tags)
The metadata that you apply to CodeDeploy deployment groups to help you organize and categorize them. Each tag consists of a key and an optional value, both of which you define.
NOTE: This method appends the values to the existing list (if any). Use
setTags(java.util.Collection)
or withTags(java.util.Collection)
if you want to override the
existing values.
tags
- The metadata that you apply to CodeDeploy deployment groups to help you organize and categorize them. Each
tag consists of a key and an optional value, both of which you define.public CreateDeploymentGroupRequest withTags(Collection<Tag> tags)
The metadata that you apply to CodeDeploy deployment groups to help you organize and categorize them. Each tag consists of a key and an optional value, both of which you define.
tags
- The metadata that you apply to CodeDeploy deployment groups to help you organize and categorize them. Each
tag consists of a key and an optional value, both of which you define.public void setTerminationHookEnabled(Boolean terminationHookEnabled)
This parameter only applies if you are using CodeDeploy with Amazon EC2 Auto Scaling. For more information, see Integrating CodeDeploy with Amazon EC2 Auto Scaling in the CodeDeploy User Guide.
Set terminationHookEnabled
to true
to have CodeDeploy install a termination hook into
your Auto Scaling group when you create a deployment group. When this hook is installed, CodeDeploy will perform
termination deployments.
For information about termination deployments, see Enabling termination deployments during Auto Scaling scale-in events in the CodeDeploy User Guide.
For more information about Auto Scaling scale-in events, see the Scale in topic in the Amazon EC2 Auto Scaling User Guide.
terminationHookEnabled
- This parameter only applies if you are using CodeDeploy with Amazon EC2 Auto Scaling. For more
information, see Integrating CodeDeploy with Amazon EC2 Auto Scaling in the CodeDeploy User Guide.
Set terminationHookEnabled
to true
to have CodeDeploy install a termination hook
into your Auto Scaling group when you create a deployment group. When this hook is installed, CodeDeploy
will perform termination deployments.
For information about termination deployments, see Enabling termination deployments during Auto Scaling scale-in events in the CodeDeploy User Guide.
For more information about Auto Scaling scale-in events, see the Scale in topic in the Amazon EC2 Auto Scaling User Guide.
public Boolean getTerminationHookEnabled()
This parameter only applies if you are using CodeDeploy with Amazon EC2 Auto Scaling. For more information, see Integrating CodeDeploy with Amazon EC2 Auto Scaling in the CodeDeploy User Guide.
Set terminationHookEnabled
to true
to have CodeDeploy install a termination hook into
your Auto Scaling group when you create a deployment group. When this hook is installed, CodeDeploy will perform
termination deployments.
For information about termination deployments, see Enabling termination deployments during Auto Scaling scale-in events in the CodeDeploy User Guide.
For more information about Auto Scaling scale-in events, see the Scale in topic in the Amazon EC2 Auto Scaling User Guide.
Set terminationHookEnabled
to true
to have CodeDeploy install a termination
hook into your Auto Scaling group when you create a deployment group. When this hook is installed,
CodeDeploy will perform termination deployments.
For information about termination deployments, see Enabling termination deployments during Auto Scaling scale-in events in the CodeDeploy User Guide.
For more information about Auto Scaling scale-in events, see the Scale in topic in the Amazon EC2 Auto Scaling User Guide.
public CreateDeploymentGroupRequest withTerminationHookEnabled(Boolean terminationHookEnabled)
This parameter only applies if you are using CodeDeploy with Amazon EC2 Auto Scaling. For more information, see Integrating CodeDeploy with Amazon EC2 Auto Scaling in the CodeDeploy User Guide.
Set terminationHookEnabled
to true
to have CodeDeploy install a termination hook into
your Auto Scaling group when you create a deployment group. When this hook is installed, CodeDeploy will perform
termination deployments.
For information about termination deployments, see Enabling termination deployments during Auto Scaling scale-in events in the CodeDeploy User Guide.
For more information about Auto Scaling scale-in events, see the Scale in topic in the Amazon EC2 Auto Scaling User Guide.
terminationHookEnabled
- This parameter only applies if you are using CodeDeploy with Amazon EC2 Auto Scaling. For more
information, see Integrating CodeDeploy with Amazon EC2 Auto Scaling in the CodeDeploy User Guide.
Set terminationHookEnabled
to true
to have CodeDeploy install a termination hook
into your Auto Scaling group when you create a deployment group. When this hook is installed, CodeDeploy
will perform termination deployments.
For information about termination deployments, see Enabling termination deployments during Auto Scaling scale-in events in the CodeDeploy User Guide.
For more information about Auto Scaling scale-in events, see the Scale in topic in the Amazon EC2 Auto Scaling User Guide.
public Boolean isTerminationHookEnabled()
This parameter only applies if you are using CodeDeploy with Amazon EC2 Auto Scaling. For more information, see Integrating CodeDeploy with Amazon EC2 Auto Scaling in the CodeDeploy User Guide.
Set terminationHookEnabled
to true
to have CodeDeploy install a termination hook into
your Auto Scaling group when you create a deployment group. When this hook is installed, CodeDeploy will perform
termination deployments.
For information about termination deployments, see Enabling termination deployments during Auto Scaling scale-in events in the CodeDeploy User Guide.
For more information about Auto Scaling scale-in events, see the Scale in topic in the Amazon EC2 Auto Scaling User Guide.
Set terminationHookEnabled
to true
to have CodeDeploy install a termination
hook into your Auto Scaling group when you create a deployment group. When this hook is installed,
CodeDeploy will perform termination deployments.
For information about termination deployments, see Enabling termination deployments during Auto Scaling scale-in events in the CodeDeploy User Guide.
For more information about Auto Scaling scale-in events, see the Scale in topic in the Amazon EC2 Auto Scaling User Guide.
public String toString()
toString
in class Object
Object.toString()
public CreateDeploymentGroupRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()