AWSAutoScalingTrafficSourceState

Objective-C

@interface AWSAutoScalingTrafficSourceState

Swift

class AWSAutoScalingTrafficSourceState

Describes the state of a traffic source.

  • The following are the possible states for a VPC Lattice target group:

    • Adding - The Auto Scaling instances are being registered with the target group.

    • Added - All Auto Scaling instances are registered with the target group.

    • InService - At least one Auto Scaling instance passed the VPC_LATTICE health check.

    • Removing - The Auto Scaling instances are being deregistered from the target group. If connection draining is enabled, VPC Lattice waits for in-flight requests to complete before deregistering the instances.

    • Removed - All Auto Scaling instances are deregistered from the target group.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable state;

    Swift

    var state: String? { get set }
  • The unique identifier of the traffic source. Currently, this is the Amazon Resource Name (ARN) for a VPC Lattice target group.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable trafficSource;

    Swift

    var trafficSource: String? { get set }