Interface CfnRoutingRuleProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnRoutingRuleProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.112.0 (build de1bc80)",
date="2025-05-22T23:39:45.175Z")
@Stability(Stable)
public interface CfnRoutingRuleProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnRoutingRule.
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.apigatewayv2.*;
CfnRoutingRuleProps cfnRoutingRuleProps = CfnRoutingRuleProps.builder()
.actions(List.of(ActionProperty.builder()
.invokeApi(ActionInvokeApiProperty.builder()
.apiId("apiId")
.stage("stage")
// the properties below are optional
.stripBasePath(false)
.build())
.build()))
.conditions(List.of(ConditionProperty.builder()
.matchBasePaths(MatchBasePathsProperty.builder()
.anyOf(List.of("anyOf"))
.build())
.matchHeaders(MatchHeadersProperty.builder()
.anyOf(List.of(MatchHeaderValueProperty.builder()
.header("header")
.valueGlob("valueGlob")
.build()))
.build())
.build()))
.domainNameArn("domainNameArn")
.priority(123)
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnRoutingRulePropsstatic final classAn implementation forCfnRoutingRuleProps -
Method Summary
Modifier and TypeMethodDescriptionstatic CfnRoutingRuleProps.Builderbuilder()The amazon resource name (ARN) of the domain name resource.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getActions
- See Also:
-
getConditions
- See Also:
-
getDomainNameArn
The amazon resource name (ARN) of the domain name resource.- See Also:
-
getPriority
- See Also:
-
builder
- Returns:
- a
CfnRoutingRuleProps.BuilderofCfnRoutingRuleProps
-