AWS v6.71.0 published on Friday, Mar 7, 2025 by Pulumi
aws.location.getRouteCalculator
Explore with Pulumi AI
Retrieve information about a Location Service Route Calculator.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const example = aws.location.getRouteCalculator({
    calculatorName: "example",
});
import pulumi
import pulumi_aws as aws
example = aws.location.get_route_calculator(calculator_name="example")
package main
import (
	"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/location"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := location.GetRouteCalculator(ctx, &location.GetRouteCalculatorArgs{
			CalculatorName: "example",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;
return await Deployment.RunAsync(() => 
{
    var example = Aws.Location.GetRouteCalculator.Invoke(new()
    {
        CalculatorName = "example",
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.location.LocationFunctions;
import com.pulumi.aws.location.inputs.GetRouteCalculatorArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }
    public static void stack(Context ctx) {
        final var example = LocationFunctions.getRouteCalculator(GetRouteCalculatorArgs.builder()
            .calculatorName("example")
            .build());
    }
}
variables:
  example:
    fn::invoke:
      function: aws:location:getRouteCalculator
      arguments:
        calculatorName: example
Using getRouteCalculator
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 getRouteCalculator(args: GetRouteCalculatorArgs, opts?: InvokeOptions): Promise<GetRouteCalculatorResult>
function getRouteCalculatorOutput(args: GetRouteCalculatorOutputArgs, opts?: InvokeOptions): Output<GetRouteCalculatorResult>def get_route_calculator(calculator_name: Optional[str] = None,
                         tags: Optional[Mapping[str, str]] = None,
                         opts: Optional[InvokeOptions] = None) -> GetRouteCalculatorResult
def get_route_calculator_output(calculator_name: Optional[pulumi.Input[str]] = None,
                         tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
                         opts: Optional[InvokeOptions] = None) -> Output[GetRouteCalculatorResult]func GetRouteCalculator(ctx *Context, args *GetRouteCalculatorArgs, opts ...InvokeOption) (*GetRouteCalculatorResult, error)
func GetRouteCalculatorOutput(ctx *Context, args *GetRouteCalculatorOutputArgs, opts ...InvokeOption) GetRouteCalculatorResultOutput> Note: This function is named GetRouteCalculator in the Go SDK.
public static class GetRouteCalculator 
{
    public static Task<GetRouteCalculatorResult> InvokeAsync(GetRouteCalculatorArgs args, InvokeOptions? opts = null)
    public static Output<GetRouteCalculatorResult> Invoke(GetRouteCalculatorInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetRouteCalculatorResult> getRouteCalculator(GetRouteCalculatorArgs args, InvokeOptions options)
public static Output<GetRouteCalculatorResult> getRouteCalculator(GetRouteCalculatorArgs args, InvokeOptions options)
fn::invoke:
  function: aws:location/getRouteCalculator:getRouteCalculator
  arguments:
    # arguments dictionaryThe following arguments are supported:
- CalculatorName string
- Name of the route calculator resource.
- Dictionary<string, string>
- Key-value map of resource tags for the route calculator.
- CalculatorName string
- Name of the route calculator resource.
- map[string]string
- Key-value map of resource tags for the route calculator.
- calculatorName String
- Name of the route calculator resource.
- Map<String,String>
- Key-value map of resource tags for the route calculator.
- calculatorName string
- Name of the route calculator resource.
- {[key: string]: string}
- Key-value map of resource tags for the route calculator.
- calculator_name str
- Name of the route calculator resource.
- Mapping[str, str]
- Key-value map of resource tags for the route calculator.
- calculatorName String
- Name of the route calculator resource.
- Map<String>
- Key-value map of resource tags for the route calculator.
getRouteCalculator Result
The following output properties are available:
- CalculatorArn string
- ARN for the Route calculator resource. Use the ARN when you specify a resource across AWS.
- CalculatorName string
- CreateTime string
- Timestamp for when the route calculator resource was created in ISO 8601 format.
- DataSource string
- Data provider of traffic and road network data.
- Description string
- Optional description of the route calculator resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- Dictionary<string, string>
- Key-value map of resource tags for the route calculator.
- UpdateTime string
- Timestamp for when the route calculator resource was last updated in ISO 8601 format.
- CalculatorArn string
- ARN for the Route calculator resource. Use the ARN when you specify a resource across AWS.
- CalculatorName string
- CreateTime string
- Timestamp for when the route calculator resource was created in ISO 8601 format.
- DataSource string
- Data provider of traffic and road network data.
- Description string
- Optional description of the route calculator resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- map[string]string
- Key-value map of resource tags for the route calculator.
- UpdateTime string
- Timestamp for when the route calculator resource was last updated in ISO 8601 format.
- calculatorArn String
- ARN for the Route calculator resource. Use the ARN when you specify a resource across AWS.
- calculatorName String
- createTime String
- Timestamp for when the route calculator resource was created in ISO 8601 format.
- dataSource String
- Data provider of traffic and road network data.
- description String
- Optional description of the route calculator resource.
- id String
- The provider-assigned unique ID for this managed resource.
- Map<String,String>
- Key-value map of resource tags for the route calculator.
- updateTime String
- Timestamp for when the route calculator resource was last updated in ISO 8601 format.
- calculatorArn string
- ARN for the Route calculator resource. Use the ARN when you specify a resource across AWS.
- calculatorName string
- createTime string
- Timestamp for when the route calculator resource was created in ISO 8601 format.
- dataSource string
- Data provider of traffic and road network data.
- description string
- Optional description of the route calculator resource.
- id string
- The provider-assigned unique ID for this managed resource.
- {[key: string]: string}
- Key-value map of resource tags for the route calculator.
- updateTime string
- Timestamp for when the route calculator resource was last updated in ISO 8601 format.
- calculator_arn str
- ARN for the Route calculator resource. Use the ARN when you specify a resource across AWS.
- calculator_name str
- create_time str
- Timestamp for when the route calculator resource was created in ISO 8601 format.
- data_source str
- Data provider of traffic and road network data.
- description str
- Optional description of the route calculator resource.
- id str
- The provider-assigned unique ID for this managed resource.
- Mapping[str, str]
- Key-value map of resource tags for the route calculator.
- update_time str
- Timestamp for when the route calculator resource was last updated in ISO 8601 format.
- calculatorArn String
- ARN for the Route calculator resource. Use the ARN when you specify a resource across AWS.
- calculatorName String
- createTime String
- Timestamp for when the route calculator resource was created in ISO 8601 format.
- dataSource String
- Data provider of traffic and road network data.
- description String
- Optional description of the route calculator resource.
- id String
- The provider-assigned unique ID for this managed resource.
- Map<String>
- Key-value map of resource tags for the route calculator.
- updateTime String
- Timestamp for when the route calculator resource was last updated in ISO 8601 format.
Package Details
- Repository
- AWS Classic pulumi/pulumi-aws
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the awsTerraform Provider.