AWS Native

Pulumi Official
Package maintained by Pulumi
v0.19.0 published on Wednesday, Jun 8, 2022 by Pulumi

getLoadBalancer

Resource Type definition for AWS::Lightsail::LoadBalancer

Using getLoadBalancer

Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

function getLoadBalancer(args: GetLoadBalancerArgs, opts?: InvokeOptions): Promise<GetLoadBalancerResult>
function getLoadBalancerOutput(args: GetLoadBalancerOutputArgs, opts?: InvokeOptions): Output<GetLoadBalancerResult>
def get_load_balancer(load_balancer_name: Optional[str] = None,
                      opts: Optional[InvokeOptions] = None) -> GetLoadBalancerResult
def get_load_balancer_output(load_balancer_name: Optional[pulumi.Input[str]] = None,
                      opts: Optional[InvokeOptions] = None) -> Output[GetLoadBalancerResult]
func LookupLoadBalancer(ctx *Context, args *LookupLoadBalancerArgs, opts ...InvokeOption) (*LookupLoadBalancerResult, error)
func LookupLoadBalancerOutput(ctx *Context, args *LookupLoadBalancerOutputArgs, opts ...InvokeOption) LookupLoadBalancerResultOutput

> Note: This function is named LookupLoadBalancer in the Go SDK.

public static class GetLoadBalancer 
{
    public static Task<GetLoadBalancerResult> InvokeAsync(GetLoadBalancerArgs args, InvokeOptions? opts = null)
    public static Output<GetLoadBalancerResult> Invoke(GetLoadBalancerInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetLoadBalancerResult> getLoadBalancer(GetLoadBalancerArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
Fn::Invoke:
  Function: aws-native:lightsail:getLoadBalancer
  Arguments:
    # Arguments dictionary

The following arguments are supported:

LoadBalancerName string

The name of your load balancer.

LoadBalancerName string

The name of your load balancer.

loadBalancerName String

The name of your load balancer.

loadBalancerName string

The name of your load balancer.

load_balancer_name str

The name of your load balancer.

loadBalancerName String

The name of your load balancer.

getLoadBalancer Result

The following output properties are available:

AttachedInstances List<string>

The names of the instances attached to the load balancer.

HealthCheckPath string

The path you provided to perform the load balancer health check. If you didn't specify a health check path, Lightsail uses the root path of your website (e.g., "/").

LoadBalancerArn string
SessionStickinessEnabled bool

Configuration option to enable session stickiness.

SessionStickinessLBCookieDurationSeconds string

Configuration option to adjust session stickiness cookie duration parameter.

Tags List<Pulumi.AwsNative.Lightsail.Outputs.LoadBalancerTag>

An array of key-value pairs to apply to this resource.

TlsPolicyName string

The name of the TLS policy to apply to the load balancer.

AttachedInstances []string

The names of the instances attached to the load balancer.

HealthCheckPath string

The path you provided to perform the load balancer health check. If you didn't specify a health check path, Lightsail uses the root path of your website (e.g., "/").

LoadBalancerArn string
SessionStickinessEnabled bool

Configuration option to enable session stickiness.

SessionStickinessLBCookieDurationSeconds string

Configuration option to adjust session stickiness cookie duration parameter.

Tags []LoadBalancerTag

An array of key-value pairs to apply to this resource.

TlsPolicyName string

The name of the TLS policy to apply to the load balancer.

attachedInstances List<String>

The names of the instances attached to the load balancer.

healthCheckPath String

The path you provided to perform the load balancer health check. If you didn't specify a health check path, Lightsail uses the root path of your website (e.g., "/").

loadBalancerArn String
sessionStickinessEnabled Boolean

Configuration option to enable session stickiness.

sessionStickinessLBCookieDurationSeconds String

Configuration option to adjust session stickiness cookie duration parameter.

tags List<LoadBalancerTag>

An array of key-value pairs to apply to this resource.

tlsPolicyName String

The name of the TLS policy to apply to the load balancer.

attachedInstances string[]

The names of the instances attached to the load balancer.

healthCheckPath string

The path you provided to perform the load balancer health check. If you didn't specify a health check path, Lightsail uses the root path of your website (e.g., "/").

loadBalancerArn string
sessionStickinessEnabled boolean

Configuration option to enable session stickiness.

sessionStickinessLBCookieDurationSeconds string

Configuration option to adjust session stickiness cookie duration parameter.

tags LoadBalancerTag[]

An array of key-value pairs to apply to this resource.

tlsPolicyName string

The name of the TLS policy to apply to the load balancer.

attached_instances Sequence[str]

The names of the instances attached to the load balancer.

health_check_path str

The path you provided to perform the load balancer health check. If you didn't specify a health check path, Lightsail uses the root path of your website (e.g., "/").

load_balancer_arn str
session_stickiness_enabled bool

Configuration option to enable session stickiness.

session_stickiness_lb_cookie_duration_seconds str

Configuration option to adjust session stickiness cookie duration parameter.

tags Sequence[LoadBalancerTag]

An array of key-value pairs to apply to this resource.

tls_policy_name str

The name of the TLS policy to apply to the load balancer.

attachedInstances List<String>

The names of the instances attached to the load balancer.

healthCheckPath String

The path you provided to perform the load balancer health check. If you didn't specify a health check path, Lightsail uses the root path of your website (e.g., "/").

loadBalancerArn String
sessionStickinessEnabled Boolean

Configuration option to enable session stickiness.

sessionStickinessLBCookieDurationSeconds String

Configuration option to adjust session stickiness cookie duration parameter.

tags List<Property Map>

An array of key-value pairs to apply to this resource.

tlsPolicyName String

The name of the TLS policy to apply to the load balancer.

Supporting Types

LoadBalancerTag

Key string

The key name of the tag. You can specify a value that is 1 to 128 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.

Value string

The value for the tag. You can specify a value that is 0 to 256 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.

Key string

The key name of the tag. You can specify a value that is 1 to 128 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.

Value string

The value for the tag. You can specify a value that is 0 to 256 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.

key String

The key name of the tag. You can specify a value that is 1 to 128 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.

value String

The value for the tag. You can specify a value that is 0 to 256 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.

key string

The key name of the tag. You can specify a value that is 1 to 128 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.

value string

The value for the tag. You can specify a value that is 0 to 256 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.

key str

The key name of the tag. You can specify a value that is 1 to 128 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.

value str

The value for the tag. You can specify a value that is 0 to 256 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.

key String

The key name of the tag. You can specify a value that is 1 to 128 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.

value String

The value for the tag. You can specify a value that is 0 to 256 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.

Package Details

Repository
https://github.com/pulumi/pulumi-aws-native
License
Apache-2.0