@Stability(value=Stable)
public static interface CfnListenerRule.ActionProperty
extends software.amazon.jsii.JsiiSerializable
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.elasticloadbalancingv2.*;
ActionProperty actionProperty = ActionProperty.builder()
.type("type")
// the properties below are optional
.authenticateCognitoConfig(AuthenticateCognitoConfigProperty.builder()
.userPoolArn("userPoolArn")
.userPoolClientId("userPoolClientId")
.userPoolDomain("userPoolDomain")
// the properties below are optional
.authenticationRequestExtraParams(Map.of(
"authenticationRequestExtraParamsKey", "authenticationRequestExtraParams"))
.onUnauthenticatedRequest("onUnauthenticatedRequest")
.scope("scope")
.sessionCookieName("sessionCookieName")
.sessionTimeout(123)
.build())
.authenticateOidcConfig(AuthenticateOidcConfigProperty.builder()
.authorizationEndpoint("authorizationEndpoint")
.clientId("clientId")
.clientSecret("clientSecret")
.issuer("issuer")
.tokenEndpoint("tokenEndpoint")
.userInfoEndpoint("userInfoEndpoint")
// the properties below are optional
.authenticationRequestExtraParams(Map.of(
"authenticationRequestExtraParamsKey", "authenticationRequestExtraParams"))
.onUnauthenticatedRequest("onUnauthenticatedRequest")
.scope("scope")
.sessionCookieName("sessionCookieName")
.sessionTimeout(123)
.useExistingClientSecret(false)
.build())
.fixedResponseConfig(FixedResponseConfigProperty.builder()
.statusCode("statusCode")
// the properties below are optional
.contentType("contentType")
.messageBody("messageBody")
.build())
.forwardConfig(ForwardConfigProperty.builder()
.targetGroups(List.of(TargetGroupTupleProperty.builder()
.targetGroupArn("targetGroupArn")
.weight(123)
.build()))
.targetGroupStickinessConfig(TargetGroupStickinessConfigProperty.builder()
.durationSeconds(123)
.enabled(false)
.build())
.build())
.order(123)
.redirectConfig(RedirectConfigProperty.builder()
.statusCode("statusCode")
// the properties below are optional
.host("host")
.path("path")
.port("port")
.protocol("protocol")
.query("query")
.build())
.targetGroupArn("targetGroupArn")
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnListenerRule.ActionProperty.Builder
A builder for
CfnListenerRule.ActionProperty |
static class |
CfnListenerRule.ActionProperty.Jsii$Proxy
An implementation for
CfnListenerRule.ActionProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnListenerRule.ActionProperty.Builder |
builder() |
default Object |
getAuthenticateCognitoConfig()
`CfnListenerRule.ActionProperty.AuthenticateCognitoConfig`.
|
default Object |
getAuthenticateOidcConfig()
`CfnListenerRule.ActionProperty.AuthenticateOidcConfig`.
|
default Object |
getFixedResponseConfig()
`CfnListenerRule.ActionProperty.FixedResponseConfig`.
|
default Object |
getForwardConfig()
`CfnListenerRule.ActionProperty.ForwardConfig`.
|
default Number |
getOrder()
`CfnListenerRule.ActionProperty.Order`.
|
default Object |
getRedirectConfig()
`CfnListenerRule.ActionProperty.RedirectConfig`.
|
default String |
getTargetGroupArn()
`CfnListenerRule.ActionProperty.TargetGroupArn`.
|
String |
getType()
`CfnListenerRule.ActionProperty.Type`.
|
@Stability(value=Stable) @Nullable default Object getAuthenticateCognitoConfig()
@Stability(value=Stable) @Nullable default Object getAuthenticateOidcConfig()
@Stability(value=Stable) @Nullable default Object getFixedResponseConfig()
@Stability(value=Stable) @Nullable default Object getForwardConfig()
@Stability(value=Stable) @Nullable default Number getOrder()
@Stability(value=Stable) @Nullable default Object getRedirectConfig()
@Stability(value=Stable) @Nullable default String getTargetGroupArn()
@Stability(value=Stable) @NotNull String getType()
@Stability(value=Stable) static CfnListenerRule.ActionProperty.Builder builder()
Copyright © 2021. All rights reserved.