INetworkTargetGroupRef

class aws_cdk.aws_elasticloadbalancingv2.INetworkTargetGroupRef(*args, **kwargs)

Bases: ITargetGroupRef, Protocol

Indicates that this resource can be referenced as an NLB TargetGroup.

Attributes

env

The environment this resource belongs to.

For resources that are created and managed in a Stack (those created by creating new class instances like new Role(), new Bucket(), etc.), this is always the same as the environment of the stack they belong to.

For referenced resources (those obtained from referencing methods like Role.fromRoleArn(), Bucket.fromBucketName(), etc.), they might be different than the stack they were imported into.

is_network_target_group

Indicates that this is a Network Target Group.

Will always return true, but is necessary to prevent accidental structural equality in TypeScript.

node

The tree node.

target_group_ref

(experimental) A reference to a TargetGroup resource.

Stability:

experimental