import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Provides information about a Global Accelerator accelerator. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aws from "@pulumi/aws"; * * const config = new pulumi.Config(); * const acceleratorArn = config.get("acceleratorArn") || ""; * const acceleratorName = config.get("acceleratorName") || ""; * const example = aws.globalaccelerator.getAccelerator({ * arn: acceleratorArn, * name: acceleratorName, * }); * ``` */ export declare function getAccelerator(args?: GetAcceleratorArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getAccelerator. */ export interface GetAcceleratorArgs { /** * Full ARN of the Global Accelerator. */ arn?: string; /** * Unique name of the Global Accelerator. * * > **NOTE:** When both `arn` and `name` are specified, `arn` takes precedence. */ name?: string; } /** * A collection of values returned by getAccelerator. */ export interface GetAcceleratorResult { readonly arn: string; /** * Attributes of the accelerator. See `attributes` below. */ readonly attributes: outputs.globalaccelerator.GetAcceleratorAttribute[]; /** * DNS name of the accelerator. For example, `a5d53ff5ee6bca4ce.awsglobalaccelerator.com`. */ readonly dnsName: string; /** * DNS name that points to a dual-stack accelerator's four static IP addresses: two IPv4 addresses and two IPv6 addresses. */ readonly dualStackDnsName: string; /** * Whether the accelerator is enabled. */ readonly enabled: boolean; /** * Global Accelerator Route 53 zone ID used to route an [Alias Resource Record Set](https://docs.aws.amazon.com/Route53/latest/APIReference/API_AliasTarget.html) to the accelerator. */ readonly hostedZoneId: string; readonly id: string; /** * Value for the address type. */ readonly ipAddressType: string; /** * IP address set associated with the accelerator. See `ipSets` below. */ readonly ipSets: outputs.globalaccelerator.GetAcceleratorIpSet[]; readonly name: string; /** * Map of tags assigned to the resource. */ readonly tags: { [key: string]: string; }; } /** * Provides information about a Global Accelerator accelerator. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aws from "@pulumi/aws"; * * const config = new pulumi.Config(); * const acceleratorArn = config.get("acceleratorArn") || ""; * const acceleratorName = config.get("acceleratorName") || ""; * const example = aws.globalaccelerator.getAccelerator({ * arn: acceleratorArn, * name: acceleratorName, * }); * ``` */ export declare function getAcceleratorOutput(args?: GetAcceleratorOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getAccelerator. */ export interface GetAcceleratorOutputArgs { /** * Full ARN of the Global Accelerator. */ arn?: pulumi.Input; /** * Unique name of the Global Accelerator. * * > **NOTE:** When both `arn` and `name` are specified, `arn` takes precedence. */ name?: pulumi.Input; } //# sourceMappingURL=getAccelerator.d.ts.map