@Generated(value="jsii-pacmak/1.29.0 (build 41df200)", date="2021-06-02T09:55:31.173Z") @Stability(value=Experimental) public class InstanceIdTarget extends software.amazon.jsii.JsiiObject implements IApplicationLoadBalancerTarget, INetworkLoadBalancerTarget
If you register a target of this type, you are responsible for making sure the load balancer's security group can connect to the instance.
software.amazon.jsii.JsiiObject.InitializationModeIApplicationLoadBalancerTarget.Jsii$Default, IApplicationLoadBalancerTarget.Jsii$ProxyINetworkLoadBalancerTarget.Jsii$Default, INetworkLoadBalancerTarget.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
InstanceIdTarget(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
InstanceIdTarget(software.amazon.jsii.JsiiObjectRef objRef) |
|
InstanceIdTarget(String instanceId)
(experimental) Create a new Instance target.
|
|
InstanceIdTarget(String instanceId,
Number port)
(experimental) Create a new Instance target.
|
| Modifier and Type | Method and Description |
|---|---|
LoadBalancerTargetProps |
attachToApplicationTargetGroup(IApplicationTargetGroup targetGroup)
(experimental) Register this instance target with a load balancer.
|
LoadBalancerTargetProps |
attachToNetworkTargetGroup(INetworkTargetGroup targetGroup)
(experimental) Register this instance target with a load balancer.
|
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetprotected InstanceIdTarget(software.amazon.jsii.JsiiObjectRef objRef)
protected InstanceIdTarget(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Experimental)
public InstanceIdTarget(@NotNull
String instanceId,
@Nullable
Number port)
instanceId - Instance ID of the instance to register to. This parameter is required.port - Override the default port for the target group.@Stability(value=Experimental)
public InstanceIdTarget(@NotNull
String instanceId)
instanceId - Instance ID of the instance to register to. This parameter is required.@Stability(value=Experimental) @NotNull public LoadBalancerTargetProps attachToApplicationTargetGroup(@NotNull IApplicationTargetGroup targetGroup)
Don't call this, it is called automatically when you add the target to a load balancer.
attachToApplicationTargetGroup in interface IApplicationLoadBalancerTargettargetGroup - This parameter is required.@Stability(value=Experimental) @NotNull public LoadBalancerTargetProps attachToNetworkTargetGroup(@NotNull INetworkTargetGroup targetGroup)
Don't call this, it is called automatically when you add the target to a load balancer.
attachToNetworkTargetGroup in interface INetworkLoadBalancerTargettargetGroup - This parameter is required.Copyright © 2021. All rights reserved.