1. Packages
  2. AWS Cloud Control
  3. API Docs
  4. ec2
  5. getRouteServer

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.27.0 published on Monday, Apr 14, 2025 by Pulumi

aws-native.ec2.getRouteServer

Explore with Pulumi AI

aws-native logo

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.27.0 published on Monday, Apr 14, 2025 by Pulumi

    VPC Route Server

    Using getRouteServer

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getRouteServer(args: GetRouteServerArgs, opts?: InvokeOptions): Promise<GetRouteServerResult>
    function getRouteServerOutput(args: GetRouteServerOutputArgs, opts?: InvokeOptions): Output<GetRouteServerResult>
    def get_route_server(id: Optional[str] = None,
                         opts: Optional[InvokeOptions] = None) -> GetRouteServerResult
    def get_route_server_output(id: Optional[pulumi.Input[str]] = None,
                         opts: Optional[InvokeOptions] = None) -> Output[GetRouteServerResult]
    func LookupRouteServer(ctx *Context, args *LookupRouteServerArgs, opts ...InvokeOption) (*LookupRouteServerResult, error)
    func LookupRouteServerOutput(ctx *Context, args *LookupRouteServerOutputArgs, opts ...InvokeOption) LookupRouteServerResultOutput

    > Note: This function is named LookupRouteServer in the Go SDK.

    public static class GetRouteServer 
    {
        public static Task<GetRouteServerResult> InvokeAsync(GetRouteServerArgs args, InvokeOptions? opts = null)
        public static Output<GetRouteServerResult> Invoke(GetRouteServerInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetRouteServerResult> getRouteServer(GetRouteServerArgs args, InvokeOptions options)
    public static Output<GetRouteServerResult> getRouteServer(GetRouteServerArgs args, InvokeOptions options)
    
    fn::invoke:
      function: aws-native:ec2:getRouteServer
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Id string
    The ID of the Route Server.
    Id string
    The ID of the Route Server.
    id String
    The ID of the Route Server.
    id string
    The ID of the Route Server.
    id str
    The ID of the Route Server.
    id String
    The ID of the Route Server.

    getRouteServer Result

    The following output properties are available:

    Arn string
    The Amazon Resource Name (ARN) of the Route Server.
    Id string
    The ID of the Route Server.
    PersistRoutes Pulumi.AwsNative.Ec2.RouteServerPersistRoutes
    Whether to enable persistent routes
    SnsNotificationsEnabled bool
    Whether to enable SNS notifications
    Tags List<Pulumi.AwsNative.Outputs.Tag>
    An array of key-value pairs to apply to this resource.
    Arn string
    The Amazon Resource Name (ARN) of the Route Server.
    Id string
    The ID of the Route Server.
    PersistRoutes RouteServerPersistRoutes
    Whether to enable persistent routes
    SnsNotificationsEnabled bool
    Whether to enable SNS notifications
    Tags Tag
    An array of key-value pairs to apply to this resource.
    arn String
    The Amazon Resource Name (ARN) of the Route Server.
    id String
    The ID of the Route Server.
    persistRoutes RouteServerPersistRoutes
    Whether to enable persistent routes
    snsNotificationsEnabled Boolean
    Whether to enable SNS notifications
    tags List<Tag>
    An array of key-value pairs to apply to this resource.
    arn string
    The Amazon Resource Name (ARN) of the Route Server.
    id string
    The ID of the Route Server.
    persistRoutes RouteServerPersistRoutes
    Whether to enable persistent routes
    snsNotificationsEnabled boolean
    Whether to enable SNS notifications
    tags Tag[]
    An array of key-value pairs to apply to this resource.
    arn str
    The Amazon Resource Name (ARN) of the Route Server.
    id str
    The ID of the Route Server.
    persist_routes RouteServerPersistRoutes
    Whether to enable persistent routes
    sns_notifications_enabled bool
    Whether to enable SNS notifications
    tags Sequence[root_Tag]
    An array of key-value pairs to apply to this resource.
    arn String
    The Amazon Resource Name (ARN) of the Route Server.
    id String
    The ID of the Route Server.
    persistRoutes "enable" | "disable"
    Whether to enable persistent routes
    snsNotificationsEnabled Boolean
    Whether to enable SNS notifications
    tags List<Property Map>
    An array of key-value pairs to apply to this resource.

    Supporting Types

    RouteServerPersistRoutes

    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
    aws-native logo

    We recommend new projects start with resources from the AWS provider.

    AWS Cloud Control v1.27.0 published on Monday, Apr 14, 2025 by Pulumi