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.

See:

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.
from aws_cdk import 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.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-refactorspaces-route.html#cfn-refactorspaces-route-applicationidentifier

default_route

Configuration for the default route type.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-refactorspaces-route.html#cfn-refactorspaces-route-defaultroute

environment_identifier

The unique identifier of the environment.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-refactorspaces-route.html#cfn-refactorspaces-route-environmentidentifier

route_type

The route type of the route.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-refactorspaces-route.html#cfn-refactorspaces-route-routetype

service_identifier

The unique identifier of the service.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-refactorspaces-route.html#cfn-refactorspaces-route-serviceidentifier

tags

The tags assigned to the route.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-refactorspaces-route.html#cfn-refactorspaces-route-tags

uri_path_route

The configuration for the URI path route type.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-refactorspaces-route.html#cfn-refactorspaces-route-uripathroute