JavaScript is disabled on your browser.
Skip navigation links

AWS SDK for Java 1.x API Reference - 1.12.795

We announced the upcoming end-of-support for AWS SDK for Java (v1). We recommend that you migrate to AWS SDK for Java v2. For dates, additional details, and information on how to migrate, please refer to the linked announcement.
com.amazonaws.services.codedeploy.model

Class UpdateDeploymentGroupRequest

    • Constructor Detail

      • UpdateDeploymentGroupRequest

        public UpdateDeploymentGroupRequest()
    • Method Detail

      • setApplicationName

        public void setApplicationName(String applicationName)

        The application name that corresponds to the deployment group to update.

        Parameters:
        applicationName - The application name that corresponds to the deployment group to update.
      • getApplicationName

        public String getApplicationName()

        The application name that corresponds to the deployment group to update.

        Returns:
        The application name that corresponds to the deployment group to update.
      • withApplicationName

        public UpdateDeploymentGroupRequest withApplicationName(String applicationName)

        The application name that corresponds to the deployment group to update.

        Parameters:
        applicationName - The application name that corresponds to the deployment group to update.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setCurrentDeploymentGroupName

        public void setCurrentDeploymentGroupName(String currentDeploymentGroupName)

        The current name of the deployment group.

        Parameters:
        currentDeploymentGroupName - The current name of the deployment group.
      • getCurrentDeploymentGroupName

        public String getCurrentDeploymentGroupName()

        The current name of the deployment group.

        Returns:
        The current name of the deployment group.
      • withCurrentDeploymentGroupName

        public UpdateDeploymentGroupRequest withCurrentDeploymentGroupName(String currentDeploymentGroupName)

        The current name of the deployment group.

        Parameters:
        currentDeploymentGroupName - The current name of the deployment group.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setNewDeploymentGroupName

        public void setNewDeploymentGroupName(String newDeploymentGroupName)

        The new name of the deployment group, if you want to change it.

        Parameters:
        newDeploymentGroupName - The new name of the deployment group, if you want to change it.
      • getNewDeploymentGroupName

        public String getNewDeploymentGroupName()

        The new name of the deployment group, if you want to change it.

        Returns:
        The new name of the deployment group, if you want to change it.
      • withNewDeploymentGroupName

        public UpdateDeploymentGroupRequest withNewDeploymentGroupName(String newDeploymentGroupName)

        The new name of the deployment group, if you want to change it.

        Parameters:
        newDeploymentGroupName - The new name of the deployment group, if you want to change it.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setDeploymentConfigName

        public void setDeploymentConfigName(String deploymentConfigName)

        The replacement deployment configuration name to use, if you want to change it.

        Parameters:
        deploymentConfigName - The replacement deployment configuration name to use, if you want to change it.
      • getDeploymentConfigName

        public String getDeploymentConfigName()

        The replacement deployment configuration name to use, if you want to change it.

        Returns:
        The replacement deployment configuration name to use, if you want to change it.
      • withDeploymentConfigName

        public UpdateDeploymentGroupRequest withDeploymentConfigName(String deploymentConfigName)

        The replacement deployment configuration name to use, if you want to change it.

        Parameters:
        deploymentConfigName - The replacement deployment configuration name to use, if you want to change it.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • getEc2TagFilters

        public List<EC2TagFilter> getEc2TagFilters()

        The replacement set of Amazon EC2 tags on which to filter, if you want to change them. To keep the existing tags, enter their names. To remove tags, do not enter any tag names.

        Returns:
        The replacement set of Amazon EC2 tags on which to filter, if you want to change them. To keep the existing tags, enter their names. To remove tags, do not enter any tag names.
      • setEc2TagFilters

        public void setEc2TagFilters(Collection<EC2TagFilter> ec2TagFilters)

        The replacement set of Amazon EC2 tags on which to filter, if you want to change them. To keep the existing tags, enter their names. To remove tags, do not enter any tag names.

        Parameters:
        ec2TagFilters - The replacement set of Amazon EC2 tags on which to filter, if you want to change them. To keep the existing tags, enter their names. To remove tags, do not enter any tag names.
      • withEc2TagFilters

        public UpdateDeploymentGroupRequest withEc2TagFilters(EC2TagFilter... ec2TagFilters)

        The replacement set of Amazon EC2 tags on which to filter, if you want to change them. To keep the existing tags, enter their names. To remove tags, do not enter any tag names.

        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.

        Parameters:
        ec2TagFilters - The replacement set of Amazon EC2 tags on which to filter, if you want to change them. To keep the existing tags, enter their names. To remove tags, do not enter any tag names.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • withEc2TagFilters

        public UpdateDeploymentGroupRequest withEc2TagFilters(Collection<EC2TagFilter> ec2TagFilters)

        The replacement set of Amazon EC2 tags on which to filter, if you want to change them. To keep the existing tags, enter their names. To remove tags, do not enter any tag names.

        Parameters:
        ec2TagFilters - The replacement set of Amazon EC2 tags on which to filter, if you want to change them. To keep the existing tags, enter their names. To remove tags, do not enter any tag names.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • getOnPremisesInstanceTagFilters

        public List<TagFilter> getOnPremisesInstanceTagFilters()

        The replacement set of on-premises instance tags on which to filter, if you want to change them. To keep the existing tags, enter their names. To remove tags, do not enter any tag names.

        Returns:
        The replacement set of on-premises instance tags on which to filter, if you want to change them. To keep the existing tags, enter their names. To remove tags, do not enter any tag names.
      • setOnPremisesInstanceTagFilters

        public void setOnPremisesInstanceTagFilters(Collection<TagFilter> onPremisesInstanceTagFilters)

        The replacement set of on-premises instance tags on which to filter, if you want to change them. To keep the existing tags, enter their names. To remove tags, do not enter any tag names.

        Parameters:
        onPremisesInstanceTagFilters - The replacement set of on-premises instance tags on which to filter, if you want to change them. To keep the existing tags, enter their names. To remove tags, do not enter any tag names.
      • withOnPremisesInstanceTagFilters

        public UpdateDeploymentGroupRequest withOnPremisesInstanceTagFilters(TagFilter... onPremisesInstanceTagFilters)

        The replacement set of on-premises instance tags on which to filter, if you want to change them. To keep the existing tags, enter their names. To remove tags, do not enter any tag names.

        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.

        Parameters:
        onPremisesInstanceTagFilters - The replacement set of on-premises instance tags on which to filter, if you want to change them. To keep the existing tags, enter their names. To remove tags, do not enter any tag names.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • withOnPremisesInstanceTagFilters

        public UpdateDeploymentGroupRequest withOnPremisesInstanceTagFilters(Collection<TagFilter> onPremisesInstanceTagFilters)

        The replacement set of on-premises instance tags on which to filter, if you want to change them. To keep the existing tags, enter their names. To remove tags, do not enter any tag names.

        Parameters:
        onPremisesInstanceTagFilters - The replacement set of on-premises instance tags on which to filter, if you want to change them. To keep the existing tags, enter their names. To remove tags, do not enter any tag names.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setServiceRoleArn

        public void setServiceRoleArn(String serviceRoleArn)

        A replacement ARN for the service role, if you want to change it.

        Parameters:
        serviceRoleArn - A replacement ARN for the service role, if you want to change it.
      • getServiceRoleArn

        public String getServiceRoleArn()

        A replacement ARN for the service role, if you want to change it.

        Returns:
        A replacement ARN for the service role, if you want to change it.
      • withServiceRoleArn

        public UpdateDeploymentGroupRequest withServiceRoleArn(String serviceRoleArn)

        A replacement ARN for the service role, if you want to change it.

        Parameters:
        serviceRoleArn - A replacement ARN for the service role, if you want to change it.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setAlarmConfiguration

        public void setAlarmConfiguration(AlarmConfiguration alarmConfiguration)

        Information to add or change about Amazon CloudWatch alarms when the deployment group is updated.

        Parameters:
        alarmConfiguration - Information to add or change about Amazon CloudWatch alarms when the deployment group is updated.
      • getAlarmConfiguration

        public AlarmConfiguration getAlarmConfiguration()

        Information to add or change about Amazon CloudWatch alarms when the deployment group is updated.

        Returns:
        Information to add or change about Amazon CloudWatch alarms when the deployment group is updated.
      • withAlarmConfiguration

        public UpdateDeploymentGroupRequest withAlarmConfiguration(AlarmConfiguration alarmConfiguration)

        Information to add or change about Amazon CloudWatch alarms when the deployment group is updated.

        Parameters:
        alarmConfiguration - Information to add or change about Amazon CloudWatch alarms when the deployment group is updated.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setAutoRollbackConfiguration

        public void setAutoRollbackConfiguration(AutoRollbackConfiguration autoRollbackConfiguration)

        Information for an automatic rollback configuration that is added or changed when a deployment group is updated.

        Parameters:
        autoRollbackConfiguration - Information for an automatic rollback configuration that is added or changed when a deployment group is updated.
      • getAutoRollbackConfiguration

        public AutoRollbackConfiguration getAutoRollbackConfiguration()

        Information for an automatic rollback configuration that is added or changed when a deployment group is updated.

        Returns:
        Information for an automatic rollback configuration that is added or changed when a deployment group is updated.
      • withAutoRollbackConfiguration

        public UpdateDeploymentGroupRequest withAutoRollbackConfiguration(AutoRollbackConfiguration autoRollbackConfiguration)

        Information for an automatic rollback configuration that is added or changed when a deployment group is updated.

        Parameters:
        autoRollbackConfiguration - Information for an automatic rollback configuration that is added or changed when a deployment group is updated.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setOutdatedInstancesStrategy

        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.

        Parameters:
        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.

        See Also:
        OutdatedInstancesStrategy
      • getOutdatedInstancesStrategy

        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.

        Returns:
        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.

        See Also:
        OutdatedInstancesStrategy
      • withOutdatedInstancesStrategy

        public UpdateDeploymentGroupRequest 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.

        Parameters:
        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.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        OutdatedInstancesStrategy
      • withOutdatedInstancesStrategy

        public UpdateDeploymentGroupRequest 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.

        Parameters:
        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.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        OutdatedInstancesStrategy
      • setDeploymentStyle

        public void setDeploymentStyle(DeploymentStyle deploymentStyle)

        Information about the type of deployment, either in-place or blue/green, you want to run and whether to route deployment traffic behind a load balancer.

        Parameters:
        deploymentStyle - Information about the type of deployment, either in-place or blue/green, you want to run and whether to route deployment traffic behind a load balancer.
      • getDeploymentStyle

        public DeploymentStyle getDeploymentStyle()

        Information about the type of deployment, either in-place or blue/green, you want to run and whether to route deployment traffic behind a load balancer.

        Returns:
        Information about the type of deployment, either in-place or blue/green, you want to run and whether to route deployment traffic behind a load balancer.
      • withDeploymentStyle

        public UpdateDeploymentGroupRequest withDeploymentStyle(DeploymentStyle deploymentStyle)

        Information about the type of deployment, either in-place or blue/green, you want to run and whether to route deployment traffic behind a load balancer.

        Parameters:
        deploymentStyle - Information about the type of deployment, either in-place or blue/green, you want to run and whether to route deployment traffic behind a load balancer.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setBlueGreenDeploymentConfiguration

        public void setBlueGreenDeploymentConfiguration(BlueGreenDeploymentConfiguration blueGreenDeploymentConfiguration)

        Information about blue/green deployment options for a deployment group.

        Parameters:
        blueGreenDeploymentConfiguration - Information about blue/green deployment options for a deployment group.
      • getBlueGreenDeploymentConfiguration

        public BlueGreenDeploymentConfiguration getBlueGreenDeploymentConfiguration()

        Information about blue/green deployment options for a deployment group.

        Returns:
        Information about blue/green deployment options for a deployment group.
      • withBlueGreenDeploymentConfiguration

        public UpdateDeploymentGroupRequest withBlueGreenDeploymentConfiguration(BlueGreenDeploymentConfiguration blueGreenDeploymentConfiguration)

        Information about blue/green deployment options for a deployment group.

        Parameters:
        blueGreenDeploymentConfiguration - Information about blue/green deployment options for a deployment group.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setLoadBalancerInfo

        public void setLoadBalancerInfo(LoadBalancerInfo loadBalancerInfo)

        Information about the load balancer used in a deployment.

        Parameters:
        loadBalancerInfo - Information about the load balancer used in a deployment.
      • getLoadBalancerInfo

        public LoadBalancerInfo getLoadBalancerInfo()

        Information about the load balancer used in a deployment.

        Returns:
        Information about the load balancer used in a deployment.
      • withLoadBalancerInfo

        public UpdateDeploymentGroupRequest withLoadBalancerInfo(LoadBalancerInfo loadBalancerInfo)

        Information about the load balancer used in a deployment.

        Parameters:
        loadBalancerInfo - Information about the load balancer used in a deployment.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setEc2TagSet

        public void setEc2TagSet(EC2TagSet ec2TagSet)

        Information about groups of tags applied to on-premises instances. The deployment group includes only Amazon EC2 instances identified by all the tag groups.

        Parameters:
        ec2TagSet - Information about groups of tags applied to on-premises instances. The deployment group includes only Amazon EC2 instances identified by all the tag groups.
      • getEc2TagSet

        public EC2TagSet getEc2TagSet()

        Information about groups of tags applied to on-premises instances. The deployment group includes only Amazon EC2 instances identified by all the tag groups.

        Returns:
        Information about groups of tags applied to on-premises instances. The deployment group includes only Amazon EC2 instances identified by all the tag groups.
      • withEc2TagSet

        public UpdateDeploymentGroupRequest withEc2TagSet(EC2TagSet ec2TagSet)

        Information about groups of tags applied to on-premises instances. The deployment group includes only Amazon EC2 instances identified by all the tag groups.

        Parameters:
        ec2TagSet - Information about groups of tags applied to on-premises instances. The deployment group includes only Amazon EC2 instances identified by all the tag groups.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • getEcsServices

        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>.

        Returns:
        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>.
      • setEcsServices

        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>.

        Parameters:
        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>.
      • withEcsServices

        public UpdateDeploymentGroupRequest 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.

        Parameters:
        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>.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • withEcsServices

        public UpdateDeploymentGroupRequest 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>.

        Parameters:
        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>.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setOnPremisesTagSet

        public void setOnPremisesTagSet(OnPremisesTagSet onPremisesTagSet)

        Information about an on-premises instance tag set. The deployment group includes only on-premises instances identified by all the tag groups.

        Parameters:
        onPremisesTagSet - Information about an on-premises instance tag set. The deployment group includes only on-premises instances identified by all the tag groups.
      • getOnPremisesTagSet

        public OnPremisesTagSet getOnPremisesTagSet()

        Information about an on-premises instance tag set. The deployment group includes only on-premises instances identified by all the tag groups.

        Returns:
        Information about an on-premises instance tag set. The deployment group includes only on-premises instances identified by all the tag groups.
      • withOnPremisesTagSet

        public UpdateDeploymentGroupRequest withOnPremisesTagSet(OnPremisesTagSet onPremisesTagSet)

        Information about an on-premises instance tag set. The deployment group includes only on-premises instances identified by all the tag groups.

        Parameters:
        onPremisesTagSet - Information about an on-premises instance tag set. The deployment group includes only on-premises instances identified by all the tag groups.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setTerminationHookEnabled

        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 update 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.

        Parameters:
        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 update 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.

      • getTerminationHookEnabled

        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 update 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.

        Returns:
        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 update 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.

      • withTerminationHookEnabled

        public UpdateDeploymentGroupRequest 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 update 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.

        Parameters:
        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 update 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.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • isTerminationHookEnabled

        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 update 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.

        Returns:
        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 update 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.

      • toString

        public String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
Skip navigation links

AltStyle によって変換されたページ (->オリジナル) /