AWS SDK for C++  1.9.13
AWS SDK for C++
Public Member Functions | Protected Member Functions | List of all members
Aws::ElasticLoadBalancingv2::Model::CreateTargetGroupRequest Class Reference

#include <CreateTargetGroupRequest.h>

+ Inheritance diagram for Aws::ElasticLoadBalancingv2::Model::CreateTargetGroupRequest:

Public Member Functions

 CreateTargetGroupRequest ()
 
virtual const char * GetServiceRequestName () const override
 
Aws::String SerializePayload () const override
 
const Aws::StringGetName () const
 
bool NameHasBeenSet () const
 
void SetName (const Aws::String &value)
 
void SetName (Aws::String &&value)
 
void SetName (const char *value)
 
CreateTargetGroupRequestWithName (const Aws::String &value)
 
CreateTargetGroupRequestWithName (Aws::String &&value)
 
CreateTargetGroupRequestWithName (const char *value)
 
const ProtocolEnumGetProtocol () const
 
bool ProtocolHasBeenSet () const
 
void SetProtocol (const ProtocolEnum &value)
 
void SetProtocol (ProtocolEnum &&value)
 
CreateTargetGroupRequestWithProtocol (const ProtocolEnum &value)
 
CreateTargetGroupRequestWithProtocol (ProtocolEnum &&value)
 
const Aws::StringGetProtocolVersion () const
 
bool ProtocolVersionHasBeenSet () const
 
void SetProtocolVersion (const Aws::String &value)
 
void SetProtocolVersion (Aws::String &&value)
 
void SetProtocolVersion (const char *value)
 
CreateTargetGroupRequestWithProtocolVersion (const Aws::String &value)
 
CreateTargetGroupRequestWithProtocolVersion (Aws::String &&value)
 
CreateTargetGroupRequestWithProtocolVersion (const char *value)
 
int GetPort () const
 
bool PortHasBeenSet () const
 
void SetPort (int value)
 
CreateTargetGroupRequestWithPort (int value)
 
const Aws::StringGetVpcId () const
 
bool VpcIdHasBeenSet () const
 
void SetVpcId (const Aws::String &value)
 
void SetVpcId (Aws::String &&value)
 
void SetVpcId (const char *value)
 
CreateTargetGroupRequestWithVpcId (const Aws::String &value)
 
CreateTargetGroupRequestWithVpcId (Aws::String &&value)
 
CreateTargetGroupRequestWithVpcId (const char *value)
 
const ProtocolEnumGetHealthCheckProtocol () const
 
bool HealthCheckProtocolHasBeenSet () const
 
void SetHealthCheckProtocol (const ProtocolEnum &value)
 
void SetHealthCheckProtocol (ProtocolEnum &&value)
 
CreateTargetGroupRequestWithHealthCheckProtocol (const ProtocolEnum &value)
 
CreateTargetGroupRequestWithHealthCheckProtocol (ProtocolEnum &&value)
 
const Aws::StringGetHealthCheckPort () const
 
bool HealthCheckPortHasBeenSet () const
 
void SetHealthCheckPort (const Aws::String &value)
 
void SetHealthCheckPort (Aws::String &&value)
 
void SetHealthCheckPort (const char *value)
 
CreateTargetGroupRequestWithHealthCheckPort (const Aws::String &value)
 
CreateTargetGroupRequestWithHealthCheckPort (Aws::String &&value)
 
CreateTargetGroupRequestWithHealthCheckPort (const char *value)
 
bool GetHealthCheckEnabled () const
 
bool HealthCheckEnabledHasBeenSet () const
 
void SetHealthCheckEnabled (bool value)
 
CreateTargetGroupRequestWithHealthCheckEnabled (bool value)
 
const Aws::StringGetHealthCheckPath () const
 
bool HealthCheckPathHasBeenSet () const
 
void SetHealthCheckPath (const Aws::String &value)
 
void SetHealthCheckPath (Aws::String &&value)
 
void SetHealthCheckPath (const char *value)
 
CreateTargetGroupRequestWithHealthCheckPath (const Aws::String &value)
 
CreateTargetGroupRequestWithHealthCheckPath (Aws::String &&value)
 
CreateTargetGroupRequestWithHealthCheckPath (const char *value)
 
int GetHealthCheckIntervalSeconds () const
 
bool HealthCheckIntervalSecondsHasBeenSet () const
 
void SetHealthCheckIntervalSeconds (int value)
 
CreateTargetGroupRequestWithHealthCheckIntervalSeconds (int value)
 
int GetHealthCheckTimeoutSeconds () const
 
bool HealthCheckTimeoutSecondsHasBeenSet () const
 
void SetHealthCheckTimeoutSeconds (int value)
 
CreateTargetGroupRequestWithHealthCheckTimeoutSeconds (int value)
 
int GetHealthyThresholdCount () const
 
bool HealthyThresholdCountHasBeenSet () const
 
void SetHealthyThresholdCount (int value)
 
CreateTargetGroupRequestWithHealthyThresholdCount (int value)
 
int GetUnhealthyThresholdCount () const
 
bool UnhealthyThresholdCountHasBeenSet () const
 
void SetUnhealthyThresholdCount (int value)
 
CreateTargetGroupRequestWithUnhealthyThresholdCount (int value)
 
const MatcherGetMatcher () const
 
bool MatcherHasBeenSet () const
 
void SetMatcher (const Matcher &value)
 
void SetMatcher (Matcher &&value)
 
CreateTargetGroupRequestWithMatcher (const Matcher &value)
 
CreateTargetGroupRequestWithMatcher (Matcher &&value)
 
const TargetTypeEnumGetTargetType () const
 
bool TargetTypeHasBeenSet () const
 
void SetTargetType (const TargetTypeEnum &value)
 
void SetTargetType (TargetTypeEnum &&value)
 
CreateTargetGroupRequestWithTargetType (const TargetTypeEnum &value)
 
CreateTargetGroupRequestWithTargetType (TargetTypeEnum &&value)
 
const Aws::Vector< Tag > & GetTags () const
 
bool TagsHasBeenSet () const
 
void SetTags (const Aws::Vector< Tag > &value)
 
void SetTags (Aws::Vector< Tag > &&value)
 
CreateTargetGroupRequestWithTags (const Aws::Vector< Tag > &value)
 
CreateTargetGroupRequestWithTags (Aws::Vector< Tag > &&value)
 
CreateTargetGroupRequestAddTags (const Tag &value)
 
CreateTargetGroupRequestAddTags (Tag &&value)
 
- Public Member Functions inherited from Aws::ElasticLoadBalancingv2::ElasticLoadBalancingv2Request
virtual ~ElasticLoadBalancingv2Request ()
 
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
 

Protected Member Functions

void DumpBodyToUrl (Aws::Http::URI &uri) const override
 
- Protected Member Functions inherited from Aws::ElasticLoadBalancingv2::ElasticLoadBalancingv2Request
virtual Aws::Http::HeaderValueCollection GetRequestSpecificHeaders () const
 

Detailed Description

Definition at line 26 of file CreateTargetGroupRequest.h.

Constructor & Destructor Documentation

◆ CreateTargetGroupRequest()

Aws::ElasticLoadBalancingv2::Model::CreateTargetGroupRequest::CreateTargetGroupRequest ( )

Member Function Documentation

◆ AddTags() [1/2]

CreateTargetGroupRequest& Aws::ElasticLoadBalancingv2::Model::CreateTargetGroupRequest::AddTags ( const Tag value)
inline

The tags to assign to the target group.

Definition at line 856 of file CreateTargetGroupRequest.h.

◆ AddTags() [2/2]

CreateTargetGroupRequest& Aws::ElasticLoadBalancingv2::Model::CreateTargetGroupRequest::AddTags ( Tag &&  value)
inline

The tags to assign to the target group.

Definition at line 861 of file CreateTargetGroupRequest.h.

◆ DumpBodyToUrl()

void Aws::ElasticLoadBalancingv2::Model::CreateTargetGroupRequest::DumpBodyToUrl ( Aws::Http::URI uri) const
overrideprotectedvirtual

Default does nothing. Override this to convert what would otherwise be the payload of the request to a query string format.

Reimplemented from Aws::AmazonWebServiceRequest.

◆ GetHealthCheckEnabled()

bool Aws::ElasticLoadBalancingv2::Model::CreateTargetGroupRequest::GetHealthCheckEnabled ( ) const
inline

Indicates whether health checks are enabled. If the target type is lambda, health checks are disabled by default but can be enabled. If the target type is instance or ip, health checks are always enabled and cannot be disabled.

Definition at line 457 of file CreateTargetGroupRequest.h.

◆ GetHealthCheckIntervalSeconds()

int Aws::ElasticLoadBalancingv2::Model::CreateTargetGroupRequest::GetHealthCheckIntervalSeconds ( ) const
inline

The approximate amount of time, in seconds, between health checks of an individual target. If the target group protocol is TCP, TLS, UDP, or TCP_UDP, the supported values are 10 and 30 seconds. If the target group protocol is HTTP or HTTPS, the default is 30 seconds. If the target group protocol is GENEVE, the default is 10 seconds. If the target type is lambda, the default is 35 seconds.

Definition at line 557 of file CreateTargetGroupRequest.h.

◆ GetHealthCheckPath()

const Aws::String& Aws::ElasticLoadBalancingv2::Model::CreateTargetGroupRequest::GetHealthCheckPath ( ) const
inline

[HTTP/HTTPS health checks] The destination for health checks on the targets.

[HTTP1 or HTTP2 protocol version] The ping path. The default is /.

[GRPC protocol version] The path of a custom health check method with the format /package.service/method. The default is /AWS.ALB/healthcheck.

Definition at line 490 of file CreateTargetGroupRequest.h.

◆ GetHealthCheckPort()

const Aws::String& Aws::ElasticLoadBalancingv2::Model::CreateTargetGroupRequest::GetHealthCheckPort ( ) const
inline

The port the load balancer uses when performing health checks on targets. If the protocol is HTTP, HTTPS, TCP, TLS, UDP, or TCP_UDP, the default is traffic-port, which is the port on which each target receives traffic from the load balancer. If the protocol is GENEVE, the default is port 80.

Definition at line 385 of file CreateTargetGroupRequest.h.

◆ GetHealthCheckProtocol()

const ProtocolEnum& Aws::ElasticLoadBalancingv2::Model::CreateTargetGroupRequest::GetHealthCheckProtocol ( ) const
inline

The protocol the load balancer uses when performing health checks on targets. For Application Load Balancers, the default is HTTP. For Network Load Balancers and Gateway Load Balancers, the default is TCP. The TCP protocol is not supported for health checks if the protocol of the target group is HTTP or HTTPS. The GENEVE, TLS, UDP, and TCP_UDP protocols are not supported for health checks.

Definition at line 325 of file CreateTargetGroupRequest.h.

◆ GetHealthCheckTimeoutSeconds()

int Aws::ElasticLoadBalancingv2::Model::CreateTargetGroupRequest::GetHealthCheckTimeoutSeconds ( ) const
inline

The amount of time, in seconds, during which no response from a target means a failed health check. For target groups with a protocol of HTTP, HTTPS, or GENEVE, the default is 5 seconds. For target groups with a protocol of TCP or TLS, this value must be 6 seconds for HTTP health checks and 10 seconds for TCP and HTTPS health checks. If the target type is lambda, the default is 30 seconds.

Definition at line 598 of file CreateTargetGroupRequest.h.

◆ GetHealthyThresholdCount()

int Aws::ElasticLoadBalancingv2::Model::CreateTargetGroupRequest::GetHealthyThresholdCount ( ) const
inline

The number of consecutive health checks successes required before considering an unhealthy target healthy. For target groups with a protocol of HTTP or HTTPS, the default is 5. For target groups with a protocol of TCP, TLS, or GENEVE, the default is 3. If the target type is lambda, the default is 5.

Definition at line 637 of file CreateTargetGroupRequest.h.

◆ GetMatcher()

const Matcher& Aws::ElasticLoadBalancingv2::Model::CreateTargetGroupRequest::GetMatcher ( ) const
inline

[HTTP/HTTPS health checks] The HTTP or gRPC codes to use when checking for a successful response from a target.

Definition at line 705 of file CreateTargetGroupRequest.h.

◆ GetName()

const Aws::String& Aws::ElasticLoadBalancingv2::Model::CreateTargetGroupRequest::GetName ( ) const
inline

The name of the target group.

This name must be unique per region per account, can have a maximum of 32 characters, must contain only alphanumeric characters or hyphens, and must not begin or end with a hyphen.

Definition at line 49 of file CreateTargetGroupRequest.h.

◆ GetPort()

int Aws::ElasticLoadBalancingv2::Model::CreateTargetGroupRequest::GetPort ( ) const
inline

The port on which the targets receive traffic. This port is used unless you specify a port override when registering the target. If the target is a Lambda function, this parameter does not apply. If the protocol is GENEVE, the supported port is 6081.

Definition at line 233 of file CreateTargetGroupRequest.h.

◆ GetProtocol()

const ProtocolEnum& Aws::ElasticLoadBalancingv2::Model::CreateTargetGroupRequest::GetProtocol ( ) const
inline

The protocol to use for routing traffic to the targets. For Application Load Balancers, the supported protocols are HTTP and HTTPS. For Network Load Balancers, the supported protocols are TCP, TLS, UDP, or TCP_UDP. For Gateway Load Balancers, the supported protocol is GENEVE. A TCP_UDP listener must be associated with a TCP_UDP target group. If the target is a Lambda function, this parameter does not apply.

Definition at line 109 of file CreateTargetGroupRequest.h.

◆ GetProtocolVersion()

const Aws::String& Aws::ElasticLoadBalancingv2::Model::CreateTargetGroupRequest::GetProtocolVersion ( ) const
inline

[HTTP/HTTPS protocol] The protocol version. Specify GRPC to send requests to targets using gRPC. Specify HTTP2 to send requests to targets using HTTP/2. The default is HTTP1, which sends requests to targets using HTTP/1.1.

Definition at line 168 of file CreateTargetGroupRequest.h.

◆ GetServiceRequestName()

virtual const char* Aws::ElasticLoadBalancingv2::Model::CreateTargetGroupRequest::GetServiceRequestName ( ) const
inlineoverridevirtual

Implements Aws::AmazonWebServiceRequest.

Definition at line 35 of file CreateTargetGroupRequest.h.

◆ GetTags()

const Aws::Vector<Tag>& Aws::ElasticLoadBalancingv2::Model::CreateTargetGroupRequest::GetTags ( ) const
inline

The tags to assign to the target group.

Definition at line 826 of file CreateTargetGroupRequest.h.

◆ GetTargetType()

const TargetTypeEnum& Aws::ElasticLoadBalancingv2::Model::CreateTargetGroupRequest::GetTargetType ( ) const
inline

The type of target that you must specify when registering targets with this target group. You can't specify targets for a target group using more than one target type.

  • instance - Register targets by instance ID. This is the default value.

  • ip - Register targets by IP address. You can specify IP addresses from the subnets of the virtual private cloud (VPC) for the target group, the RFC 1918 range (10.0.0.0/8, 172.16.0.0/12, and 192.168.0.0/16), and the RFC 6598 range (100.64.0.0/10). You can't specify publicly routable IP addresses.

  • lambda - Register a single Lambda function as a target.

Definition at line 750 of file CreateTargetGroupRequest.h.

◆ GetUnhealthyThresholdCount()

int Aws::ElasticLoadBalancingv2::Model::CreateTargetGroupRequest::GetUnhealthyThresholdCount ( ) const
inline

The number of consecutive health check failures required before considering a target unhealthy. If the target group protocol is HTTP or HTTPS, the default is

  1. If the target group protocol is TCP or TLS, this value must be the same as the healthy threshold count. If the target group protocol is GENEVE, the default is 3. If the target type is lambda, the default is 2.

Definition at line 671 of file CreateTargetGroupRequest.h.

◆ GetVpcId()

const Aws::String& Aws::ElasticLoadBalancingv2::Model::CreateTargetGroupRequest::GetVpcId ( ) const
inline

The identifier of the virtual private cloud (VPC). If the target is a Lambda function, this parameter does not apply. Otherwise, this parameter is required.

Definition at line 265 of file CreateTargetGroupRequest.h.

◆ HealthCheckEnabledHasBeenSet()

bool Aws::ElasticLoadBalancingv2::Model::CreateTargetGroupRequest::HealthCheckEnabledHasBeenSet ( ) const
inline

Indicates whether health checks are enabled. If the target type is lambda, health checks are disabled by default but can be enabled. If the target type is instance or ip, health checks are always enabled and cannot be disabled.

Definition at line 465 of file CreateTargetGroupRequest.h.

◆ HealthCheckIntervalSecondsHasBeenSet()

bool Aws::ElasticLoadBalancingv2::Model::CreateTargetGroupRequest::HealthCheckIntervalSecondsHasBeenSet ( ) const
inline

The approximate amount of time, in seconds, between health checks of an individual target. If the target group protocol is TCP, TLS, UDP, or TCP_UDP, the supported values are 10 and 30 seconds. If the target group protocol is HTTP or HTTPS, the default is 30 seconds. If the target group protocol is GENEVE, the default is 10 seconds. If the target type is lambda, the default is 35 seconds.

Definition at line 567 of file CreateTargetGroupRequest.h.

◆ HealthCheckPathHasBeenSet()

bool Aws::ElasticLoadBalancingv2::Model::CreateTargetGroupRequest::HealthCheckPathHasBeenSet ( ) const
inline

[HTTP/HTTPS health checks] The destination for health checks on the targets.

[HTTP1 or HTTP2 protocol version] The ping path. The default is /.

[GRPC protocol version] The path of a custom health check method with the format /package.service/method. The default is /AWS.ALB/healthcheck.

Definition at line 498 of file CreateTargetGroupRequest.h.

◆ HealthCheckPortHasBeenSet()

bool Aws::ElasticLoadBalancingv2::Model::CreateTargetGroupRequest::HealthCheckPortHasBeenSet ( ) const
inline

The port the load balancer uses when performing health checks on targets. If the protocol is HTTP, HTTPS, TCP, TLS, UDP, or TCP_UDP, the default is traffic-port, which is the port on which each target receives traffic from the load balancer. If the protocol is GENEVE, the default is port 80.

Definition at line 394 of file CreateTargetGroupRequest.h.

◆ HealthCheckProtocolHasBeenSet()

bool Aws::ElasticLoadBalancingv2::Model::CreateTargetGroupRequest::HealthCheckProtocolHasBeenSet ( ) const
inline

The protocol the load balancer uses when performing health checks on targets. For Application Load Balancers, the default is HTTP. For Network Load Balancers and Gateway Load Balancers, the default is TCP. The TCP protocol is not supported for health checks if the protocol of the target group is HTTP or HTTPS. The GENEVE, TLS, UDP, and TCP_UDP protocols are not supported for health checks.

Definition at line 335 of file CreateTargetGroupRequest.h.

◆ HealthCheckTimeoutSecondsHasBeenSet()

bool Aws::ElasticLoadBalancingv2::Model::CreateTargetGroupRequest::HealthCheckTimeoutSecondsHasBeenSet ( ) const
inline

The amount of time, in seconds, during which no response from a target means a failed health check. For target groups with a protocol of HTTP, HTTPS, or GENEVE, the default is 5 seconds. For target groups with a protocol of TCP or TLS, this value must be 6 seconds for HTTP health checks and 10 seconds for TCP and HTTPS health checks. If the target type is lambda, the default is 30 seconds.

Definition at line 608 of file CreateTargetGroupRequest.h.

◆ HealthyThresholdCountHasBeenSet()

bool Aws::ElasticLoadBalancingv2::Model::CreateTargetGroupRequest::HealthyThresholdCountHasBeenSet ( ) const
inline

The number of consecutive health checks successes required before considering an unhealthy target healthy. For target groups with a protocol of HTTP or HTTPS, the default is 5. For target groups with a protocol of TCP, TLS, or GENEVE, the default is 3. If the target type is lambda, the default is 5.

Definition at line 645 of file CreateTargetGroupRequest.h.

◆ MatcherHasBeenSet()

bool Aws::ElasticLoadBalancingv2::Model::CreateTargetGroupRequest::MatcherHasBeenSet ( ) const
inline

[HTTP/HTTPS health checks] The HTTP or gRPC codes to use when checking for a successful response from a target.

Definition at line 711 of file CreateTargetGroupRequest.h.

◆ NameHasBeenSet()

bool Aws::ElasticLoadBalancingv2::Model::CreateTargetGroupRequest::NameHasBeenSet ( ) const
inline

The name of the target group.

This name must be unique per region per account, can have a maximum of 32 characters, must contain only alphanumeric characters or hyphens, and must not begin or end with a hyphen.

Definition at line 56 of file CreateTargetGroupRequest.h.

◆ PortHasBeenSet()

bool Aws::ElasticLoadBalancingv2::Model::CreateTargetGroupRequest::PortHasBeenSet ( ) const
inline

The port on which the targets receive traffic. This port is used unless you specify a port override when registering the target. If the target is a Lambda function, this parameter does not apply. If the protocol is GENEVE, the supported port is 6081.

Definition at line 241 of file CreateTargetGroupRequest.h.

◆ ProtocolHasBeenSet()

bool Aws::ElasticLoadBalancingv2::Model::CreateTargetGroupRequest::ProtocolHasBeenSet ( ) const
inline

The protocol to use for routing traffic to the targets. For Application Load Balancers, the supported protocols are HTTP and HTTPS. For Network Load Balancers, the supported protocols are TCP, TLS, UDP, or TCP_UDP. For Gateway Load Balancers, the supported protocol is GENEVE. A TCP_UDP listener must be associated with a TCP_UDP target group. If the target is a Lambda function, this parameter does not apply.

Definition at line 119 of file CreateTargetGroupRequest.h.

◆ ProtocolVersionHasBeenSet()

bool Aws::ElasticLoadBalancingv2::Model::CreateTargetGroupRequest::ProtocolVersionHasBeenSet ( ) const
inline

[HTTP/HTTPS protocol] The protocol version. Specify GRPC to send requests to targets using gRPC. Specify HTTP2 to send requests to targets using HTTP/2. The default is HTTP1, which sends requests to targets using HTTP/1.1.

Definition at line 176 of file CreateTargetGroupRequest.h.

◆ SerializePayload()

Aws::String Aws::ElasticLoadBalancingv2::Model::CreateTargetGroupRequest::SerializePayload ( ) const
overridevirtual

Convert payload into String.

Implements Aws::AmazonSerializableWebServiceRequest.

◆ SetHealthCheckEnabled()

void Aws::ElasticLoadBalancingv2::Model::CreateTargetGroupRequest::SetHealthCheckEnabled ( bool  value)
inline

Indicates whether health checks are enabled. If the target type is lambda, health checks are disabled by default but can be enabled. If the target type is instance or ip, health checks are always enabled and cannot be disabled.

Definition at line 473 of file CreateTargetGroupRequest.h.

◆ SetHealthCheckIntervalSeconds()

void Aws::ElasticLoadBalancingv2::Model::CreateTargetGroupRequest::SetHealthCheckIntervalSeconds ( int  value)
inline

The approximate amount of time, in seconds, between health checks of an individual target. If the target group protocol is TCP, TLS, UDP, or TCP_UDP, the supported values are 10 and 30 seconds. If the target group protocol is HTTP or HTTPS, the default is 30 seconds. If the target group protocol is GENEVE, the default is 10 seconds. If the target type is lambda, the default is 35 seconds.

Definition at line 577 of file CreateTargetGroupRequest.h.

◆ SetHealthCheckPath() [1/3]

void Aws::ElasticLoadBalancingv2::Model::CreateTargetGroupRequest::SetHealthCheckPath ( Aws::String &&  value)
inline

[HTTP/HTTPS health checks] The destination for health checks on the targets.

[HTTP1 or HTTP2 protocol version] The ping path. The default is /.

[GRPC protocol version] The path of a custom health check method with the format /package.service/method. The default is /AWS.ALB/healthcheck.

Definition at line 514 of file CreateTargetGroupRequest.h.

◆ SetHealthCheckPath() [2/3]

void Aws::ElasticLoadBalancingv2::Model::CreateTargetGroupRequest::SetHealthCheckPath ( const Aws::String value)
inline

[HTTP/HTTPS health checks] The destination for health checks on the targets.

[HTTP1 or HTTP2 protocol version] The ping path. The default is /.

[GRPC protocol version] The path of a custom health check method with the format /package.service/method. The default is /AWS.ALB/healthcheck.

Definition at line 506 of file CreateTargetGroupRequest.h.

◆ SetHealthCheckPath() [3/3]

void Aws::ElasticLoadBalancingv2::Model::CreateTargetGroupRequest::SetHealthCheckPath ( const char *  value)
inline

[HTTP/HTTPS health checks] The destination for health checks on the targets.

[HTTP1 or HTTP2 protocol version] The ping path. The default is /.

[GRPC protocol version] The path of a custom health check method with the format /package.service/method. The default is /AWS.ALB/healthcheck.

Definition at line 522 of file CreateTargetGroupRequest.h.

◆ SetHealthCheckPort() [1/3]

void Aws::ElasticLoadBalancingv2::Model::CreateTargetGroupRequest::SetHealthCheckPort ( Aws::String &&  value)
inline

The port the load balancer uses when performing health checks on targets. If the protocol is HTTP, HTTPS, TCP, TLS, UDP, or TCP_UDP, the default is traffic-port, which is the port on which each target receives traffic from the load balancer. If the protocol is GENEVE, the default is port 80.

Definition at line 412 of file CreateTargetGroupRequest.h.

◆ SetHealthCheckPort() [2/3]

void Aws::ElasticLoadBalancingv2::Model::CreateTargetGroupRequest::SetHealthCheckPort ( const Aws::String value)
inline

The port the load balancer uses when performing health checks on targets. If the protocol is HTTP, HTTPS, TCP, TLS, UDP, or TCP_UDP, the default is traffic-port, which is the port on which each target receives traffic from the load balancer. If the protocol is GENEVE, the default is port 80.

Definition at line 403 of file CreateTargetGroupRequest.h.

◆ SetHealthCheckPort() [3/3]

void Aws::ElasticLoadBalancingv2::Model::CreateTargetGroupRequest::SetHealthCheckPort ( const char *  value)
inline

The port the load balancer uses when performing health checks on targets. If the protocol is HTTP, HTTPS, TCP, TLS, UDP, or TCP_UDP, the default is traffic-port, which is the port on which each target receives traffic from the load balancer. If the protocol is GENEVE, the default is port 80.

Definition at line 421 of file CreateTargetGroupRequest.h.

◆ SetHealthCheckProtocol() [1/2]

void Aws::ElasticLoadBalancingv2::Model::CreateTargetGroupRequest::SetHealthCheckProtocol ( const ProtocolEnum value)
inline

The protocol the load balancer uses when performing health checks on targets. For Application Load Balancers, the default is HTTP. For Network Load Balancers and Gateway Load Balancers, the default is TCP. The TCP protocol is not supported for health checks if the protocol of the target group is HTTP or HTTPS. The GENEVE, TLS, UDP, and TCP_UDP protocols are not supported for health checks.

Definition at line 345 of file CreateTargetGroupRequest.h.

◆ SetHealthCheckProtocol() [2/2]

void Aws::ElasticLoadBalancingv2::Model::CreateTargetGroupRequest::SetHealthCheckProtocol ( ProtocolEnum &&  value)
inline

The protocol the load balancer uses when performing health checks on targets. For Application Load Balancers, the default is HTTP. For Network Load Balancers and Gateway Load Balancers, the default is TCP. The TCP protocol is not supported for health checks if the protocol of the target group is HTTP or HTTPS. The GENEVE, TLS, UDP, and TCP_UDP protocols are not supported for health checks.

Definition at line 355 of file CreateTargetGroupRequest.h.

◆ SetHealthCheckTimeoutSeconds()

void Aws::ElasticLoadBalancingv2::Model::CreateTargetGroupRequest::SetHealthCheckTimeoutSeconds ( int  value)
inline

The amount of time, in seconds, during which no response from a target means a failed health check. For target groups with a protocol of HTTP, HTTPS, or GENEVE, the default is 5 seconds. For target groups with a protocol of TCP or TLS, this value must be 6 seconds for HTTP health checks and 10 seconds for TCP and HTTPS health checks. If the target type is lambda, the default is 30 seconds.

Definition at line 618 of file CreateTargetGroupRequest.h.

◆ SetHealthyThresholdCount()

void Aws::ElasticLoadBalancingv2::Model::CreateTargetGroupRequest::SetHealthyThresholdCount ( int  value)
inline

The number of consecutive health checks successes required before considering an unhealthy target healthy. For target groups with a protocol of HTTP or HTTPS, the default is 5. For target groups with a protocol of TCP, TLS, or GENEVE, the default is 3. If the target type is lambda, the default is 5.

Definition at line 653 of file CreateTargetGroupRequest.h.

◆ SetMatcher() [1/2]

void Aws::ElasticLoadBalancingv2::Model::CreateTargetGroupRequest::SetMatcher ( const Matcher value)
inline

[HTTP/HTTPS health checks] The HTTP or gRPC codes to use when checking for a successful response from a target.

Definition at line 717 of file CreateTargetGroupRequest.h.

◆ SetMatcher() [2/2]

void Aws::ElasticLoadBalancingv2::Model::CreateTargetGroupRequest::SetMatcher ( Matcher &&  value)
inline

[HTTP/HTTPS health checks] The HTTP or gRPC codes to use when checking for a successful response from a target.

Definition at line 723 of file CreateTargetGroupRequest.h.

◆ SetName() [1/3]

void Aws::ElasticLoadBalancingv2::Model::CreateTargetGroupRequest::SetName ( Aws::String &&  value)
inline

The name of the target group.

This name must be unique per region per account, can have a maximum of 32 characters, must contain only alphanumeric characters or hyphens, and must not begin or end with a hyphen.

Definition at line 70 of file CreateTargetGroupRequest.h.

◆ SetName() [2/3]

void Aws::ElasticLoadBalancingv2::Model::CreateTargetGroupRequest::SetName ( const Aws::String value)
inline

The name of the target group.

This name must be unique per region per account, can have a maximum of 32 characters, must contain only alphanumeric characters or hyphens, and must not begin or end with a hyphen.

Definition at line 63 of file CreateTargetGroupRequest.h.

◆ SetName() [3/3]

void Aws::ElasticLoadBalancingv2::Model::CreateTargetGroupRequest::SetName ( const char *  value)
inline

The name of the target group.

This name must be unique per region per account, can have a maximum of 32 characters, must contain only alphanumeric characters or hyphens, and must not begin or end with a hyphen.

Definition at line 77 of file CreateTargetGroupRequest.h.

◆ SetPort()

void Aws::ElasticLoadBalancingv2::Model::CreateTargetGroupRequest::SetPort ( int  value)
inline

The port on which the targets receive traffic. This port is used unless you specify a port override when registering the target. If the target is a Lambda function, this parameter does not apply. If the protocol is GENEVE, the supported port is 6081.

Definition at line 249 of file CreateTargetGroupRequest.h.

◆ SetProtocol() [1/2]

void Aws::ElasticLoadBalancingv2::Model::CreateTargetGroupRequest::SetProtocol ( const ProtocolEnum value)
inline

The protocol to use for routing traffic to the targets. For Application Load Balancers, the supported protocols are HTTP and HTTPS. For Network Load Balancers, the supported protocols are TCP, TLS, UDP, or TCP_UDP. For Gateway Load Balancers, the supported protocol is GENEVE. A TCP_UDP listener must be associated with a TCP_UDP target group. If the target is a Lambda function, this parameter does not apply.

Definition at line 129 of file CreateTargetGroupRequest.h.

◆ SetProtocol() [2/2]

void Aws::ElasticLoadBalancingv2::Model::CreateTargetGroupRequest::SetProtocol ( ProtocolEnum &&  value)
inline

The protocol to use for routing traffic to the targets. For Application Load Balancers, the supported protocols are HTTP and HTTPS. For Network Load Balancers, the supported protocols are TCP, TLS, UDP, or TCP_UDP. For Gateway Load Balancers, the supported protocol is GENEVE. A TCP_UDP listener must be associated with a TCP_UDP target group. If the target is a Lambda function, this parameter does not apply.

Definition at line 139 of file CreateTargetGroupRequest.h.

◆ SetProtocolVersion() [1/3]

void Aws::ElasticLoadBalancingv2::Model::CreateTargetGroupRequest::SetProtocolVersion ( Aws::String &&  value)
inline

[HTTP/HTTPS protocol] The protocol version. Specify GRPC to send requests to targets using gRPC. Specify HTTP2 to send requests to targets using HTTP/2. The default is HTTP1, which sends requests to targets using HTTP/1.1.

Definition at line 192 of file CreateTargetGroupRequest.h.

◆ SetProtocolVersion() [2/3]

void Aws::ElasticLoadBalancingv2::Model::CreateTargetGroupRequest::SetProtocolVersion ( const Aws::String value)
inline

[HTTP/HTTPS protocol] The protocol version. Specify GRPC to send requests to targets using gRPC. Specify HTTP2 to send requests to targets using HTTP/2. The default is HTTP1, which sends requests to targets using HTTP/1.1.

Definition at line 184 of file CreateTargetGroupRequest.h.

◆ SetProtocolVersion() [3/3]

void Aws::ElasticLoadBalancingv2::Model::CreateTargetGroupRequest::SetProtocolVersion ( const char *  value)
inline

[HTTP/HTTPS protocol] The protocol version. Specify GRPC to send requests to targets using gRPC. Specify HTTP2 to send requests to targets using HTTP/2. The default is HTTP1, which sends requests to targets using HTTP/1.1.

Definition at line 200 of file CreateTargetGroupRequest.h.

◆ SetTags() [1/2]

void Aws::ElasticLoadBalancingv2::Model::CreateTargetGroupRequest::SetTags ( Aws::Vector< Tag > &&  value)
inline

The tags to assign to the target group.

Definition at line 841 of file CreateTargetGroupRequest.h.

◆ SetTags() [2/2]

void Aws::ElasticLoadBalancingv2::Model::CreateTargetGroupRequest::SetTags ( const Aws::Vector< Tag > &  value)
inline

The tags to assign to the target group.

Definition at line 836 of file CreateTargetGroupRequest.h.

◆ SetTargetType() [1/2]

void Aws::ElasticLoadBalancingv2::Model::CreateTargetGroupRequest::SetTargetType ( const TargetTypeEnum value)
inline

The type of target that you must specify when registering targets with this target group. You can't specify targets for a target group using more than one target type.

  • instance - Register targets by instance ID. This is the default value.

  • ip - Register targets by IP address. You can specify IP addresses from the subnets of the virtual private cloud (VPC) for the target group, the RFC 1918 range (10.0.0.0/8, 172.16.0.0/12, and 192.168.0.0/16), and the RFC 6598 range (100.64.0.0/10). You can't specify publicly routable IP addresses.

  • lambda - Register a single Lambda function as a target.

Definition at line 778 of file CreateTargetGroupRequest.h.

◆ SetTargetType() [2/2]

void Aws::ElasticLoadBalancingv2::Model::CreateTargetGroupRequest::SetTargetType ( TargetTypeEnum &&  value)
inline

The type of target that you must specify when registering targets with this target group. You can't specify targets for a target group using more than one target type.

  • instance - Register targets by instance ID. This is the default value.

  • ip - Register targets by IP address. You can specify IP addresses from the subnets of the virtual private cloud (VPC) for the target group, the RFC 1918 range (10.0.0.0/8, 172.16.0.0/12, and 192.168.0.0/16), and the RFC 6598 range (100.64.0.0/10). You can't specify publicly routable IP addresses.

  • lambda - Register a single Lambda function as a target.

Definition at line 792 of file CreateTargetGroupRequest.h.

◆ SetUnhealthyThresholdCount()

void Aws::ElasticLoadBalancingv2::Model::CreateTargetGroupRequest::SetUnhealthyThresholdCount ( int  value)
inline

The number of consecutive health check failures required before considering a target unhealthy. If the target group protocol is HTTP or HTTPS, the default is

  1. If the target group protocol is TCP or TLS, this value must be the same as the healthy threshold count. If the target group protocol is GENEVE, the default is 3. If the target type is lambda, the default is 2.

Definition at line 689 of file CreateTargetGroupRequest.h.

◆ SetVpcId() [1/3]

void Aws::ElasticLoadBalancingv2::Model::CreateTargetGroupRequest::SetVpcId ( Aws::String &&  value)
inline

The identifier of the virtual private cloud (VPC). If the target is a Lambda function, this parameter does not apply. Otherwise, this parameter is required.

Definition at line 286 of file CreateTargetGroupRequest.h.

◆ SetVpcId() [2/3]

void Aws::ElasticLoadBalancingv2::Model::CreateTargetGroupRequest::SetVpcId ( const Aws::String value)
inline

The identifier of the virtual private cloud (VPC). If the target is a Lambda function, this parameter does not apply. Otherwise, this parameter is required.

Definition at line 279 of file CreateTargetGroupRequest.h.

◆ SetVpcId() [3/3]

void Aws::ElasticLoadBalancingv2::Model::CreateTargetGroupRequest::SetVpcId ( const char *  value)
inline

The identifier of the virtual private cloud (VPC). If the target is a Lambda function, this parameter does not apply. Otherwise, this parameter is required.

Definition at line 293 of file CreateTargetGroupRequest.h.

◆ TagsHasBeenSet()

bool Aws::ElasticLoadBalancingv2::Model::CreateTargetGroupRequest::TagsHasBeenSet ( ) const
inline

The tags to assign to the target group.

Definition at line 831 of file CreateTargetGroupRequest.h.

◆ TargetTypeHasBeenSet()

bool Aws::ElasticLoadBalancingv2::Model::CreateTargetGroupRequest::TargetTypeHasBeenSet ( ) const
inline

The type of target that you must specify when registering targets with this target group. You can't specify targets for a target group using more than one target type.

  • instance - Register targets by instance ID. This is the default value.

  • ip - Register targets by IP address. You can specify IP addresses from the subnets of the virtual private cloud (VPC) for the target group, the RFC 1918 range (10.0.0.0/8, 172.16.0.0/12, and 192.168.0.0/16), and the RFC 6598 range (100.64.0.0/10). You can't specify publicly routable IP addresses.

  • lambda - Register a single Lambda function as a target.

Definition at line 764 of file CreateTargetGroupRequest.h.

◆ UnhealthyThresholdCountHasBeenSet()

bool Aws::ElasticLoadBalancingv2::Model::CreateTargetGroupRequest::UnhealthyThresholdCountHasBeenSet ( ) const
inline

The number of consecutive health check failures required before considering a target unhealthy. If the target group protocol is HTTP or HTTPS, the default is

  1. If the target group protocol is TCP or TLS, this value must be the same as the healthy threshold count. If the target group protocol is GENEVE, the default is 3. If the target type is lambda, the default is 2.

Definition at line 680 of file CreateTargetGroupRequest.h.

◆ VpcIdHasBeenSet()

bool Aws::ElasticLoadBalancingv2::Model::CreateTargetGroupRequest::VpcIdHasBeenSet ( ) const
inline

The identifier of the virtual private cloud (VPC). If the target is a Lambda function, this parameter does not apply. Otherwise, this parameter is required.

Definition at line 272 of file CreateTargetGroupRequest.h.

◆ WithHealthCheckEnabled()

CreateTargetGroupRequest& Aws::ElasticLoadBalancingv2::Model::CreateTargetGroupRequest::WithHealthCheckEnabled ( bool  value)
inline

Indicates whether health checks are enabled. If the target type is lambda, health checks are disabled by default but can be enabled. If the target type is instance or ip, health checks are always enabled and cannot be disabled.

Definition at line 481 of file CreateTargetGroupRequest.h.

◆ WithHealthCheckIntervalSeconds()

CreateTargetGroupRequest& Aws::ElasticLoadBalancingv2::Model::CreateTargetGroupRequest::WithHealthCheckIntervalSeconds ( int  value)
inline

The approximate amount of time, in seconds, between health checks of an individual target. If the target group protocol is TCP, TLS, UDP, or TCP_UDP, the supported values are 10 and 30 seconds. If the target group protocol is HTTP or HTTPS, the default is 30 seconds. If the target group protocol is GENEVE, the default is 10 seconds. If the target type is lambda, the default is 35 seconds.

Definition at line 587 of file CreateTargetGroupRequest.h.

◆ WithHealthCheckPath() [1/3]

CreateTargetGroupRequest& Aws::ElasticLoadBalancingv2::Model::CreateTargetGroupRequest::WithHealthCheckPath ( Aws::String &&  value)
inline

[HTTP/HTTPS health checks] The destination for health checks on the targets.

[HTTP1 or HTTP2 protocol version] The ping path. The default is /.

[GRPC protocol version] The path of a custom health check method with the format /package.service/method. The default is /AWS.ALB/healthcheck.

Definition at line 538 of file CreateTargetGroupRequest.h.

◆ WithHealthCheckPath() [2/3]

CreateTargetGroupRequest& Aws::ElasticLoadBalancingv2::Model::CreateTargetGroupRequest::WithHealthCheckPath ( const Aws::String value)
inline

[HTTP/HTTPS health checks] The destination for health checks on the targets.

[HTTP1 or HTTP2 protocol version] The ping path. The default is /.

[GRPC protocol version] The path of a custom health check method with the format /package.service/method. The default is /AWS.ALB/healthcheck.

Definition at line 530 of file CreateTargetGroupRequest.h.

◆ WithHealthCheckPath() [3/3]

CreateTargetGroupRequest& Aws::ElasticLoadBalancingv2::Model::CreateTargetGroupRequest::WithHealthCheckPath ( const char *  value)
inline

[HTTP/HTTPS health checks] The destination for health checks on the targets.

[HTTP1 or HTTP2 protocol version] The ping path. The default is /.

[GRPC protocol version] The path of a custom health check method with the format /package.service/method. The default is /AWS.ALB/healthcheck.

Definition at line 546 of file CreateTargetGroupRequest.h.

◆ WithHealthCheckPort() [1/3]

CreateTargetGroupRequest& Aws::ElasticLoadBalancingv2::Model::CreateTargetGroupRequest::WithHealthCheckPort ( Aws::String &&  value)
inline

The port the load balancer uses when performing health checks on targets. If the protocol is HTTP, HTTPS, TCP, TLS, UDP, or TCP_UDP, the default is traffic-port, which is the port on which each target receives traffic from the load balancer. If the protocol is GENEVE, the default is port 80.

Definition at line 439 of file CreateTargetGroupRequest.h.

◆ WithHealthCheckPort() [2/3]

CreateTargetGroupRequest& Aws::ElasticLoadBalancingv2::Model::CreateTargetGroupRequest::WithHealthCheckPort ( const Aws::String value)
inline

The port the load balancer uses when performing health checks on targets. If the protocol is HTTP, HTTPS, TCP, TLS, UDP, or TCP_UDP, the default is traffic-port, which is the port on which each target receives traffic from the load balancer. If the protocol is GENEVE, the default is port 80.

Definition at line 430 of file CreateTargetGroupRequest.h.

◆ WithHealthCheckPort() [3/3]

CreateTargetGroupRequest& Aws::ElasticLoadBalancingv2::Model::CreateTargetGroupRequest::WithHealthCheckPort ( const char *  value)
inline

The port the load balancer uses when performing health checks on targets. If the protocol is HTTP, HTTPS, TCP, TLS, UDP, or TCP_UDP, the default is traffic-port, which is the port on which each target receives traffic from the load balancer. If the protocol is GENEVE, the default is port 80.

Definition at line 448 of file CreateTargetGroupRequest.h.

◆ WithHealthCheckProtocol() [1/2]

CreateTargetGroupRequest& Aws::ElasticLoadBalancingv2::Model::CreateTargetGroupRequest::WithHealthCheckProtocol ( const ProtocolEnum value)
inline

The protocol the load balancer uses when performing health checks on targets. For Application Load Balancers, the default is HTTP. For Network Load Balancers and Gateway Load Balancers, the default is TCP. The TCP protocol is not supported for health checks if the protocol of the target group is HTTP or HTTPS. The GENEVE, TLS, UDP, and TCP_UDP protocols are not supported for health checks.

Definition at line 365 of file CreateTargetGroupRequest.h.

◆ WithHealthCheckProtocol() [2/2]

CreateTargetGroupRequest& Aws::ElasticLoadBalancingv2::Model::CreateTargetGroupRequest::WithHealthCheckProtocol ( ProtocolEnum &&  value)
inline

The protocol the load balancer uses when performing health checks on targets. For Application Load Balancers, the default is HTTP. For Network Load Balancers and Gateway Load Balancers, the default is TCP. The TCP protocol is not supported for health checks if the protocol of the target group is HTTP or HTTPS. The GENEVE, TLS, UDP, and TCP_UDP protocols are not supported for health checks.

Definition at line 375 of file CreateTargetGroupRequest.h.

◆ WithHealthCheckTimeoutSeconds()

CreateTargetGroupRequest& Aws::ElasticLoadBalancingv2::Model::CreateTargetGroupRequest::WithHealthCheckTimeoutSeconds ( int  value)
inline

The amount of time, in seconds, during which no response from a target means a failed health check. For target groups with a protocol of HTTP, HTTPS, or GENEVE, the default is 5 seconds. For target groups with a protocol of TCP or TLS, this value must be 6 seconds for HTTP health checks and 10 seconds for TCP and HTTPS health checks. If the target type is lambda, the default is 30 seconds.

Definition at line 628 of file CreateTargetGroupRequest.h.

◆ WithHealthyThresholdCount()

CreateTargetGroupRequest& Aws::ElasticLoadBalancingv2::Model::CreateTargetGroupRequest::WithHealthyThresholdCount ( int  value)
inline

The number of consecutive health checks successes required before considering an unhealthy target healthy. For target groups with a protocol of HTTP or HTTPS, the default is 5. For target groups with a protocol of TCP, TLS, or GENEVE, the default is 3. If the target type is lambda, the default is 5.

Definition at line 661 of file CreateTargetGroupRequest.h.

◆ WithMatcher() [1/2]

CreateTargetGroupRequest& Aws::ElasticLoadBalancingv2::Model::CreateTargetGroupRequest::WithMatcher ( const Matcher value)
inline

[HTTP/HTTPS health checks] The HTTP or gRPC codes to use when checking for a successful response from a target.

Definition at line 729 of file CreateTargetGroupRequest.h.

◆ WithMatcher() [2/2]

CreateTargetGroupRequest& Aws::ElasticLoadBalancingv2::Model::CreateTargetGroupRequest::WithMatcher ( Matcher &&  value)
inline

[HTTP/HTTPS health checks] The HTTP or gRPC codes to use when checking for a successful response from a target.

Definition at line 735 of file CreateTargetGroupRequest.h.

◆ WithName() [1/3]

CreateTargetGroupRequest& Aws::ElasticLoadBalancingv2::Model::CreateTargetGroupRequest::WithName ( Aws::String &&  value)
inline

The name of the target group.

This name must be unique per region per account, can have a maximum of 32 characters, must contain only alphanumeric characters or hyphens, and must not begin or end with a hyphen.

Definition at line 91 of file CreateTargetGroupRequest.h.

◆ WithName() [2/3]

CreateTargetGroupRequest& Aws::ElasticLoadBalancingv2::Model::CreateTargetGroupRequest::WithName ( const Aws::String value)
inline

The name of the target group.

This name must be unique per region per account, can have a maximum of 32 characters, must contain only alphanumeric characters or hyphens, and must not begin or end with a hyphen.

Definition at line 84 of file CreateTargetGroupRequest.h.

◆ WithName() [3/3]

CreateTargetGroupRequest& Aws::ElasticLoadBalancingv2::Model::CreateTargetGroupRequest::WithName ( const char *  value)
inline

The name of the target group.

This name must be unique per region per account, can have a maximum of 32 characters, must contain only alphanumeric characters or hyphens, and must not begin or end with a hyphen.

Definition at line 98 of file CreateTargetGroupRequest.h.

◆ WithPort()

CreateTargetGroupRequest& Aws::ElasticLoadBalancingv2::Model::CreateTargetGroupRequest::WithPort ( int  value)
inline

The port on which the targets receive traffic. This port is used unless you specify a port override when registering the target. If the target is a Lambda function, this parameter does not apply. If the protocol is GENEVE, the supported port is 6081.

Definition at line 257 of file CreateTargetGroupRequest.h.

◆ WithProtocol() [1/2]

CreateTargetGroupRequest& Aws::ElasticLoadBalancingv2::Model::CreateTargetGroupRequest::WithProtocol ( const ProtocolEnum value)
inline

The protocol to use for routing traffic to the targets. For Application Load Balancers, the supported protocols are HTTP and HTTPS. For Network Load Balancers, the supported protocols are TCP, TLS, UDP, or TCP_UDP. For Gateway Load Balancers, the supported protocol is GENEVE. A TCP_UDP listener must be associated with a TCP_UDP target group. If the target is a Lambda function, this parameter does not apply.

Definition at line 149 of file CreateTargetGroupRequest.h.

◆ WithProtocol() [2/2]

CreateTargetGroupRequest& Aws::ElasticLoadBalancingv2::Model::CreateTargetGroupRequest::WithProtocol ( ProtocolEnum &&  value)
inline

The protocol to use for routing traffic to the targets. For Application Load Balancers, the supported protocols are HTTP and HTTPS. For Network Load Balancers, the supported protocols are TCP, TLS, UDP, or TCP_UDP. For Gateway Load Balancers, the supported protocol is GENEVE. A TCP_UDP listener must be associated with a TCP_UDP target group. If the target is a Lambda function, this parameter does not apply.

Definition at line 159 of file CreateTargetGroupRequest.h.

◆ WithProtocolVersion() [1/3]

CreateTargetGroupRequest& Aws::ElasticLoadBalancingv2::Model::CreateTargetGroupRequest::WithProtocolVersion ( Aws::String &&  value)
inline

[HTTP/HTTPS protocol] The protocol version. Specify GRPC to send requests to targets using gRPC. Specify HTTP2 to send requests to targets using HTTP/2. The default is HTTP1, which sends requests to targets using HTTP/1.1.

Definition at line 216 of file CreateTargetGroupRequest.h.

◆ WithProtocolVersion() [2/3]

CreateTargetGroupRequest& Aws::ElasticLoadBalancingv2::Model::CreateTargetGroupRequest::WithProtocolVersion ( const Aws::String value)
inline

[HTTP/HTTPS protocol] The protocol version. Specify GRPC to send requests to targets using gRPC. Specify HTTP2 to send requests to targets using HTTP/2. The default is HTTP1, which sends requests to targets using HTTP/1.1.

Definition at line 208 of file CreateTargetGroupRequest.h.

◆ WithProtocolVersion() [3/3]

CreateTargetGroupRequest& Aws::ElasticLoadBalancingv2::Model::CreateTargetGroupRequest::WithProtocolVersion ( const char *  value)
inline

[HTTP/HTTPS protocol] The protocol version. Specify GRPC to send requests to targets using gRPC. Specify HTTP2 to send requests to targets using HTTP/2. The default is HTTP1, which sends requests to targets using HTTP/1.1.

Definition at line 224 of file CreateTargetGroupRequest.h.

◆ WithTags() [1/2]

CreateTargetGroupRequest& Aws::ElasticLoadBalancingv2::Model::CreateTargetGroupRequest::WithTags ( Aws::Vector< Tag > &&  value)
inline

The tags to assign to the target group.

Definition at line 851 of file CreateTargetGroupRequest.h.

◆ WithTags() [2/2]

CreateTargetGroupRequest& Aws::ElasticLoadBalancingv2::Model::CreateTargetGroupRequest::WithTags ( const Aws::Vector< Tag > &  value)
inline

The tags to assign to the target group.

Definition at line 846 of file CreateTargetGroupRequest.h.

◆ WithTargetType() [1/2]

CreateTargetGroupRequest& Aws::ElasticLoadBalancingv2::Model::CreateTargetGroupRequest::WithTargetType ( const TargetTypeEnum value)
inline

The type of target that you must specify when registering targets with this target group. You can't specify targets for a target group using more than one target type.

  • instance - Register targets by instance ID. This is the default value.

  • ip - Register targets by IP address. You can specify IP addresses from the subnets of the virtual private cloud (VPC) for the target group, the RFC 1918 range (10.0.0.0/8, 172.16.0.0/12, and 192.168.0.0/16), and the RFC 6598 range (100.64.0.0/10). You can't specify publicly routable IP addresses.

  • lambda - Register a single Lambda function as a target.

Definition at line 806 of file CreateTargetGroupRequest.h.

◆ WithTargetType() [2/2]

CreateTargetGroupRequest& Aws::ElasticLoadBalancingv2::Model::CreateTargetGroupRequest::WithTargetType ( TargetTypeEnum &&  value)
inline

The type of target that you must specify when registering targets with this target group. You can't specify targets for a target group using more than one target type.

  • instance - Register targets by instance ID. This is the default value.

  • ip - Register targets by IP address. You can specify IP addresses from the subnets of the virtual private cloud (VPC) for the target group, the RFC 1918 range (10.0.0.0/8, 172.16.0.0/12, and 192.168.0.0/16), and the RFC 6598 range (100.64.0.0/10). You can't specify publicly routable IP addresses.

  • lambda - Register a single Lambda function as a target.

Definition at line 820 of file CreateTargetGroupRequest.h.

◆ WithUnhealthyThresholdCount()

CreateTargetGroupRequest& Aws::ElasticLoadBalancingv2::Model::CreateTargetGroupRequest::WithUnhealthyThresholdCount ( int  value)
inline

The number of consecutive health check failures required before considering a target unhealthy. If the target group protocol is HTTP or HTTPS, the default is

  1. If the target group protocol is TCP or TLS, this value must be the same as the healthy threshold count. If the target group protocol is GENEVE, the default is 3. If the target type is lambda, the default is 2.

Definition at line 698 of file CreateTargetGroupRequest.h.

◆ WithVpcId() [1/3]

CreateTargetGroupRequest& Aws::ElasticLoadBalancingv2::Model::CreateTargetGroupRequest::WithVpcId ( Aws::String &&  value)
inline

The identifier of the virtual private cloud (VPC). If the target is a Lambda function, this parameter does not apply. Otherwise, this parameter is required.

Definition at line 307 of file CreateTargetGroupRequest.h.

◆ WithVpcId() [2/3]

CreateTargetGroupRequest& Aws::ElasticLoadBalancingv2::Model::CreateTargetGroupRequest::WithVpcId ( const Aws::String value)
inline

The identifier of the virtual private cloud (VPC). If the target is a Lambda function, this parameter does not apply. Otherwise, this parameter is required.

Definition at line 300 of file CreateTargetGroupRequest.h.

◆ WithVpcId() [3/3]

CreateTargetGroupRequest& Aws::ElasticLoadBalancingv2::Model::CreateTargetGroupRequest::WithVpcId ( const char *  value)
inline

The identifier of the virtual private cloud (VPC). If the target is a Lambda function, this parameter does not apply. Otherwise, this parameter is required.

Definition at line 314 of file CreateTargetGroupRequest.h.


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