@pulumi/aws
Version:
A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.
97 lines (96 loc) • 3.11 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
* Provides information about a Global Accelerator custom routing 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.getCustomRoutingAccelerator({
* arn: acceleratorArn,
* name: acceleratorName,
* });
* ```
*/
export declare function getCustomRoutingAccelerator(args?: GetCustomRoutingAcceleratorArgs, opts?: pulumi.InvokeOptions): Promise<GetCustomRoutingAcceleratorResult>;
/**
* A collection of arguments for invoking getCustomRoutingAccelerator.
*/
export interface GetCustomRoutingAcceleratorArgs {
/**
* Full ARN of the custom routing accelerator.
*/
arn?: string;
/**
* Unique name of the custom routing accelerator.
*
* > **NOTE:** When both `arn` and `name` are specified, `arn` takes precedence.
*/
name?: string;
tags?: {
[key: string]: string;
};
}
/**
* A collection of values returned by getCustomRoutingAccelerator.
*/
export interface GetCustomRoutingAcceleratorResult {
readonly arn: string;
readonly attributes: outputs.globalaccelerator.GetCustomRoutingAcceleratorAttribute[];
readonly dnsName: string;
readonly enabled: boolean;
readonly hostedZoneId: string;
/**
* The provider-assigned unique ID for this managed resource.
*/
readonly id: string;
readonly ipAddressType: string;
readonly ipSets: outputs.globalaccelerator.GetCustomRoutingAcceleratorIpSet[];
readonly name: string;
readonly tags: {
[key: string]: string;
};
}
/**
* Provides information about a Global Accelerator custom routing 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.getCustomRoutingAccelerator({
* arn: acceleratorArn,
* name: acceleratorName,
* });
* ```
*/
export declare function getCustomRoutingAcceleratorOutput(args?: GetCustomRoutingAcceleratorOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetCustomRoutingAcceleratorResult>;
/**
* A collection of arguments for invoking getCustomRoutingAccelerator.
*/
export interface GetCustomRoutingAcceleratorOutputArgs {
/**
* Full ARN of the custom routing accelerator.
*/
arn?: pulumi.Input<string>;
/**
* Unique name of the custom routing accelerator.
*
* > **NOTE:** When both `arn` and `name` are specified, `arn` takes precedence.
*/
name?: pulumi.Input<string>;
tags?: pulumi.Input<{
[key: string]: pulumi.Input<string>;
}>;
}