@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-07T23:47:06.506Z") @Stability(value=Experimental) public abstract class BaseLoadBalancer extends Resource
software.constructs.Construct.Buildersoftware.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()
(experimental) The ARN of this load balancer.
|
String |
getLoadBalancerCanonicalHostedZoneId()
(experimental) The canonical hosted zone ID of this load balancer.
|
String |
getLoadBalancerDnsName()
(experimental) The DNS name of this load balancer.
|
String |
getLoadBalancerFullName()
(experimental) The full name of this load balancer.
|
String |
getLoadBalancerName()
(experimental) The name of this load balancer.
|
List<String> |
getLoadBalancerSecurityGroups() |
IVpc |
getVpc()
(experimental) The VPC this load balancer has been created in.
|
void |
logAccessLogs(IBucket bucket)
(experimental) Enable access logging for this load balancer.
|
void |
logAccessLogs(IBucket bucket,
String prefix)
(experimental) Enable access logging for this load balancer.
|
void |
removeAttribute(String key)
(experimental) Remove an attribute from the load balancer.
|
void |
setAttribute(String key)
(experimental) Set a non-standard attribute on the load balancer.
|
void |
setAttribute(String key,
String value)
(experimental) Set a non-standard attribute on the load balancer.
|
protected List<String> |
validate()
(experimental) Validate the current construct.
|
applyRemovalPolicy, generatePhysicalName, getEnv, getPhysicalName, getResourceArnAttribute, getResourceNameAttribute, getStack, isResourcegetNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesizejsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetNodeprotected BaseLoadBalancer(software.amazon.jsii.JsiiObjectRef objRef)
protected BaseLoadBalancer(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Experimental)
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=Experimental)
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=Experimental)
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=Experimental)
public void removeAttribute(@NotNull
String key)
key - This parameter is required.@Stability(value=Experimental)
public void setAttribute(@NotNull
String key,
@Nullable
String value)
key - This parameter is required.value - @Stability(value=Experimental)
public void setAttribute(@NotNull
String key)
key - This parameter is required.@Stability(value=Experimental) @NotNull protected List<String> validate()
This method can be implemented by derived constructs in order to perform validation logic. It is called on all constructs before synthesis.
@Stability(value=Experimental) @NotNull public String getLoadBalancerArn()
Example value: arn:aws:elasticloadbalancing:us-west-2:123456789012:loadbalancer/app/my-internal-load-balancer/50dc6c495c0c9188
@Stability(value=Experimental) @NotNull public String getLoadBalancerCanonicalHostedZoneId()
Example value: Z2P70J7EXAMPLE
@Stability(value=Experimental) @NotNull public String getLoadBalancerDnsName()
Example value: my-load-balancer-424835706.us-west-2.elb.amazonaws.com
@Stability(value=Experimental) @NotNull public String getLoadBalancerFullName()
Example value: app/my-load-balancer/50dc6c495c0c9188
@Stability(value=Experimental) @NotNull public String getLoadBalancerName()
Example value: my-load-balancer
@Stability(value=Experimental) @NotNull public List<String> getLoadBalancerSecurityGroups()
@Stability(value=Experimental) @Nullable public IVpc getVpc()
This property is always defined (not null or undefined) for sub-classes of BaseLoadBalancer.
Copyright © 2022. All rights reserved.