Show / Hide Table of Contents

Class GetDirectConnectGatewayAttachment

Inheritance
System.Object
GetDirectConnectGatewayAttachment
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.Aws.Ec2TransitGateway
Assembly: Pulumi.Aws.dll
Syntax
public static class GetDirectConnectGatewayAttachment

Methods

View Source

InvokeAsync(GetDirectConnectGatewayAttachmentArgs, InvokeOptions)

Get information on an EC2 Transit Gateway's attachment to a Direct Connect Gateway.

{{% examples %}}

Example Usage

{{% example %}}

By Transit Gateway and Direct Connect Gateway Identifiers

using Pulumi;
using Aws = Pulumi.Aws;

class MyStack : Stack
{
public MyStack()
{
    var example = Output.Create(Aws.Ec2TransitGateway.GetDirectConnectGatewayAttachment.InvokeAsync(new Aws.Ec2TransitGateway.GetDirectConnectGatewayAttachmentArgs
    {
        DxGatewayId = aws_dx_gateway.Example.Id,
        TransitGatewayId = aws_ec2_transit_gateway.Example.Id,
    }));
}

}

{{% /example %}} {{% /examples %}}

Declaration
public static Task<GetDirectConnectGatewayAttachmentResult> InvokeAsync(GetDirectConnectGatewayAttachmentArgs args = null, InvokeOptions options = null)
Parameters
Type Name Description
GetDirectConnectGatewayAttachmentArgs args
InvokeOptions options
Returns
Type Description
System.Threading.Tasks.Task<GetDirectConnectGatewayAttachmentResult>
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.