AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
Public Member Functions | List of all members
Aws::ECS::Model::ServiceRegistry Class Reference

#include <ServiceRegistry.h>

Public Member Functions

AWS_ECS_API ServiceRegistry ()=default
 
 
 
AWS_ECS_API Aws::Utils::Json::JsonValue Jsonize () const
 
const Aws::StringGetRegistryArn () const
 
bool RegistryArnHasBeenSet () const
 
template<typename RegistryArnT = Aws::String>
void SetRegistryArn (RegistryArnT &&value)
 
template<typename RegistryArnT = Aws::String>
ServiceRegistryWithRegistryArn (RegistryArnT &&value)
 
int GetPort () const
 
bool PortHasBeenSet () const
 
void SetPort (int value)
 
ServiceRegistryWithPort (int value)
 
const Aws::StringGetContainerName () const
 
 
template<typename ContainerNameT = Aws::String>
void SetContainerName (ContainerNameT &&value)
 
template<typename ContainerNameT = Aws::String>
ServiceRegistryWithContainerName (ContainerNameT &&value)
 
int GetContainerPort () const
 
 
void SetContainerPort (int value)
 
 

Detailed Description

The details for the service registry.

Each service may be associated with one service registry. Multiple service registries for each service are not supported.

When you add, update, or remove the service registries configuration, Amazon ECS starts a new deployment. New tasks are registered and deregistered to the updated service registry configuration.

See Also:

AWS API Reference

Definition at line 36 of file ServiceRegistry.h.

Constructor & Destructor Documentation

◆ ServiceRegistry() [1/2]

AWS_ECS_API Aws::ECS::Model::ServiceRegistry::ServiceRegistry ( )
default

◆ ServiceRegistry() [2/2]

AWS_ECS_API Aws::ECS::Model::ServiceRegistry::ServiceRegistry ( Aws::Utils::Json::JsonView  jsonValue)

Member Function Documentation

◆ ContainerNameHasBeenSet()

bool Aws::ECS::Model::ServiceRegistry::ContainerNameHasBeenSet ( ) const
inline

The container name value to be used for your service discovery service. It's already specified in the task definition. If the task definition that your service task specifies uses the bridge or host network mode, you must specify a containerName and containerPort combination from the task definition. If the task definition that your service task specifies uses the awsvpc network mode and a type SRV DNS record is used, you must specify either a containerName and containerPort combination or a port value. However, you can't specify both.

Definition at line 84 of file ServiceRegistry.h.

◆ ContainerPortHasBeenSet()

bool Aws::ECS::Model::ServiceRegistry::ContainerPortHasBeenSet ( ) const
inline

The port value to be used for your service discovery service. It's already specified in the task definition. If the task definition your service task specifies uses the bridge or host network mode, you must specify a containerName and containerPort combination from the task definition. If the task definition your service task specifies uses the awsvpc network mode and a type SRV DNS record is used, you must specify either a containerName and containerPort combination or a port value. However, you can't specify both.

Definition at line 104 of file ServiceRegistry.h.

◆ GetContainerName()

const Aws::String & Aws::ECS::Model::ServiceRegistry::GetContainerName ( ) const
inline

The container name value to be used for your service discovery service. It's already specified in the task definition. If the task definition that your service task specifies uses the bridge or host network mode, you must specify a containerName and containerPort combination from the task definition. If the task definition that your service task specifies uses the awsvpc network mode and a type SRV DNS record is used, you must specify either a containerName and containerPort combination or a port value. However, you can't specify both.

Definition at line 83 of file ServiceRegistry.h.

◆ GetContainerPort()

int Aws::ECS::Model::ServiceRegistry::GetContainerPort ( ) const
inline

The port value to be used for your service discovery service. It's already specified in the task definition. If the task definition your service task specifies uses the bridge or host network mode, you must specify a containerName and containerPort combination from the task definition. If the task definition your service task specifies uses the awsvpc network mode and a type SRV DNS record is used, you must specify either a containerName and containerPort combination or a port value. However, you can't specify both.

Definition at line 103 of file ServiceRegistry.h.

◆ GetPort()

int Aws::ECS::Model::ServiceRegistry::GetPort ( ) const
inline

The port value used if your service discovery service specified an SRV record. This field might be used if both the awsvpc network mode and SRV records are used.

Definition at line 65 of file ServiceRegistry.h.

◆ GetRegistryArn()

const Aws::String & Aws::ECS::Model::ServiceRegistry::GetRegistryArn ( ) const
inline

The Amazon Resource Name (ARN) of the service registry. The currently supported service registry is Cloud Map. For more information, see CreateService.

Definition at line 51 of file ServiceRegistry.h.

◆ Jsonize()

AWS_ECS_API Aws::Utils::Json::JsonValue Aws::ECS::Model::ServiceRegistry::Jsonize ( ) const

◆ operator=()

AWS_ECS_API ServiceRegistry & Aws::ECS::Model::ServiceRegistry::operator= ( Aws::Utils::Json::JsonView  jsonValue)

◆ PortHasBeenSet()

bool Aws::ECS::Model::ServiceRegistry::PortHasBeenSet ( ) const
inline

The port value used if your service discovery service specified an SRV record. This field might be used if both the awsvpc network mode and SRV records are used.

Definition at line 66 of file ServiceRegistry.h.

◆ RegistryArnHasBeenSet()

bool Aws::ECS::Model::ServiceRegistry::RegistryArnHasBeenSet ( ) const
inline

The Amazon Resource Name (ARN) of the service registry. The currently supported service registry is Cloud Map. For more information, see CreateService.

Definition at line 52 of file ServiceRegistry.h.

◆ SetContainerName()

template<typename ContainerNameT = Aws::String>
void Aws::ECS::Model::ServiceRegistry::SetContainerName ( ContainerNameT &&  value)
inline

The container name value to be used for your service discovery service. It's already specified in the task definition. If the task definition that your service task specifies uses the bridge or host network mode, you must specify a containerName and containerPort combination from the task definition. If the task definition that your service task specifies uses the awsvpc network mode and a type SRV DNS record is used, you must specify either a containerName and containerPort combination or a port value. However, you can't specify both.

Definition at line 86 of file ServiceRegistry.h.

◆ SetContainerPort()

void Aws::ECS::Model::ServiceRegistry::SetContainerPort ( int  value)
inline

The port value to be used for your service discovery service. It's already specified in the task definition. If the task definition your service task specifies uses the bridge or host network mode, you must specify a containerName and containerPort combination from the task definition. If the task definition your service task specifies uses the awsvpc network mode and a type SRV DNS record is used, you must specify either a containerName and containerPort combination or a port value. However, you can't specify both.

Definition at line 105 of file ServiceRegistry.h.

◆ SetPort()

void Aws::ECS::Model::ServiceRegistry::SetPort ( int  value)
inline

The port value used if your service discovery service specified an SRV record. This field might be used if both the awsvpc network mode and SRV records are used.

Definition at line 67 of file ServiceRegistry.h.

◆ SetRegistryArn()

template<typename RegistryArnT = Aws::String>
void Aws::ECS::Model::ServiceRegistry::SetRegistryArn ( RegistryArnT &&  value)
inline

The Amazon Resource Name (ARN) of the service registry. The currently supported service registry is Cloud Map. For more information, see CreateService.

Definition at line 54 of file ServiceRegistry.h.

◆ WithContainerName()

template<typename ContainerNameT = Aws::String>
ServiceRegistry & Aws::ECS::Model::ServiceRegistry::WithContainerName ( ContainerNameT &&  value)
inline

The container name value to be used for your service discovery service. It's already specified in the task definition. If the task definition that your service task specifies uses the bridge or host network mode, you must specify a containerName and containerPort combination from the task definition. If the task definition that your service task specifies uses the awsvpc network mode and a type SRV DNS record is used, you must specify either a containerName and containerPort combination or a port value. However, you can't specify both.

Definition at line 88 of file ServiceRegistry.h.

◆ WithContainerPort()

ServiceRegistry & Aws::ECS::Model::ServiceRegistry::WithContainerPort ( int  value)
inline

The port value to be used for your service discovery service. It's already specified in the task definition. If the task definition your service task specifies uses the bridge or host network mode, you must specify a containerName and containerPort combination from the task definition. If the task definition your service task specifies uses the awsvpc network mode and a type SRV DNS record is used, you must specify either a containerName and containerPort combination or a port value. However, you can't specify both.

Definition at line 106 of file ServiceRegistry.h.

◆ WithPort()

ServiceRegistry & Aws::ECS::Model::ServiceRegistry::WithPort ( int  value)
inline

The port value used if your service discovery service specified an SRV record. This field might be used if both the awsvpc network mode and SRV records are used.

Definition at line 68 of file ServiceRegistry.h.

◆ WithRegistryArn()

template<typename RegistryArnT = Aws::String>
ServiceRegistry & Aws::ECS::Model::ServiceRegistry::WithRegistryArn ( RegistryArnT &&  value)
inline

The Amazon Resource Name (ARN) of the service registry. The currently supported service registry is Cloud Map. For more information, see CreateService.

Definition at line 56 of file ServiceRegistry.h.


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