AWS SDK for C++  1.8.54
AWS SDK for C++
Public Member Functions | List of all members
Aws::ECS::Model::UpdateServiceRequest Class Reference

#include <UpdateServiceRequest.h>

+ Inheritance diagram for Aws::ECS::Model::UpdateServiceRequest:

Public Member Functions

 UpdateServiceRequest ()
 
virtual const char * GetServiceRequestName () const override
 
Aws::String SerializePayload () const override
 
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders () const override
 
const Aws::StringGetCluster () const
 
bool ClusterHasBeenSet () const
 
void SetCluster (const Aws::String &value)
 
void SetCluster (Aws::String &&value)
 
void SetCluster (const char *value)
 
UpdateServiceRequestWithCluster (const Aws::String &value)
 
UpdateServiceRequestWithCluster (Aws::String &&value)
 
UpdateServiceRequestWithCluster (const char *value)
 
const Aws::StringGetService () const
 
bool ServiceHasBeenSet () const
 
void SetService (const Aws::String &value)
 
void SetService (Aws::String &&value)
 
void SetService (const char *value)
 
UpdateServiceRequestWithService (const Aws::String &value)
 
UpdateServiceRequestWithService (Aws::String &&value)
 
UpdateServiceRequestWithService (const char *value)
 
int GetDesiredCount () const
 
bool DesiredCountHasBeenSet () const
 
void SetDesiredCount (int value)
 
UpdateServiceRequestWithDesiredCount (int value)
 
const Aws::StringGetTaskDefinition () const
 
bool TaskDefinitionHasBeenSet () const
 
void SetTaskDefinition (const Aws::String &value)
 
void SetTaskDefinition (Aws::String &&value)
 
void SetTaskDefinition (const char *value)
 
UpdateServiceRequestWithTaskDefinition (const Aws::String &value)
 
UpdateServiceRequestWithTaskDefinition (Aws::String &&value)
 
UpdateServiceRequestWithTaskDefinition (const char *value)
 
const Aws::Vector< CapacityProviderStrategyItem > & GetCapacityProviderStrategy () const
 
bool CapacityProviderStrategyHasBeenSet () const
 
void SetCapacityProviderStrategy (const Aws::Vector< CapacityProviderStrategyItem > &value)
 
void SetCapacityProviderStrategy (Aws::Vector< CapacityProviderStrategyItem > &&value)
 
UpdateServiceRequestWithCapacityProviderStrategy (const Aws::Vector< CapacityProviderStrategyItem > &value)
 
UpdateServiceRequestWithCapacityProviderStrategy (Aws::Vector< CapacityProviderStrategyItem > &&value)
 
UpdateServiceRequestAddCapacityProviderStrategy (const CapacityProviderStrategyItem &value)
 
UpdateServiceRequestAddCapacityProviderStrategy (CapacityProviderStrategyItem &&value)
 
const DeploymentConfigurationGetDeploymentConfiguration () const
 
bool DeploymentConfigurationHasBeenSet () const
 
void SetDeploymentConfiguration (const DeploymentConfiguration &value)
 
void SetDeploymentConfiguration (DeploymentConfiguration &&value)
 
UpdateServiceRequestWithDeploymentConfiguration (const DeploymentConfiguration &value)
 
UpdateServiceRequestWithDeploymentConfiguration (DeploymentConfiguration &&value)
 
const NetworkConfigurationGetNetworkConfiguration () const
 
bool NetworkConfigurationHasBeenSet () const
 
void SetNetworkConfiguration (const NetworkConfiguration &value)
 
void SetNetworkConfiguration (NetworkConfiguration &&value)
 
UpdateServiceRequestWithNetworkConfiguration (const NetworkConfiguration &value)
 
UpdateServiceRequestWithNetworkConfiguration (NetworkConfiguration &&value)
 
const Aws::Vector< PlacementConstraint > & GetPlacementConstraints () const
 
bool PlacementConstraintsHasBeenSet () const
 
void SetPlacementConstraints (const Aws::Vector< PlacementConstraint > &value)
 
void SetPlacementConstraints (Aws::Vector< PlacementConstraint > &&value)
 
UpdateServiceRequestWithPlacementConstraints (const Aws::Vector< PlacementConstraint > &value)
 
UpdateServiceRequestWithPlacementConstraints (Aws::Vector< PlacementConstraint > &&value)
 
UpdateServiceRequestAddPlacementConstraints (const PlacementConstraint &value)
 
UpdateServiceRequestAddPlacementConstraints (PlacementConstraint &&value)
 
const Aws::Vector< PlacementStrategy > & GetPlacementStrategy () const
 
bool PlacementStrategyHasBeenSet () const
 
void SetPlacementStrategy (const Aws::Vector< PlacementStrategy > &value)
 
void SetPlacementStrategy (Aws::Vector< PlacementStrategy > &&value)
 
UpdateServiceRequestWithPlacementStrategy (const Aws::Vector< PlacementStrategy > &value)
 
UpdateServiceRequestWithPlacementStrategy (Aws::Vector< PlacementStrategy > &&value)
 
UpdateServiceRequestAddPlacementStrategy (const PlacementStrategy &value)
 
UpdateServiceRequestAddPlacementStrategy (PlacementStrategy &&value)
 
const Aws::StringGetPlatformVersion () const
 
bool PlatformVersionHasBeenSet () const
 
void SetPlatformVersion (const Aws::String &value)
 
void SetPlatformVersion (Aws::String &&value)
 
void SetPlatformVersion (const char *value)
 
UpdateServiceRequestWithPlatformVersion (const Aws::String &value)
 
UpdateServiceRequestWithPlatformVersion (Aws::String &&value)
 
UpdateServiceRequestWithPlatformVersion (const char *value)
 
bool GetForceNewDeployment () const
 
bool ForceNewDeploymentHasBeenSet () const
 
void SetForceNewDeployment (bool value)
 
UpdateServiceRequestWithForceNewDeployment (bool value)
 
int GetHealthCheckGracePeriodSeconds () const
 
bool HealthCheckGracePeriodSecondsHasBeenSet () const
 
void SetHealthCheckGracePeriodSeconds (int value)
 
UpdateServiceRequestWithHealthCheckGracePeriodSeconds (int value)
 
- Public Member Functions inherited from Aws::ECS::ECSRequest
virtual ~ECSRequest ()
 
void AddParametersToRequest (Aws::Http::HttpRequest &httpRequest) const
 
Aws::Http::HeaderValueCollection GetHeaders () const override
 
- Public Member Functions inherited from Aws::AmazonSerializableWebServiceRequest
 AmazonSerializableWebServiceRequest ()
 
virtual ~AmazonSerializableWebServiceRequest ()
 
std::shared_ptr< Aws::IOStreamGetBody () const override
 
- Public Member Functions inherited from Aws::AmazonWebServiceRequest
 AmazonWebServiceRequest ()
 
virtual ~AmazonWebServiceRequest ()=default
 
virtual void AddQueryStringParameters (Aws::Http::URI &uri) const
 
virtual void PutToPresignedUrl (Aws::Http::URI &uri) const
 
virtual bool IsStreaming () const
 
virtual bool IsEventStreamRequest () const
 
virtual bool SignBody () const
 
virtual bool IsChunked () const
 
virtual void SetRequestSignedHandler (const RequestSignedHandler &handler)
 
virtual const RequestSignedHandlerGetRequestSignedHandler () const
 
const Aws::IOStreamFactoryGetResponseStreamFactory () const
 
void SetResponseStreamFactory (const Aws::IOStreamFactory &factory)
 
virtual void SetDataReceivedEventHandler (const Aws::Http::DataReceivedEventHandler &dataReceivedEventHandler)
 
virtual void SetDataSentEventHandler (const Aws::Http::DataSentEventHandler &dataSentEventHandler)
 
virtual void SetContinueRequestHandler (const Aws::Http::ContinueRequestHandler &continueRequestHandler)
 
virtual void SetDataReceivedEventHandler (Aws::Http::DataReceivedEventHandler &&dataReceivedEventHandler)
 
virtual void SetDataSentEventHandler (Aws::Http::DataSentEventHandler &&dataSentEventHandler)
 
virtual void SetContinueRequestHandler (Aws::Http::ContinueRequestHandler &&continueRequestHandler)
 
virtual void SetRequestRetryHandler (const RequestRetryHandler &handler)
 
virtual void SetRequestRetryHandler (RequestRetryHandler &&handler)
 
virtual const Aws::Http::DataReceivedEventHandlerGetDataReceivedEventHandler () const
 
virtual const Aws::Http::DataSentEventHandlerGetDataSentEventHandler () const
 
virtual const Aws::Http::ContinueRequestHandlerGetContinueRequestHandler () const
 
virtual const RequestRetryHandlerGetRequestRetryHandler () const
 
virtual bool ShouldComputeContentMd5 () const
 

Additional Inherited Members

- Protected Member Functions inherited from Aws::AmazonWebServiceRequest
virtual void DumpBodyToUrl (Aws::Http::URI &uri) const
 

Detailed Description

Definition at line 27 of file UpdateServiceRequest.h.

Constructor & Destructor Documentation

◆ UpdateServiceRequest()

Aws::ECS::Model::UpdateServiceRequest::UpdateServiceRequest ( )

Member Function Documentation

◆ AddCapacityProviderStrategy() [1/2]

UpdateServiceRequest& Aws::ECS::Model::UpdateServiceRequest::AddCapacityProviderStrategy ( const CapacityProviderStrategyItem value)
inline

The capacity provider strategy to update the service to use.

If the service is using the default capacity provider strategy for the cluster, the service can be updated to use one or more capacity providers as opposed to the default capacity provider strategy. However, when a service is using a capacity provider strategy that is not the default capacity provider strategy, the service cannot be updated to use the cluster's default capacity provider strategy.

A capacity provider strategy consists of one or more capacity providers along with the base and weight to assign to them. A capacity provider must be associated with the cluster to be used in a capacity provider strategy. The PutClusterCapacityProviders API is used to associate a capacity provider with a cluster. Only capacity providers with an ACTIVE or UPDATING status can be used.

If specifying a capacity provider that uses an Auto Scaling group, the capacity provider must already be created. New capacity providers can be created with the CreateCapacityProvider API operation.

To use a AWS Fargate capacity provider, specify either the FARGATE or FARGATE_SPOT capacity providers. The AWS Fargate capacity providers are available to all accounts and only need to be associated with a cluster to be used.

The PutClusterCapacityProviders API operation is used to update the list of available capacity providers for a cluster after the cluster is created.

Definition at line 420 of file UpdateServiceRequest.h.

◆ AddCapacityProviderStrategy() [2/2]

UpdateServiceRequest& Aws::ECS::Model::UpdateServiceRequest::AddCapacityProviderStrategy ( CapacityProviderStrategyItem &&  value)
inline

The capacity provider strategy to update the service to use.

If the service is using the default capacity provider strategy for the cluster, the service can be updated to use one or more capacity providers as opposed to the default capacity provider strategy. However, when a service is using a capacity provider strategy that is not the default capacity provider strategy, the service cannot be updated to use the cluster's default capacity provider strategy.

A capacity provider strategy consists of one or more capacity providers along with the base and weight to assign to them. A capacity provider must be associated with the cluster to be used in a capacity provider strategy. The PutClusterCapacityProviders API is used to associate a capacity provider with a cluster. Only capacity providers with an ACTIVE or UPDATING status can be used.

If specifying a capacity provider that uses an Auto Scaling group, the capacity provider must already be created. New capacity providers can be created with the CreateCapacityProvider API operation.

To use a AWS Fargate capacity provider, specify either the FARGATE or FARGATE_SPOT capacity providers. The AWS Fargate capacity providers are available to all accounts and only need to be associated with a cluster to be used.

The PutClusterCapacityProviders API operation is used to update the list of available capacity providers for a cluster after the cluster is created.

Definition at line 445 of file UpdateServiceRequest.h.

◆ AddPlacementConstraints() [1/2]

UpdateServiceRequest& Aws::ECS::Model::UpdateServiceRequest::AddPlacementConstraints ( const PlacementConstraint value)
inline

An array of task placement constraint objects to update the service to use. If no value is specified, the existing placement constraints for the service will remain unchanged. If this value is specified, it will override any existing placement constraints defined for the service. To remove all existing placement constraints, specify an empty array.

You can specify a maximum of 10 constraints per task (this limit includes constraints in the task definition and those specified at runtime).

Definition at line 579 of file UpdateServiceRequest.h.

◆ AddPlacementConstraints() [2/2]

UpdateServiceRequest& Aws::ECS::Model::UpdateServiceRequest::AddPlacementConstraints ( PlacementConstraint &&  value)
inline

An array of task placement constraint objects to update the service to use. If no value is specified, the existing placement constraints for the service will remain unchanged. If this value is specified, it will override any existing placement constraints defined for the service. To remove all existing placement constraints, specify an empty array.

You can specify a maximum of 10 constraints per task (this limit includes constraints in the task definition and those specified at runtime).

Definition at line 590 of file UpdateServiceRequest.h.

◆ AddPlacementStrategy() [1/2]

UpdateServiceRequest& Aws::ECS::Model::UpdateServiceRequest::AddPlacementStrategy ( const PlacementStrategy value)
inline

The task placement strategy objects to update the service to use. If no value is specified, the existing placement strategy for the service will remain unchanged. If this value is specified, it will override the existing placement strategy defined for the service. To remove an existing placement strategy, specify an empty object.

You can specify a maximum of five strategy rules per service.

Definition at line 661 of file UpdateServiceRequest.h.

◆ AddPlacementStrategy() [2/2]

UpdateServiceRequest& Aws::ECS::Model::UpdateServiceRequest::AddPlacementStrategy ( PlacementStrategy &&  value)
inline

The task placement strategy objects to update the service to use. If no value is specified, the existing placement strategy for the service will remain unchanged. If this value is specified, it will override the existing placement strategy defined for the service. To remove an existing placement strategy, specify an empty object.

You can specify a maximum of five strategy rules per service.

Definition at line 671 of file UpdateServiceRequest.h.

◆ CapacityProviderStrategyHasBeenSet()

bool Aws::ECS::Model::UpdateServiceRequest::CapacityProviderStrategyHasBeenSet ( ) const
inline

The capacity provider strategy to update the service to use.

If the service is using the default capacity provider strategy for the cluster, the service can be updated to use one or more capacity providers as opposed to the default capacity provider strategy. However, when a service is using a capacity provider strategy that is not the default capacity provider strategy, the service cannot be updated to use the cluster's default capacity provider strategy.

A capacity provider strategy consists of one or more capacity providers along with the base and weight to assign to them. A capacity provider must be associated with the cluster to be used in a capacity provider strategy. The PutClusterCapacityProviders API is used to associate a capacity provider with a cluster. Only capacity providers with an ACTIVE or UPDATING status can be used.

If specifying a capacity provider that uses an Auto Scaling group, the capacity provider must already be created. New capacity providers can be created with the CreateCapacityProvider API operation.

To use a AWS Fargate capacity provider, specify either the FARGATE or FARGATE_SPOT capacity providers. The AWS Fargate capacity providers are available to all accounts and only need to be associated with a cluster to be used.

The PutClusterCapacityProviders API operation is used to update the list of available capacity providers for a cluster after the cluster is created.

Definition at line 295 of file UpdateServiceRequest.h.

◆ ClusterHasBeenSet()

bool Aws::ECS::Model::UpdateServiceRequest::ClusterHasBeenSet ( ) const
inline

The short name or full Amazon Resource Name (ARN) of the cluster that your service is running on. If you do not specify a cluster, the default cluster is assumed.

Definition at line 55 of file UpdateServiceRequest.h.

◆ DeploymentConfigurationHasBeenSet()

bool Aws::ECS::Model::UpdateServiceRequest::DeploymentConfigurationHasBeenSet ( ) const
inline

Optional deployment parameters that control how many tasks run during the deployment and the ordering of stopping and starting tasks.

Definition at line 458 of file UpdateServiceRequest.h.

◆ DesiredCountHasBeenSet()

bool Aws::ECS::Model::UpdateServiceRequest::DesiredCountHasBeenSet ( ) const
inline

The number of instantiations of the task to place and keep running in your service.

Definition at line 151 of file UpdateServiceRequest.h.

◆ ForceNewDeploymentHasBeenSet()

bool Aws::ECS::Model::UpdateServiceRequest::ForceNewDeploymentHasBeenSet ( ) const
inline

Whether to force a new deployment of the service. Deployments are not forced by default. You can use this option to trigger a new deployment with no service definition changes. For example, you can update a service's tasks to use a newer Docker image with the same image/tag combination (my_image:latest) or to roll Fargate tasks onto a newer platform version.

Definition at line 779 of file UpdateServiceRequest.h.

◆ GetCapacityProviderStrategy()

const Aws::Vector<CapacityProviderStrategyItem>& Aws::ECS::Model::UpdateServiceRequest::GetCapacityProviderStrategy ( ) const
inline

The capacity provider strategy to update the service to use.

If the service is using the default capacity provider strategy for the cluster, the service can be updated to use one or more capacity providers as opposed to the default capacity provider strategy. However, when a service is using a capacity provider strategy that is not the default capacity provider strategy, the service cannot be updated to use the cluster's default capacity provider strategy.

A capacity provider strategy consists of one or more capacity providers along with the base and weight to assign to them. A capacity provider must be associated with the cluster to be used in a capacity provider strategy. The PutClusterCapacityProviders API is used to associate a capacity provider with a cluster. Only capacity providers with an ACTIVE or UPDATING status can be used.

If specifying a capacity provider that uses an Auto Scaling group, the capacity provider must already be created. New capacity providers can be created with the CreateCapacityProvider API operation.

To use a AWS Fargate capacity provider, specify either the FARGATE or FARGATE_SPOT capacity providers. The AWS Fargate capacity providers are available to all accounts and only need to be associated with a cluster to be used.

The PutClusterCapacityProviders API operation is used to update the list of available capacity providers for a cluster after the cluster is created.

Definition at line 270 of file UpdateServiceRequest.h.

◆ GetCluster()

const Aws::String& Aws::ECS::Model::UpdateServiceRequest::GetCluster ( ) const
inline

The short name or full Amazon Resource Name (ARN) of the cluster that your service is running on. If you do not specify a cluster, the default cluster is assumed.

Definition at line 48 of file UpdateServiceRequest.h.

◆ GetDeploymentConfiguration()

const DeploymentConfiguration& Aws::ECS::Model::UpdateServiceRequest::GetDeploymentConfiguration ( ) const
inline

Optional deployment parameters that control how many tasks run during the deployment and the ordering of stopping and starting tasks.

Definition at line 452 of file UpdateServiceRequest.h.

◆ GetDesiredCount()

int Aws::ECS::Model::UpdateServiceRequest::GetDesiredCount ( ) const
inline

The number of instantiations of the task to place and keep running in your service.

Definition at line 145 of file UpdateServiceRequest.h.

◆ GetForceNewDeployment()

bool Aws::ECS::Model::UpdateServiceRequest::GetForceNewDeployment ( ) const
inline

Whether to force a new deployment of the service. Deployments are not forced by default. You can use this option to trigger a new deployment with no service definition changes. For example, you can update a service's tasks to use a newer Docker image with the same image/tag combination (my_image:latest) or to roll Fargate tasks onto a newer platform version.

Definition at line 770 of file UpdateServiceRequest.h.

◆ GetHealthCheckGracePeriodSeconds()

int Aws::ECS::Model::UpdateServiceRequest::GetHealthCheckGracePeriodSeconds ( ) const
inline

The period of time, in seconds, that the Amazon ECS service scheduler should ignore unhealthy Elastic Load Balancing target health checks after a task has first started. This is only valid if your service is configured to use a load balancer. If your service's tasks take a while to start and respond to Elastic Load Balancing health checks, you can specify a health check grace period of up to 2,147,483,647 seconds. During that time, the Amazon ECS service scheduler ignores the Elastic Load Balancing health check status. This grace period can prevent the ECS service scheduler from marking tasks as unhealthy and stopping them before they have time to come up.

Definition at line 811 of file UpdateServiceRequest.h.

◆ GetNetworkConfiguration()

const NetworkConfiguration& Aws::ECS::Model::UpdateServiceRequest::GetNetworkConfiguration ( ) const
inline

Definition at line 486 of file UpdateServiceRequest.h.

◆ GetPlacementConstraints()

const Aws::Vector<PlacementConstraint>& Aws::ECS::Model::UpdateServiceRequest::GetPlacementConstraints ( ) const
inline

An array of task placement constraint objects to update the service to use. If no value is specified, the existing placement constraints for the service will remain unchanged. If this value is specified, it will override any existing placement constraints defined for the service. To remove all existing placement constraints, specify an empty array.

You can specify a maximum of 10 constraints per task (this limit includes constraints in the task definition and those specified at runtime).

Definition at line 513 of file UpdateServiceRequest.h.

◆ GetPlacementStrategy()

const Aws::Vector<PlacementStrategy>& Aws::ECS::Model::UpdateServiceRequest::GetPlacementStrategy ( ) const
inline

The task placement strategy objects to update the service to use. If no value is specified, the existing placement strategy for the service will remain unchanged. If this value is specified, it will override the existing placement strategy defined for the service. To remove an existing placement strategy, specify an empty object.

You can specify a maximum of five strategy rules per service.

Definition at line 601 of file UpdateServiceRequest.h.

◆ GetPlatformVersion()

const Aws::String& Aws::ECS::Model::UpdateServiceRequest::GetPlatformVersion ( ) const
inline

The platform version on which your tasks in the service are running. A platform version is only specified for tasks using the Fargate launch type. If a platform version is not specified, the LATEST platform version is used by default. For more information, see AWS Fargate Platform Versions in the Amazon Elastic Container Service Developer Guide.

Definition at line 683 of file UpdateServiceRequest.h.

◆ GetRequestSpecificHeaders()

Aws::Http::HeaderValueCollection Aws::ECS::Model::UpdateServiceRequest::GetRequestSpecificHeaders ( ) const
overridevirtual

Reimplemented from Aws::ECS::ECSRequest.

◆ GetService()

const Aws::String& Aws::ECS::Model::UpdateServiceRequest::GetService ( ) const
inline

The name of the service to update.

Definition at line 103 of file UpdateServiceRequest.h.

◆ GetServiceRequestName()

virtual const char* Aws::ECS::Model::UpdateServiceRequest::GetServiceRequestName ( ) const
inlineoverridevirtual

Implements Aws::AmazonWebServiceRequest.

Definition at line 36 of file UpdateServiceRequest.h.

◆ GetTaskDefinition()

const Aws::String& Aws::ECS::Model::UpdateServiceRequest::GetTaskDefinition ( ) const
inline

The family and revision (family:revision) or full ARN of the task definition to run in your service. If a revision is not specified, the latest ACTIVE revision is used. If you modify the task definition with UpdateService, Amazon ECS spawns a task with the new version of the task definition and then stops an old task after the new version is running.

Definition at line 174 of file UpdateServiceRequest.h.

◆ HealthCheckGracePeriodSecondsHasBeenSet()

bool Aws::ECS::Model::UpdateServiceRequest::HealthCheckGracePeriodSecondsHasBeenSet ( ) const
inline

The period of time, in seconds, that the Amazon ECS service scheduler should ignore unhealthy Elastic Load Balancing target health checks after a task has first started. This is only valid if your service is configured to use a load balancer. If your service's tasks take a while to start and respond to Elastic Load Balancing health checks, you can specify a health check grace period of up to 2,147,483,647 seconds. During that time, the Amazon ECS service scheduler ignores the Elastic Load Balancing health check status. This grace period can prevent the ECS service scheduler from marking tasks as unhealthy and stopping them before they have time to come up.

Definition at line 824 of file UpdateServiceRequest.h.

◆ NetworkConfigurationHasBeenSet()

bool Aws::ECS::Model::UpdateServiceRequest::NetworkConfigurationHasBeenSet ( ) const
inline

Definition at line 489 of file UpdateServiceRequest.h.

◆ PlacementConstraintsHasBeenSet()

bool Aws::ECS::Model::UpdateServiceRequest::PlacementConstraintsHasBeenSet ( ) const
inline

An array of task placement constraint objects to update the service to use. If no value is specified, the existing placement constraints for the service will remain unchanged. If this value is specified, it will override any existing placement constraints defined for the service. To remove all existing placement constraints, specify an empty array.

You can specify a maximum of 10 constraints per task (this limit includes constraints in the task definition and those specified at runtime).

Definition at line 524 of file UpdateServiceRequest.h.

◆ PlacementStrategyHasBeenSet()

bool Aws::ECS::Model::UpdateServiceRequest::PlacementStrategyHasBeenSet ( ) const
inline

The task placement strategy objects to update the service to use. If no value is specified, the existing placement strategy for the service will remain unchanged. If this value is specified, it will override the existing placement strategy defined for the service. To remove an existing placement strategy, specify an empty object.

You can specify a maximum of five strategy rules per service.

Definition at line 611 of file UpdateServiceRequest.h.

◆ PlatformVersionHasBeenSet()

bool Aws::ECS::Model::UpdateServiceRequest::PlatformVersionHasBeenSet ( ) const
inline

The platform version on which your tasks in the service are running. A platform version is only specified for tasks using the Fargate launch type. If a platform version is not specified, the LATEST platform version is used by default. For more information, see AWS Fargate Platform Versions in the Amazon Elastic Container Service Developer Guide.

Definition at line 694 of file UpdateServiceRequest.h.

◆ SerializePayload()

Aws::String Aws::ECS::Model::UpdateServiceRequest::SerializePayload ( ) const
overridevirtual

Convert payload into String.

Implements Aws::AmazonSerializableWebServiceRequest.

◆ ServiceHasBeenSet()

bool Aws::ECS::Model::UpdateServiceRequest::ServiceHasBeenSet ( ) const
inline

The name of the service to update.

Definition at line 108 of file UpdateServiceRequest.h.

◆ SetCapacityProviderStrategy() [1/2]

void Aws::ECS::Model::UpdateServiceRequest::SetCapacityProviderStrategy ( const Aws::Vector< CapacityProviderStrategyItem > &  value)
inline

The capacity provider strategy to update the service to use.

If the service is using the default capacity provider strategy for the cluster, the service can be updated to use one or more capacity providers as opposed to the default capacity provider strategy. However, when a service is using a capacity provider strategy that is not the default capacity provider strategy, the service cannot be updated to use the cluster's default capacity provider strategy.

A capacity provider strategy consists of one or more capacity providers along with the base and weight to assign to them. A capacity provider must be associated with the cluster to be used in a capacity provider strategy. The PutClusterCapacityProviders API is used to associate a capacity provider with a cluster. Only capacity providers with an ACTIVE or UPDATING status can be used.

If specifying a capacity provider that uses an Auto Scaling group, the capacity provider must already be created. New capacity providers can be created with the CreateCapacityProvider API operation.

To use a AWS Fargate capacity provider, specify either the FARGATE or FARGATE_SPOT capacity providers. The AWS Fargate capacity providers are available to all accounts and only need to be associated with a cluster to be used.

The PutClusterCapacityProviders API operation is used to update the list of available capacity providers for a cluster after the cluster is created.

Definition at line 320 of file UpdateServiceRequest.h.

◆ SetCapacityProviderStrategy() [2/2]

void Aws::ECS::Model::UpdateServiceRequest::SetCapacityProviderStrategy ( Aws::Vector< CapacityProviderStrategyItem > &&  value)
inline

The capacity provider strategy to update the service to use.

If the service is using the default capacity provider strategy for the cluster, the service can be updated to use one or more capacity providers as opposed to the default capacity provider strategy. However, when a service is using a capacity provider strategy that is not the default capacity provider strategy, the service cannot be updated to use the cluster's default capacity provider strategy.

A capacity provider strategy consists of one or more capacity providers along with the base and weight to assign to them. A capacity provider must be associated with the cluster to be used in a capacity provider strategy. The PutClusterCapacityProviders API is used to associate a capacity provider with a cluster. Only capacity providers with an ACTIVE or UPDATING status can be used.

If specifying a capacity provider that uses an Auto Scaling group, the capacity provider must already be created. New capacity providers can be created with the CreateCapacityProvider API operation.

To use a AWS Fargate capacity provider, specify either the FARGATE or FARGATE_SPOT capacity providers. The AWS Fargate capacity providers are available to all accounts and only need to be associated with a cluster to be used.

The PutClusterCapacityProviders API operation is used to update the list of available capacity providers for a cluster after the cluster is created.

Definition at line 345 of file UpdateServiceRequest.h.

◆ SetCluster() [1/3]

void Aws::ECS::Model::UpdateServiceRequest::SetCluster ( const Aws::String value)
inline

The short name or full Amazon Resource Name (ARN) of the cluster that your service is running on. If you do not specify a cluster, the default cluster is assumed.

Definition at line 62 of file UpdateServiceRequest.h.

◆ SetCluster() [2/3]

void Aws::ECS::Model::UpdateServiceRequest::SetCluster ( Aws::String &&  value)
inline

The short name or full Amazon Resource Name (ARN) of the cluster that your service is running on. If you do not specify a cluster, the default cluster is assumed.

Definition at line 69 of file UpdateServiceRequest.h.

◆ SetCluster() [3/3]

void Aws::ECS::Model::UpdateServiceRequest::SetCluster ( const char *  value)
inline

The short name or full Amazon Resource Name (ARN) of the cluster that your service is running on. If you do not specify a cluster, the default cluster is assumed.

Definition at line 76 of file UpdateServiceRequest.h.

◆ SetDeploymentConfiguration() [1/2]

void Aws::ECS::Model::UpdateServiceRequest::SetDeploymentConfiguration ( const DeploymentConfiguration value)
inline

Optional deployment parameters that control how many tasks run during the deployment and the ordering of stopping and starting tasks.

Definition at line 464 of file UpdateServiceRequest.h.

◆ SetDeploymentConfiguration() [2/2]

void Aws::ECS::Model::UpdateServiceRequest::SetDeploymentConfiguration ( DeploymentConfiguration &&  value)
inline

Optional deployment parameters that control how many tasks run during the deployment and the ordering of stopping and starting tasks.

Definition at line 470 of file UpdateServiceRequest.h.

◆ SetDesiredCount()

void Aws::ECS::Model::UpdateServiceRequest::SetDesiredCount ( int  value)
inline

The number of instantiations of the task to place and keep running in your service.

Definition at line 157 of file UpdateServiceRequest.h.

◆ SetForceNewDeployment()

void Aws::ECS::Model::UpdateServiceRequest::SetForceNewDeployment ( bool  value)
inline

Whether to force a new deployment of the service. Deployments are not forced by default. You can use this option to trigger a new deployment with no service definition changes. For example, you can update a service's tasks to use a newer Docker image with the same image/tag combination (my_image:latest) or to roll Fargate tasks onto a newer platform version.

Definition at line 788 of file UpdateServiceRequest.h.

◆ SetHealthCheckGracePeriodSeconds()

void Aws::ECS::Model::UpdateServiceRequest::SetHealthCheckGracePeriodSeconds ( int  value)
inline

The period of time, in seconds, that the Amazon ECS service scheduler should ignore unhealthy Elastic Load Balancing target health checks after a task has first started. This is only valid if your service is configured to use a load balancer. If your service's tasks take a while to start and respond to Elastic Load Balancing health checks, you can specify a health check grace period of up to 2,147,483,647 seconds. During that time, the Amazon ECS service scheduler ignores the Elastic Load Balancing health check status. This grace period can prevent the ECS service scheduler from marking tasks as unhealthy and stopping them before they have time to come up.

Definition at line 837 of file UpdateServiceRequest.h.

◆ SetNetworkConfiguration() [1/2]

void Aws::ECS::Model::UpdateServiceRequest::SetNetworkConfiguration ( const NetworkConfiguration value)
inline

Definition at line 492 of file UpdateServiceRequest.h.

◆ SetNetworkConfiguration() [2/2]

void Aws::ECS::Model::UpdateServiceRequest::SetNetworkConfiguration ( NetworkConfiguration &&  value)
inline

Definition at line 495 of file UpdateServiceRequest.h.

◆ SetPlacementConstraints() [1/2]

void Aws::ECS::Model::UpdateServiceRequest::SetPlacementConstraints ( const Aws::Vector< PlacementConstraint > &  value)
inline

An array of task placement constraint objects to update the service to use. If no value is specified, the existing placement constraints for the service will remain unchanged. If this value is specified, it will override any existing placement constraints defined for the service. To remove all existing placement constraints, specify an empty array.

You can specify a maximum of 10 constraints per task (this limit includes constraints in the task definition and those specified at runtime).

Definition at line 535 of file UpdateServiceRequest.h.

◆ SetPlacementConstraints() [2/2]

void Aws::ECS::Model::UpdateServiceRequest::SetPlacementConstraints ( Aws::Vector< PlacementConstraint > &&  value)
inline

An array of task placement constraint objects to update the service to use. If no value is specified, the existing placement constraints for the service will remain unchanged. If this value is specified, it will override any existing placement constraints defined for the service. To remove all existing placement constraints, specify an empty array.

You can specify a maximum of 10 constraints per task (this limit includes constraints in the task definition and those specified at runtime).

Definition at line 546 of file UpdateServiceRequest.h.

◆ SetPlacementStrategy() [1/2]

void Aws::ECS::Model::UpdateServiceRequest::SetPlacementStrategy ( const Aws::Vector< PlacementStrategy > &  value)
inline

The task placement strategy objects to update the service to use. If no value is specified, the existing placement strategy for the service will remain unchanged. If this value is specified, it will override the existing placement strategy defined for the service. To remove an existing placement strategy, specify an empty object.

You can specify a maximum of five strategy rules per service.

Definition at line 621 of file UpdateServiceRequest.h.

◆ SetPlacementStrategy() [2/2]

void Aws::ECS::Model::UpdateServiceRequest::SetPlacementStrategy ( Aws::Vector< PlacementStrategy > &&  value)
inline

The task placement strategy objects to update the service to use. If no value is specified, the existing placement strategy for the service will remain unchanged. If this value is specified, it will override the existing placement strategy defined for the service. To remove an existing placement strategy, specify an empty object.

You can specify a maximum of five strategy rules per service.

Definition at line 631 of file UpdateServiceRequest.h.

◆ SetPlatformVersion() [1/3]

void Aws::ECS::Model::UpdateServiceRequest::SetPlatformVersion ( const Aws::String value)
inline

The platform version on which your tasks in the service are running. A platform version is only specified for tasks using the Fargate launch type. If a platform version is not specified, the LATEST platform version is used by default. For more information, see AWS Fargate Platform Versions in the Amazon Elastic Container Service Developer Guide.

Definition at line 705 of file UpdateServiceRequest.h.

◆ SetPlatformVersion() [2/3]

void Aws::ECS::Model::UpdateServiceRequest::SetPlatformVersion ( Aws::String &&  value)
inline

The platform version on which your tasks in the service are running. A platform version is only specified for tasks using the Fargate launch type. If a platform version is not specified, the LATEST platform version is used by default. For more information, see AWS Fargate Platform Versions in the Amazon Elastic Container Service Developer Guide.

Definition at line 716 of file UpdateServiceRequest.h.

◆ SetPlatformVersion() [3/3]

void Aws::ECS::Model::UpdateServiceRequest::SetPlatformVersion ( const char *  value)
inline

The platform version on which your tasks in the service are running. A platform version is only specified for tasks using the Fargate launch type. If a platform version is not specified, the LATEST platform version is used by default. For more information, see AWS Fargate Platform Versions in the Amazon Elastic Container Service Developer Guide.

Definition at line 727 of file UpdateServiceRequest.h.

◆ SetService() [1/3]

void Aws::ECS::Model::UpdateServiceRequest::SetService ( const Aws::String value)
inline

The name of the service to update.

Definition at line 113 of file UpdateServiceRequest.h.

◆ SetService() [2/3]

void Aws::ECS::Model::UpdateServiceRequest::SetService ( Aws::String &&  value)
inline

The name of the service to update.

Definition at line 118 of file UpdateServiceRequest.h.

◆ SetService() [3/3]

void Aws::ECS::Model::UpdateServiceRequest::SetService ( const char *  value)
inline

The name of the service to update.

Definition at line 123 of file UpdateServiceRequest.h.

◆ SetTaskDefinition() [1/3]

void Aws::ECS::Model::UpdateServiceRequest::SetTaskDefinition ( const Aws::String value)
inline

The family and revision (family:revision) or full ARN of the task definition to run in your service. If a revision is not specified, the latest ACTIVE revision is used. If you modify the task definition with UpdateService, Amazon ECS spawns a task with the new version of the task definition and then stops an old task after the new version is running.

Definition at line 194 of file UpdateServiceRequest.h.

◆ SetTaskDefinition() [2/3]

void Aws::ECS::Model::UpdateServiceRequest::SetTaskDefinition ( Aws::String &&  value)
inline

The family and revision (family:revision) or full ARN of the task definition to run in your service. If a revision is not specified, the latest ACTIVE revision is used. If you modify the task definition with UpdateService, Amazon ECS spawns a task with the new version of the task definition and then stops an old task after the new version is running.

Definition at line 204 of file UpdateServiceRequest.h.

◆ SetTaskDefinition() [3/3]

void Aws::ECS::Model::UpdateServiceRequest::SetTaskDefinition ( const char *  value)
inline

The family and revision (family:revision) or full ARN of the task definition to run in your service. If a revision is not specified, the latest ACTIVE revision is used. If you modify the task definition with UpdateService, Amazon ECS spawns a task with the new version of the task definition and then stops an old task after the new version is running.

Definition at line 214 of file UpdateServiceRequest.h.

◆ TaskDefinitionHasBeenSet()

bool Aws::ECS::Model::UpdateServiceRequest::TaskDefinitionHasBeenSet ( ) const
inline

The family and revision (family:revision) or full ARN of the task definition to run in your service. If a revision is not specified, the latest ACTIVE revision is used. If you modify the task definition with UpdateService, Amazon ECS spawns a task with the new version of the task definition and then stops an old task after the new version is running.

Definition at line 184 of file UpdateServiceRequest.h.

◆ WithCapacityProviderStrategy() [1/2]

UpdateServiceRequest& Aws::ECS::Model::UpdateServiceRequest::WithCapacityProviderStrategy ( const Aws::Vector< CapacityProviderStrategyItem > &  value)
inline

The capacity provider strategy to update the service to use.

If the service is using the default capacity provider strategy for the cluster, the service can be updated to use one or more capacity providers as opposed to the default capacity provider strategy. However, when a service is using a capacity provider strategy that is not the default capacity provider strategy, the service cannot be updated to use the cluster's default capacity provider strategy.

A capacity provider strategy consists of one or more capacity providers along with the base and weight to assign to them. A capacity provider must be associated with the cluster to be used in a capacity provider strategy. The PutClusterCapacityProviders API is used to associate a capacity provider with a cluster. Only capacity providers with an ACTIVE or UPDATING status can be used.

If specifying a capacity provider that uses an Auto Scaling group, the capacity provider must already be created. New capacity providers can be created with the CreateCapacityProvider API operation.

To use a AWS Fargate capacity provider, specify either the FARGATE or FARGATE_SPOT capacity providers. The AWS Fargate capacity providers are available to all accounts and only need to be associated with a cluster to be used.

The PutClusterCapacityProviders API operation is used to update the list of available capacity providers for a cluster after the cluster is created.

Definition at line 370 of file UpdateServiceRequest.h.

◆ WithCapacityProviderStrategy() [2/2]

UpdateServiceRequest& Aws::ECS::Model::UpdateServiceRequest::WithCapacityProviderStrategy ( Aws::Vector< CapacityProviderStrategyItem > &&  value)
inline

The capacity provider strategy to update the service to use.

If the service is using the default capacity provider strategy for the cluster, the service can be updated to use one or more capacity providers as opposed to the default capacity provider strategy. However, when a service is using a capacity provider strategy that is not the default capacity provider strategy, the service cannot be updated to use the cluster's default capacity provider strategy.

A capacity provider strategy consists of one or more capacity providers along with the base and weight to assign to them. A capacity provider must be associated with the cluster to be used in a capacity provider strategy. The PutClusterCapacityProviders API is used to associate a capacity provider with a cluster. Only capacity providers with an ACTIVE or UPDATING status can be used.

If specifying a capacity provider that uses an Auto Scaling group, the capacity provider must already be created. New capacity providers can be created with the CreateCapacityProvider API operation.

To use a AWS Fargate capacity provider, specify either the FARGATE or FARGATE_SPOT capacity providers. The AWS Fargate capacity providers are available to all accounts and only need to be associated with a cluster to be used.

The PutClusterCapacityProviders API operation is used to update the list of available capacity providers for a cluster after the cluster is created.

Definition at line 395 of file UpdateServiceRequest.h.

◆ WithCluster() [1/3]

UpdateServiceRequest& Aws::ECS::Model::UpdateServiceRequest::WithCluster ( const Aws::String value)
inline

The short name or full Amazon Resource Name (ARN) of the cluster that your service is running on. If you do not specify a cluster, the default cluster is assumed.

Definition at line 83 of file UpdateServiceRequest.h.

◆ WithCluster() [2/3]

UpdateServiceRequest& Aws::ECS::Model::UpdateServiceRequest::WithCluster ( Aws::String &&  value)
inline

The short name or full Amazon Resource Name (ARN) of the cluster that your service is running on. If you do not specify a cluster, the default cluster is assumed.

Definition at line 90 of file UpdateServiceRequest.h.

◆ WithCluster() [3/3]

UpdateServiceRequest& Aws::ECS::Model::UpdateServiceRequest::WithCluster ( const char *  value)
inline

The short name or full Amazon Resource Name (ARN) of the cluster that your service is running on. If you do not specify a cluster, the default cluster is assumed.

Definition at line 97 of file UpdateServiceRequest.h.

◆ WithDeploymentConfiguration() [1/2]

UpdateServiceRequest& Aws::ECS::Model::UpdateServiceRequest::WithDeploymentConfiguration ( const DeploymentConfiguration value)
inline

Optional deployment parameters that control how many tasks run during the deployment and the ordering of stopping and starting tasks.

Definition at line 476 of file UpdateServiceRequest.h.

◆ WithDeploymentConfiguration() [2/2]

UpdateServiceRequest& Aws::ECS::Model::UpdateServiceRequest::WithDeploymentConfiguration ( DeploymentConfiguration &&  value)
inline

Optional deployment parameters that control how many tasks run during the deployment and the ordering of stopping and starting tasks.

Definition at line 482 of file UpdateServiceRequest.h.

◆ WithDesiredCount()

UpdateServiceRequest& Aws::ECS::Model::UpdateServiceRequest::WithDesiredCount ( int  value)
inline

The number of instantiations of the task to place and keep running in your service.

Definition at line 163 of file UpdateServiceRequest.h.

◆ WithForceNewDeployment()

UpdateServiceRequest& Aws::ECS::Model::UpdateServiceRequest::WithForceNewDeployment ( bool  value)
inline

Whether to force a new deployment of the service. Deployments are not forced by default. You can use this option to trigger a new deployment with no service definition changes. For example, you can update a service's tasks to use a newer Docker image with the same image/tag combination (my_image:latest) or to roll Fargate tasks onto a newer platform version.

Definition at line 797 of file UpdateServiceRequest.h.

◆ WithHealthCheckGracePeriodSeconds()

UpdateServiceRequest& Aws::ECS::Model::UpdateServiceRequest::WithHealthCheckGracePeriodSeconds ( int  value)
inline

The period of time, in seconds, that the Amazon ECS service scheduler should ignore unhealthy Elastic Load Balancing target health checks after a task has first started. This is only valid if your service is configured to use a load balancer. If your service's tasks take a while to start and respond to Elastic Load Balancing health checks, you can specify a health check grace period of up to 2,147,483,647 seconds. During that time, the Amazon ECS service scheduler ignores the Elastic Load Balancing health check status. This grace period can prevent the ECS service scheduler from marking tasks as unhealthy and stopping them before they have time to come up.

Definition at line 850 of file UpdateServiceRequest.h.

◆ WithNetworkConfiguration() [1/2]

UpdateServiceRequest& Aws::ECS::Model::UpdateServiceRequest::WithNetworkConfiguration ( const NetworkConfiguration value)
inline

Definition at line 498 of file UpdateServiceRequest.h.

◆ WithNetworkConfiguration() [2/2]

UpdateServiceRequest& Aws::ECS::Model::UpdateServiceRequest::WithNetworkConfiguration ( NetworkConfiguration &&  value)
inline

Definition at line 501 of file UpdateServiceRequest.h.

◆ WithPlacementConstraints() [1/2]

UpdateServiceRequest& Aws::ECS::Model::UpdateServiceRequest::WithPlacementConstraints ( const Aws::Vector< PlacementConstraint > &  value)
inline

An array of task placement constraint objects to update the service to use. If no value is specified, the existing placement constraints for the service will remain unchanged. If this value is specified, it will override any existing placement constraints defined for the service. To remove all existing placement constraints, specify an empty array.

You can specify a maximum of 10 constraints per task (this limit includes constraints in the task definition and those specified at runtime).

Definition at line 557 of file UpdateServiceRequest.h.

◆ WithPlacementConstraints() [2/2]

UpdateServiceRequest& Aws::ECS::Model::UpdateServiceRequest::WithPlacementConstraints ( Aws::Vector< PlacementConstraint > &&  value)
inline

An array of task placement constraint objects to update the service to use. If no value is specified, the existing placement constraints for the service will remain unchanged. If this value is specified, it will override any existing placement constraints defined for the service. To remove all existing placement constraints, specify an empty array.

You can specify a maximum of 10 constraints per task (this limit includes constraints in the task definition and those specified at runtime).

Definition at line 568 of file UpdateServiceRequest.h.

◆ WithPlacementStrategy() [1/2]

UpdateServiceRequest& Aws::ECS::Model::UpdateServiceRequest::WithPlacementStrategy ( const Aws::Vector< PlacementStrategy > &  value)
inline

The task placement strategy objects to update the service to use. If no value is specified, the existing placement strategy for the service will remain unchanged. If this value is specified, it will override the existing placement strategy defined for the service. To remove an existing placement strategy, specify an empty object.

You can specify a maximum of five strategy rules per service.

Definition at line 641 of file UpdateServiceRequest.h.

◆ WithPlacementStrategy() [2/2]

UpdateServiceRequest& Aws::ECS::Model::UpdateServiceRequest::WithPlacementStrategy ( Aws::Vector< PlacementStrategy > &&  value)
inline

The task placement strategy objects to update the service to use. If no value is specified, the existing placement strategy for the service will remain unchanged. If this value is specified, it will override the existing placement strategy defined for the service. To remove an existing placement strategy, specify an empty object.

You can specify a maximum of five strategy rules per service.

Definition at line 651 of file UpdateServiceRequest.h.

◆ WithPlatformVersion() [1/3]

UpdateServiceRequest& Aws::ECS::Model::UpdateServiceRequest::WithPlatformVersion ( const Aws::String value)
inline

The platform version on which your tasks in the service are running. A platform version is only specified for tasks using the Fargate launch type. If a platform version is not specified, the LATEST platform version is used by default. For more information, see AWS Fargate Platform Versions in the Amazon Elastic Container Service Developer Guide.

Definition at line 738 of file UpdateServiceRequest.h.

◆ WithPlatformVersion() [2/3]

UpdateServiceRequest& Aws::ECS::Model::UpdateServiceRequest::WithPlatformVersion ( Aws::String &&  value)
inline

The platform version on which your tasks in the service are running. A platform version is only specified for tasks using the Fargate launch type. If a platform version is not specified, the LATEST platform version is used by default. For more information, see AWS Fargate Platform Versions in the Amazon Elastic Container Service Developer Guide.

Definition at line 749 of file UpdateServiceRequest.h.

◆ WithPlatformVersion() [3/3]

UpdateServiceRequest& Aws::ECS::Model::UpdateServiceRequest::WithPlatformVersion ( const char *  value)
inline

The platform version on which your tasks in the service are running. A platform version is only specified for tasks using the Fargate launch type. If a platform version is not specified, the LATEST platform version is used by default. For more information, see AWS Fargate Platform Versions in the Amazon Elastic Container Service Developer Guide.

Definition at line 760 of file UpdateServiceRequest.h.

◆ WithService() [1/3]

UpdateServiceRequest& Aws::ECS::Model::UpdateServiceRequest::WithService ( const Aws::String value)
inline

The name of the service to update.

Definition at line 128 of file UpdateServiceRequest.h.

◆ WithService() [2/3]

UpdateServiceRequest& Aws::ECS::Model::UpdateServiceRequest::WithService ( Aws::String &&  value)
inline

The name of the service to update.

Definition at line 133 of file UpdateServiceRequest.h.

◆ WithService() [3/3]

UpdateServiceRequest& Aws::ECS::Model::UpdateServiceRequest::WithService ( const char *  value)
inline

The name of the service to update.

Definition at line 138 of file UpdateServiceRequest.h.

◆ WithTaskDefinition() [1/3]

UpdateServiceRequest& Aws::ECS::Model::UpdateServiceRequest::WithTaskDefinition ( const Aws::String value)
inline

The family and revision (family:revision) or full ARN of the task definition to run in your service. If a revision is not specified, the latest ACTIVE revision is used. If you modify the task definition with UpdateService, Amazon ECS spawns a task with the new version of the task definition and then stops an old task after the new version is running.

Definition at line 224 of file UpdateServiceRequest.h.

◆ WithTaskDefinition() [2/3]

UpdateServiceRequest& Aws::ECS::Model::UpdateServiceRequest::WithTaskDefinition ( Aws::String &&  value)
inline

The family and revision (family:revision) or full ARN of the task definition to run in your service. If a revision is not specified, the latest ACTIVE revision is used. If you modify the task definition with UpdateService, Amazon ECS spawns a task with the new version of the task definition and then stops an old task after the new version is running.

Definition at line 234 of file UpdateServiceRequest.h.

◆ WithTaskDefinition() [3/3]

UpdateServiceRequest& Aws::ECS::Model::UpdateServiceRequest::WithTaskDefinition ( const char *  value)
inline

The family and revision (family:revision) or full ARN of the task definition to run in your service. If a revision is not specified, the latest ACTIVE revision is used. If you modify the task definition with UpdateService, Amazon ECS spawns a task with the new version of the task definition and then stops an old task after the new version is running.

Definition at line 244 of file UpdateServiceRequest.h.


The documentation for this class was generated from the following file: