@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)
32 lines (31 loc) • 1.37 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
/**
* Resource Type definition for AWS::DirectConnect::DirectConnectGatewayAssociation
*/
export declare function getDirectConnectGatewayAssociation(args: GetDirectConnectGatewayAssociationArgs, opts?: pulumi.InvokeOptions): Promise<GetDirectConnectGatewayAssociationResult>;
export interface GetDirectConnectGatewayAssociationArgs {
/**
* The ID of the Direct Connect gateway association.
*/
associationId: string;
}
export interface GetDirectConnectGatewayAssociationResult {
/**
* The Amazon VPC prefixes to advertise to the Direct Connect gateway. This parameter is required when you create an association to a transit gateway.
*/
readonly allowedPrefixesToDirectConnectGateway?: string[];
/**
* The ID of the Direct Connect gateway association.
*/
readonly associationId?: string;
}
/**
* Resource Type definition for AWS::DirectConnect::DirectConnectGatewayAssociation
*/
export declare function getDirectConnectGatewayAssociationOutput(args: GetDirectConnectGatewayAssociationOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetDirectConnectGatewayAssociationResult>;
export interface GetDirectConnectGatewayAssociationOutputArgs {
/**
* The ID of the Direct Connect gateway association.
*/
associationId: pulumi.Input<string>;
}