Definition of AWS::RefactorSpaces::Route Resource Type
Create Route Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
@overload
def Route(resource_name: str,
args: RouteArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Route(resource_name: str,
opts: Optional[ResourceOptions] = None,
application_identifier: Optional[str] = None,
environment_identifier: Optional[str] = None,
route_type: Optional[RouteType] = None,
service_identifier: Optional[str] = None,
default_route: Optional[RouteDefaultRouteInputArgs] = None,
tags: Optional[Sequence[_root_inputs.TagArgs]] = None,
uri_path_route: Optional[RouteUriPathRouteInputArgs] = None)
public Route(String name, RouteArgs args)
public Route(String name, RouteArgs args, CustomResourceOptions options)
type: aws-native:refactorspaces:Route
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "aws-native_refactorspaces_route" "name" {
# resource properties
}
Parameters
- name
string
- The unique name of the resource.
- args
RouteArgs
- The arguments to resource properties.
- opts
CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name
str
- The unique name of the resource.
- args
RouteArgs
- The arguments to resource properties.
- opts
ResourceOptions
- Bag of options to control resource's behavior.
- ctx
Context
- Context object for the current deployment.
- name
string
- The unique name of the resource.
- args
RouteArgs
- The arguments to resource properties.
- opts
ResourceOption
- Bag of options to control resource's behavior.
- name
string
- The unique name of the resource.
- args
RouteArgs
- The arguments to resource properties.
- opts
CustomResourceOptions
- Bag of options to control resource's behavior.
- name
String
- The unique name of the resource.
- args
RouteArgs
- The arguments to resource properties.
- options
CustomResourceOptions
- Bag of options to control resource's behavior.
Route Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The Route resource accepts the following input properties:
Outputs
All input properties are implicitly available as output properties. Additionally, the Route resource produces the following output properties:
- Arn
string
- The Amazon Resource Name (ARN) of the route.
- Id
string
- The provider-assigned unique ID for this managed resource.
- PathResourceToId
string
- A mapping of ABPlong path resources to resource IDs.
- RouteIdentifier
string
- The unique identifier of the route.
- Arn
string
- The Amazon Resource Name (ARN) of the route.
- Id
string
- The provider-assigned unique ID for this managed resource.
- PathResourceToId
string
- A mapping of ABPlong path resources to resource IDs.
- RouteIdentifier
string
- The unique identifier of the route.
- arn
string
- The Amazon Resource Name (ARN) of the route.
- id
string
- The provider-assigned unique ID for this managed resource.
- path_resource_to_id
string
- A mapping of ABPlong path resources to resource IDs.
- route_identifier
string
- The unique identifier of the route.
- arn
String
- The Amazon Resource Name (ARN) of the route.
- id
String
- The provider-assigned unique ID for this managed resource.
- pathResourceToId
String
- A mapping of ABPlong path resources to resource IDs.
- routeIdentifier
String
- The unique identifier of the route.
- arn
string
- The Amazon Resource Name (ARN) of the route.
- id
string
- The provider-assigned unique ID for this managed resource.
- pathResourceToId
string
- A mapping of ABPlong path resources to resource IDs.
- routeIdentifier
string
- The unique identifier of the route.
- arn
str
- The Amazon Resource Name (ARN) of the route.
- id
str
- The provider-assigned unique ID for this managed resource.
- path_resource_to_id
str
- A mapping of ABPlong path resources to resource IDs.
- route_identifier
str
- The unique identifier of the route.
- arn
String
- The Amazon Resource Name (ARN) of the route.
- id
String
- The provider-assigned unique ID for this managed resource.
- pathResourceToId
String
- A mapping of ABPlong path resources to resource IDs.
- routeIdentifier
String
- The unique identifier of the route.
Look up Existing Route Resource
Get an existing Route resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static Route get(String name, Output<String> id, CustomResourceOptions options)
resources: existingRoute: type: aws-native:refactorspaces:Route get: id: ${id}
import {
to = aws-native_refactorspaces_route.example
id = "${id}"
}
- name
string
- The unique name of the resulting resource.
- id
Input<ID>
- The unique provider ID of the resource to look up.
- opts
CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name
str
- The unique name of the resulting resource.
- id
str
- The unique provider ID of the resource to look up.
- opts
ResourceOptions
- Bag of options to control resource's behavior.
- ctx
Context
- Context object for the current deployment.
- name
string
- The unique name of the resulting resource.
- id
IDInput
- The unique provider ID of the resource to look up.
- state
RouteState
- Pass nil. This resource has no state arguments.
- opts
ResourceOption
- Bag of options to control resource's behavior.
- name
string
- The unique name of the resulting resource.
- id
Input<string>
- The unique provider ID of the resource to look up.
- opts
CustomResourceOptions
- Bag of options to control resource's behavior.
- name
String
- The unique name of the resulting resource.
- id
Output<String>
- The unique provider ID of the resource to look up.
- options
CustomResourceOptions
- Bag of options to control resource's behavior.
Supporting Types
RouteActivationState
| Name | Value |
|---|
| Inactive | INACTIVE |
| Active | ACTIVE |
| Name | Value |
|---|
| RouteActivationStateInactive | INACTIVE |
| RouteActivationStateActive | ACTIVE |
| Name | Value |
|---|
| Inactive | INACTIVE |
| Active | ACTIVE |
| Name | Value |
|---|
| Inactive | INACTIVE |
| Active | ACTIVE |
| Name | Value |
|---|
| INACTIVE | INACTIVE |
| ACTIVE | ACTIVE |
RouteMethod
| Name | Value |
|---|
| Delete | DELETE |
| Get | GET |
| Head | HEAD |
| Options | OPTIONS |
| Patch | PATCH |
| Post | POST |
| Put | PUT |
| Name | Value |
|---|
| RouteMethodDelete | DELETE |
| RouteMethodGet | GET |
| RouteMethodHead | HEAD |
| RouteMethodOptions | OPTIONS |
| RouteMethodPatch | PATCH |
| RouteMethodPost | POST |
| RouteMethodPut | PUT |
| Value |
|---|
DELETE |
GET |
HEAD |
OPTIONS |
PATCH |
POST |
PUT |
| Name | Value |
|---|
| Delete | DELETE |
| Get | GET |
| Head | HEAD |
| Options | OPTIONS |
| Patch | PATCH |
| Post | POST |
| Put | PUT |
| Name | Value |
|---|
| Delete | DELETE |
| Get | GET |
| Head | HEAD |
| Options | OPTIONS |
| Patch | PATCH |
| Post | POST |
| Put | PUT |
| Name | Value |
|---|
| DELETE | DELETE |
| GET | GET |
| HEAD | HEAD |
| OPTIONS | OPTIONS |
| PATCH | PATCH |
| POST | POST |
| PUT | PUT |
| Value |
|---|
DELETE |
GET |
HEAD |
OPTIONS |
PATCH |
POST |
PUT |
RouteType
| Name | Value |
|---|
| Default | DEFAULT |
| UriPath | URI_PATH |
| Name | Value |
|---|
| RouteTypeDefault | DEFAULT |
| RouteTypeUriPath | URI_PATH |
| Name | Value |
|---|
| Default | DEFAULT |
| UriPath | URI_PATH |
| Name | Value |
|---|
| Default | DEFAULT |
| UriPath | URI_PATH |
| Name | Value |
|---|
| DEFAULT | DEFAULT |
| URI_PATH | URI_PATH |
- ActivationState
Pulumi.AwsNative.RefactorSpaces.RouteActivationState
- If set to
ACTIVE , traffic is forwarded to this route’s service after the route is created. - AppendSourcePath
bool
- If set to
true , this option appends the source path to the service URL endpoint. - IncludeChildPaths
bool
- Indicates whether to match all subpaths of the given source path. If this value is
false , requests must match the source path exactly before they are forwarded to this route's service. - Methods
List<Pulumi.AwsNative.RefactorSpaces.RouteMethod>
- A list of HTTP methods to match. An empty list matches all values. If a method is present, only HTTP requests using that method are forwarded to this route’s service.
- SourcePath
string
- This is the path that Refactor Spaces uses to match traffic. Paths must start with
/ and are relative to the base of the application. To use path parameters in the source path, add a variable in curly braces. For example, the resource path {user} represents a path parameter called 'user'.
- ActivationState
RouteActivationState
- If set to
ACTIVE , traffic is forwarded to this route’s service after the route is created. - AppendSourcePath
bool
- If set to
true , this option appends the source path to the service URL endpoint. - IncludeChildPaths
bool
- Indicates whether to match all subpaths of the given source path. If this value is
false , requests must match the source path exactly before they are forwarded to this route's service. - Methods
[]RouteMethod
- A list of HTTP methods to match. An empty list matches all values. If a method is present, only HTTP requests using that method are forwarded to this route’s service.
- SourcePath
string
- This is the path that Refactor Spaces uses to match traffic. Paths must start with
/ and are relative to the base of the application. To use path parameters in the source path, add a variable in curly braces. For example, the resource path {user} represents a path parameter called 'user'.
- activation_state
"INACTIVE" | "ACTIVE"
- If set to
ACTIVE , traffic is forwarded to this route’s service after the route is created. - append_source_path
bool
- If set to
true , this option appends the source path to the service URL endpoint. - include_child_paths
bool
- Indicates whether to match all subpaths of the given source path. If this value is
false , requests must match the source path exactly before they are forwarded to this route's service. - methods
list("DELETE" | "GET" | "HEAD" | "OPTIONS" | "PATCH" | "POST" | "PUT")
- A list of HTTP methods to match. An empty list matches all values. If a method is present, only HTTP requests using that method are forwarded to this route’s service.
- source_path
string
- This is the path that Refactor Spaces uses to match traffic. Paths must start with
/ and are relative to the base of the application. To use path parameters in the source path, add a variable in curly braces. For example, the resource path {user} represents a path parameter called 'user'.
- activationState
RouteActivationState
- If set to
ACTIVE , traffic is forwarded to this route’s service after the route is created. - appendSourcePath
Boolean
- If set to
true , this option appends the source path to the service URL endpoint. - includeChildPaths
Boolean
- Indicates whether to match all subpaths of the given source path. If this value is
false , requests must match the source path exactly before they are forwarded to this route's service. - methods
List<RouteMethod>
- A list of HTTP methods to match. An empty list matches all values. If a method is present, only HTTP requests using that method are forwarded to this route’s service.
- sourcePath
String
- This is the path that Refactor Spaces uses to match traffic. Paths must start with
/ and are relative to the base of the application. To use path parameters in the source path, add a variable in curly braces. For example, the resource path {user} represents a path parameter called 'user'.
- activationState
RouteActivationState
- If set to
ACTIVE , traffic is forwarded to this route’s service after the route is created. - appendSourcePath
boolean
- If set to
true , this option appends the source path to the service URL endpoint. - includeChildPaths
boolean
- Indicates whether to match all subpaths of the given source path. If this value is
false , requests must match the source path exactly before they are forwarded to this route's service. - methods
RouteMethod[]
- A list of HTTP methods to match. An empty list matches all values. If a method is present, only HTTP requests using that method are forwarded to this route’s service.
- sourcePath
string
- This is the path that Refactor Spaces uses to match traffic. Paths must start with
/ and are relative to the base of the application. To use path parameters in the source path, add a variable in curly braces. For example, the resource path {user} represents a path parameter called 'user'.
- activation_state
RouteActivationState
- If set to
ACTIVE , traffic is forwarded to this route’s service after the route is created. - append_source_path
bool
- If set to
true , this option appends the source path to the service URL endpoint. - include_child_paths
bool
- Indicates whether to match all subpaths of the given source path. If this value is
false , requests must match the source path exactly before they are forwarded to this route's service. - methods
Sequence[RouteMethod]
- A list of HTTP methods to match. An empty list matches all values. If a method is present, only HTTP requests using that method are forwarded to this route’s service.
- source_path
str
- This is the path that Refactor Spaces uses to match traffic. Paths must start with
/ and are relative to the base of the application. To use path parameters in the source path, add a variable in curly braces. For example, the resource path {user} represents a path parameter called 'user'.
- activationState
"INACTIVE" | "ACTIVE"
- If set to
ACTIVE , traffic is forwarded to this route’s service after the route is created. - appendSourcePath
Boolean
- If set to
true , this option appends the source path to the service URL endpoint. - includeChildPaths
Boolean
- Indicates whether to match all subpaths of the given source path. If this value is
false , requests must match the source path exactly before they are forwarded to this route's service. - methods
List<"DELETE" | "GET" | "HEAD" | "OPTIONS" | "PATCH" | "POST" | "PUT">
- A list of HTTP methods to match. An empty list matches all values. If a method is present, only HTTP requests using that method are forwarded to this route’s service.
- sourcePath
String
- This is the path that Refactor Spaces uses to match traffic. Paths must start with
/ and are relative to the base of the application. To use path parameters in the source path, add a variable in curly braces. For example, the resource path {user} represents a path parameter called 'user'.
Tag, TagArgs
A set of tags to apply to the resource.
- Key
string
- The key name of the tag
- Value
string
- The value of the tag
- Key
string
- The key name of the tag
- Value
string
- The value of the tag
- key
string
- The key name of the tag
- value
string
- The value of the tag
- key
String
- The key name of the tag
- value
String
- The value of the tag
- key
string
- The key name of the tag
- value
string
- The value of the tag
- key
str
- The key name of the tag
- value
str
- The value of the tag
- key
String
- The key name of the tag
- value
String
- The value of the tag
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0