Interface CfnRouteProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnRouteProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:34.914Z")
@Stability(Stable)
public interface CfnRouteProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnRoute
.
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.refactorspaces.*; CfnRouteProps cfnRouteProps = CfnRouteProps.builder() .applicationIdentifier("applicationIdentifier") .environmentIdentifier("environmentIdentifier") .routeType("routeType") .serviceIdentifier("serviceIdentifier") // the properties below are optional .defaultRoute(DefaultRouteInputProperty.builder() .activationState("activationState") .build()) .tags(List.of(CfnTag.builder() .key("key") .value("value") .build())) .uriPathRoute(UriPathRouteInputProperty.builder() .activationState("activationState") // the properties below are optional .appendSourcePath(false) .includeChildPaths(false) .methods(List.of("methods")) .sourcePath("sourcePath") .build()) .build();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnRouteProps
static final class
An implementation forCfnRouteProps
-
Method Summary
Modifier and TypeMethodDescriptionstatic CfnRouteProps.Builder
builder()
The unique identifier of the application.default Object
Configuration for the default route type.The unique identifier of the environment.The route type of the route.The unique identifier of the service.getTags()
The tags assigned to the route.default Object
The configuration for the URI path route type.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getApplicationIdentifier
The unique identifier of the application. -
getEnvironmentIdentifier
The unique identifier of the environment. -
getRouteType
The route type of the route. -
getServiceIdentifier
The unique identifier of the service. -
getDefaultRoute
Configuration for the default route type. -
getTags
The tags assigned to the route. -
getUriPathRoute
The configuration for the URI path route type. -
builder
- Returns:
- a
CfnRouteProps.Builder
ofCfnRouteProps
-