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

#include <CreateClusterRequest.h>

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

Public Member Functions

 CreateClusterRequest ()
 
virtual const char * GetServiceRequestName () const override
 
Aws::String SerializePayload () const override
 
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders () const override
 
const Aws::StringGetClusterName () const
 
bool ClusterNameHasBeenSet () const
 
void SetClusterName (const Aws::String &value)
 
void SetClusterName (Aws::String &&value)
 
void SetClusterName (const char *value)
 
CreateClusterRequestWithClusterName (const Aws::String &value)
 
CreateClusterRequestWithClusterName (Aws::String &&value)
 
CreateClusterRequestWithClusterName (const char *value)
 
const Aws::Vector< Tag > & GetTags () const
 
bool TagsHasBeenSet () const
 
void SetTags (const Aws::Vector< Tag > &value)
 
void SetTags (Aws::Vector< Tag > &&value)
 
CreateClusterRequestWithTags (const Aws::Vector< Tag > &value)
 
CreateClusterRequestWithTags (Aws::Vector< Tag > &&value)
 
CreateClusterRequestAddTags (const Tag &value)
 
CreateClusterRequestAddTags (Tag &&value)
 
const Aws::Vector< ClusterSetting > & GetSettings () const
 
bool SettingsHasBeenSet () const
 
void SetSettings (const Aws::Vector< ClusterSetting > &value)
 
void SetSettings (Aws::Vector< ClusterSetting > &&value)
 
CreateClusterRequestWithSettings (const Aws::Vector< ClusterSetting > &value)
 
CreateClusterRequestWithSettings (Aws::Vector< ClusterSetting > &&value)
 
CreateClusterRequestAddSettings (const ClusterSetting &value)
 
CreateClusterRequestAddSettings (ClusterSetting &&value)
 
const ClusterConfigurationGetConfiguration () const
 
bool ConfigurationHasBeenSet () const
 
void SetConfiguration (const ClusterConfiguration &value)
 
void SetConfiguration (ClusterConfiguration &&value)
 
CreateClusterRequestWithConfiguration (const ClusterConfiguration &value)
 
CreateClusterRequestWithConfiguration (ClusterConfiguration &&value)
 
const Aws::Vector< Aws::String > & GetCapacityProviders () const
 
bool CapacityProvidersHasBeenSet () const
 
void SetCapacityProviders (const Aws::Vector< Aws::String > &value)
 
void SetCapacityProviders (Aws::Vector< Aws::String > &&value)
 
CreateClusterRequestWithCapacityProviders (const Aws::Vector< Aws::String > &value)
 
CreateClusterRequestWithCapacityProviders (Aws::Vector< Aws::String > &&value)
 
CreateClusterRequestAddCapacityProviders (const Aws::String &value)
 
CreateClusterRequestAddCapacityProviders (Aws::String &&value)
 
CreateClusterRequestAddCapacityProviders (const char *value)
 
const Aws::Vector< CapacityProviderStrategyItem > & GetDefaultCapacityProviderStrategy () const
 
bool DefaultCapacityProviderStrategyHasBeenSet () const
 
void SetDefaultCapacityProviderStrategy (const Aws::Vector< CapacityProviderStrategyItem > &value)
 
void SetDefaultCapacityProviderStrategy (Aws::Vector< CapacityProviderStrategyItem > &&value)
 
CreateClusterRequestWithDefaultCapacityProviderStrategy (const Aws::Vector< CapacityProviderStrategyItem > &value)
 
CreateClusterRequestWithDefaultCapacityProviderStrategy (Aws::Vector< CapacityProviderStrategyItem > &&value)
 
CreateClusterRequestAddDefaultCapacityProviderStrategy (const CapacityProviderStrategyItem &value)
 
CreateClusterRequestAddDefaultCapacityProviderStrategy (CapacityProviderStrategyItem &&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 26 of file CreateClusterRequest.h.

Constructor & Destructor Documentation

◆ CreateClusterRequest()

Aws::ECS::Model::CreateClusterRequest::CreateClusterRequest ( )

Member Function Documentation

◆ AddCapacityProviders() [1/3]

CreateClusterRequest& Aws::ECS::Model::CreateClusterRequest::AddCapacityProviders ( Aws::String &&  value)
inline

The short name of one or more capacity providers to associate with the cluster. A capacity provider must be associated with a cluster before it can be included as part of the default capacity provider strategy of the cluster or used in a capacity provider strategy when calling the CreateService or RunTask actions.

If specifying a capacity provider that uses an Auto Scaling group, the capacity provider must already be created and not already associated with another cluster. New Auto Scaling group 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 498 of file CreateClusterRequest.h.

◆ AddCapacityProviders() [2/3]

CreateClusterRequest& Aws::ECS::Model::CreateClusterRequest::AddCapacityProviders ( const Aws::String value)
inline

The short name of one or more capacity providers to associate with the cluster. A capacity provider must be associated with a cluster before it can be included as part of the default capacity provider strategy of the cluster or used in a capacity provider strategy when calling the CreateService or RunTask actions.

If specifying a capacity provider that uses an Auto Scaling group, the capacity provider must already be created and not already associated with another cluster. New Auto Scaling group 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 480 of file CreateClusterRequest.h.

◆ AddCapacityProviders() [3/3]

CreateClusterRequest& Aws::ECS::Model::CreateClusterRequest::AddCapacityProviders ( const char *  value)
inline

The short name of one or more capacity providers to associate with the cluster. A capacity provider must be associated with a cluster before it can be included as part of the default capacity provider strategy of the cluster or used in a capacity provider strategy when calling the CreateService or RunTask actions.

If specifying a capacity provider that uses an Auto Scaling group, the capacity provider must already be created and not already associated with another cluster. New Auto Scaling group 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 516 of file CreateClusterRequest.h.

◆ AddDefaultCapacityProviderStrategy() [1/2]

CreateClusterRequest& Aws::ECS::Model::CreateClusterRequest::AddDefaultCapacityProviderStrategy ( CapacityProviderStrategyItem &&  value)
inline

The capacity provider strategy to set as the default for the cluster. When a default capacity provider strategy is set for a cluster, when calling the RunTask or CreateService APIs wtih no capacity provider strategy or launch type specified, the default capacity provider strategy for the cluster is used.

If a default capacity provider strategy is not defined for a cluster during creation, it can be defined later with the PutClusterCapacityProviders API operation.

Definition at line 605 of file CreateClusterRequest.h.

◆ AddDefaultCapacityProviderStrategy() [2/2]

CreateClusterRequest& Aws::ECS::Model::CreateClusterRequest::AddDefaultCapacityProviderStrategy ( const CapacityProviderStrategyItem value)
inline

The capacity provider strategy to set as the default for the cluster. When a default capacity provider strategy is set for a cluster, when calling the RunTask or CreateService APIs wtih no capacity provider strategy or launch type specified, the default capacity provider strategy for the cluster is used.

If a default capacity provider strategy is not defined for a cluster during creation, it can be defined later with the PutClusterCapacityProviders API operation.

Definition at line 594 of file CreateClusterRequest.h.

◆ AddSettings() [1/2]

CreateClusterRequest& Aws::ECS::Model::CreateClusterRequest::AddSettings ( ClusterSetting &&  value)
inline

The setting to use when creating a cluster. This parameter is used to enable CloudWatch Container Insights for a cluster. If this value is specified, it will override the containerInsights value set with PutAccountSetting or PutAccountSettingDefault.

Definition at line 322 of file CreateClusterRequest.h.

◆ AddSettings() [2/2]

CreateClusterRequest& Aws::ECS::Model::CreateClusterRequest::AddSettings ( const ClusterSetting value)
inline

The setting to use when creating a cluster. This parameter is used to enable CloudWatch Container Insights for a cluster. If this value is specified, it will override the containerInsights value set with PutAccountSetting or PutAccountSettingDefault.

Definition at line 314 of file CreateClusterRequest.h.

◆ AddTags() [1/2]

CreateClusterRequest& Aws::ECS::Model::CreateClusterRequest::AddTags ( const Tag value)
inline

The metadata that you apply to the cluster to help you categorize and organize them. Each tag consists of a key and an optional value, both of which you define.

The following basic restrictions apply to tags:

  • Maximum number of tags per resource - 50

  • For each resource, each tag key must be unique, and each tag key can have only one value.

  • Maximum key length - 128 Unicode characters in UTF-8

  • Maximum value length - 256 Unicode characters in UTF-8

  • If your tagging schema is used across multiple services and resources, remember that other services may have restrictions on allowed characters. Generally allowed characters are: letters, numbers, and spaces representable in UTF-8, and the following characters: + - = . _ : / .

  • Tag keys and values are case-sensitive.

  • Do not use aws:, AWS:, or any upper or lowercase combination of such as a prefix for either keys or values as it is reserved for AWS use. You cannot edit or delete tag keys or values with this prefix. Tags with this prefix do not count against your tags per resource limit.

Definition at line 237 of file CreateClusterRequest.h.

◆ AddTags() [2/2]

CreateClusterRequest& Aws::ECS::Model::CreateClusterRequest::AddTags ( Tag &&  value)
inline

The metadata that you apply to the cluster to help you categorize and organize them. Each tag consists of a key and an optional value, both of which you define.

The following basic restrictions apply to tags:

  • Maximum number of tags per resource - 50

  • For each resource, each tag key must be unique, and each tag key can have only one value.

  • Maximum key length - 128 Unicode characters in UTF-8

  • Maximum value length - 256 Unicode characters in UTF-8

  • If your tagging schema is used across multiple services and resources, remember that other services may have restrictions on allowed characters. Generally allowed characters are: letters, numbers, and spaces representable in UTF-8, and the following characters: + - = . _ : / .

  • Tag keys and values are case-sensitive.

  • Do not use aws:, AWS:, or any upper or lowercase combination of such as a prefix for either keys or values as it is reserved for AWS use. You cannot edit or delete tag keys or values with this prefix. Tags with this prefix do not count against your tags per resource limit.

Definition at line 257 of file CreateClusterRequest.h.

◆ CapacityProvidersHasBeenSet()

bool Aws::ECS::Model::CreateClusterRequest::CapacityProvidersHasBeenSet ( ) const
inline

The short name of one or more capacity providers to associate with the cluster. A capacity provider must be associated with a cluster before it can be included as part of the default capacity provider strategy of the cluster or used in a capacity provider strategy when calling the CreateService or RunTask actions.

If specifying a capacity provider that uses an Auto Scaling group, the capacity provider must already be created and not already associated with another cluster. New Auto Scaling group 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 390 of file CreateClusterRequest.h.

◆ ClusterNameHasBeenSet()

bool Aws::ECS::Model::CreateClusterRequest::ClusterNameHasBeenSet ( ) const
inline

The name of your cluster. If you do not specify a name for your cluster, you create a cluster named default. Up to 255 letters (uppercase and lowercase), numbers, and hyphens are allowed.

Definition at line 54 of file CreateClusterRequest.h.

◆ ConfigurationHasBeenSet()

bool Aws::ECS::Model::CreateClusterRequest::ConfigurationHasBeenSet ( ) const
inline

The execute command configuration for the cluster.

Definition at line 333 of file CreateClusterRequest.h.

◆ DefaultCapacityProviderStrategyHasBeenSet()

bool Aws::ECS::Model::CreateClusterRequest::DefaultCapacityProviderStrategyHasBeenSet ( ) const
inline

The capacity provider strategy to set as the default for the cluster. When a default capacity provider strategy is set for a cluster, when calling the RunTask or CreateService APIs wtih no capacity provider strategy or launch type specified, the default capacity provider strategy for the cluster is used.

If a default capacity provider strategy is not defined for a cluster during creation, it can be defined later with the PutClusterCapacityProviders API operation.

Definition at line 539 of file CreateClusterRequest.h.

◆ GetCapacityProviders()

const Aws::Vector<Aws::String>& Aws::ECS::Model::CreateClusterRequest::GetCapacityProviders ( ) const
inline

The short name of one or more capacity providers to associate with the cluster. A capacity provider must be associated with a cluster before it can be included as part of the default capacity provider strategy of the cluster or used in a capacity provider strategy when calling the CreateService or RunTask actions.

If specifying a capacity provider that uses an Auto Scaling group, the capacity provider must already be created and not already associated with another cluster. New Auto Scaling group 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 372 of file CreateClusterRequest.h.

◆ GetClusterName()

const Aws::String& Aws::ECS::Model::CreateClusterRequest::GetClusterName ( ) const
inline

The name of your cluster. If you do not specify a name for your cluster, you create a cluster named default. Up to 255 letters (uppercase and lowercase), numbers, and hyphens are allowed.

Definition at line 47 of file CreateClusterRequest.h.

◆ GetConfiguration()

const ClusterConfiguration& Aws::ECS::Model::CreateClusterRequest::GetConfiguration ( ) const
inline

The execute command configuration for the cluster.

Definition at line 328 of file CreateClusterRequest.h.

◆ GetDefaultCapacityProviderStrategy()

const Aws::Vector<CapacityProviderStrategyItem>& Aws::ECS::Model::CreateClusterRequest::GetDefaultCapacityProviderStrategy ( ) const
inline

The capacity provider strategy to set as the default for the cluster. When a default capacity provider strategy is set for a cluster, when calling the RunTask or CreateService APIs wtih no capacity provider strategy or launch type specified, the default capacity provider strategy for the cluster is used.

If a default capacity provider strategy is not defined for a cluster during creation, it can be defined later with the PutClusterCapacityProviders API operation.

Definition at line 528 of file CreateClusterRequest.h.

◆ GetRequestSpecificHeaders()

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

Reimplemented from Aws::ECS::ECSRequest.

◆ GetServiceRequestName()

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

Implements Aws::AmazonWebServiceRequest.

Definition at line 35 of file CreateClusterRequest.h.

◆ GetSettings()

const Aws::Vector<ClusterSetting>& Aws::ECS::Model::CreateClusterRequest::GetSettings ( ) const
inline

The setting to use when creating a cluster. This parameter is used to enable CloudWatch Container Insights for a cluster. If this value is specified, it will override the containerInsights value set with PutAccountSetting or PutAccountSettingDefault.

Definition at line 266 of file CreateClusterRequest.h.

◆ GetTags()

const Aws::Vector<Tag>& Aws::ECS::Model::CreateClusterRequest::GetTags ( ) const
inline

The metadata that you apply to the cluster to help you categorize and organize them. Each tag consists of a key and an optional value, both of which you define.

The following basic restrictions apply to tags:

  • Maximum number of tags per resource - 50

  • For each resource, each tag key must be unique, and each tag key can have only one value.

  • Maximum key length - 128 Unicode characters in UTF-8

  • Maximum value length - 256 Unicode characters in UTF-8

  • If your tagging schema is used across multiple services and resources, remember that other services may have restrictions on allowed characters. Generally allowed characters are: letters, numbers, and spaces representable in UTF-8, and the following characters: + - = . _ : / .

  • Tag keys and values are case-sensitive.

  • Do not use aws:, AWS:, or any upper or lowercase combination of such as a prefix for either keys or values as it is reserved for AWS use. You cannot edit or delete tag keys or values with this prefix. Tags with this prefix do not count against your tags per resource limit.

Definition at line 117 of file CreateClusterRequest.h.

◆ SerializePayload()

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

Convert payload into String.

Implements Aws::AmazonSerializableWebServiceRequest.

◆ SetCapacityProviders() [1/2]

void Aws::ECS::Model::CreateClusterRequest::SetCapacityProviders ( Aws::Vector< Aws::String > &&  value)
inline

The short name of one or more capacity providers to associate with the cluster. A capacity provider must be associated with a cluster before it can be included as part of the default capacity provider strategy of the cluster or used in a capacity provider strategy when calling the CreateService or RunTask actions.

If specifying a capacity provider that uses an Auto Scaling group, the capacity provider must already be created and not already associated with another cluster. New Auto Scaling group 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 426 of file CreateClusterRequest.h.

◆ SetCapacityProviders() [2/2]

void Aws::ECS::Model::CreateClusterRequest::SetCapacityProviders ( const Aws::Vector< Aws::String > &  value)
inline

The short name of one or more capacity providers to associate with the cluster. A capacity provider must be associated with a cluster before it can be included as part of the default capacity provider strategy of the cluster or used in a capacity provider strategy when calling the CreateService or RunTask actions.

If specifying a capacity provider that uses an Auto Scaling group, the capacity provider must already be created and not already associated with another cluster. New Auto Scaling group 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 408 of file CreateClusterRequest.h.

◆ SetClusterName() [1/3]

void Aws::ECS::Model::CreateClusterRequest::SetClusterName ( Aws::String &&  value)
inline

The name of your cluster. If you do not specify a name for your cluster, you create a cluster named default. Up to 255 letters (uppercase and lowercase), numbers, and hyphens are allowed.

Definition at line 68 of file CreateClusterRequest.h.

◆ SetClusterName() [2/3]

void Aws::ECS::Model::CreateClusterRequest::SetClusterName ( const Aws::String value)
inline

The name of your cluster. If you do not specify a name for your cluster, you create a cluster named default. Up to 255 letters (uppercase and lowercase), numbers, and hyphens are allowed.

Definition at line 61 of file CreateClusterRequest.h.

◆ SetClusterName() [3/3]

void Aws::ECS::Model::CreateClusterRequest::SetClusterName ( const char *  value)
inline

The name of your cluster. If you do not specify a name for your cluster, you create a cluster named default. Up to 255 letters (uppercase and lowercase), numbers, and hyphens are allowed.

Definition at line 75 of file CreateClusterRequest.h.

◆ SetConfiguration() [1/2]

void Aws::ECS::Model::CreateClusterRequest::SetConfiguration ( ClusterConfiguration &&  value)
inline

The execute command configuration for the cluster.

Definition at line 343 of file CreateClusterRequest.h.

◆ SetConfiguration() [2/2]

void Aws::ECS::Model::CreateClusterRequest::SetConfiguration ( const ClusterConfiguration value)
inline

The execute command configuration for the cluster.

Definition at line 338 of file CreateClusterRequest.h.

◆ SetDefaultCapacityProviderStrategy() [1/2]

void Aws::ECS::Model::CreateClusterRequest::SetDefaultCapacityProviderStrategy ( Aws::Vector< CapacityProviderStrategyItem > &&  value)
inline

The capacity provider strategy to set as the default for the cluster. When a default capacity provider strategy is set for a cluster, when calling the RunTask or CreateService APIs wtih no capacity provider strategy or launch type specified, the default capacity provider strategy for the cluster is used.

If a default capacity provider strategy is not defined for a cluster during creation, it can be defined later with the PutClusterCapacityProviders API operation.

Definition at line 561 of file CreateClusterRequest.h.

◆ SetDefaultCapacityProviderStrategy() [2/2]

void Aws::ECS::Model::CreateClusterRequest::SetDefaultCapacityProviderStrategy ( const Aws::Vector< CapacityProviderStrategyItem > &  value)
inline

The capacity provider strategy to set as the default for the cluster. When a default capacity provider strategy is set for a cluster, when calling the RunTask or CreateService APIs wtih no capacity provider strategy or launch type specified, the default capacity provider strategy for the cluster is used.

If a default capacity provider strategy is not defined for a cluster during creation, it can be defined later with the PutClusterCapacityProviders API operation.

Definition at line 550 of file CreateClusterRequest.h.

◆ SetSettings() [1/2]

void Aws::ECS::Model::CreateClusterRequest::SetSettings ( Aws::Vector< ClusterSetting > &&  value)
inline

The setting to use when creating a cluster. This parameter is used to enable CloudWatch Container Insights for a cluster. If this value is specified, it will override the containerInsights value set with PutAccountSetting or PutAccountSettingDefault.

Definition at line 290 of file CreateClusterRequest.h.

◆ SetSettings() [2/2]

void Aws::ECS::Model::CreateClusterRequest::SetSettings ( const Aws::Vector< ClusterSetting > &  value)
inline

The setting to use when creating a cluster. This parameter is used to enable CloudWatch Container Insights for a cluster. If this value is specified, it will override the containerInsights value set with PutAccountSetting or PutAccountSettingDefault.

Definition at line 282 of file CreateClusterRequest.h.

◆ SetTags() [1/2]

void Aws::ECS::Model::CreateClusterRequest::SetTags ( Aws::Vector< Tag > &&  value)
inline

The metadata that you apply to the cluster to help you categorize and organize them. Each tag consists of a key and an optional value, both of which you define.

The following basic restrictions apply to tags:

  • Maximum number of tags per resource - 50

  • For each resource, each tag key must be unique, and each tag key can have only one value.

  • Maximum key length - 128 Unicode characters in UTF-8

  • Maximum value length - 256 Unicode characters in UTF-8

  • If your tagging schema is used across multiple services and resources, remember that other services may have restrictions on allowed characters. Generally allowed characters are: letters, numbers, and spaces representable in UTF-8, and the following characters: + - = . _ : / .

  • Tag keys and values are case-sensitive.

  • Do not use aws:, AWS:, or any upper or lowercase combination of such as a prefix for either keys or values as it is reserved for AWS use. You cannot edit or delete tag keys or values with this prefix. Tags with this prefix do not count against your tags per resource limit.

Definition at line 177 of file CreateClusterRequest.h.

◆ SetTags() [2/2]

void Aws::ECS::Model::CreateClusterRequest::SetTags ( const Aws::Vector< Tag > &  value)
inline

The metadata that you apply to the cluster to help you categorize and organize them. Each tag consists of a key and an optional value, both of which you define.

The following basic restrictions apply to tags:

  • Maximum number of tags per resource - 50

  • For each resource, each tag key must be unique, and each tag key can have only one value.

  • Maximum key length - 128 Unicode characters in UTF-8

  • Maximum value length - 256 Unicode characters in UTF-8

  • If your tagging schema is used across multiple services and resources, remember that other services may have restrictions on allowed characters. Generally allowed characters are: letters, numbers, and spaces representable in UTF-8, and the following characters: + - = . _ : / .

  • Tag keys and values are case-sensitive.

  • Do not use aws:, AWS:, or any upper or lowercase combination of such as a prefix for either keys or values as it is reserved for AWS use. You cannot edit or delete tag keys or values with this prefix. Tags with this prefix do not count against your tags per resource limit.

Definition at line 157 of file CreateClusterRequest.h.

◆ SettingsHasBeenSet()

bool Aws::ECS::Model::CreateClusterRequest::SettingsHasBeenSet ( ) const
inline

The setting to use when creating a cluster. This parameter is used to enable CloudWatch Container Insights for a cluster. If this value is specified, it will override the containerInsights value set with PutAccountSetting or PutAccountSettingDefault.

Definition at line 274 of file CreateClusterRequest.h.

◆ TagsHasBeenSet()

bool Aws::ECS::Model::CreateClusterRequest::TagsHasBeenSet ( ) const
inline

The metadata that you apply to the cluster to help you categorize and organize them. Each tag consists of a key and an optional value, both of which you define.

The following basic restrictions apply to tags:

  • Maximum number of tags per resource - 50

  • For each resource, each tag key must be unique, and each tag key can have only one value.

  • Maximum key length - 128 Unicode characters in UTF-8

  • Maximum value length - 256 Unicode characters in UTF-8

  • If your tagging schema is used across multiple services and resources, remember that other services may have restrictions on allowed characters. Generally allowed characters are: letters, numbers, and spaces representable in UTF-8, and the following characters: + - = . _ : / .

  • Tag keys and values are case-sensitive.

  • Do not use aws:, AWS:, or any upper or lowercase combination of such as a prefix for either keys or values as it is reserved for AWS use. You cannot edit or delete tag keys or values with this prefix. Tags with this prefix do not count against your tags per resource limit.

Definition at line 137 of file CreateClusterRequest.h.

◆ WithCapacityProviders() [1/2]

CreateClusterRequest& Aws::ECS::Model::CreateClusterRequest::WithCapacityProviders ( Aws::Vector< Aws::String > &&  value)
inline

The short name of one or more capacity providers to associate with the cluster. A capacity provider must be associated with a cluster before it can be included as part of the default capacity provider strategy of the cluster or used in a capacity provider strategy when calling the CreateService or RunTask actions.

If specifying a capacity provider that uses an Auto Scaling group, the capacity provider must already be created and not already associated with another cluster. New Auto Scaling group 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 462 of file CreateClusterRequest.h.

◆ WithCapacityProviders() [2/2]

CreateClusterRequest& Aws::ECS::Model::CreateClusterRequest::WithCapacityProviders ( const Aws::Vector< Aws::String > &  value)
inline

The short name of one or more capacity providers to associate with the cluster. A capacity provider must be associated with a cluster before it can be included as part of the default capacity provider strategy of the cluster or used in a capacity provider strategy when calling the CreateService or RunTask actions.

If specifying a capacity provider that uses an Auto Scaling group, the capacity provider must already be created and not already associated with another cluster. New Auto Scaling group 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 444 of file CreateClusterRequest.h.

◆ WithClusterName() [1/3]

CreateClusterRequest& Aws::ECS::Model::CreateClusterRequest::WithClusterName ( Aws::String &&  value)
inline

The name of your cluster. If you do not specify a name for your cluster, you create a cluster named default. Up to 255 letters (uppercase and lowercase), numbers, and hyphens are allowed.

Definition at line 89 of file CreateClusterRequest.h.

◆ WithClusterName() [2/3]

CreateClusterRequest& Aws::ECS::Model::CreateClusterRequest::WithClusterName ( const Aws::String value)
inline

The name of your cluster. If you do not specify a name for your cluster, you create a cluster named default. Up to 255 letters (uppercase and lowercase), numbers, and hyphens are allowed.

Definition at line 82 of file CreateClusterRequest.h.

◆ WithClusterName() [3/3]

CreateClusterRequest& Aws::ECS::Model::CreateClusterRequest::WithClusterName ( const char *  value)
inline

The name of your cluster. If you do not specify a name for your cluster, you create a cluster named default. Up to 255 letters (uppercase and lowercase), numbers, and hyphens are allowed.

Definition at line 96 of file CreateClusterRequest.h.

◆ WithConfiguration() [1/2]

CreateClusterRequest& Aws::ECS::Model::CreateClusterRequest::WithConfiguration ( ClusterConfiguration &&  value)
inline

The execute command configuration for the cluster.

Definition at line 353 of file CreateClusterRequest.h.

◆ WithConfiguration() [2/2]

CreateClusterRequest& Aws::ECS::Model::CreateClusterRequest::WithConfiguration ( const ClusterConfiguration value)
inline

The execute command configuration for the cluster.

Definition at line 348 of file CreateClusterRequest.h.

◆ WithDefaultCapacityProviderStrategy() [1/2]

CreateClusterRequest& Aws::ECS::Model::CreateClusterRequest::WithDefaultCapacityProviderStrategy ( Aws::Vector< CapacityProviderStrategyItem > &&  value)
inline

The capacity provider strategy to set as the default for the cluster. When a default capacity provider strategy is set for a cluster, when calling the RunTask or CreateService APIs wtih no capacity provider strategy or launch type specified, the default capacity provider strategy for the cluster is used.

If a default capacity provider strategy is not defined for a cluster during creation, it can be defined later with the PutClusterCapacityProviders API operation.

Definition at line 583 of file CreateClusterRequest.h.

◆ WithDefaultCapacityProviderStrategy() [2/2]

CreateClusterRequest& Aws::ECS::Model::CreateClusterRequest::WithDefaultCapacityProviderStrategy ( const Aws::Vector< CapacityProviderStrategyItem > &  value)
inline

The capacity provider strategy to set as the default for the cluster. When a default capacity provider strategy is set for a cluster, when calling the RunTask or CreateService APIs wtih no capacity provider strategy or launch type specified, the default capacity provider strategy for the cluster is used.

If a default capacity provider strategy is not defined for a cluster during creation, it can be defined later with the PutClusterCapacityProviders API operation.

Definition at line 572 of file CreateClusterRequest.h.

◆ WithSettings() [1/2]

CreateClusterRequest& Aws::ECS::Model::CreateClusterRequest::WithSettings ( Aws::Vector< ClusterSetting > &&  value)
inline

The setting to use when creating a cluster. This parameter is used to enable CloudWatch Container Insights for a cluster. If this value is specified, it will override the containerInsights value set with PutAccountSetting or PutAccountSettingDefault.

Definition at line 306 of file CreateClusterRequest.h.

◆ WithSettings() [2/2]

CreateClusterRequest& Aws::ECS::Model::CreateClusterRequest::WithSettings ( const Aws::Vector< ClusterSetting > &  value)
inline

The setting to use when creating a cluster. This parameter is used to enable CloudWatch Container Insights for a cluster. If this value is specified, it will override the containerInsights value set with PutAccountSetting or PutAccountSettingDefault.

Definition at line 298 of file CreateClusterRequest.h.

◆ WithTags() [1/2]

CreateClusterRequest& Aws::ECS::Model::CreateClusterRequest::WithTags ( Aws::Vector< Tag > &&  value)
inline

The metadata that you apply to the cluster to help you categorize and organize them. Each tag consists of a key and an optional value, both of which you define.

The following basic restrictions apply to tags:

  • Maximum number of tags per resource - 50

  • For each resource, each tag key must be unique, and each tag key can have only one value.

  • Maximum key length - 128 Unicode characters in UTF-8

  • Maximum value length - 256 Unicode characters in UTF-8

  • If your tagging schema is used across multiple services and resources, remember that other services may have restrictions on allowed characters. Generally allowed characters are: letters, numbers, and spaces representable in UTF-8, and the following characters: + - = . _ : / .

  • Tag keys and values are case-sensitive.

  • Do not use aws:, AWS:, or any upper or lowercase combination of such as a prefix for either keys or values as it is reserved for AWS use. You cannot edit or delete tag keys or values with this prefix. Tags with this prefix do not count against your tags per resource limit.

Definition at line 217 of file CreateClusterRequest.h.

◆ WithTags() [2/2]

CreateClusterRequest& Aws::ECS::Model::CreateClusterRequest::WithTags ( const Aws::Vector< Tag > &  value)
inline

The metadata that you apply to the cluster to help you categorize and organize them. Each tag consists of a key and an optional value, both of which you define.

The following basic restrictions apply to tags:

  • Maximum number of tags per resource - 50

  • For each resource, each tag key must be unique, and each tag key can have only one value.

  • Maximum key length - 128 Unicode characters in UTF-8

  • Maximum value length - 256 Unicode characters in UTF-8

  • If your tagging schema is used across multiple services and resources, remember that other services may have restrictions on allowed characters. Generally allowed characters are: letters, numbers, and spaces representable in UTF-8, and the following characters: + - = . _ : / .

  • Tag keys and values are case-sensitive.

  • Do not use aws:, AWS:, or any upper or lowercase combination of such as a prefix for either keys or values as it is reserved for AWS use. You cannot edit or delete tag keys or values with this prefix. Tags with this prefix do not count against your tags per resource limit.

Definition at line 197 of file CreateClusterRequest.h.


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