Interface AlternateTargetConfig
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
AlternateTargetConfig.Jsii$Proxy
@Generated(value="jsii-pacmak/1.119.0 (build 1634eac)",
date="2025-11-17T14:40:50.269Z")
@Stability(Stable)
public interface AlternateTargetConfig
extends software.amazon.jsii.JsiiSerializable
Configuration returned by AlternateTargetConfiguration.bind().
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.ecs.*;
AlternateTargetConfig alternateTargetConfig = AlternateTargetConfig.builder()
.alternateTargetGroupArn("alternateTargetGroupArn")
.roleArn("roleArn")
// the properties below are optional
.productionListenerRule("productionListenerRule")
.testListenerRule("testListenerRule")
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forAlternateTargetConfigstatic final classAn implementation forAlternateTargetConfig -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAlternateTargetGroupArn
The ARN of the alternate target group. -
getRoleArn
The IAM role ARN for the configuration.Default: - a new role will be created
-
getProductionListenerRule
The production listener rule ARN (ALB) or listener ARN (NLB).Default: - none
-
getTestListenerRule
The test listener rule ARN (ALB) or listener ARN (NLB).Default: - none
-
builder
- Returns:
- a
AlternateTargetConfig.BuilderofAlternateTargetConfig
-