Interface CfnListenerPropsMixin.ActionProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnListenerPropsMixin.ActionProperty.Jsii$Proxy
- Enclosing class:
CfnListenerPropsMixin
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.cfnpropertymixins.services.elasticloadbalancingv2.*;
ActionProperty actionProperty = ActionProperty.builder()
.authenticateCognitoConfig(AuthenticateCognitoConfigProperty.builder()
.authenticationRequestExtraParams(Map.of(
"authenticationRequestExtraParamsKey", "authenticationRequestExtraParams"))
.onUnauthenticatedRequest("onUnauthenticatedRequest")
.scope("scope")
.sessionCookieName("sessionCookieName")
.sessionTimeout("sessionTimeout")
.userPoolArn("userPoolArn")
.userPoolClientId("userPoolClientId")
.userPoolDomain("userPoolDomain")
.build())
.authenticateOidcConfig(AuthenticateOidcConfigProperty.builder()
.authenticationRequestExtraParams(Map.of(
"authenticationRequestExtraParamsKey", "authenticationRequestExtraParams"))
.authorizationEndpoint("authorizationEndpoint")
.clientId("clientId")
.clientSecret("clientSecret")
.issuer("issuer")
.onUnauthenticatedRequest("onUnauthenticatedRequest")
.scope("scope")
.sessionCookieName("sessionCookieName")
.sessionTimeout("sessionTimeout")
.tokenEndpoint("tokenEndpoint")
.useExistingClientSecret(false)
.userInfoEndpoint("userInfoEndpoint")
.build())
.fixedResponseConfig(FixedResponseConfigProperty.builder()
.contentType("contentType")
.messageBody("messageBody")
.statusCode("statusCode")
.build())
.forwardConfig(ForwardConfigProperty.builder()
.targetGroups(List.of(TargetGroupTupleProperty.builder()
.targetGroupArn("targetGroupArn")
.weight(123)
.build()))
.targetGroupStickinessConfig(TargetGroupStickinessConfigProperty.builder()
.durationSeconds(123)
.enabled(false)
.build())
.build())
.jwtValidationConfig(JwtValidationConfigProperty.builder()
.additionalClaims(List.of(JwtValidationActionAdditionalClaimProperty.builder()
.format("format")
.name("name")
.values(List.of("values"))
.build()))
.issuer("issuer")
.jwksEndpoint("jwksEndpoint")
.build())
.order(123)
.redirectConfig(RedirectConfigProperty.builder()
.host("host")
.path("path")
.port("port")
.protocol("protocol")
.query("query")
.statusCode("statusCode")
.build())
.targetGroupArn("targetGroupArn")
.type("type")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnListenerPropsMixin.ActionPropertystatic final classAn implementation forCfnListenerPropsMixin.ActionProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default Object[HTTPS listeners] Information for using Amazon Cognito to authenticate users.default Object[HTTPS listeners] Information about an identity provider that is compliant with OpenID Connect (OIDC).default Object[Application Load Balancer] Information for creating an action that returns a custom HTTP response.default ObjectInformation for creating an action that distributes requests among multiple target groups.default Object[HTTPS listeners] Information for validating JWT access tokens in client requests.default NumbergetOrder()The order for the action.default Object[Application Load Balancer] Information for creating a redirect action.default ObjectThe Amazon Resource Name (ARN) of the target group.default StringgetType()The type of action.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAuthenticateCognitoConfig
[HTTPS listeners] Information for using Amazon Cognito to authenticate users.Specify only when
Typeisauthenticate-cognito.Returns union: either
IResolvableorCfnListenerPropsMixin.AuthenticateCognitoConfigProperty- See Also:
-
getAuthenticateOidcConfig
[HTTPS listeners] Information about an identity provider that is compliant with OpenID Connect (OIDC).Specify only when
Typeisauthenticate-oidc.Returns union: either
IResolvableorCfnListenerPropsMixin.AuthenticateOidcConfigProperty- See Also:
-
getFixedResponseConfig
[Application Load Balancer] Information for creating an action that returns a custom HTTP response.Specify only when
Typeisfixed-response.Returns union: either
IResolvableorCfnListenerPropsMixin.FixedResponseConfigProperty- See Also:
-
getForwardConfig
Information for creating an action that distributes requests among multiple target groups. Specify only whenTypeisforward.If you specify both
ForwardConfigandTargetGroupArn, you can specify only one target group usingForwardConfigand it must be the same target group specified inTargetGroupArn.Returns union: either
IResolvableorCfnListenerPropsMixin.ForwardConfigProperty- See Also:
-
getJwtValidationConfig
[HTTPS listeners] Information for validating JWT access tokens in client requests.Specify only when
Typeisjwt-validation.Returns union: either
IResolvableorCfnListenerPropsMixin.JwtValidationConfigProperty- See Also:
-
getOrder
The order for the action.This value is required for rules with multiple actions. The action with the lowest value for order is performed first.
- See Also:
-
getRedirectConfig
[Application Load Balancer] Information for creating a redirect action.Specify only when
Typeisredirect.Returns union: either
IResolvableorCfnListenerPropsMixin.RedirectConfigProperty- See Also:
-
getTargetGroupArn
The Amazon Resource Name (ARN) of the target group.Specify only when
Typeisforwardand you want to route to a single target group. To route to multiple target groups, you must useForwardConfiginstead.Returns union: either
StringorITargetGroupRef- See Also:
-
getType
The type of action.- See Also:
-
builder
-