case class AWS::ElasticLoadBalancingV2::TargetGroup(name: String, Protocol: ALBProtocol, Port: Token[Int], VpcId: VpcId, Matcher: Option[Matcher], HealthCheckIntervalSeconds: Option[Token[Int]] = None, HealthCheckPath: Option[Token[String]] = None, HealthCheckPort: Option[Token[String]] = None, HealthCheckProtocol: Option[ALBProtocol] = None, HealthCheckTimeoutSeconds: Option[Token[Int]] = None, HealthyThresholdCount: Option[Token[Int]] = None, UnhealthyThresholdCount: Option[Token[Int]] = None, Name: Option[Token[String]] = None, TargetGroupAttributes: Option[Seq[TargetGroupAttribute]] = None, Targets: Option[Seq[TargetDescription]] = None, Tags: Option[Seq[AmazonTag]] = None, Condition: Option[ConditionRef] = None, DependsOn: Option[Seq[String]] = None) extends Resource[AWS::ElasticLoadBalancingV2::TargetGroup] with HasArn with Product with Serializable
The AWS::ElasticLoadBalancingV2::TargetGroup resource creates an Elastic Load Balancing target group that routes requests to one or more registered targets, such as EC2 instances. For more information, see the [Target Groups for Your Application Load Balancers](http://docs.aws.amazon.com/elasticloadbalancing/latest/application/load-balancer-target-groups.html) in the Application Load Balancers Guide.
- name
CloudFormation logical name
- Protocol
The protocol to use for routing traffic to the targets.
- Port
The port on which the targets receive traffic. This port is used unless you specify a port override when registering the target.
- VpcId
The identifier of the virtual private cloud (VPC).
- Matcher
The HTTP codes to use when checking for a successful response from a target. The default is 200.
- HealthCheckIntervalSeconds
The approximate number of seconds between health checks for an individual target. The default is 30 seconds.
- HealthCheckPath
The ping path destination where Elastic Load Balancing sends health check requests. The default is /.
- HealthCheckPort
The port that the load balancer uses when performing health checks on the targets. The default is
traffic-port
, which indicates the port on which each target receives traffic from the load balancer.- HealthCheckProtocol
The protocol the load balancer uses when performing health checks on targets. The default is the HTTP protocol.
- HealthCheckTimeoutSeconds
The amount of time, in seconds, during which no response from a target means a failed health check. The default is 5 seconds.
- HealthyThresholdCount
The number of consecutive health checks successes required before considering an unhealthy target healthy. The default is 5.
- UnhealthyThresholdCount
The number of consecutive health check failures required before considering a target unhealthy. The default is 2.
- Name
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.
- TargetGroupAttributes
Target group configurations.
- Targets
The targets to add to this target group.
- Tags
An arbitrary set of tags (key–value pairs) for the target group. Use tags to help manage resources.
- Condition
Define conditions by using the intrinsic condition functions. These conditions determine when AWS CloudFormation creates the associated resources.
- DependsOn
Declare dependencies for resources that must be created or deleted in a specific order.
- Alphabetic
- By Inheritance
- AWS::ElasticLoadBalancingV2::TargetGroup
- Serializable
- Serializable
- Product
- Equals
- HasArn
- Resource
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
AWS::ElasticLoadBalancingV2::TargetGroup(name: String, Protocol: ALBProtocol, Port: Token[Int], VpcId: VpcId, Matcher: Option[Matcher], HealthCheckIntervalSeconds: Option[Token[Int]] = None, HealthCheckPath: Option[Token[String]] = None, HealthCheckPort: Option[Token[String]] = None, HealthCheckProtocol: Option[ALBProtocol] = None, HealthCheckTimeoutSeconds: Option[Token[Int]] = None, HealthyThresholdCount: Option[Token[Int]] = None, UnhealthyThresholdCount: Option[Token[Int]] = None, Name: Option[Token[String]] = None, TargetGroupAttributes: Option[Seq[TargetGroupAttribute]] = None, Targets: Option[Seq[TargetDescription]] = None, Tags: Option[Seq[AmazonTag]] = None, Condition: Option[ConditionRef] = None, DependsOn: Option[Seq[String]] = None)
- name
CloudFormation logical name
- Protocol
The protocol to use for routing traffic to the targets.
- Port
The port on which the targets receive traffic. This port is used unless you specify a port override when registering the target.
- VpcId
The identifier of the virtual private cloud (VPC).
- Matcher
The HTTP codes to use when checking for a successful response from a target. The default is 200.
- HealthCheckIntervalSeconds
The approximate number of seconds between health checks for an individual target. The default is 30 seconds.
- HealthCheckPath
The ping path destination where Elastic Load Balancing sends health check requests. The default is /.
- HealthCheckPort
The port that the load balancer uses when performing health checks on the targets. The default is
traffic-port
, which indicates the port on which each target receives traffic from the load balancer.- HealthCheckProtocol
The protocol the load balancer uses when performing health checks on targets. The default is the HTTP protocol.
- HealthCheckTimeoutSeconds
The amount of time, in seconds, during which no response from a target means a failed health check. The default is 5 seconds.
- HealthyThresholdCount
The number of consecutive health checks successes required before considering an unhealthy target healthy. The default is 5.
- UnhealthyThresholdCount
The number of consecutive health check failures required before considering a target unhealthy. The default is 2.
- Name
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.
- TargetGroupAttributes
Target group configurations.
- Targets
The targets to add to this target group.
- Tags
An arbitrary set of tags (key–value pairs) for the target group. Use tags to help manage resources.
- Condition
Define conditions by using the intrinsic condition functions. These conditions determine when AWS CloudFormation creates the associated resources.
- DependsOn
Declare dependencies for resources that must be created or deleted in a specific order.
Type Members
-
type
RR = Resource[AWS::ElasticLoadBalancingV2::TargetGroup]
- Definition Classes
- Resource
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
val
Condition: Option[ConditionRef]
- Definition Classes
- AWS::ElasticLoadBalancingV2::TargetGroup → Resource
-
val
DeletionPolicy: Option[DeletionPolicy]
- Definition Classes
- Resource
-
val
DependsOn: Option[Seq[String]]
- Definition Classes
- AWS::ElasticLoadBalancingV2::TargetGroup → Resource
- val HealthCheckIntervalSeconds: Option[Token[Int]]
- val HealthCheckPath: Option[Token[String]]
- val HealthCheckPort: Option[Token[String]]
- val HealthCheckProtocol: Option[ALBProtocol]
- val HealthCheckTimeoutSeconds: Option[Token[Int]]
- val HealthyThresholdCount: Option[Token[Int]]
- val Matcher: Option[Matcher]
- val Name: Option[Token[String]]
- val Port: Token[Int]
- val Protocol: ALBProtocol
-
val
ResourceType: String
- Definition Classes
- Resource
- val Tags: Option[Seq[AmazonTag]]
- val TargetGroupAttributes: Option[Seq[TargetGroupAttribute]]
- val Targets: Option[Seq[TargetDescription]]
- val UnhealthyThresholdCount: Option[Token[Int]]
- val VpcId: VpcId
-
def
arn: Token[String]
- Definition Classes
- AWS::ElasticLoadBalancingV2::TargetGroup → HasArn
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def loadBalancerArns: Token[String]
-
val
name: String
- Definition Classes
- AWS::ElasticLoadBalancingV2::TargetGroup → HasArn → Resource
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
- def targetGroupFullName: Token[String]
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
def
when(newCondition: Option[ConditionRef] = Condition): AWS::ElasticLoadBalancingV2::TargetGroup
- Definition Classes
- AWS::ElasticLoadBalancingV2::TargetGroup → Resource