Class BaseLoadBalancer
- All Implemented Interfaces:
IResource
,software.amazon.jsii.JsiiSerializable
,software.constructs.IConstruct
,software.constructs.IDependable
- Direct Known Subclasses:
ApplicationLoadBalancer
,NetworkLoadBalancer
-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$Default
Nested classes/interfaces inherited from interface software.amazon.awscdk.IResource
IResource.Jsii$Default
-
Constructor Summary
ModifierConstructorDescriptionprotected
BaseLoadBalancer
(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protected
BaseLoadBalancer
(software.amazon.jsii.JsiiObjectRef objRef) protected
BaseLoadBalancer
(software.constructs.Construct scope, String id, BaseLoadBalancerProps baseProps, Object additionalProps) -
Method Summary
Modifier and TypeMethodDescriptionThe ARN of this load balancer.The canonical hosted zone ID of this load balancer.The DNS name of this load balancer.The full name of this load balancer.The name of this load balancer.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.protected IPrincipal
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.Methods inherited from class software.amazon.awscdk.Resource
applyRemovalPolicy, generatePhysicalName, getEnv, getPhysicalName, getResourceArnAttribute, getResourceNameAttribute, getStack, isOwnedResource, isResource
Methods inherited from class software.constructs.Construct
getNode, isConstruct, toString
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface software.constructs.IConstruct
getNode
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Constructor Details
-
BaseLoadBalancer
protected BaseLoadBalancer(software.amazon.jsii.JsiiObjectRef objRef) -
BaseLoadBalancer
protected BaseLoadBalancer(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
BaseLoadBalancer
@Stability(Stable) protected BaseLoadBalancer(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull BaseLoadBalancerProps baseProps, @NotNull Object additionalProps) - Parameters:
scope
- This parameter is required.id
- This parameter is required.baseProps
- This parameter is required.additionalProps
- This parameter is required.
-
-
Method Details
-
logAccessLogs
Enable access logging for this load balancer.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
- Parameters:
bucket
- This parameter is required.prefix
-
-
logAccessLogs
Enable access logging for this load balancer.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
- Parameters:
bucket
- This parameter is required.
-
removeAttribute
Remove an attribute from the load balancer.- Parameters:
key
- This parameter is required.
-
resourcePolicyPrincipal
-
setAttribute
Set a non-standard attribute on the load balancer.- Parameters:
key
- This parameter is required.value
-- See Also:
-
setAttribute
Set a non-standard attribute on the load balancer.- Parameters:
key
- This parameter is required.- See Also:
-
validateLoadBalancer
-
getLoadBalancerArn
The ARN of this load balancer.Example value:
arn:aws:elasticloadbalancing:us-west-2:123456789012:loadbalancer/app/my-internal-load-balancer/50dc6c495c0c9188
-
getLoadBalancerCanonicalHostedZoneId
The canonical hosted zone ID of this load balancer.Example value:
Z2P70J7EXAMPLE
-
getLoadBalancerDnsName
The DNS name of this load balancer.Example value:
my-load-balancer-424835706.us-west-2.elb.amazonaws.com
-
getLoadBalancerFullName
The full name of this load balancer.Example value:
app/my-load-balancer/50dc6c495c0c9188
-
getLoadBalancerName
The name of this load balancer.Example value:
my-load-balancer
-
getLoadBalancerSecurityGroups
-
getVpc
The VPC this load balancer has been created in.This property is always defined (not
null
orundefined
) for sub-classes ofBaseLoadBalancer
.
-