Interface AlternateTargetConfig
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
AlternateTargetConfig.Jsii$Proxy
@Generated(value="jsii-pacmak/1.113.0 (build fc68b25)",
date="2025-09-02T11:25:30.751Z")
@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 class
A builder forAlternateTargetConfig
static final class
An 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.Builder
ofAlternateTargetConfig
-