@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:39.065Z") @Stability(value=Stable) public abstract class BaseLoadBalancer extends Resource
software.amazon.jsii.JsiiObject.InitializationModeIResource.Jsii$Default| Modifier | Constructor and Description |
|---|---|
protected |
BaseLoadBalancer(software.constructs.Construct scope,
String id,
BaseLoadBalancerProps baseProps,
Object additionalProps) |
protected |
BaseLoadBalancer(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
BaseLoadBalancer(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
String |
getLoadBalancerArn()
The ARN of this load balancer.
|
String |
getLoadBalancerCanonicalHostedZoneId()
The canonical hosted zone ID of this load balancer.
|
String |
getLoadBalancerDnsName()
The DNS name of this load balancer.
|
String |
getLoadBalancerFullName()
The full name of this load balancer.
|
String |
getLoadBalancerName()
The name of this load balancer.
|
List<String> |
getLoadBalancerSecurityGroups() |
IVpc |
getVpc()
The VPC this load balancer has been created in.
|
void |
logAccessLogs(IBucket bucket)
Enable access logging for this load balancer.
|
void |
logAccessLogs(IBucket bucket,
String prefix)
Enable access logging for this load balancer.
|
void |
removeAttribute(String key)
Remove an attribute from the load balancer.
|
void |
setAttribute(String key)
Set a non-standard attribute on the load balancer.
|
void |
setAttribute(String key,
String value)
Set a non-standard attribute on the load balancer.
|
protected List<String> |
validateLoadBalancer() |
applyRemovalPolicy, generatePhysicalName, getEnv, getPhysicalName, getResourceArnAttribute, getResourceNameAttribute, getStack, isOwnedResource, isResourcejsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetprotected BaseLoadBalancer(software.amazon.jsii.JsiiObjectRef objRef)
protected BaseLoadBalancer(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
protected BaseLoadBalancer(@NotNull
software.constructs.Construct scope,
@NotNull
String id,
@NotNull
BaseLoadBalancerProps baseProps,
@NotNull
Object additionalProps)
scope - This parameter is required.id - This parameter is required.baseProps - This parameter is required.additionalProps - This parameter is required.@Stability(value=Stable)
public void logAccessLogs(@NotNull
IBucket bucket,
@Nullable
String prefix)
A region must be specified on the stack containing the load balancer; you cannot enable logging on environment-agnostic stacks. See https://docs.aws.amazon.com/cdk/latest/guide/environments.html
bucket - This parameter is required.prefix - @Stability(value=Stable)
public void logAccessLogs(@NotNull
IBucket bucket)
A region must be specified on the stack containing the load balancer; you cannot enable logging on environment-agnostic stacks. See https://docs.aws.amazon.com/cdk/latest/guide/environments.html
bucket - This parameter is required.@Stability(value=Stable)
public void removeAttribute(@NotNull
String key)
key - This parameter is required.@Stability(value=Stable)
public void setAttribute(@NotNull
String key,
@Nullable
String value)
key - This parameter is required.value - @Stability(value=Stable)
public void setAttribute(@NotNull
String key)
key - This parameter is required.@Stability(value=Stable) @NotNull protected List<String> validateLoadBalancer()
@Stability(value=Stable) @NotNull public String getLoadBalancerArn()
Example value: arn:aws:elasticloadbalancing:us-west-2:123456789012:loadbalancer/app/my-internal-load-balancer/50dc6c495c0c9188
@Stability(value=Stable) @NotNull public String getLoadBalancerCanonicalHostedZoneId()
Example value: Z2P70J7EXAMPLE
@Stability(value=Stable) @NotNull public String getLoadBalancerDnsName()
Example value: my-load-balancer-424835706.us-west-2.elb.amazonaws.com
@Stability(value=Stable) @NotNull public String getLoadBalancerFullName()
Example value: app/my-load-balancer/50dc6c495c0c9188
@Stability(value=Stable) @NotNull public String getLoadBalancerName()
Example value: my-load-balancer
@Stability(value=Stable) @NotNull public List<String> getLoadBalancerSecurityGroups()
@Stability(value=Stable) @Nullable public IVpc getVpc()
This property is always defined (not null or undefined) for sub-classes of BaseLoadBalancer.
Copyright © 2022. All rights reserved.