Class: Aws::SecurityHub::Types::LoadBalancerState

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb

Overview

Note:

When making an API call, you may pass LoadBalancerState data as a hash:

{
  code: "NonEmptyString",
  reason: "NonEmptyString",
}

Information about the state of the load balancer.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#codeString

The state code. The initial state of the load balancer is provisioning.

After the load balancer is fully set up and ready to route traffic, its state is active.

If the load balancer could not be set up, its state is failed.

Returns:

  • (String)


8674
8675
8676
8677
8678
8679
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 8674

class LoadBalancerState < Struct.new(
  :code,
  :reason)
  SENSITIVE = []
  include Aws::Structure
end

#reasonString

A description of the state.

Returns:

  • (String)


8674
8675
8676
8677
8678
8679
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 8674

class LoadBalancerState < Struct.new(
  :code,
  :reason)
  SENSITIVE = []
  include Aws::Structure
end