UNPKG

@pulumi/aws-native

Version:

The Pulumi AWS Cloud Control Provider enables you to build, deploy, and manage [any AWS resource that's supported by the AWS Cloud Control API](https://github.com/pulumi/pulumi-aws-native/blob/master/provider/cmd/pulumi-gen-aws-native/supported-types.txt)

72 lines (71 loc) 3 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; import * as enums from "../types/enums"; /** * Definition of AWS::Location::RouteCalculator Resource Type */ export declare function getRouteCalculator(args: GetRouteCalculatorArgs, opts?: pulumi.InvokeOptions): Promise<GetRouteCalculatorResult>; export interface GetRouteCalculatorArgs { /** * The name of the route calculator resource. * * Requirements: * * - Can use alphanumeric characters (A–Z, a–z, 0–9) , hyphens (-), periods (.), and underscores (_). * - Must be a unique Route calculator resource name. * - No spaces allowed. For example, `ExampleRouteCalculator` . */ calculatorName: string; } export interface GetRouteCalculatorResult { /** * The Amazon Resource Name (ARN) for the route calculator resource. Use the ARN when you specify a resource across all AWS . * * - Format example: `arn:aws:geo:region:account-id:route-calculator/ExampleCalculator` */ readonly arn?: string; /** * Synonym for `Arn` . The Amazon Resource Name (ARN) for the route calculator resource. Use the ARN when you specify a resource across all AWS . * * - Format example: `arn:aws:geo:region:account-id:route-calculator/ExampleCalculator` */ readonly calculatorArn?: string; /** * The timestamp for when the route calculator resource was created in [ISO 8601](https://docs.aws.amazon.com/https://www.iso.org/iso-8601-date-and-time-format.html) format: `YYYY-MM-DDThh:mm:ss.sssZ` . */ readonly createTime?: string; /** * The optional description for the route calculator resource. */ readonly description?: string; /** * No longer used. If included, the only allowed value is `RequestBasedUsage` . * * *Allowed Values* : `RequestBasedUsage` */ readonly pricingPlan?: enums.location.RouteCalculatorPricingPlan; /** * An array of key-value pairs to apply to this resource. */ readonly tags?: outputs.Tag[]; /** * The timestamp for when the route calculator resource was last updated in [ISO 8601](https://docs.aws.amazon.com/https://www.iso.org/iso-8601-date-and-time-format.html) format: `YYYY-MM-DDThh:mm:ss.sssZ` . */ readonly updateTime?: string; } /** * Definition of AWS::Location::RouteCalculator Resource Type */ export declare function getRouteCalculatorOutput(args: GetRouteCalculatorOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetRouteCalculatorResult>; export interface GetRouteCalculatorOutputArgs { /** * The name of the route calculator resource. * * Requirements: * * - Can use alphanumeric characters (A–Z, a–z, 0–9) , hyphens (-), periods (.), and underscores (_). * - Must be a unique Route calculator resource name. * - No spaces allowed. For example, `ExampleRouteCalculator` . */ calculatorName: pulumi.Input<string>; }