TargetGroupArgs

data class TargetGroupArgs(val config: Output<TargetGroupConfigArgs>? = null, val name: Output<String>? = null, val tags: Output<List<TagArgs>>? = null, val targets: Output<List<TargetGroupTargetArgs>>? = null, val type: Output<TargetGroupType>? = null) : ConvertibleToJava<TargetGroupArgs>

A target group is a collection of targets, or compute resources, that run your application or service. A target group can only be used by a single service.

Constructors

Link copied to clipboard
constructor(config: Output<TargetGroupConfigArgs>? = null, name: Output<String>? = null, tags: Output<List<TagArgs>>? = null, targets: Output<List<TargetGroupTargetArgs>>? = null, type: Output<TargetGroupType>? = null)

Properties

Link copied to clipboard
val config: Output<TargetGroupConfigArgs>? = null

The target group configuration.

Link copied to clipboard
val name: Output<String>? = null

The name of the target group. The name must be unique within the account. The valid characters are a-z, 0-9, and hyphens (-). You can't use a hyphen as the first or last character, or immediately after another hyphen. If you don't specify a name, CloudFormation generates one. However, if you specify a name, and later want to replace the resource, you must specify a new name.

Link copied to clipboard
val tags: Output<List<TagArgs>>? = null

The tags for the target group.

Link copied to clipboard
val targets: Output<List<TargetGroupTargetArgs>>? = null

Describes a target.

Link copied to clipboard
val type: Output<TargetGroupType>? = null

The type of target group.

Functions

Link copied to clipboard
open override fun toJava(): TargetGroupArgs