TargetGroupArgs constructor

const TargetGroupArgs({
  1. Input<TargetGroupConfig?>? config,
  2. Input<String?>? name,
  3. Input<String?>? region,
  4. Input<Map<String, String>?>? tags,
  5. required Input<String> type,
})

Creates a new TargetGroupArgs. config Target group configuration. See config Block below. name 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. region Region where this resource will be managed. Defaults to the Region set in the provider configuration. tags Key-value mapping of resource tags. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level. type Type of target group. Valid values are IP, LAMBDA, INSTANCE, or ALB.

Implementation

const TargetGroupArgs({
  this.config,
  this.name,
  this.region,
  this.tags,
  required this.type,
});