CfnRouteProps
- class aws_cdk.aws_refactorspaces.CfnRouteProps(*, application_identifier, environment_identifier, route_type, service_identifier, default_route=None, tags=None, uri_path_route=None)
Bases:
object
Properties for defining a
CfnRoute
.- Parameters:
application_identifier (
str
) – The unique identifier of the application.environment_identifier (
str
) – The unique identifier of the environment.route_type (
str
) – The route type of the route.service_identifier (
str
) – The unique identifier of the service.default_route (
Union
[IResolvable
,DefaultRouteInputProperty
,Dict
[str
,Any
],None
]) – Configuration for the default route type.tags (
Optional
[Sequence
[Union
[CfnTag
,Dict
[str
,Any
]]]]) – The tags assigned to the route.uri_path_route (
Union
[IResolvable
,UriPathRouteInputProperty
,Dict
[str
,Any
],None
]) – The configuration for the URI path route type.
- Link:
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-refactorspaces-route.html
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. import aws_cdk.aws_refactorspaces as refactorspaces cfn_route_props = refactorspaces.CfnRouteProps( application_identifier="applicationIdentifier", environment_identifier="environmentIdentifier", route_type="routeType", service_identifier="serviceIdentifier", # the properties below are optional default_route=refactorspaces.CfnRoute.DefaultRouteInputProperty( activation_state="activationState" ), tags=[CfnTag( key="key", value="value" )], uri_path_route=refactorspaces.CfnRoute.UriPathRouteInputProperty( activation_state="activationState", # the properties below are optional append_source_path=False, include_child_paths=False, methods=["methods"], source_path="sourcePath" ) )
Attributes
- application_identifier
The unique identifier of the application.
- default_route
Configuration for the default route type.
- environment_identifier
The unique identifier of the environment.
- route_type
The route type of the route.
- service_identifier
The unique identifier of the service.
- tags
The tags assigned to the route.
- uri_path_route
The configuration for the URI path route type.