Interface CfnGatewayRulePropsMixin.ActionProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnGatewayRulePropsMixin.ActionProperty.Jsii$Proxy
- Enclosing class:
CfnGatewayRulePropsMixin
@Stability(Stable)
public static interface CfnGatewayRulePropsMixin.ActionProperty
extends software.amazon.jsii.JsiiSerializable
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.bedrockagentcore.*;
ActionProperty actionProperty = 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())
.description("description")
.metadata(Map.of(
"metadataKey", "metadata"))
.name("name")
.weight(123)
.build()))
.build())
.build())
.routeToTarget(RouteToTargetActionProperty.builder()
.staticRoute(StaticRouteProperty.builder()
.targetName("targetName")
.build())
.weightedRoute(WeightedRouteProperty.builder()
.trafficSplit(List.of(TargetTrafficSplitEntryProperty.builder()
.description("description")
.metadata(Map.of(
"metadataKey", "metadata"))
.name("name")
.targetName("targetName")
.weight(123)
.build()))
.build())
.build())
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnGatewayRulePropsMixin.ActionPropertystatic final classAn implementation forCfnGatewayRulePropsMixin.ActionProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectReturns union: eitherIResolvableorCfnGatewayRulePropsMixin.ConfigurationBundleActionPropertydefault ObjectReturns union: eitherIResolvableorCfnGatewayRulePropsMixin.RouteToTargetActionPropertyMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getConfigurationBundle
Returns union: eitherIResolvableorCfnGatewayRulePropsMixin.ConfigurationBundleActionProperty- See Also:
-
getRouteToTarget
Returns union: eitherIResolvableorCfnGatewayRulePropsMixin.RouteToTargetActionProperty- See Also:
-
builder
-