Show / Hide Table of Contents

Class NetworkTargetGroup

Define a Network Target Group

Synopsis

Constructors

constructor(scope, id, props)

Constructs a new instance of the NetworkTargetGroup class

Properties

firstLoadBalancerFullName

Full name of first load balancer

Methods

addTarget(targets)

Add a load balancing target to this target group

fromTargetGroupAttributes(scope, id, attrs)

Import an existing target group

import(scope, id, props)

Import an existing listener

registerListener(listener)

Register a listener that is load balancing to this target group.

validate()

Constructors

constructor(scope, id, props)

Constructs a new instance of the NetworkTargetGroup class

Declaration
constructor(scope: cdk.Construct, id: string, props: NetworkTargetGroupProps);
Parameters
scope cdk.Construct
id string
props NetworkTargetGroupProps

Properties

firstLoadBalancerFullName

Full name of first load balancer

Declaration
readonly firstLoadBalancerFullName: string;
Property Value

string

Methods

addTarget(targets)

Add a load balancing target to this target group

Declaration
addTarget(...targets: INetworkLoadBalancerTarget[]): void;
Parameters
targets INetworkLoadBalancerTarget[]
Returns

void

fromTargetGroupAttributes(scope, id, attrs)

Import an existing target group

Declaration
static fromTargetGroupAttributes(scope: cdk.Construct, id: string, attrs: TargetGroupAttributes): INetworkTargetGroup;
Parameters
scope cdk.Construct
id string
attrs TargetGroupAttributes
Returns

INetworkTargetGroup

import(scope, id, props)

Import an existing listener

Declaration
static import(scope: cdk.Construct, id: string, props: TargetGroupImportProps): INetworkTargetGroup;
Parameters
scope cdk.Construct
id string
props TargetGroupImportProps
Returns

INetworkTargetGroup

registerListener(listener)

Register a listener that is load balancing to this target group.

Don't call this directly. It will be called by listeners.

Declaration
registerListener(listener: INetworkListener): void;
Parameters
listener INetworkListener
Returns

void

validate()

Declaration
protected validate(): string[];
Returns

string[]

Back to top Generated by DocFX