Interface CfnGatewayRuleProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnGatewayRuleProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.139.0 (build 26a6b54)",
date="2026-09-02T11:03:04.614Z")
@Stability(Stable)
public interface CfnGatewayRuleProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnGatewayRule.
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.bedrockagentcore.*;
CfnGatewayRuleProps cfnGatewayRuleProps = CfnGatewayRuleProps.builder()
.actions(List.of(ActionProperty.builder()
.configurationBundle(ConfigurationBundleActionProperty.builder()
.staticOverride(StaticOverrideProperty.builder()
.bundleArn("bundleArn")
.bundleVersion("bundleVersion")
.build())
.weightedOverride(WeightedOverrideProperty.builder()
.trafficSplit(List.of(TrafficSplitEntryProperty.builder()
.configurationBundle(ConfigurationBundleReferenceProperty.builder()
.bundleArn("bundleArn")
.bundleVersion("bundleVersion")
.build())
.name("name")
.weight(123)
// the properties below are optional
.description("description")
.metadata(Map.of(
"metadataKey", "metadata"))
.build()))
.build())
.build())
.routeToTarget(RouteToTargetActionProperty.builder()
.staticRoute(StaticRouteProperty.builder()
.targetName("targetName")
.build())
.weightedRoute(WeightedRouteProperty.builder()
.trafficSplit(List.of(TargetTrafficSplitEntryProperty.builder()
.name("name")
.targetName("targetName")
.weight(123)
// the properties below are optional
.description("description")
.metadata(Map.of(
"metadataKey", "metadata"))
.build()))
.build())
.build())
.build()))
.priority(123)
// the properties below are optional
.conditions(List.of(ConditionProperty.builder()
.matchPaths(MatchPathsProperty.builder()
.anyOf(List.of("anyOf"))
.build())
.matchPrincipals(MatchPrincipalsProperty.builder()
.anyOf(List.of(MatchPrincipalEntryProperty.builder()
.iamPrincipal(IamPrincipalProperty.builder()
.arn("arn")
// the properties below are optional
.operator("operator")
.build())
.build()))
.build())
.build()))
.description("description")
.gatewayIdentifier("gatewayIdentifier")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnGatewayRulePropsstatic final classAn implementation forCfnGatewayRuleProps -
Method Summary
Modifier and TypeMethodDescriptionstatic CfnGatewayRuleProps.Builderbuilder()Returns union: eitherIResolvableor Listinvalid input: '<'eitherIResolvableorCfnGatewayRule.ActionProperty>default ObjectReturns union: eitherIResolvableor Listinvalid input: '<'eitherIResolvableorCfnGatewayRule.ConditionProperty>default Stringdefault StringMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getActions
Returns union: eitherIResolvableor Listinvalid input: '<'eitherIResolvableorCfnGatewayRule.ActionProperty>- See Also:
-
getPriority
- See Also:
-
getConditions
Returns union: eitherIResolvableor Listinvalid input: '<'eitherIResolvableorCfnGatewayRule.ConditionProperty>- See Also:
-
getDescription
- See Also:
-
getGatewayIdentifier
- See Also:
-
builder
- Returns:
- a
CfnGatewayRuleProps.BuilderofCfnGatewayRuleProps
-