Interface CfnGatewayRule.WeightedOverrideProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnGatewayRule.WeightedOverrideProperty.Jsii$Proxy
- Enclosing class:
CfnGatewayRule
@Stability(Stable)
public static interface CfnGatewayRule.WeightedOverrideProperty
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.services.bedrockagentcore.*;
WeightedOverrideProperty weightedOverrideProperty = 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();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnGatewayRule.WeightedOverridePropertystatic final classAn implementation forCfnGatewayRule.WeightedOverrideProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()Returns union: eitherIResolvableor Listinvalid input: '<'eitherIResolvableorCfnGatewayRule.TrafficSplitEntryProperty>Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getTrafficSplit
Returns union: eitherIResolvableor Listinvalid input: '<'eitherIResolvableorCfnGatewayRule.TrafficSplitEntryProperty>- See Also:
-
builder
-