ServiceLoadBalancerAddressOptions

class aws_cdk.aws_eks.ServiceLoadBalancerAddressOptions(*, namespace=None, timeout=None)

Bases: object

Options for fetching a ServiceLoadBalancerAddress.

Parameters:
  • namespace (Optional[str]) – The namespace the service belongs to. Default: ‘default’

  • timeout (Optional[Duration]) – Timeout for waiting on the load balancer address. Default: Duration.minutes(5)

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.aws_eks as eks
import aws_cdk.core as cdk

service_load_balancer_address_options = eks.ServiceLoadBalancerAddressOptions(
    namespace="namespace",
    timeout=cdk.Duration.minutes(30)
)

Attributes

namespace

The namespace the service belongs to.

Default:

‘default’

timeout

Timeout for waiting on the load balancer address.

Default:

Duration.minutes(5)