ec2transitgateway

package
v4.38.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 10, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GetDirectConnectGatewayAttachmentArgs

type GetDirectConnectGatewayAttachmentArgs struct {
	// Identifier of the Direct Connect Gateway.
	DxGatewayId *string `pulumi:"dxGatewayId"`
	// Configuration block(s) for filtering. Detailed below.
	Filters []GetDirectConnectGatewayAttachmentFilter `pulumi:"filters"`
	// A map of tags, each pair of which must exactly match a pair on the desired Transit Gateway Direct Connect Gateway Attachment.
	Tags map[string]string `pulumi:"tags"`
	// Identifier of the EC2 Transit Gateway.
	TransitGatewayId *string `pulumi:"transitGatewayId"`
}

A collection of arguments for invoking getDirectConnectGatewayAttachment.

type GetDirectConnectGatewayAttachmentFilter

type GetDirectConnectGatewayAttachmentFilter struct {
	// The name of the filter field. Valid values can be found in the [EC2 DescribeTransitGatewayAttachments API Reference](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeTransitGatewayAttachments.html).
	Name string `pulumi:"name"`
	// Set of values that are accepted for the given filter field. Results will be selected if any given value matches.
	Values []string `pulumi:"values"`
}

type GetDirectConnectGatewayAttachmentFilterArgs

type GetDirectConnectGatewayAttachmentFilterArgs struct {
	// The name of the filter field. Valid values can be found in the [EC2 DescribeTransitGatewayAttachments API Reference](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeTransitGatewayAttachments.html).
	Name pulumi.StringInput `pulumi:"name"`
	// Set of values that are accepted for the given filter field. Results will be selected if any given value matches.
	Values pulumi.StringArrayInput `pulumi:"values"`
}

func (GetDirectConnectGatewayAttachmentFilterArgs) ElementType

func (GetDirectConnectGatewayAttachmentFilterArgs) ToGetDirectConnectGatewayAttachmentFilterOutput

func (i GetDirectConnectGatewayAttachmentFilterArgs) ToGetDirectConnectGatewayAttachmentFilterOutput() GetDirectConnectGatewayAttachmentFilterOutput

func (GetDirectConnectGatewayAttachmentFilterArgs) ToGetDirectConnectGatewayAttachmentFilterOutputWithContext

func (i GetDirectConnectGatewayAttachmentFilterArgs) ToGetDirectConnectGatewayAttachmentFilterOutputWithContext(ctx context.Context) GetDirectConnectGatewayAttachmentFilterOutput

type GetDirectConnectGatewayAttachmentFilterArray

type GetDirectConnectGatewayAttachmentFilterArray []GetDirectConnectGatewayAttachmentFilterInput

func (GetDirectConnectGatewayAttachmentFilterArray) ElementType

func (GetDirectConnectGatewayAttachmentFilterArray) ToGetDirectConnectGatewayAttachmentFilterArrayOutput

func (i GetDirectConnectGatewayAttachmentFilterArray) ToGetDirectConnectGatewayAttachmentFilterArrayOutput() GetDirectConnectGatewayAttachmentFilterArrayOutput

func (GetDirectConnectGatewayAttachmentFilterArray) ToGetDirectConnectGatewayAttachmentFilterArrayOutputWithContext

func (i GetDirectConnectGatewayAttachmentFilterArray) ToGetDirectConnectGatewayAttachmentFilterArrayOutputWithContext(ctx context.Context) GetDirectConnectGatewayAttachmentFilterArrayOutput

type GetDirectConnectGatewayAttachmentFilterArrayInput

type GetDirectConnectGatewayAttachmentFilterArrayInput interface {
	pulumi.Input

	ToGetDirectConnectGatewayAttachmentFilterArrayOutput() GetDirectConnectGatewayAttachmentFilterArrayOutput
	ToGetDirectConnectGatewayAttachmentFilterArrayOutputWithContext(context.Context) GetDirectConnectGatewayAttachmentFilterArrayOutput
}

GetDirectConnectGatewayAttachmentFilterArrayInput is an input type that accepts GetDirectConnectGatewayAttachmentFilterArray and GetDirectConnectGatewayAttachmentFilterArrayOutput values. You can construct a concrete instance of `GetDirectConnectGatewayAttachmentFilterArrayInput` via:

GetDirectConnectGatewayAttachmentFilterArray{ GetDirectConnectGatewayAttachmentFilterArgs{...} }

type GetDirectConnectGatewayAttachmentFilterArrayOutput

type GetDirectConnectGatewayAttachmentFilterArrayOutput struct{ *pulumi.OutputState }

func (GetDirectConnectGatewayAttachmentFilterArrayOutput) ElementType

func (GetDirectConnectGatewayAttachmentFilterArrayOutput) Index

func (GetDirectConnectGatewayAttachmentFilterArrayOutput) ToGetDirectConnectGatewayAttachmentFilterArrayOutput

func (o GetDirectConnectGatewayAttachmentFilterArrayOutput) ToGetDirectConnectGatewayAttachmentFilterArrayOutput() GetDirectConnectGatewayAttachmentFilterArrayOutput

func (GetDirectConnectGatewayAttachmentFilterArrayOutput) ToGetDirectConnectGatewayAttachmentFilterArrayOutputWithContext

func (o GetDirectConnectGatewayAttachmentFilterArrayOutput) ToGetDirectConnectGatewayAttachmentFilterArrayOutputWithContext(ctx context.Context) GetDirectConnectGatewayAttachmentFilterArrayOutput

type GetDirectConnectGatewayAttachmentFilterInput

type GetDirectConnectGatewayAttachmentFilterInput interface {
	pulumi.Input

	ToGetDirectConnectGatewayAttachmentFilterOutput() GetDirectConnectGatewayAttachmentFilterOutput
	ToGetDirectConnectGatewayAttachmentFilterOutputWithContext(context.Context) GetDirectConnectGatewayAttachmentFilterOutput
}

GetDirectConnectGatewayAttachmentFilterInput is an input type that accepts GetDirectConnectGatewayAttachmentFilterArgs and GetDirectConnectGatewayAttachmentFilterOutput values. You can construct a concrete instance of `GetDirectConnectGatewayAttachmentFilterInput` via:

GetDirectConnectGatewayAttachmentFilterArgs{...}

type GetDirectConnectGatewayAttachmentFilterOutput

type GetDirectConnectGatewayAttachmentFilterOutput struct{ *pulumi.OutputState }

func (GetDirectConnectGatewayAttachmentFilterOutput) ElementType

func (GetDirectConnectGatewayAttachmentFilterOutput) Name

The name of the filter field. Valid values can be found in the [EC2 DescribeTransitGatewayAttachments API Reference](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeTransitGatewayAttachments.html).

func (GetDirectConnectGatewayAttachmentFilterOutput) ToGetDirectConnectGatewayAttachmentFilterOutput

func (o GetDirectConnectGatewayAttachmentFilterOutput) ToGetDirectConnectGatewayAttachmentFilterOutput() GetDirectConnectGatewayAttachmentFilterOutput

func (GetDirectConnectGatewayAttachmentFilterOutput) ToGetDirectConnectGatewayAttachmentFilterOutputWithContext

func (o GetDirectConnectGatewayAttachmentFilterOutput) ToGetDirectConnectGatewayAttachmentFilterOutputWithContext(ctx context.Context) GetDirectConnectGatewayAttachmentFilterOutput

func (GetDirectConnectGatewayAttachmentFilterOutput) Values

Set of values that are accepted for the given filter field. Results will be selected if any given value matches.

type GetDirectConnectGatewayAttachmentOutputArgs added in v4.21.0

type GetDirectConnectGatewayAttachmentOutputArgs struct {
	// Identifier of the Direct Connect Gateway.
	DxGatewayId pulumi.StringPtrInput `pulumi:"dxGatewayId"`
	// Configuration block(s) for filtering. Detailed below.
	Filters GetDirectConnectGatewayAttachmentFilterArrayInput `pulumi:"filters"`
	// A map of tags, each pair of which must exactly match a pair on the desired Transit Gateway Direct Connect Gateway Attachment.
	Tags pulumi.StringMapInput `pulumi:"tags"`
	// Identifier of the EC2 Transit Gateway.
	TransitGatewayId pulumi.StringPtrInput `pulumi:"transitGatewayId"`
}

A collection of arguments for invoking getDirectConnectGatewayAttachment.

func (GetDirectConnectGatewayAttachmentOutputArgs) ElementType added in v4.21.0

type GetDirectConnectGatewayAttachmentResult

type GetDirectConnectGatewayAttachmentResult struct {
	DxGatewayId *string                                   `pulumi:"dxGatewayId"`
	Filters     []GetDirectConnectGatewayAttachmentFilter `pulumi:"filters"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// Key-value tags for the EC2 Transit Gateway Attachment
	Tags             map[string]string `pulumi:"tags"`
	TransitGatewayId *string           `pulumi:"transitGatewayId"`
}

A collection of values returned by getDirectConnectGatewayAttachment.

func GetDirectConnectGatewayAttachment

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

## Example Usage ### By Transit Gateway and Direct Connect Gateway Identifiers

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v4/go/aws/ec2transitgateway"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := ec2transitgateway.GetDirectConnectGatewayAttachment(ctx, &ec2transitgateway.GetDirectConnectGatewayAttachmentArgs{
			TransitGatewayId: pulumi.StringRef(aws_ec2_transit_gateway.Example.Id),
			DxGatewayId:      pulumi.StringRef(aws_dx_gateway.Example.Id),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type GetDirectConnectGatewayAttachmentResultOutput added in v4.21.0

type GetDirectConnectGatewayAttachmentResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getDirectConnectGatewayAttachment.

func (GetDirectConnectGatewayAttachmentResultOutput) DxGatewayId added in v4.21.0

func (GetDirectConnectGatewayAttachmentResultOutput) ElementType added in v4.21.0

func (GetDirectConnectGatewayAttachmentResultOutput) Filters added in v4.21.0

func (GetDirectConnectGatewayAttachmentResultOutput) Id added in v4.21.0

The provider-assigned unique ID for this managed resource.

func (GetDirectConnectGatewayAttachmentResultOutput) Tags added in v4.21.0

Key-value tags for the EC2 Transit Gateway Attachment

func (GetDirectConnectGatewayAttachmentResultOutput) ToGetDirectConnectGatewayAttachmentResultOutput added in v4.21.0

func (o GetDirectConnectGatewayAttachmentResultOutput) ToGetDirectConnectGatewayAttachmentResultOutput() GetDirectConnectGatewayAttachmentResultOutput

func (GetDirectConnectGatewayAttachmentResultOutput) ToGetDirectConnectGatewayAttachmentResultOutputWithContext added in v4.21.0

func (o GetDirectConnectGatewayAttachmentResultOutput) ToGetDirectConnectGatewayAttachmentResultOutputWithContext(ctx context.Context) GetDirectConnectGatewayAttachmentResultOutput

func (GetDirectConnectGatewayAttachmentResultOutput) TransitGatewayId added in v4.21.0

type GetPeeringAttachmentFilter

type GetPeeringAttachmentFilter struct {
	// The name of the field to filter by, as defined by
	// [the underlying AWS API](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeTransitGatewayPeeringAttachments.html).
	Name string `pulumi:"name"`
	// Set of values that are accepted for the given field.
	// An EC2 Transit Gateway Peering Attachment be selected if any one of the given values matches.
	Values []string `pulumi:"values"`
}

type GetPeeringAttachmentFilterArgs

type GetPeeringAttachmentFilterArgs struct {
	// The name of the field to filter by, as defined by
	// [the underlying AWS API](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeTransitGatewayPeeringAttachments.html).
	Name pulumi.StringInput `pulumi:"name"`
	// Set of values that are accepted for the given field.
	// An EC2 Transit Gateway Peering Attachment be selected if any one of the given values matches.
	Values pulumi.StringArrayInput `pulumi:"values"`
}

func (GetPeeringAttachmentFilterArgs) ElementType

func (GetPeeringAttachmentFilterArgs) ToGetPeeringAttachmentFilterOutput

func (i GetPeeringAttachmentFilterArgs) ToGetPeeringAttachmentFilterOutput() GetPeeringAttachmentFilterOutput

func (GetPeeringAttachmentFilterArgs) ToGetPeeringAttachmentFilterOutputWithContext

func (i GetPeeringAttachmentFilterArgs) ToGetPeeringAttachmentFilterOutputWithContext(ctx context.Context) GetPeeringAttachmentFilterOutput

type GetPeeringAttachmentFilterArray

type GetPeeringAttachmentFilterArray []GetPeeringAttachmentFilterInput

func (GetPeeringAttachmentFilterArray) ElementType

func (GetPeeringAttachmentFilterArray) ToGetPeeringAttachmentFilterArrayOutput

func (i GetPeeringAttachmentFilterArray) ToGetPeeringAttachmentFilterArrayOutput() GetPeeringAttachmentFilterArrayOutput

func (GetPeeringAttachmentFilterArray) ToGetPeeringAttachmentFilterArrayOutputWithContext

func (i GetPeeringAttachmentFilterArray) ToGetPeeringAttachmentFilterArrayOutputWithContext(ctx context.Context) GetPeeringAttachmentFilterArrayOutput

type GetPeeringAttachmentFilterArrayInput

type GetPeeringAttachmentFilterArrayInput interface {
	pulumi.Input

	ToGetPeeringAttachmentFilterArrayOutput() GetPeeringAttachmentFilterArrayOutput
	ToGetPeeringAttachmentFilterArrayOutputWithContext(context.Context) GetPeeringAttachmentFilterArrayOutput
}

GetPeeringAttachmentFilterArrayInput is an input type that accepts GetPeeringAttachmentFilterArray and GetPeeringAttachmentFilterArrayOutput values. You can construct a concrete instance of `GetPeeringAttachmentFilterArrayInput` via:

GetPeeringAttachmentFilterArray{ GetPeeringAttachmentFilterArgs{...} }

type GetPeeringAttachmentFilterArrayOutput

type GetPeeringAttachmentFilterArrayOutput struct{ *pulumi.OutputState }

func (GetPeeringAttachmentFilterArrayOutput) ElementType

func (GetPeeringAttachmentFilterArrayOutput) Index

func (GetPeeringAttachmentFilterArrayOutput) ToGetPeeringAttachmentFilterArrayOutput

func (o GetPeeringAttachmentFilterArrayOutput) ToGetPeeringAttachmentFilterArrayOutput() GetPeeringAttachmentFilterArrayOutput

func (GetPeeringAttachmentFilterArrayOutput) ToGetPeeringAttachmentFilterArrayOutputWithContext

func (o GetPeeringAttachmentFilterArrayOutput) ToGetPeeringAttachmentFilterArrayOutputWithContext(ctx context.Context) GetPeeringAttachmentFilterArrayOutput

type GetPeeringAttachmentFilterInput

type GetPeeringAttachmentFilterInput interface {
	pulumi.Input

	ToGetPeeringAttachmentFilterOutput() GetPeeringAttachmentFilterOutput
	ToGetPeeringAttachmentFilterOutputWithContext(context.Context) GetPeeringAttachmentFilterOutput
}

GetPeeringAttachmentFilterInput is an input type that accepts GetPeeringAttachmentFilterArgs and GetPeeringAttachmentFilterOutput values. You can construct a concrete instance of `GetPeeringAttachmentFilterInput` via:

GetPeeringAttachmentFilterArgs{...}

type GetPeeringAttachmentFilterOutput

type GetPeeringAttachmentFilterOutput struct{ *pulumi.OutputState }

func (GetPeeringAttachmentFilterOutput) ElementType

func (GetPeeringAttachmentFilterOutput) Name

The name of the field to filter by, as defined by [the underlying AWS API](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeTransitGatewayPeeringAttachments.html).

func (GetPeeringAttachmentFilterOutput) ToGetPeeringAttachmentFilterOutput

func (o GetPeeringAttachmentFilterOutput) ToGetPeeringAttachmentFilterOutput() GetPeeringAttachmentFilterOutput

func (GetPeeringAttachmentFilterOutput) ToGetPeeringAttachmentFilterOutputWithContext

func (o GetPeeringAttachmentFilterOutput) ToGetPeeringAttachmentFilterOutputWithContext(ctx context.Context) GetPeeringAttachmentFilterOutput

func (GetPeeringAttachmentFilterOutput) Values

Set of values that are accepted for the given field. An EC2 Transit Gateway Peering Attachment be selected if any one of the given values matches.

type GetRouteTableFilter

type GetRouteTableFilter struct {
	// Name of the filter.
	Name string `pulumi:"name"`
	// List of one or more values for the filter.
	Values []string `pulumi:"values"`
}

type GetRouteTableFilterArgs

type GetRouteTableFilterArgs struct {
	// Name of the filter.
	Name pulumi.StringInput `pulumi:"name"`
	// List of one or more values for the filter.
	Values pulumi.StringArrayInput `pulumi:"values"`
}

func (GetRouteTableFilterArgs) ElementType

func (GetRouteTableFilterArgs) ElementType() reflect.Type

func (GetRouteTableFilterArgs) ToGetRouteTableFilterOutput

func (i GetRouteTableFilterArgs) ToGetRouteTableFilterOutput() GetRouteTableFilterOutput

func (GetRouteTableFilterArgs) ToGetRouteTableFilterOutputWithContext

func (i GetRouteTableFilterArgs) ToGetRouteTableFilterOutputWithContext(ctx context.Context) GetRouteTableFilterOutput

type GetRouteTableFilterArray

type GetRouteTableFilterArray []GetRouteTableFilterInput

func (GetRouteTableFilterArray) ElementType

func (GetRouteTableFilterArray) ElementType() reflect.Type

func (GetRouteTableFilterArray) ToGetRouteTableFilterArrayOutput

func (i GetRouteTableFilterArray) ToGetRouteTableFilterArrayOutput() GetRouteTableFilterArrayOutput

func (GetRouteTableFilterArray) ToGetRouteTableFilterArrayOutputWithContext

func (i GetRouteTableFilterArray) ToGetRouteTableFilterArrayOutputWithContext(ctx context.Context) GetRouteTableFilterArrayOutput

type GetRouteTableFilterArrayInput

type GetRouteTableFilterArrayInput interface {
	pulumi.Input

	ToGetRouteTableFilterArrayOutput() GetRouteTableFilterArrayOutput
	ToGetRouteTableFilterArrayOutputWithContext(context.Context) GetRouteTableFilterArrayOutput
}

GetRouteTableFilterArrayInput is an input type that accepts GetRouteTableFilterArray and GetRouteTableFilterArrayOutput values. You can construct a concrete instance of `GetRouteTableFilterArrayInput` via:

GetRouteTableFilterArray{ GetRouteTableFilterArgs{...} }

type GetRouteTableFilterArrayOutput

type GetRouteTableFilterArrayOutput struct{ *pulumi.OutputState }

func (GetRouteTableFilterArrayOutput) ElementType

func (GetRouteTableFilterArrayOutput) Index

func (GetRouteTableFilterArrayOutput) ToGetRouteTableFilterArrayOutput

func (o GetRouteTableFilterArrayOutput) ToGetRouteTableFilterArrayOutput() GetRouteTableFilterArrayOutput

func (GetRouteTableFilterArrayOutput) ToGetRouteTableFilterArrayOutputWithContext

func (o GetRouteTableFilterArrayOutput) ToGetRouteTableFilterArrayOutputWithContext(ctx context.Context) GetRouteTableFilterArrayOutput

type GetRouteTableFilterInput

type GetRouteTableFilterInput interface {
	pulumi.Input

	ToGetRouteTableFilterOutput() GetRouteTableFilterOutput
	ToGetRouteTableFilterOutputWithContext(context.Context) GetRouteTableFilterOutput
}

GetRouteTableFilterInput is an input type that accepts GetRouteTableFilterArgs and GetRouteTableFilterOutput values. You can construct a concrete instance of `GetRouteTableFilterInput` via:

GetRouteTableFilterArgs{...}

type GetRouteTableFilterOutput

type GetRouteTableFilterOutput struct{ *pulumi.OutputState }

func (GetRouteTableFilterOutput) ElementType

func (GetRouteTableFilterOutput) ElementType() reflect.Type

func (GetRouteTableFilterOutput) Name

Name of the filter.

func (GetRouteTableFilterOutput) ToGetRouteTableFilterOutput

func (o GetRouteTableFilterOutput) ToGetRouteTableFilterOutput() GetRouteTableFilterOutput

func (GetRouteTableFilterOutput) ToGetRouteTableFilterOutputWithContext

func (o GetRouteTableFilterOutput) ToGetRouteTableFilterOutputWithContext(ctx context.Context) GetRouteTableFilterOutput

func (GetRouteTableFilterOutput) Values

List of one or more values for the filter.

type GetTransitGatewayFilter

type GetTransitGatewayFilter struct {
	// The name of the field to filter by, as defined by the [underlying AWS API](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeTransitGateways.html).
	Name string `pulumi:"name"`
	// List of one or more values for the filter.
	Values []string `pulumi:"values"`
}

type GetTransitGatewayFilterArgs

type GetTransitGatewayFilterArgs struct {
	// The name of the field to filter by, as defined by the [underlying AWS API](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeTransitGateways.html).
	Name pulumi.StringInput `pulumi:"name"`
	// List of one or more values for the filter.
	Values pulumi.StringArrayInput `pulumi:"values"`
}

func (GetTransitGatewayFilterArgs) ElementType

func (GetTransitGatewayFilterArgs) ToGetTransitGatewayFilterOutput

func (i GetTransitGatewayFilterArgs) ToGetTransitGatewayFilterOutput() GetTransitGatewayFilterOutput

func (GetTransitGatewayFilterArgs) ToGetTransitGatewayFilterOutputWithContext

func (i GetTransitGatewayFilterArgs) ToGetTransitGatewayFilterOutputWithContext(ctx context.Context) GetTransitGatewayFilterOutput

type GetTransitGatewayFilterArray

type GetTransitGatewayFilterArray []GetTransitGatewayFilterInput

func (GetTransitGatewayFilterArray) ElementType

func (GetTransitGatewayFilterArray) ToGetTransitGatewayFilterArrayOutput

func (i GetTransitGatewayFilterArray) ToGetTransitGatewayFilterArrayOutput() GetTransitGatewayFilterArrayOutput

func (GetTransitGatewayFilterArray) ToGetTransitGatewayFilterArrayOutputWithContext

func (i GetTransitGatewayFilterArray) ToGetTransitGatewayFilterArrayOutputWithContext(ctx context.Context) GetTransitGatewayFilterArrayOutput

type GetTransitGatewayFilterArrayInput

type GetTransitGatewayFilterArrayInput interface {
	pulumi.Input

	ToGetTransitGatewayFilterArrayOutput() GetTransitGatewayFilterArrayOutput
	ToGetTransitGatewayFilterArrayOutputWithContext(context.Context) GetTransitGatewayFilterArrayOutput
}

GetTransitGatewayFilterArrayInput is an input type that accepts GetTransitGatewayFilterArray and GetTransitGatewayFilterArrayOutput values. You can construct a concrete instance of `GetTransitGatewayFilterArrayInput` via:

GetTransitGatewayFilterArray{ GetTransitGatewayFilterArgs{...} }

type GetTransitGatewayFilterArrayOutput

type GetTransitGatewayFilterArrayOutput struct{ *pulumi.OutputState }

func (GetTransitGatewayFilterArrayOutput) ElementType

func (GetTransitGatewayFilterArrayOutput) Index

func (GetTransitGatewayFilterArrayOutput) ToGetTransitGatewayFilterArrayOutput

func (o GetTransitGatewayFilterArrayOutput) ToGetTransitGatewayFilterArrayOutput() GetTransitGatewayFilterArrayOutput

func (GetTransitGatewayFilterArrayOutput) ToGetTransitGatewayFilterArrayOutputWithContext

func (o GetTransitGatewayFilterArrayOutput) ToGetTransitGatewayFilterArrayOutputWithContext(ctx context.Context) GetTransitGatewayFilterArrayOutput

type GetTransitGatewayFilterInput

type GetTransitGatewayFilterInput interface {
	pulumi.Input

	ToGetTransitGatewayFilterOutput() GetTransitGatewayFilterOutput
	ToGetTransitGatewayFilterOutputWithContext(context.Context) GetTransitGatewayFilterOutput
}

GetTransitGatewayFilterInput is an input type that accepts GetTransitGatewayFilterArgs and GetTransitGatewayFilterOutput values. You can construct a concrete instance of `GetTransitGatewayFilterInput` via:

GetTransitGatewayFilterArgs{...}

type GetTransitGatewayFilterOutput

type GetTransitGatewayFilterOutput struct{ *pulumi.OutputState }

func (GetTransitGatewayFilterOutput) ElementType

func (GetTransitGatewayFilterOutput) Name

The name of the field to filter by, as defined by the [underlying AWS API](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeTransitGateways.html).

func (GetTransitGatewayFilterOutput) ToGetTransitGatewayFilterOutput

func (o GetTransitGatewayFilterOutput) ToGetTransitGatewayFilterOutput() GetTransitGatewayFilterOutput

func (GetTransitGatewayFilterOutput) ToGetTransitGatewayFilterOutputWithContext

func (o GetTransitGatewayFilterOutput) ToGetTransitGatewayFilterOutputWithContext(ctx context.Context) GetTransitGatewayFilterOutput

func (GetTransitGatewayFilterOutput) Values

List of one or more values for the filter.

type GetVpcAttachmentFilter

type GetVpcAttachmentFilter struct {
	// Name of the filter.
	Name string `pulumi:"name"`
	// List of one or more values for the filter.
	Values []string `pulumi:"values"`
}

type GetVpcAttachmentFilterArgs

type GetVpcAttachmentFilterArgs struct {
	// Name of the filter.
	Name pulumi.StringInput `pulumi:"name"`
	// List of one or more values for the filter.
	Values pulumi.StringArrayInput `pulumi:"values"`
}

func (GetVpcAttachmentFilterArgs) ElementType

func (GetVpcAttachmentFilterArgs) ElementType() reflect.Type

func (GetVpcAttachmentFilterArgs) ToGetVpcAttachmentFilterOutput

func (i GetVpcAttachmentFilterArgs) ToGetVpcAttachmentFilterOutput() GetVpcAttachmentFilterOutput

func (GetVpcAttachmentFilterArgs) ToGetVpcAttachmentFilterOutputWithContext

func (i GetVpcAttachmentFilterArgs) ToGetVpcAttachmentFilterOutputWithContext(ctx context.Context) GetVpcAttachmentFilterOutput

type GetVpcAttachmentFilterArray

type GetVpcAttachmentFilterArray []GetVpcAttachmentFilterInput

func (GetVpcAttachmentFilterArray) ElementType

func (GetVpcAttachmentFilterArray) ToGetVpcAttachmentFilterArrayOutput

func (i GetVpcAttachmentFilterArray) ToGetVpcAttachmentFilterArrayOutput() GetVpcAttachmentFilterArrayOutput

func (GetVpcAttachmentFilterArray) ToGetVpcAttachmentFilterArrayOutputWithContext

func (i GetVpcAttachmentFilterArray) ToGetVpcAttachmentFilterArrayOutputWithContext(ctx context.Context) GetVpcAttachmentFilterArrayOutput

type GetVpcAttachmentFilterArrayInput

type GetVpcAttachmentFilterArrayInput interface {
	pulumi.Input

	ToGetVpcAttachmentFilterArrayOutput() GetVpcAttachmentFilterArrayOutput
	ToGetVpcAttachmentFilterArrayOutputWithContext(context.Context) GetVpcAttachmentFilterArrayOutput
}

GetVpcAttachmentFilterArrayInput is an input type that accepts GetVpcAttachmentFilterArray and GetVpcAttachmentFilterArrayOutput values. You can construct a concrete instance of `GetVpcAttachmentFilterArrayInput` via:

GetVpcAttachmentFilterArray{ GetVpcAttachmentFilterArgs{...} }

type GetVpcAttachmentFilterArrayOutput

type GetVpcAttachmentFilterArrayOutput struct{ *pulumi.OutputState }

func (GetVpcAttachmentFilterArrayOutput) ElementType

func (GetVpcAttachmentFilterArrayOutput) Index

func (GetVpcAttachmentFilterArrayOutput) ToGetVpcAttachmentFilterArrayOutput

func (o GetVpcAttachmentFilterArrayOutput) ToGetVpcAttachmentFilterArrayOutput() GetVpcAttachmentFilterArrayOutput

func (GetVpcAttachmentFilterArrayOutput) ToGetVpcAttachmentFilterArrayOutputWithContext

func (o GetVpcAttachmentFilterArrayOutput) ToGetVpcAttachmentFilterArrayOutputWithContext(ctx context.Context) GetVpcAttachmentFilterArrayOutput

type GetVpcAttachmentFilterInput

type GetVpcAttachmentFilterInput interface {
	pulumi.Input

	ToGetVpcAttachmentFilterOutput() GetVpcAttachmentFilterOutput
	ToGetVpcAttachmentFilterOutputWithContext(context.Context) GetVpcAttachmentFilterOutput
}

GetVpcAttachmentFilterInput is an input type that accepts GetVpcAttachmentFilterArgs and GetVpcAttachmentFilterOutput values. You can construct a concrete instance of `GetVpcAttachmentFilterInput` via:

GetVpcAttachmentFilterArgs{...}

type GetVpcAttachmentFilterOutput

type GetVpcAttachmentFilterOutput struct{ *pulumi.OutputState }

func (GetVpcAttachmentFilterOutput) ElementType

func (GetVpcAttachmentFilterOutput) Name

Name of the filter.

func (GetVpcAttachmentFilterOutput) ToGetVpcAttachmentFilterOutput

func (o GetVpcAttachmentFilterOutput) ToGetVpcAttachmentFilterOutput() GetVpcAttachmentFilterOutput

func (GetVpcAttachmentFilterOutput) ToGetVpcAttachmentFilterOutputWithContext

func (o GetVpcAttachmentFilterOutput) ToGetVpcAttachmentFilterOutputWithContext(ctx context.Context) GetVpcAttachmentFilterOutput

func (GetVpcAttachmentFilterOutput) Values

List of one or more values for the filter.

type GetVpnAttachmentArgs

type GetVpnAttachmentArgs struct {
	// Configuration block(s) for filtering. Detailed below.
	Filters []GetVpnAttachmentFilter `pulumi:"filters"`
	// A map of tags, each pair of which must exactly match a pair on the desired Transit Gateway VPN Attachment.
	Tags map[string]string `pulumi:"tags"`
	// Identifier of the EC2 Transit Gateway.
	TransitGatewayId *string `pulumi:"transitGatewayId"`
	// Identifier of the EC2 VPN Connection.
	VpnConnectionId *string `pulumi:"vpnConnectionId"`
}

A collection of arguments for invoking getVpnAttachment.

type GetVpnAttachmentFilter

type GetVpnAttachmentFilter struct {
	// The name of the filter field. Valid values can be found in the [EC2 DescribeTransitGatewayAttachments API Reference](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeTransitGatewayAttachments.html).
	Name string `pulumi:"name"`
	// Set of values that are accepted for the given filter field. Results will be selected if any given value matches.
	Values []string `pulumi:"values"`
}

type GetVpnAttachmentFilterArgs

type GetVpnAttachmentFilterArgs struct {
	// The name of the filter field. Valid values can be found in the [EC2 DescribeTransitGatewayAttachments API Reference](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeTransitGatewayAttachments.html).
	Name pulumi.StringInput `pulumi:"name"`
	// Set of values that are accepted for the given filter field. Results will be selected if any given value matches.
	Values pulumi.StringArrayInput `pulumi:"values"`
}

func (GetVpnAttachmentFilterArgs) ElementType

func (GetVpnAttachmentFilterArgs) ElementType() reflect.Type

func (GetVpnAttachmentFilterArgs) ToGetVpnAttachmentFilterOutput

func (i GetVpnAttachmentFilterArgs) ToGetVpnAttachmentFilterOutput() GetVpnAttachmentFilterOutput

func (GetVpnAttachmentFilterArgs) ToGetVpnAttachmentFilterOutputWithContext

func (i GetVpnAttachmentFilterArgs) ToGetVpnAttachmentFilterOutputWithContext(ctx context.Context) GetVpnAttachmentFilterOutput

type GetVpnAttachmentFilterArray

type GetVpnAttachmentFilterArray []GetVpnAttachmentFilterInput

func (GetVpnAttachmentFilterArray) ElementType

func (GetVpnAttachmentFilterArray) ToGetVpnAttachmentFilterArrayOutput

func (i GetVpnAttachmentFilterArray) ToGetVpnAttachmentFilterArrayOutput() GetVpnAttachmentFilterArrayOutput

func (GetVpnAttachmentFilterArray) ToGetVpnAttachmentFilterArrayOutputWithContext

func (i GetVpnAttachmentFilterArray) ToGetVpnAttachmentFilterArrayOutputWithContext(ctx context.Context) GetVpnAttachmentFilterArrayOutput

type GetVpnAttachmentFilterArrayInput

type GetVpnAttachmentFilterArrayInput interface {
	pulumi.Input

	ToGetVpnAttachmentFilterArrayOutput() GetVpnAttachmentFilterArrayOutput
	ToGetVpnAttachmentFilterArrayOutputWithContext(context.Context) GetVpnAttachmentFilterArrayOutput
}

GetVpnAttachmentFilterArrayInput is an input type that accepts GetVpnAttachmentFilterArray and GetVpnAttachmentFilterArrayOutput values. You can construct a concrete instance of `GetVpnAttachmentFilterArrayInput` via:

GetVpnAttachmentFilterArray{ GetVpnAttachmentFilterArgs{...} }

type GetVpnAttachmentFilterArrayOutput

type GetVpnAttachmentFilterArrayOutput struct{ *pulumi.OutputState }

func (GetVpnAttachmentFilterArrayOutput) ElementType

func (GetVpnAttachmentFilterArrayOutput) Index

func (GetVpnAttachmentFilterArrayOutput) ToGetVpnAttachmentFilterArrayOutput

func (o GetVpnAttachmentFilterArrayOutput) ToGetVpnAttachmentFilterArrayOutput() GetVpnAttachmentFilterArrayOutput

func (GetVpnAttachmentFilterArrayOutput) ToGetVpnAttachmentFilterArrayOutputWithContext

func (o GetVpnAttachmentFilterArrayOutput) ToGetVpnAttachmentFilterArrayOutputWithContext(ctx context.Context) GetVpnAttachmentFilterArrayOutput

type GetVpnAttachmentFilterInput

type GetVpnAttachmentFilterInput interface {
	pulumi.Input

	ToGetVpnAttachmentFilterOutput() GetVpnAttachmentFilterOutput
	ToGetVpnAttachmentFilterOutputWithContext(context.Context) GetVpnAttachmentFilterOutput
}

GetVpnAttachmentFilterInput is an input type that accepts GetVpnAttachmentFilterArgs and GetVpnAttachmentFilterOutput values. You can construct a concrete instance of `GetVpnAttachmentFilterInput` via:

GetVpnAttachmentFilterArgs{...}

type GetVpnAttachmentFilterOutput

type GetVpnAttachmentFilterOutput struct{ *pulumi.OutputState }

func (GetVpnAttachmentFilterOutput) ElementType

func (GetVpnAttachmentFilterOutput) Name

The name of the filter field. Valid values can be found in the [EC2 DescribeTransitGatewayAttachments API Reference](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeTransitGatewayAttachments.html).

func (GetVpnAttachmentFilterOutput) ToGetVpnAttachmentFilterOutput

func (o GetVpnAttachmentFilterOutput) ToGetVpnAttachmentFilterOutput() GetVpnAttachmentFilterOutput

func (GetVpnAttachmentFilterOutput) ToGetVpnAttachmentFilterOutputWithContext

func (o GetVpnAttachmentFilterOutput) ToGetVpnAttachmentFilterOutputWithContext(ctx context.Context) GetVpnAttachmentFilterOutput

func (GetVpnAttachmentFilterOutput) Values

Set of values that are accepted for the given filter field. Results will be selected if any given value matches.

type GetVpnAttachmentOutputArgs added in v4.21.0

type GetVpnAttachmentOutputArgs struct {
	// Configuration block(s) for filtering. Detailed below.
	Filters GetVpnAttachmentFilterArrayInput `pulumi:"filters"`
	// A map of tags, each pair of which must exactly match a pair on the desired Transit Gateway VPN Attachment.
	Tags pulumi.StringMapInput `pulumi:"tags"`
	// Identifier of the EC2 Transit Gateway.
	TransitGatewayId pulumi.StringPtrInput `pulumi:"transitGatewayId"`
	// Identifier of the EC2 VPN Connection.
	VpnConnectionId pulumi.StringPtrInput `pulumi:"vpnConnectionId"`
}

A collection of arguments for invoking getVpnAttachment.

func (GetVpnAttachmentOutputArgs) ElementType added in v4.21.0

func (GetVpnAttachmentOutputArgs) ElementType() reflect.Type

type GetVpnAttachmentResult

type GetVpnAttachmentResult struct {
	Filters []GetVpnAttachmentFilter `pulumi:"filters"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// Key-value tags for the EC2 Transit Gateway VPN Attachment
	Tags             map[string]string `pulumi:"tags"`
	TransitGatewayId *string           `pulumi:"transitGatewayId"`
	VpnConnectionId  *string           `pulumi:"vpnConnectionId"`
}

A collection of values returned by getVpnAttachment.

func GetVpnAttachment

func GetVpnAttachment(ctx *pulumi.Context, args *GetVpnAttachmentArgs, opts ...pulumi.InvokeOption) (*GetVpnAttachmentResult, error)

Get information on an EC2 Transit Gateway VPN Attachment.

> EC2 Transit Gateway VPN Attachments are implicitly created by VPN Connections referencing an EC2 Transit Gateway so there is no managed resource. For ease, the `ec2.VpnConnection` resource includes a `transitGatewayAttachmentId` attribute which can replace some usage of this data source. For tagging the attachment, see the `ec2.Tag` resource.

## Example Usage ### By Transit Gateway and VPN Connection Identifiers

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v4/go/aws/ec2transitgateway"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := ec2transitgateway.GetVpnAttachment(ctx, &ec2transitgateway.GetVpnAttachmentArgs{
			TransitGatewayId: pulumi.StringRef(aws_ec2_transit_gateway.Example.Id),
			VpnConnectionId:  pulumi.StringRef(aws_vpn_connection.Example.Id),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### Filter

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v4/go/aws/ec2transitgateway"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := ec2transitgateway.GetVpnAttachment(ctx, &ec2transitgateway.GetVpnAttachmentArgs{
			Filters: []ec2transitgateway.GetVpnAttachmentFilter{
				ec2transitgateway.GetVpnAttachmentFilter{
					Name: "resource-id",
					Values: []string{
						"some-resource",
					},
				},
			},
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type GetVpnAttachmentResultOutput added in v4.21.0

type GetVpnAttachmentResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getVpnAttachment.

func GetVpnAttachmentOutput added in v4.21.0

func (GetVpnAttachmentResultOutput) ElementType added in v4.21.0

func (GetVpnAttachmentResultOutput) Filters added in v4.21.0

func (GetVpnAttachmentResultOutput) Id added in v4.21.0

The provider-assigned unique ID for this managed resource.

func (GetVpnAttachmentResultOutput) Tags added in v4.21.0

Key-value tags for the EC2 Transit Gateway VPN Attachment

func (GetVpnAttachmentResultOutput) ToGetVpnAttachmentResultOutput added in v4.21.0

func (o GetVpnAttachmentResultOutput) ToGetVpnAttachmentResultOutput() GetVpnAttachmentResultOutput

func (GetVpnAttachmentResultOutput) ToGetVpnAttachmentResultOutputWithContext added in v4.21.0

func (o GetVpnAttachmentResultOutput) ToGetVpnAttachmentResultOutputWithContext(ctx context.Context) GetVpnAttachmentResultOutput

func (GetVpnAttachmentResultOutput) TransitGatewayId added in v4.21.0

func (GetVpnAttachmentResultOutput) VpnConnectionId added in v4.21.0

type LookupPeeringAttachmentArgs

type LookupPeeringAttachmentArgs struct {
	// One or more configuration blocks containing name-values filters. Detailed below.
	Filters []GetPeeringAttachmentFilter `pulumi:"filters"`
	// Identifier of the EC2 Transit Gateway Peering Attachment.
	Id *string `pulumi:"id"`
	// A mapping of tags, each pair of which must exactly match
	// a pair on the specific EC2 Transit Gateway Peering Attachment to retrieve.
	Tags map[string]string `pulumi:"tags"`
}

A collection of arguments for invoking getPeeringAttachment.

type LookupPeeringAttachmentOutputArgs added in v4.21.0

type LookupPeeringAttachmentOutputArgs struct {
	// One or more configuration blocks containing name-values filters. Detailed below.
	Filters GetPeeringAttachmentFilterArrayInput `pulumi:"filters"`
	// Identifier of the EC2 Transit Gateway Peering Attachment.
	Id pulumi.StringPtrInput `pulumi:"id"`
	// A mapping of tags, each pair of which must exactly match
	// a pair on the specific EC2 Transit Gateway Peering Attachment to retrieve.
	Tags pulumi.StringMapInput `pulumi:"tags"`
}

A collection of arguments for invoking getPeeringAttachment.

func (LookupPeeringAttachmentOutputArgs) ElementType added in v4.21.0

type LookupPeeringAttachmentResult

type LookupPeeringAttachmentResult struct {
	Filters []GetPeeringAttachmentFilter `pulumi:"filters"`
	Id      string                       `pulumi:"id"`
	// Identifier of the peer AWS account
	PeerAccountId string `pulumi:"peerAccountId"`
	// Identifier of the peer AWS region
	PeerRegion string `pulumi:"peerRegion"`
	// Identifier of the peer EC2 Transit Gateway
	PeerTransitGatewayId string            `pulumi:"peerTransitGatewayId"`
	Tags                 map[string]string `pulumi:"tags"`
	// Identifier of the local EC2 Transit Gateway
	TransitGatewayId string `pulumi:"transitGatewayId"`
}

A collection of values returned by getPeeringAttachment.

func LookupPeeringAttachment

func LookupPeeringAttachment(ctx *pulumi.Context, args *LookupPeeringAttachmentArgs, opts ...pulumi.InvokeOption) (*LookupPeeringAttachmentResult, error)

Get information on an EC2 Transit Gateway Peering Attachment.

## Example Usage ### By Filter

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v4/go/aws/ec2transitgateway"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := ec2transitgateway.LookupPeeringAttachment(ctx, &ec2transitgateway.LookupPeeringAttachmentArgs{
			Filters: []ec2transitgateway.GetPeeringAttachmentFilter{
				ec2transitgateway.GetPeeringAttachmentFilter{
					Name: "transit-gateway-attachment-id",
					Values: []string{
						"tgw-attach-12345678",
					},
				},
			},
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### By Identifier

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v4/go/aws/ec2transitgateway"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := ec2transitgateway.LookupPeeringAttachment(ctx, &ec2transitgateway.LookupPeeringAttachmentArgs{
			Id: pulumi.StringRef("tgw-attach-12345678"),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type LookupPeeringAttachmentResultOutput added in v4.21.0

type LookupPeeringAttachmentResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getPeeringAttachment.

func LookupPeeringAttachmentOutput added in v4.21.0

func (LookupPeeringAttachmentResultOutput) ElementType added in v4.21.0

func (LookupPeeringAttachmentResultOutput) Filters added in v4.21.0

func (LookupPeeringAttachmentResultOutput) Id added in v4.21.0

func (LookupPeeringAttachmentResultOutput) PeerAccountId added in v4.21.0

Identifier of the peer AWS account

func (LookupPeeringAttachmentResultOutput) PeerRegion added in v4.21.0

Identifier of the peer AWS region

func (LookupPeeringAttachmentResultOutput) PeerTransitGatewayId added in v4.21.0

func (o LookupPeeringAttachmentResultOutput) PeerTransitGatewayId() pulumi.StringOutput

Identifier of the peer EC2 Transit Gateway

func (LookupPeeringAttachmentResultOutput) Tags added in v4.21.0

func (LookupPeeringAttachmentResultOutput) ToLookupPeeringAttachmentResultOutput added in v4.21.0

func (o LookupPeeringAttachmentResultOutput) ToLookupPeeringAttachmentResultOutput() LookupPeeringAttachmentResultOutput

func (LookupPeeringAttachmentResultOutput) ToLookupPeeringAttachmentResultOutputWithContext added in v4.21.0

func (o LookupPeeringAttachmentResultOutput) ToLookupPeeringAttachmentResultOutputWithContext(ctx context.Context) LookupPeeringAttachmentResultOutput

func (LookupPeeringAttachmentResultOutput) TransitGatewayId added in v4.21.0

Identifier of the local EC2 Transit Gateway

type LookupRouteTableArgs

type LookupRouteTableArgs struct {
	// One or more configuration blocks containing name-values filters. Detailed below.
	Filters []GetRouteTableFilter `pulumi:"filters"`
	// Identifier of the EC2 Transit Gateway Route Table.
	Id *string `pulumi:"id"`
	// Key-value tags for the EC2 Transit Gateway Route Table
	Tags map[string]string `pulumi:"tags"`
}

A collection of arguments for invoking getRouteTable.

type LookupRouteTableOutputArgs added in v4.21.0

type LookupRouteTableOutputArgs struct {
	// One or more configuration blocks containing name-values filters. Detailed below.
	Filters GetRouteTableFilterArrayInput `pulumi:"filters"`
	// Identifier of the EC2 Transit Gateway Route Table.
	Id pulumi.StringPtrInput `pulumi:"id"`
	// Key-value tags for the EC2 Transit Gateway Route Table
	Tags pulumi.StringMapInput `pulumi:"tags"`
}

A collection of arguments for invoking getRouteTable.

func (LookupRouteTableOutputArgs) ElementType added in v4.21.0

func (LookupRouteTableOutputArgs) ElementType() reflect.Type

type LookupRouteTableResult

type LookupRouteTableResult struct {
	// EC2 Transit Gateway Route Table Amazon Resource Name (ARN).
	Arn string `pulumi:"arn"`
	// Boolean whether this is the default association route table for the EC2 Transit Gateway
	DefaultAssociationRouteTable bool `pulumi:"defaultAssociationRouteTable"`
	// Boolean whether this is the default propagation route table for the EC2 Transit Gateway
	DefaultPropagationRouteTable bool                  `pulumi:"defaultPropagationRouteTable"`
	Filters                      []GetRouteTableFilter `pulumi:"filters"`
	// EC2 Transit Gateway Route Table identifier
	Id string `pulumi:"id"`
	// Key-value tags for the EC2 Transit Gateway Route Table
	Tags map[string]string `pulumi:"tags"`
	// EC2 Transit Gateway identifier
	TransitGatewayId string `pulumi:"transitGatewayId"`
}

A collection of values returned by getRouteTable.

func LookupRouteTable

func LookupRouteTable(ctx *pulumi.Context, args *LookupRouteTableArgs, opts ...pulumi.InvokeOption) (*LookupRouteTableResult, error)

Get information on an EC2 Transit Gateway Route Table.

## Example Usage ### By Filter

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v4/go/aws/ec2transitgateway"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := ec2transitgateway.LookupRouteTable(ctx, &ec2transitgateway.LookupRouteTableArgs{
			Filters: []ec2transitgateway.GetRouteTableFilter{
				ec2transitgateway.GetRouteTableFilter{
					Name: "default-association-route-table",
					Values: []string{
						"true",
					},
				},
				ec2transitgateway.GetRouteTableFilter{
					Name: "transit-gateway-id",
					Values: []string{
						"tgw-12345678",
					},
				},
			},
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### By Identifier

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v4/go/aws/ec2transitgateway"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := ec2transitgateway.LookupRouteTable(ctx, &ec2transitgateway.LookupRouteTableArgs{
			Id: pulumi.StringRef("tgw-rtb-12345678"),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type LookupRouteTableResultOutput added in v4.21.0

type LookupRouteTableResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getRouteTable.

func LookupRouteTableOutput added in v4.21.0

func (LookupRouteTableResultOutput) Arn added in v4.21.0

EC2 Transit Gateway Route Table Amazon Resource Name (ARN).

func (LookupRouteTableResultOutput) DefaultAssociationRouteTable added in v4.21.0

func (o LookupRouteTableResultOutput) DefaultAssociationRouteTable() pulumi.BoolOutput

Boolean whether this is the default association route table for the EC2 Transit Gateway

func (LookupRouteTableResultOutput) DefaultPropagationRouteTable added in v4.21.0

func (o LookupRouteTableResultOutput) DefaultPropagationRouteTable() pulumi.BoolOutput

Boolean whether this is the default propagation route table for the EC2 Transit Gateway

func (LookupRouteTableResultOutput) ElementType added in v4.21.0

func (LookupRouteTableResultOutput) Filters added in v4.21.0

func (LookupRouteTableResultOutput) Id added in v4.21.0

EC2 Transit Gateway Route Table identifier

func (LookupRouteTableResultOutput) Tags added in v4.21.0

Key-value tags for the EC2 Transit Gateway Route Table

func (LookupRouteTableResultOutput) ToLookupRouteTableResultOutput added in v4.21.0

func (o LookupRouteTableResultOutput) ToLookupRouteTableResultOutput() LookupRouteTableResultOutput

func (LookupRouteTableResultOutput) ToLookupRouteTableResultOutputWithContext added in v4.21.0

func (o LookupRouteTableResultOutput) ToLookupRouteTableResultOutputWithContext(ctx context.Context) LookupRouteTableResultOutput

func (LookupRouteTableResultOutput) TransitGatewayId added in v4.21.0

func (o LookupRouteTableResultOutput) TransitGatewayId() pulumi.StringOutput

EC2 Transit Gateway identifier

type LookupTransitGatewayArgs

type LookupTransitGatewayArgs struct {
	// One or more configuration blocks containing name-values filters. Detailed below.
	Filters []GetTransitGatewayFilter `pulumi:"filters"`
	// Identifier of the EC2 Transit Gateway.
	Id *string `pulumi:"id"`
	// Key-value tags for the EC2 Transit Gateway
	Tags map[string]string `pulumi:"tags"`
}

A collection of arguments for invoking getTransitGateway.

type LookupTransitGatewayOutputArgs added in v4.21.0

type LookupTransitGatewayOutputArgs struct {
	// One or more configuration blocks containing name-values filters. Detailed below.
	Filters GetTransitGatewayFilterArrayInput `pulumi:"filters"`
	// Identifier of the EC2 Transit Gateway.
	Id pulumi.StringPtrInput `pulumi:"id"`
	// Key-value tags for the EC2 Transit Gateway
	Tags pulumi.StringMapInput `pulumi:"tags"`
}

A collection of arguments for invoking getTransitGateway.

func (LookupTransitGatewayOutputArgs) ElementType added in v4.21.0

type LookupTransitGatewayResult

type LookupTransitGatewayResult struct {
	// Private Autonomous System Number (ASN) for the Amazon side of a BGP session
	AmazonSideAsn int `pulumi:"amazonSideAsn"`
	// EC2 Transit Gateway Amazon Resource Name (ARN)
	Arn string `pulumi:"arn"`
	// Identifier of the default association route table
	AssociationDefaultRouteTableId string `pulumi:"associationDefaultRouteTableId"`
	// Whether resource attachment requests are automatically accepted.
	AutoAcceptSharedAttachments string `pulumi:"autoAcceptSharedAttachments"`
	// Whether resource attachments are automatically associated with the default association route table.
	DefaultRouteTableAssociation string `pulumi:"defaultRouteTableAssociation"`
	// Whether resource attachments automatically propagate routes to the default propagation route table.
	DefaultRouteTablePropagation string `pulumi:"defaultRouteTablePropagation"`
	// Description of the EC2 Transit Gateway
	Description string `pulumi:"description"`
	// Whether DNS support is enabled.
	DnsSupport string                    `pulumi:"dnsSupport"`
	Filters    []GetTransitGatewayFilter `pulumi:"filters"`
	// EC2 Transit Gateway identifier
	Id string `pulumi:"id"`
	// Identifier of the AWS account that owns the EC2 Transit Gateway
	OwnerId string `pulumi:"ownerId"`
	// Identifier of the default propagation route table.
	PropagationDefaultRouteTableId string `pulumi:"propagationDefaultRouteTableId"`
	// Key-value tags for the EC2 Transit Gateway
	Tags map[string]string `pulumi:"tags"`
	// Whether VPN Equal Cost Multipath Protocol support is enabled.
	VpnEcmpSupport string `pulumi:"vpnEcmpSupport"`
}

A collection of values returned by getTransitGateway.

func LookupTransitGateway

func LookupTransitGateway(ctx *pulumi.Context, args *LookupTransitGatewayArgs, opts ...pulumi.InvokeOption) (*LookupTransitGatewayResult, error)

Get information on an EC2 Transit Gateway.

## Example Usage ### By Filter

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v4/go/aws/ec2transitgateway"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := ec2transitgateway.LookupTransitGateway(ctx, &ec2transitgateway.LookupTransitGatewayArgs{
			Filters: []ec2transitgateway.GetTransitGatewayFilter{
				ec2transitgateway.GetTransitGatewayFilter{
					Name: "options.amazon-side-asn",
					Values: []string{
						"64512",
					},
				},
			},
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### By Identifier

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v4/go/aws/ec2transitgateway"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := ec2transitgateway.LookupTransitGateway(ctx, &ec2transitgateway.LookupTransitGatewayArgs{
			Id: pulumi.StringRef("tgw-12345678"),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type LookupTransitGatewayResultOutput added in v4.21.0

type LookupTransitGatewayResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getTransitGateway.

func LookupTransitGatewayOutput added in v4.21.0

func (LookupTransitGatewayResultOutput) AmazonSideAsn added in v4.21.0

Private Autonomous System Number (ASN) for the Amazon side of a BGP session

func (LookupTransitGatewayResultOutput) Arn added in v4.21.0

EC2 Transit Gateway Amazon Resource Name (ARN)

func (LookupTransitGatewayResultOutput) AssociationDefaultRouteTableId added in v4.21.0

func (o LookupTransitGatewayResultOutput) AssociationDefaultRouteTableId() pulumi.StringOutput

Identifier of the default association route table

func (LookupTransitGatewayResultOutput) AutoAcceptSharedAttachments added in v4.21.0

func (o LookupTransitGatewayResultOutput) AutoAcceptSharedAttachments() pulumi.StringOutput

Whether resource attachment requests are automatically accepted.

func (LookupTransitGatewayResultOutput) DefaultRouteTableAssociation added in v4.21.0

func (o LookupTransitGatewayResultOutput) DefaultRouteTableAssociation() pulumi.StringOutput

Whether resource attachments are automatically associated with the default association route table.

func (LookupTransitGatewayResultOutput) DefaultRouteTablePropagation added in v4.21.0

func (o LookupTransitGatewayResultOutput) DefaultRouteTablePropagation() pulumi.StringOutput

Whether resource attachments automatically propagate routes to the default propagation route table.

func (LookupTransitGatewayResultOutput) Description added in v4.21.0

Description of the EC2 Transit Gateway

func (LookupTransitGatewayResultOutput) DnsSupport added in v4.21.0

Whether DNS support is enabled.

func (LookupTransitGatewayResultOutput) ElementType added in v4.21.0

func (LookupTransitGatewayResultOutput) Filters added in v4.21.0

func (LookupTransitGatewayResultOutput) Id added in v4.21.0

EC2 Transit Gateway identifier

func (LookupTransitGatewayResultOutput) OwnerId added in v4.21.0

Identifier of the AWS account that owns the EC2 Transit Gateway

func (LookupTransitGatewayResultOutput) PropagationDefaultRouteTableId added in v4.21.0

func (o LookupTransitGatewayResultOutput) PropagationDefaultRouteTableId() pulumi.StringOutput

Identifier of the default propagation route table.

func (LookupTransitGatewayResultOutput) Tags added in v4.21.0

Key-value tags for the EC2 Transit Gateway

func (LookupTransitGatewayResultOutput) ToLookupTransitGatewayResultOutput added in v4.21.0

func (o LookupTransitGatewayResultOutput) ToLookupTransitGatewayResultOutput() LookupTransitGatewayResultOutput

func (LookupTransitGatewayResultOutput) ToLookupTransitGatewayResultOutputWithContext added in v4.21.0

func (o LookupTransitGatewayResultOutput) ToLookupTransitGatewayResultOutputWithContext(ctx context.Context) LookupTransitGatewayResultOutput

func (LookupTransitGatewayResultOutput) VpnEcmpSupport added in v4.21.0

Whether VPN Equal Cost Multipath Protocol support is enabled.

type LookupVpcAttachmentArgs

type LookupVpcAttachmentArgs struct {
	// One or more configuration blocks containing name-values filters. Detailed below.
	Filters []GetVpcAttachmentFilter `pulumi:"filters"`
	// Identifier of the EC2 Transit Gateway VPC Attachment.
	Id *string `pulumi:"id"`
	// Key-value tags for the EC2 Transit Gateway VPC Attachment
	Tags map[string]string `pulumi:"tags"`
}

A collection of arguments for invoking getVpcAttachment.

type LookupVpcAttachmentOutputArgs added in v4.21.0

type LookupVpcAttachmentOutputArgs struct {
	// One or more configuration blocks containing name-values filters. Detailed below.
	Filters GetVpcAttachmentFilterArrayInput `pulumi:"filters"`
	// Identifier of the EC2 Transit Gateway VPC Attachment.
	Id pulumi.StringPtrInput `pulumi:"id"`
	// Key-value tags for the EC2 Transit Gateway VPC Attachment
	Tags pulumi.StringMapInput `pulumi:"tags"`
}

A collection of arguments for invoking getVpcAttachment.

func (LookupVpcAttachmentOutputArgs) ElementType added in v4.21.0

type LookupVpcAttachmentResult

type LookupVpcAttachmentResult struct {
	// Whether Appliance Mode support is enabled.
	ApplianceModeSupport string `pulumi:"applianceModeSupport"`
	// Whether DNS support is enabled.
	DnsSupport string                   `pulumi:"dnsSupport"`
	Filters    []GetVpcAttachmentFilter `pulumi:"filters"`
	// EC2 Transit Gateway VPC Attachment identifier
	Id string `pulumi:"id"`
	// Whether IPv6 support is enabled.
	Ipv6Support string `pulumi:"ipv6Support"`
	// Identifiers of EC2 Subnets.
	SubnetIds []string `pulumi:"subnetIds"`
	// Key-value tags for the EC2 Transit Gateway VPC Attachment
	Tags map[string]string `pulumi:"tags"`
	// EC2 Transit Gateway identifier
	TransitGatewayId string `pulumi:"transitGatewayId"`
	// Identifier of EC2 VPC.
	VpcId string `pulumi:"vpcId"`
	// Identifier of the AWS account that owns the EC2 VPC.
	VpcOwnerId string `pulumi:"vpcOwnerId"`
}

A collection of values returned by getVpcAttachment.

func LookupVpcAttachment

func LookupVpcAttachment(ctx *pulumi.Context, args *LookupVpcAttachmentArgs, opts ...pulumi.InvokeOption) (*LookupVpcAttachmentResult, error)

Get information on an EC2 Transit Gateway VPC Attachment.

## Example Usage ### By Filter

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v4/go/aws/ec2transitgateway"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := ec2transitgateway.LookupVpcAttachment(ctx, &ec2transitgateway.LookupVpcAttachmentArgs{
			Filters: []ec2transitgateway.GetVpcAttachmentFilter{
				ec2transitgateway.GetVpcAttachmentFilter{
					Name: "vpc-id",
					Values: []string{
						"vpc-12345678",
					},
				},
			},
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### By Identifier

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v4/go/aws/ec2transitgateway"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := ec2transitgateway.LookupVpcAttachment(ctx, &ec2transitgateway.LookupVpcAttachmentArgs{
			Id: pulumi.StringRef("tgw-attach-12345678"),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type LookupVpcAttachmentResultOutput added in v4.21.0

type LookupVpcAttachmentResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getVpcAttachment.

func LookupVpcAttachmentOutput added in v4.21.0

func (LookupVpcAttachmentResultOutput) ApplianceModeSupport added in v4.21.0

func (o LookupVpcAttachmentResultOutput) ApplianceModeSupport() pulumi.StringOutput

Whether Appliance Mode support is enabled.

func (LookupVpcAttachmentResultOutput) DnsSupport added in v4.21.0

Whether DNS support is enabled.

func (LookupVpcAttachmentResultOutput) ElementType added in v4.21.0

func (LookupVpcAttachmentResultOutput) Filters added in v4.21.0

func (LookupVpcAttachmentResultOutput) Id added in v4.21.0

EC2 Transit Gateway VPC Attachment identifier

func (LookupVpcAttachmentResultOutput) Ipv6Support added in v4.21.0

Whether IPv6 support is enabled.

func (LookupVpcAttachmentResultOutput) SubnetIds added in v4.21.0

Identifiers of EC2 Subnets.

func (LookupVpcAttachmentResultOutput) Tags added in v4.21.0

Key-value tags for the EC2 Transit Gateway VPC Attachment

func (LookupVpcAttachmentResultOutput) ToLookupVpcAttachmentResultOutput added in v4.21.0

func (o LookupVpcAttachmentResultOutput) ToLookupVpcAttachmentResultOutput() LookupVpcAttachmentResultOutput

func (LookupVpcAttachmentResultOutput) ToLookupVpcAttachmentResultOutputWithContext added in v4.21.0

func (o LookupVpcAttachmentResultOutput) ToLookupVpcAttachmentResultOutputWithContext(ctx context.Context) LookupVpcAttachmentResultOutput

func (LookupVpcAttachmentResultOutput) TransitGatewayId added in v4.21.0

EC2 Transit Gateway identifier

func (LookupVpcAttachmentResultOutput) VpcId added in v4.21.0

Identifier of EC2 VPC.

func (LookupVpcAttachmentResultOutput) VpcOwnerId added in v4.21.0

Identifier of the AWS account that owns the EC2 VPC.

type PeeringAttachment

type PeeringAttachment struct {
	pulumi.CustomResourceState

	// Account ID of EC2 Transit Gateway to peer with. Defaults to the account ID the current provider is currently connected to.
	PeerAccountId pulumi.StringOutput `pulumi:"peerAccountId"`
	// Region of EC2 Transit Gateway to peer with.
	PeerRegion pulumi.StringOutput `pulumi:"peerRegion"`
	// Identifier of EC2 Transit Gateway to peer with.
	PeerTransitGatewayId pulumi.StringOutput `pulumi:"peerTransitGatewayId"`
	// Key-value tags for the EC2 Transit Gateway Peering Attachment. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapOutput `pulumi:"tags"`
	// A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
	TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"`
	// Identifier of EC2 Transit Gateway.
	TransitGatewayId pulumi.StringOutput `pulumi:"transitGatewayId"`
}

Manages an EC2 Transit Gateway Peering Attachment. For examples of custom route table association and propagation, see the [EC2 Transit Gateway Networking Examples Guide](https://docs.aws.amazon.com/vpc/latest/tgw/TGW_Scenarios.html).

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v4/go/aws"
"github.com/pulumi/pulumi-aws/sdk/v4/go/aws/ec2transitgateway"
"github.com/pulumi/pulumi-aws/sdk/v4/go/aws/providers"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := providers.Newaws(ctx, "local", &providers.awsArgs{
			Region: "us-east-1",
		})
		if err != nil {
			return err
		}
		_, err = providers.Newaws(ctx, "peer", &providers.awsArgs{
			Region: "us-west-2",
		})
		if err != nil {
			return err
		}
		peerRegion, err := aws.GetRegion(ctx, nil, nil)
		if err != nil {
			return err
		}
		localTransitGateway, err := ec2transitgateway.NewTransitGateway(ctx, "localTransitGateway", &ec2transitgateway.TransitGatewayArgs{
			Tags: pulumi.StringMap{
				"Name": pulumi.String("Local TGW"),
			},
		}, pulumi.Provider(aws.Local))
		if err != nil {
			return err
		}
		peerTransitGateway, err := ec2transitgateway.NewTransitGateway(ctx, "peerTransitGateway", &ec2transitgateway.TransitGatewayArgs{
			Tags: pulumi.StringMap{
				"Name": pulumi.String("Peer TGW"),
			},
		}, pulumi.Provider(aws.Peer))
		if err != nil {
			return err
		}
		_, err = ec2transitgateway.NewPeeringAttachment(ctx, "example", &ec2transitgateway.PeeringAttachmentArgs{
			PeerAccountId:        peerTransitGateway.OwnerId,
			PeerRegion:           pulumi.String(peerRegion.Name),
			PeerTransitGatewayId: peerTransitGateway.ID(),
			TransitGatewayId:     localTransitGateway.ID(),
			Tags: pulumi.StringMap{
				"Name": pulumi.String("TGW Peering Requestor"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

`aws_ec2_transit_gateway_peering_attachment` can be imported by using the EC2 Transit Gateway Attachment identifier, e.g.,

```sh

$ pulumi import aws:ec2transitgateway/peeringAttachment:PeeringAttachment example tgw-attach-12345678

```

func GetPeeringAttachment

func GetPeeringAttachment(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *PeeringAttachmentState, opts ...pulumi.ResourceOption) (*PeeringAttachment, error)

GetPeeringAttachment gets an existing PeeringAttachment resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewPeeringAttachment

func NewPeeringAttachment(ctx *pulumi.Context,
	name string, args *PeeringAttachmentArgs, opts ...pulumi.ResourceOption) (*PeeringAttachment, error)

NewPeeringAttachment registers a new resource with the given unique name, arguments, and options.

func (*PeeringAttachment) ElementType

func (*PeeringAttachment) ElementType() reflect.Type

func (*PeeringAttachment) ToPeeringAttachmentOutput

func (i *PeeringAttachment) ToPeeringAttachmentOutput() PeeringAttachmentOutput

func (*PeeringAttachment) ToPeeringAttachmentOutputWithContext

func (i *PeeringAttachment) ToPeeringAttachmentOutputWithContext(ctx context.Context) PeeringAttachmentOutput

type PeeringAttachmentArgs

type PeeringAttachmentArgs struct {
	// Account ID of EC2 Transit Gateway to peer with. Defaults to the account ID the current provider is currently connected to.
	PeerAccountId pulumi.StringPtrInput
	// Region of EC2 Transit Gateway to peer with.
	PeerRegion pulumi.StringInput
	// Identifier of EC2 Transit Gateway to peer with.
	PeerTransitGatewayId pulumi.StringInput
	// Key-value tags for the EC2 Transit Gateway Peering Attachment. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapInput
	// Identifier of EC2 Transit Gateway.
	TransitGatewayId pulumi.StringInput
}

The set of arguments for constructing a PeeringAttachment resource.

func (PeeringAttachmentArgs) ElementType

func (PeeringAttachmentArgs) ElementType() reflect.Type

type PeeringAttachmentArray

type PeeringAttachmentArray []PeeringAttachmentInput

func (PeeringAttachmentArray) ElementType

func (PeeringAttachmentArray) ElementType() reflect.Type

func (PeeringAttachmentArray) ToPeeringAttachmentArrayOutput

func (i PeeringAttachmentArray) ToPeeringAttachmentArrayOutput() PeeringAttachmentArrayOutput

func (PeeringAttachmentArray) ToPeeringAttachmentArrayOutputWithContext

func (i PeeringAttachmentArray) ToPeeringAttachmentArrayOutputWithContext(ctx context.Context) PeeringAttachmentArrayOutput

type PeeringAttachmentArrayInput

type PeeringAttachmentArrayInput interface {
	pulumi.Input

	ToPeeringAttachmentArrayOutput() PeeringAttachmentArrayOutput
	ToPeeringAttachmentArrayOutputWithContext(context.Context) PeeringAttachmentArrayOutput
}

PeeringAttachmentArrayInput is an input type that accepts PeeringAttachmentArray and PeeringAttachmentArrayOutput values. You can construct a concrete instance of `PeeringAttachmentArrayInput` via:

PeeringAttachmentArray{ PeeringAttachmentArgs{...} }

type PeeringAttachmentArrayOutput

type PeeringAttachmentArrayOutput struct{ *pulumi.OutputState }

func (PeeringAttachmentArrayOutput) ElementType

func (PeeringAttachmentArrayOutput) Index

func (PeeringAttachmentArrayOutput) ToPeeringAttachmentArrayOutput

func (o PeeringAttachmentArrayOutput) ToPeeringAttachmentArrayOutput() PeeringAttachmentArrayOutput

func (PeeringAttachmentArrayOutput) ToPeeringAttachmentArrayOutputWithContext

func (o PeeringAttachmentArrayOutput) ToPeeringAttachmentArrayOutputWithContext(ctx context.Context) PeeringAttachmentArrayOutput

type PeeringAttachmentInput

type PeeringAttachmentInput interface {
	pulumi.Input

	ToPeeringAttachmentOutput() PeeringAttachmentOutput
	ToPeeringAttachmentOutputWithContext(ctx context.Context) PeeringAttachmentOutput
}

type PeeringAttachmentMap

type PeeringAttachmentMap map[string]PeeringAttachmentInput

func (PeeringAttachmentMap) ElementType

func (PeeringAttachmentMap) ElementType() reflect.Type

func (PeeringAttachmentMap) ToPeeringAttachmentMapOutput

func (i PeeringAttachmentMap) ToPeeringAttachmentMapOutput() PeeringAttachmentMapOutput

func (PeeringAttachmentMap) ToPeeringAttachmentMapOutputWithContext

func (i PeeringAttachmentMap) ToPeeringAttachmentMapOutputWithContext(ctx context.Context) PeeringAttachmentMapOutput

type PeeringAttachmentMapInput

type PeeringAttachmentMapInput interface {
	pulumi.Input

	ToPeeringAttachmentMapOutput() PeeringAttachmentMapOutput
	ToPeeringAttachmentMapOutputWithContext(context.Context) PeeringAttachmentMapOutput
}

PeeringAttachmentMapInput is an input type that accepts PeeringAttachmentMap and PeeringAttachmentMapOutput values. You can construct a concrete instance of `PeeringAttachmentMapInput` via:

PeeringAttachmentMap{ "key": PeeringAttachmentArgs{...} }

type PeeringAttachmentMapOutput

type PeeringAttachmentMapOutput struct{ *pulumi.OutputState }

func (PeeringAttachmentMapOutput) ElementType

func (PeeringAttachmentMapOutput) ElementType() reflect.Type

func (PeeringAttachmentMapOutput) MapIndex

func (PeeringAttachmentMapOutput) ToPeeringAttachmentMapOutput

func (o PeeringAttachmentMapOutput) ToPeeringAttachmentMapOutput() PeeringAttachmentMapOutput

func (PeeringAttachmentMapOutput) ToPeeringAttachmentMapOutputWithContext

func (o PeeringAttachmentMapOutput) ToPeeringAttachmentMapOutputWithContext(ctx context.Context) PeeringAttachmentMapOutput

type PeeringAttachmentOutput

type PeeringAttachmentOutput struct{ *pulumi.OutputState }

func (PeeringAttachmentOutput) ElementType

func (PeeringAttachmentOutput) ElementType() reflect.Type

func (PeeringAttachmentOutput) ToPeeringAttachmentOutput

func (o PeeringAttachmentOutput) ToPeeringAttachmentOutput() PeeringAttachmentOutput

func (PeeringAttachmentOutput) ToPeeringAttachmentOutputWithContext

func (o PeeringAttachmentOutput) ToPeeringAttachmentOutputWithContext(ctx context.Context) PeeringAttachmentOutput

type PeeringAttachmentState

type PeeringAttachmentState struct {
	// Account ID of EC2 Transit Gateway to peer with. Defaults to the account ID the current provider is currently connected to.
	PeerAccountId pulumi.StringPtrInput
	// Region of EC2 Transit Gateway to peer with.
	PeerRegion pulumi.StringPtrInput
	// Identifier of EC2 Transit Gateway to peer with.
	PeerTransitGatewayId pulumi.StringPtrInput
	// Key-value tags for the EC2 Transit Gateway Peering Attachment. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapInput
	// A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
	TagsAll pulumi.StringMapInput
	// Identifier of EC2 Transit Gateway.
	TransitGatewayId pulumi.StringPtrInput
}

func (PeeringAttachmentState) ElementType

func (PeeringAttachmentState) ElementType() reflect.Type

type PrefixListReference

type PrefixListReference struct {
	pulumi.CustomResourceState

	// Indicates whether to drop traffic that matches the Prefix List. Defaults to `false`.
	Blackhole pulumi.BoolPtrOutput `pulumi:"blackhole"`
	// Identifier of EC2 Prefix List.
	PrefixListId      pulumi.StringOutput `pulumi:"prefixListId"`
	PrefixListOwnerId pulumi.StringOutput `pulumi:"prefixListOwnerId"`
	// Identifier of EC2 Transit Gateway Attachment.
	TransitGatewayAttachmentId pulumi.StringPtrOutput `pulumi:"transitGatewayAttachmentId"`
	// Identifier of EC2 Transit Gateway Route Table.
	TransitGatewayRouteTableId pulumi.StringOutput `pulumi:"transitGatewayRouteTableId"`
}

Manages an EC2 Transit Gateway Prefix List Reference.

## Example Usage ### Attachment Routing

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v4/go/aws/ec2transitgateway"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := ec2transitgateway.NewPrefixListReference(ctx, "example", &ec2transitgateway.PrefixListReferenceArgs{
			PrefixListId:               pulumi.Any(aws_ec2_managed_prefix_list.Example.Id),
			TransitGatewayAttachmentId: pulumi.Any(aws_ec2_transit_gateway_vpc_attachment.Example.Id),
			TransitGatewayRouteTableId: pulumi.Any(aws_ec2_transit_gateway.Example.Association_default_route_table_id),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### Blackhole Routing

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v4/go/aws/ec2transitgateway"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := ec2transitgateway.NewPrefixListReference(ctx, "example", &ec2transitgateway.PrefixListReferenceArgs{
			Blackhole:                  pulumi.Bool(true),
			PrefixListId:               pulumi.Any(aws_ec2_managed_prefix_list.Example.Id),
			TransitGatewayRouteTableId: pulumi.Any(aws_ec2_transit_gateway.Example.Association_default_route_table_id),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

`aws_ec2_transit_gateway_prefix_list_reference` can be imported by using the EC2 Transit Gateway Route Table identifier and EC2 Prefix List identifier, separated by an underscore (`_`), e.g., console

```sh

$ pulumi import aws:ec2transitgateway/prefixListReference:PrefixListReference example tgw-rtb-12345678_pl-12345678

```

func GetPrefixListReference

func GetPrefixListReference(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *PrefixListReferenceState, opts ...pulumi.ResourceOption) (*PrefixListReference, error)

GetPrefixListReference gets an existing PrefixListReference resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewPrefixListReference

func NewPrefixListReference(ctx *pulumi.Context,
	name string, args *PrefixListReferenceArgs, opts ...pulumi.ResourceOption) (*PrefixListReference, error)

NewPrefixListReference registers a new resource with the given unique name, arguments, and options.

func (*PrefixListReference) ElementType

func (*PrefixListReference) ElementType() reflect.Type

func (*PrefixListReference) ToPrefixListReferenceOutput

func (i *PrefixListReference) ToPrefixListReferenceOutput() PrefixListReferenceOutput

func (*PrefixListReference) ToPrefixListReferenceOutputWithContext

func (i *PrefixListReference) ToPrefixListReferenceOutputWithContext(ctx context.Context) PrefixListReferenceOutput

type PrefixListReferenceArgs

type PrefixListReferenceArgs struct {
	// Indicates whether to drop traffic that matches the Prefix List. Defaults to `false`.
	Blackhole pulumi.BoolPtrInput
	// Identifier of EC2 Prefix List.
	PrefixListId pulumi.StringInput
	// Identifier of EC2 Transit Gateway Attachment.
	TransitGatewayAttachmentId pulumi.StringPtrInput
	// Identifier of EC2 Transit Gateway Route Table.
	TransitGatewayRouteTableId pulumi.StringInput
}

The set of arguments for constructing a PrefixListReference resource.

func (PrefixListReferenceArgs) ElementType

func (PrefixListReferenceArgs) ElementType() reflect.Type

type PrefixListReferenceArray

type PrefixListReferenceArray []PrefixListReferenceInput

func (PrefixListReferenceArray) ElementType

func (PrefixListReferenceArray) ElementType() reflect.Type

func (PrefixListReferenceArray) ToPrefixListReferenceArrayOutput

func (i PrefixListReferenceArray) ToPrefixListReferenceArrayOutput() PrefixListReferenceArrayOutput

func (PrefixListReferenceArray) ToPrefixListReferenceArrayOutputWithContext

func (i PrefixListReferenceArray) ToPrefixListReferenceArrayOutputWithContext(ctx context.Context) PrefixListReferenceArrayOutput

type PrefixListReferenceArrayInput

type PrefixListReferenceArrayInput interface {
	pulumi.Input

	ToPrefixListReferenceArrayOutput() PrefixListReferenceArrayOutput
	ToPrefixListReferenceArrayOutputWithContext(context.Context) PrefixListReferenceArrayOutput
}

PrefixListReferenceArrayInput is an input type that accepts PrefixListReferenceArray and PrefixListReferenceArrayOutput values. You can construct a concrete instance of `PrefixListReferenceArrayInput` via:

PrefixListReferenceArray{ PrefixListReferenceArgs{...} }

type PrefixListReferenceArrayOutput

type PrefixListReferenceArrayOutput struct{ *pulumi.OutputState }

func (PrefixListReferenceArrayOutput) ElementType

func (PrefixListReferenceArrayOutput) Index

func (PrefixListReferenceArrayOutput) ToPrefixListReferenceArrayOutput

func (o PrefixListReferenceArrayOutput) ToPrefixListReferenceArrayOutput() PrefixListReferenceArrayOutput

func (PrefixListReferenceArrayOutput) ToPrefixListReferenceArrayOutputWithContext

func (o PrefixListReferenceArrayOutput) ToPrefixListReferenceArrayOutputWithContext(ctx context.Context) PrefixListReferenceArrayOutput

type PrefixListReferenceInput

type PrefixListReferenceInput interface {
	pulumi.Input

	ToPrefixListReferenceOutput() PrefixListReferenceOutput
	ToPrefixListReferenceOutputWithContext(ctx context.Context) PrefixListReferenceOutput
}

type PrefixListReferenceMap

type PrefixListReferenceMap map[string]PrefixListReferenceInput

func (PrefixListReferenceMap) ElementType

func (PrefixListReferenceMap) ElementType() reflect.Type

func (PrefixListReferenceMap) ToPrefixListReferenceMapOutput

func (i PrefixListReferenceMap) ToPrefixListReferenceMapOutput() PrefixListReferenceMapOutput

func (PrefixListReferenceMap) ToPrefixListReferenceMapOutputWithContext

func (i PrefixListReferenceMap) ToPrefixListReferenceMapOutputWithContext(ctx context.Context) PrefixListReferenceMapOutput

type PrefixListReferenceMapInput

type PrefixListReferenceMapInput interface {
	pulumi.Input

	ToPrefixListReferenceMapOutput() PrefixListReferenceMapOutput
	ToPrefixListReferenceMapOutputWithContext(context.Context) PrefixListReferenceMapOutput
}

PrefixListReferenceMapInput is an input type that accepts PrefixListReferenceMap and PrefixListReferenceMapOutput values. You can construct a concrete instance of `PrefixListReferenceMapInput` via:

PrefixListReferenceMap{ "key": PrefixListReferenceArgs{...} }

type PrefixListReferenceMapOutput

type PrefixListReferenceMapOutput struct{ *pulumi.OutputState }

func (PrefixListReferenceMapOutput) ElementType

func (PrefixListReferenceMapOutput) MapIndex

func (PrefixListReferenceMapOutput) ToPrefixListReferenceMapOutput

func (o PrefixListReferenceMapOutput) ToPrefixListReferenceMapOutput() PrefixListReferenceMapOutput

func (PrefixListReferenceMapOutput) ToPrefixListReferenceMapOutputWithContext

func (o PrefixListReferenceMapOutput) ToPrefixListReferenceMapOutputWithContext(ctx context.Context) PrefixListReferenceMapOutput

type PrefixListReferenceOutput

type PrefixListReferenceOutput struct{ *pulumi.OutputState }

func (PrefixListReferenceOutput) ElementType

func (PrefixListReferenceOutput) ElementType() reflect.Type

func (PrefixListReferenceOutput) ToPrefixListReferenceOutput

func (o PrefixListReferenceOutput) ToPrefixListReferenceOutput() PrefixListReferenceOutput

func (PrefixListReferenceOutput) ToPrefixListReferenceOutputWithContext

func (o PrefixListReferenceOutput) ToPrefixListReferenceOutputWithContext(ctx context.Context) PrefixListReferenceOutput

type PrefixListReferenceState

type PrefixListReferenceState struct {
	// Indicates whether to drop traffic that matches the Prefix List. Defaults to `false`.
	Blackhole pulumi.BoolPtrInput
	// Identifier of EC2 Prefix List.
	PrefixListId      pulumi.StringPtrInput
	PrefixListOwnerId pulumi.StringPtrInput
	// Identifier of EC2 Transit Gateway Attachment.
	TransitGatewayAttachmentId pulumi.StringPtrInput
	// Identifier of EC2 Transit Gateway Route Table.
	TransitGatewayRouteTableId pulumi.StringPtrInput
}

func (PrefixListReferenceState) ElementType

func (PrefixListReferenceState) ElementType() reflect.Type

type Route

type Route struct {
	pulumi.CustomResourceState

	// Indicates whether to drop traffic that matches this route (default to `false`).
	Blackhole pulumi.BoolPtrOutput `pulumi:"blackhole"`
	// IPv4 or IPv6 RFC1924 CIDR used for destination matches. Routing decisions are based on the most specific match.
	DestinationCidrBlock pulumi.StringOutput `pulumi:"destinationCidrBlock"`
	// Identifier of EC2 Transit Gateway Attachment (required if `blackhole` is set to false).
	TransitGatewayAttachmentId pulumi.StringPtrOutput `pulumi:"transitGatewayAttachmentId"`
	// Identifier of EC2 Transit Gateway Route Table.
	TransitGatewayRouteTableId pulumi.StringOutput `pulumi:"transitGatewayRouteTableId"`
}

Manages an EC2 Transit Gateway Route.

## Example Usage ### Standard usage

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v4/go/aws/ec2transitgateway"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := ec2transitgateway.NewRoute(ctx, "example", &ec2transitgateway.RouteArgs{
			DestinationCidrBlock:       pulumi.String("0.0.0.0/0"),
			TransitGatewayAttachmentId: pulumi.Any(aws_ec2_transit_gateway_vpc_attachment.Example.Id),
			TransitGatewayRouteTableId: pulumi.Any(aws_ec2_transit_gateway.Example.Association_default_route_table_id),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### Blackhole route

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v4/go/aws/ec2transitgateway"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := ec2transitgateway.NewRoute(ctx, "example", &ec2transitgateway.RouteArgs{
			DestinationCidrBlock:       pulumi.String("0.0.0.0/0"),
			Blackhole:                  pulumi.Bool(true),
			TransitGatewayRouteTableId: pulumi.Any(aws_ec2_transit_gateway.Example.Association_default_route_table_id),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

`aws_ec2_transit_gateway_route` can be imported by using the EC2 Transit Gateway Route Table, an underscore, and the destination, e.g.,

```sh

$ pulumi import aws:ec2transitgateway/route:Route example tgw-rtb-12345678_0.0.0.0/0

```

func GetRoute

func GetRoute(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *RouteState, opts ...pulumi.ResourceOption) (*Route, error)

GetRoute gets an existing Route resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewRoute

func NewRoute(ctx *pulumi.Context,
	name string, args *RouteArgs, opts ...pulumi.ResourceOption) (*Route, error)

NewRoute registers a new resource with the given unique name, arguments, and options.

func (*Route) ElementType

func (*Route) ElementType() reflect.Type

func (*Route) ToRouteOutput

func (i *Route) ToRouteOutput() RouteOutput

func (*Route) ToRouteOutputWithContext

func (i *Route) ToRouteOutputWithContext(ctx context.Context) RouteOutput

type RouteArgs

type RouteArgs struct {
	// Indicates whether to drop traffic that matches this route (default to `false`).
	Blackhole pulumi.BoolPtrInput
	// IPv4 or IPv6 RFC1924 CIDR used for destination matches. Routing decisions are based on the most specific match.
	DestinationCidrBlock pulumi.StringInput
	// Identifier of EC2 Transit Gateway Attachment (required if `blackhole` is set to false).
	TransitGatewayAttachmentId pulumi.StringPtrInput
	// Identifier of EC2 Transit Gateway Route Table.
	TransitGatewayRouteTableId pulumi.StringInput
}

The set of arguments for constructing a Route resource.

func (RouteArgs) ElementType

func (RouteArgs) ElementType() reflect.Type

type RouteArray

type RouteArray []RouteInput

func (RouteArray) ElementType

func (RouteArray) ElementType() reflect.Type

func (RouteArray) ToRouteArrayOutput

func (i RouteArray) ToRouteArrayOutput() RouteArrayOutput

func (RouteArray) ToRouteArrayOutputWithContext

func (i RouteArray) ToRouteArrayOutputWithContext(ctx context.Context) RouteArrayOutput

type RouteArrayInput

type RouteArrayInput interface {
	pulumi.Input

	ToRouteArrayOutput() RouteArrayOutput
	ToRouteArrayOutputWithContext(context.Context) RouteArrayOutput
}

RouteArrayInput is an input type that accepts RouteArray and RouteArrayOutput values. You can construct a concrete instance of `RouteArrayInput` via:

RouteArray{ RouteArgs{...} }

type RouteArrayOutput

type RouteArrayOutput struct{ *pulumi.OutputState }

func (RouteArrayOutput) ElementType

func (RouteArrayOutput) ElementType() reflect.Type

func (RouteArrayOutput) Index

func (RouteArrayOutput) ToRouteArrayOutput

func (o RouteArrayOutput) ToRouteArrayOutput() RouteArrayOutput

func (RouteArrayOutput) ToRouteArrayOutputWithContext

func (o RouteArrayOutput) ToRouteArrayOutputWithContext(ctx context.Context) RouteArrayOutput

type RouteInput

type RouteInput interface {
	pulumi.Input

	ToRouteOutput() RouteOutput
	ToRouteOutputWithContext(ctx context.Context) RouteOutput
}

type RouteMap

type RouteMap map[string]RouteInput

func (RouteMap) ElementType

func (RouteMap) ElementType() reflect.Type

func (RouteMap) ToRouteMapOutput

func (i RouteMap) ToRouteMapOutput() RouteMapOutput

func (RouteMap) ToRouteMapOutputWithContext

func (i RouteMap) ToRouteMapOutputWithContext(ctx context.Context) RouteMapOutput

type RouteMapInput

type RouteMapInput interface {
	pulumi.Input

	ToRouteMapOutput() RouteMapOutput
	ToRouteMapOutputWithContext(context.Context) RouteMapOutput
}

RouteMapInput is an input type that accepts RouteMap and RouteMapOutput values. You can construct a concrete instance of `RouteMapInput` via:

RouteMap{ "key": RouteArgs{...} }

type RouteMapOutput

type RouteMapOutput struct{ *pulumi.OutputState }

func (RouteMapOutput) ElementType

func (RouteMapOutput) ElementType() reflect.Type

func (RouteMapOutput) MapIndex

func (RouteMapOutput) ToRouteMapOutput

func (o RouteMapOutput) ToRouteMapOutput() RouteMapOutput

func (RouteMapOutput) ToRouteMapOutputWithContext

func (o RouteMapOutput) ToRouteMapOutputWithContext(ctx context.Context) RouteMapOutput

type RouteOutput

type RouteOutput struct{ *pulumi.OutputState }

func (RouteOutput) ElementType

func (RouteOutput) ElementType() reflect.Type

func (RouteOutput) ToRouteOutput

func (o RouteOutput) ToRouteOutput() RouteOutput

func (RouteOutput) ToRouteOutputWithContext

func (o RouteOutput) ToRouteOutputWithContext(ctx context.Context) RouteOutput

type RouteState

type RouteState struct {
	// Indicates whether to drop traffic that matches this route (default to `false`).
	Blackhole pulumi.BoolPtrInput
	// IPv4 or IPv6 RFC1924 CIDR used for destination matches. Routing decisions are based on the most specific match.
	DestinationCidrBlock pulumi.StringPtrInput
	// Identifier of EC2 Transit Gateway Attachment (required if `blackhole` is set to false).
	TransitGatewayAttachmentId pulumi.StringPtrInput
	// Identifier of EC2 Transit Gateway Route Table.
	TransitGatewayRouteTableId pulumi.StringPtrInput
}

func (RouteState) ElementType

func (RouteState) ElementType() reflect.Type

type RouteTable

type RouteTable struct {
	pulumi.CustomResourceState

	// EC2 Transit Gateway Route Table Amazon Resource Name (ARN).
	Arn pulumi.StringOutput `pulumi:"arn"`
	// Boolean whether this is the default association route table for the EC2 Transit Gateway.
	DefaultAssociationRouteTable pulumi.BoolOutput `pulumi:"defaultAssociationRouteTable"`
	// Boolean whether this is the default propagation route table for the EC2 Transit Gateway.
	DefaultPropagationRouteTable pulumi.BoolOutput `pulumi:"defaultPropagationRouteTable"`
	// Key-value tags for the EC2 Transit Gateway Route Table. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapOutput `pulumi:"tags"`
	// A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
	TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"`
	// Identifier of EC2 Transit Gateway.
	TransitGatewayId pulumi.StringOutput `pulumi:"transitGatewayId"`
}

Manages an EC2 Transit Gateway Route Table.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v4/go/aws/ec2transitgateway"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := ec2transitgateway.NewRouteTable(ctx, "example", &ec2transitgateway.RouteTableArgs{
			TransitGatewayId: pulumi.Any(aws_ec2_transit_gateway.Example.Id),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

`aws_ec2_transit_gateway_route_table` can be imported by using the EC2 Transit Gateway Route Table identifier, e.g.,

```sh

$ pulumi import aws:ec2transitgateway/routeTable:RouteTable example tgw-rtb-12345678

```

func GetRouteTable

func GetRouteTable(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *RouteTableState, opts ...pulumi.ResourceOption) (*RouteTable, error)

GetRouteTable gets an existing RouteTable resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewRouteTable

func NewRouteTable(ctx *pulumi.Context,
	name string, args *RouteTableArgs, opts ...pulumi.ResourceOption) (*RouteTable, error)

NewRouteTable registers a new resource with the given unique name, arguments, and options.

func (*RouteTable) ElementType

func (*RouteTable) ElementType() reflect.Type

func (*RouteTable) ToRouteTableOutput

func (i *RouteTable) ToRouteTableOutput() RouteTableOutput

func (*RouteTable) ToRouteTableOutputWithContext

func (i *RouteTable) ToRouteTableOutputWithContext(ctx context.Context) RouteTableOutput

type RouteTableArgs

type RouteTableArgs struct {
	// Key-value tags for the EC2 Transit Gateway Route Table. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapInput
	// Identifier of EC2 Transit Gateway.
	TransitGatewayId pulumi.StringInput
}

The set of arguments for constructing a RouteTable resource.

func (RouteTableArgs) ElementType

func (RouteTableArgs) ElementType() reflect.Type

type RouteTableArray

type RouteTableArray []RouteTableInput

func (RouteTableArray) ElementType

func (RouteTableArray) ElementType() reflect.Type

func (RouteTableArray) ToRouteTableArrayOutput

func (i RouteTableArray) ToRouteTableArrayOutput() RouteTableArrayOutput

func (RouteTableArray) ToRouteTableArrayOutputWithContext

func (i RouteTableArray) ToRouteTableArrayOutputWithContext(ctx context.Context) RouteTableArrayOutput

type RouteTableArrayInput

type RouteTableArrayInput interface {
	pulumi.Input

	ToRouteTableArrayOutput() RouteTableArrayOutput
	ToRouteTableArrayOutputWithContext(context.Context) RouteTableArrayOutput
}

RouteTableArrayInput is an input type that accepts RouteTableArray and RouteTableArrayOutput values. You can construct a concrete instance of `RouteTableArrayInput` via:

RouteTableArray{ RouteTableArgs{...} }

type RouteTableArrayOutput

type RouteTableArrayOutput struct{ *pulumi.OutputState }

func (RouteTableArrayOutput) ElementType

func (RouteTableArrayOutput) ElementType() reflect.Type

func (RouteTableArrayOutput) Index

func (RouteTableArrayOutput) ToRouteTableArrayOutput

func (o RouteTableArrayOutput) ToRouteTableArrayOutput() RouteTableArrayOutput

func (RouteTableArrayOutput) ToRouteTableArrayOutputWithContext

func (o RouteTableArrayOutput) ToRouteTableArrayOutputWithContext(ctx context.Context) RouteTableArrayOutput

type RouteTableAssociation

type RouteTableAssociation struct {
	pulumi.CustomResourceState

	// Identifier of the resource
	ResourceId pulumi.StringOutput `pulumi:"resourceId"`
	// Type of the resource
	ResourceType pulumi.StringOutput `pulumi:"resourceType"`
	// Identifier of EC2 Transit Gateway Attachment.
	TransitGatewayAttachmentId pulumi.StringOutput `pulumi:"transitGatewayAttachmentId"`
	// Identifier of EC2 Transit Gateway Route Table.
	TransitGatewayRouteTableId pulumi.StringOutput `pulumi:"transitGatewayRouteTableId"`
}

Manages an EC2 Transit Gateway Route Table association.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v4/go/aws/ec2transitgateway"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := ec2transitgateway.NewRouteTableAssociation(ctx, "example", &ec2transitgateway.RouteTableAssociationArgs{
			TransitGatewayAttachmentId: pulumi.Any(aws_ec2_transit_gateway_vpc_attachment.Example.Id),
			TransitGatewayRouteTableId: pulumi.Any(aws_ec2_transit_gateway_route_table.Example.Id),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

`aws_ec2_transit_gateway_route_table_association` can be imported by using the EC2 Transit Gateway Route Table identifier, an underscore, and the EC2 Transit Gateway Attachment identifier, e.g.,

```sh

$ pulumi import aws:ec2transitgateway/routeTableAssociation:RouteTableAssociation example tgw-rtb-12345678_tgw-attach-87654321

```

func GetRouteTableAssociation

func GetRouteTableAssociation(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *RouteTableAssociationState, opts ...pulumi.ResourceOption) (*RouteTableAssociation, error)

GetRouteTableAssociation gets an existing RouteTableAssociation resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewRouteTableAssociation

func NewRouteTableAssociation(ctx *pulumi.Context,
	name string, args *RouteTableAssociationArgs, opts ...pulumi.ResourceOption) (*RouteTableAssociation, error)

NewRouteTableAssociation registers a new resource with the given unique name, arguments, and options.

func (*RouteTableAssociation) ElementType

func (*RouteTableAssociation) ElementType() reflect.Type

func (*RouteTableAssociation) ToRouteTableAssociationOutput

func (i *RouteTableAssociation) ToRouteTableAssociationOutput() RouteTableAssociationOutput

func (*RouteTableAssociation) ToRouteTableAssociationOutputWithContext

func (i *RouteTableAssociation) ToRouteTableAssociationOutputWithContext(ctx context.Context) RouteTableAssociationOutput

type RouteTableAssociationArgs

type RouteTableAssociationArgs struct {
	// Identifier of EC2 Transit Gateway Attachment.
	TransitGatewayAttachmentId pulumi.StringInput
	// Identifier of EC2 Transit Gateway Route Table.
	TransitGatewayRouteTableId pulumi.StringInput
}

The set of arguments for constructing a RouteTableAssociation resource.

func (RouteTableAssociationArgs) ElementType

func (RouteTableAssociationArgs) ElementType() reflect.Type

type RouteTableAssociationArray

type RouteTableAssociationArray []RouteTableAssociationInput

func (RouteTableAssociationArray) ElementType

func (RouteTableAssociationArray) ElementType() reflect.Type

func (RouteTableAssociationArray) ToRouteTableAssociationArrayOutput

func (i RouteTableAssociationArray) ToRouteTableAssociationArrayOutput() RouteTableAssociationArrayOutput

func (RouteTableAssociationArray) ToRouteTableAssociationArrayOutputWithContext

func (i RouteTableAssociationArray) ToRouteTableAssociationArrayOutputWithContext(ctx context.Context) RouteTableAssociationArrayOutput

type RouteTableAssociationArrayInput

type RouteTableAssociationArrayInput interface {
	pulumi.Input

	ToRouteTableAssociationArrayOutput() RouteTableAssociationArrayOutput
	ToRouteTableAssociationArrayOutputWithContext(context.Context) RouteTableAssociationArrayOutput
}

RouteTableAssociationArrayInput is an input type that accepts RouteTableAssociationArray and RouteTableAssociationArrayOutput values. You can construct a concrete instance of `RouteTableAssociationArrayInput` via:

RouteTableAssociationArray{ RouteTableAssociationArgs{...} }

type RouteTableAssociationArrayOutput

type RouteTableAssociationArrayOutput struct{ *pulumi.OutputState }

func (RouteTableAssociationArrayOutput) ElementType

func (RouteTableAssociationArrayOutput) Index

func (RouteTableAssociationArrayOutput) ToRouteTableAssociationArrayOutput

func (o RouteTableAssociationArrayOutput) ToRouteTableAssociationArrayOutput() RouteTableAssociationArrayOutput

func (RouteTableAssociationArrayOutput) ToRouteTableAssociationArrayOutputWithContext

func (o RouteTableAssociationArrayOutput) ToRouteTableAssociationArrayOutputWithContext(ctx context.Context) RouteTableAssociationArrayOutput

type RouteTableAssociationInput

type RouteTableAssociationInput interface {
	pulumi.Input

	ToRouteTableAssociationOutput() RouteTableAssociationOutput
	ToRouteTableAssociationOutputWithContext(ctx context.Context) RouteTableAssociationOutput
}

type RouteTableAssociationMap

type RouteTableAssociationMap map[string]RouteTableAssociationInput

func (RouteTableAssociationMap) ElementType

func (RouteTableAssociationMap) ElementType() reflect.Type

func (RouteTableAssociationMap) ToRouteTableAssociationMapOutput

func (i RouteTableAssociationMap) ToRouteTableAssociationMapOutput() RouteTableAssociationMapOutput

func (RouteTableAssociationMap) ToRouteTableAssociationMapOutputWithContext

func (i RouteTableAssociationMap) ToRouteTableAssociationMapOutputWithContext(ctx context.Context) RouteTableAssociationMapOutput

type RouteTableAssociationMapInput

type RouteTableAssociationMapInput interface {
	pulumi.Input

	ToRouteTableAssociationMapOutput() RouteTableAssociationMapOutput
	ToRouteTableAssociationMapOutputWithContext(context.Context) RouteTableAssociationMapOutput
}

RouteTableAssociationMapInput is an input type that accepts RouteTableAssociationMap and RouteTableAssociationMapOutput values. You can construct a concrete instance of `RouteTableAssociationMapInput` via:

RouteTableAssociationMap{ "key": RouteTableAssociationArgs{...} }

type RouteTableAssociationMapOutput

type RouteTableAssociationMapOutput struct{ *pulumi.OutputState }

func (RouteTableAssociationMapOutput) ElementType

func (RouteTableAssociationMapOutput) MapIndex

func (RouteTableAssociationMapOutput) ToRouteTableAssociationMapOutput

func (o RouteTableAssociationMapOutput) ToRouteTableAssociationMapOutput() RouteTableAssociationMapOutput

func (RouteTableAssociationMapOutput) ToRouteTableAssociationMapOutputWithContext

func (o RouteTableAssociationMapOutput) ToRouteTableAssociationMapOutputWithContext(ctx context.Context) RouteTableAssociationMapOutput

type RouteTableAssociationOutput

type RouteTableAssociationOutput struct{ *pulumi.OutputState }

func (RouteTableAssociationOutput) ElementType

func (RouteTableAssociationOutput) ToRouteTableAssociationOutput

func (o RouteTableAssociationOutput) ToRouteTableAssociationOutput() RouteTableAssociationOutput

func (RouteTableAssociationOutput) ToRouteTableAssociationOutputWithContext

func (o RouteTableAssociationOutput) ToRouteTableAssociationOutputWithContext(ctx context.Context) RouteTableAssociationOutput

type RouteTableAssociationState

type RouteTableAssociationState struct {
	// Identifier of the resource
	ResourceId pulumi.StringPtrInput
	// Type of the resource
	ResourceType pulumi.StringPtrInput
	// Identifier of EC2 Transit Gateway Attachment.
	TransitGatewayAttachmentId pulumi.StringPtrInput
	// Identifier of EC2 Transit Gateway Route Table.
	TransitGatewayRouteTableId pulumi.StringPtrInput
}

func (RouteTableAssociationState) ElementType

func (RouteTableAssociationState) ElementType() reflect.Type

type RouteTableInput

type RouteTableInput interface {
	pulumi.Input

	ToRouteTableOutput() RouteTableOutput
	ToRouteTableOutputWithContext(ctx context.Context) RouteTableOutput
}

type RouteTableMap

type RouteTableMap map[string]RouteTableInput

func (RouteTableMap) ElementType

func (RouteTableMap) ElementType() reflect.Type

func (RouteTableMap) ToRouteTableMapOutput

func (i RouteTableMap) ToRouteTableMapOutput() RouteTableMapOutput

func (RouteTableMap) ToRouteTableMapOutputWithContext

func (i RouteTableMap) ToRouteTableMapOutputWithContext(ctx context.Context) RouteTableMapOutput

type RouteTableMapInput

type RouteTableMapInput interface {
	pulumi.Input

	ToRouteTableMapOutput() RouteTableMapOutput
	ToRouteTableMapOutputWithContext(context.Context) RouteTableMapOutput
}

RouteTableMapInput is an input type that accepts RouteTableMap and RouteTableMapOutput values. You can construct a concrete instance of `RouteTableMapInput` via:

RouteTableMap{ "key": RouteTableArgs{...} }

type RouteTableMapOutput

type RouteTableMapOutput struct{ *pulumi.OutputState }

func (RouteTableMapOutput) ElementType

func (RouteTableMapOutput) ElementType() reflect.Type

func (RouteTableMapOutput) MapIndex

func (RouteTableMapOutput) ToRouteTableMapOutput

func (o RouteTableMapOutput) ToRouteTableMapOutput() RouteTableMapOutput

func (RouteTableMapOutput) ToRouteTableMapOutputWithContext

func (o RouteTableMapOutput) ToRouteTableMapOutputWithContext(ctx context.Context) RouteTableMapOutput

type RouteTableOutput

type RouteTableOutput struct{ *pulumi.OutputState }

func (RouteTableOutput) ElementType

func (RouteTableOutput) ElementType() reflect.Type

func (RouteTableOutput) ToRouteTableOutput

func (o RouteTableOutput) ToRouteTableOutput() RouteTableOutput

func (RouteTableOutput) ToRouteTableOutputWithContext

func (o RouteTableOutput) ToRouteTableOutputWithContext(ctx context.Context) RouteTableOutput

type RouteTablePropagation

type RouteTablePropagation struct {
	pulumi.CustomResourceState

	// Identifier of the resource
	ResourceId pulumi.StringOutput `pulumi:"resourceId"`
	// Type of the resource
	ResourceType pulumi.StringOutput `pulumi:"resourceType"`
	// Identifier of EC2 Transit Gateway Attachment.
	TransitGatewayAttachmentId pulumi.StringOutput `pulumi:"transitGatewayAttachmentId"`
	// Identifier of EC2 Transit Gateway Route Table.
	TransitGatewayRouteTableId pulumi.StringOutput `pulumi:"transitGatewayRouteTableId"`
}

Manages an EC2 Transit Gateway Route Table propagation.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v4/go/aws/ec2transitgateway"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := ec2transitgateway.NewRouteTablePropagation(ctx, "example", &ec2transitgateway.RouteTablePropagationArgs{
			TransitGatewayAttachmentId: pulumi.Any(aws_ec2_transit_gateway_vpc_attachment.Example.Id),
			TransitGatewayRouteTableId: pulumi.Any(aws_ec2_transit_gateway_route_table.Example.Id),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

`aws_ec2_transit_gateway_route_table_propagation` can be imported by using the EC2 Transit Gateway Route Table identifier, an underscore, and the EC2 Transit Gateway Attachment identifier, e.g.,

```sh

$ pulumi import aws:ec2transitgateway/routeTablePropagation:RouteTablePropagation example tgw-rtb-12345678_tgw-attach-87654321

```

func GetRouteTablePropagation

func GetRouteTablePropagation(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *RouteTablePropagationState, opts ...pulumi.ResourceOption) (*RouteTablePropagation, error)

GetRouteTablePropagation gets an existing RouteTablePropagation resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewRouteTablePropagation

func NewRouteTablePropagation(ctx *pulumi.Context,
	name string, args *RouteTablePropagationArgs, opts ...pulumi.ResourceOption) (*RouteTablePropagation, error)

NewRouteTablePropagation registers a new resource with the given unique name, arguments, and options.

func (*RouteTablePropagation) ElementType

func (*RouteTablePropagation) ElementType() reflect.Type

func (*RouteTablePropagation) ToRouteTablePropagationOutput

func (i *RouteTablePropagation) ToRouteTablePropagationOutput() RouteTablePropagationOutput

func (*RouteTablePropagation) ToRouteTablePropagationOutputWithContext

func (i *RouteTablePropagation) ToRouteTablePropagationOutputWithContext(ctx context.Context) RouteTablePropagationOutput

type RouteTablePropagationArgs

type RouteTablePropagationArgs struct {
	// Identifier of EC2 Transit Gateway Attachment.
	TransitGatewayAttachmentId pulumi.StringInput
	// Identifier of EC2 Transit Gateway Route Table.
	TransitGatewayRouteTableId pulumi.StringInput
}

The set of arguments for constructing a RouteTablePropagation resource.

func (RouteTablePropagationArgs) ElementType

func (RouteTablePropagationArgs) ElementType() reflect.Type

type RouteTablePropagationArray

type RouteTablePropagationArray []RouteTablePropagationInput

func (RouteTablePropagationArray) ElementType

func (RouteTablePropagationArray) ElementType() reflect.Type

func (RouteTablePropagationArray) ToRouteTablePropagationArrayOutput

func (i RouteTablePropagationArray) ToRouteTablePropagationArrayOutput() RouteTablePropagationArrayOutput

func (RouteTablePropagationArray) ToRouteTablePropagationArrayOutputWithContext

func (i RouteTablePropagationArray) ToRouteTablePropagationArrayOutputWithContext(ctx context.Context) RouteTablePropagationArrayOutput

type RouteTablePropagationArrayInput

type RouteTablePropagationArrayInput interface {
	pulumi.Input

	ToRouteTablePropagationArrayOutput() RouteTablePropagationArrayOutput
	ToRouteTablePropagationArrayOutputWithContext(context.Context) RouteTablePropagationArrayOutput
}

RouteTablePropagationArrayInput is an input type that accepts RouteTablePropagationArray and RouteTablePropagationArrayOutput values. You can construct a concrete instance of `RouteTablePropagationArrayInput` via:

RouteTablePropagationArray{ RouteTablePropagationArgs{...} }

type RouteTablePropagationArrayOutput

type RouteTablePropagationArrayOutput struct{ *pulumi.OutputState }

func (RouteTablePropagationArrayOutput) ElementType

func (RouteTablePropagationArrayOutput) Index

func (RouteTablePropagationArrayOutput) ToRouteTablePropagationArrayOutput

func (o RouteTablePropagationArrayOutput) ToRouteTablePropagationArrayOutput() RouteTablePropagationArrayOutput

func (RouteTablePropagationArrayOutput) ToRouteTablePropagationArrayOutputWithContext

func (o RouteTablePropagationArrayOutput) ToRouteTablePropagationArrayOutputWithContext(ctx context.Context) RouteTablePropagationArrayOutput

type RouteTablePropagationInput

type RouteTablePropagationInput interface {
	pulumi.Input

	ToRouteTablePropagationOutput() RouteTablePropagationOutput
	ToRouteTablePropagationOutputWithContext(ctx context.Context) RouteTablePropagationOutput
}

type RouteTablePropagationMap

type RouteTablePropagationMap map[string]RouteTablePropagationInput

func (RouteTablePropagationMap) ElementType

func (RouteTablePropagationMap) ElementType() reflect.Type

func (RouteTablePropagationMap) ToRouteTablePropagationMapOutput

func (i RouteTablePropagationMap) ToRouteTablePropagationMapOutput() RouteTablePropagationMapOutput

func (RouteTablePropagationMap) ToRouteTablePropagationMapOutputWithContext

func (i RouteTablePropagationMap) ToRouteTablePropagationMapOutputWithContext(ctx context.Context) RouteTablePropagationMapOutput

type RouteTablePropagationMapInput

type RouteTablePropagationMapInput interface {
	pulumi.Input

	ToRouteTablePropagationMapOutput() RouteTablePropagationMapOutput
	ToRouteTablePropagationMapOutputWithContext(context.Context) RouteTablePropagationMapOutput
}

RouteTablePropagationMapInput is an input type that accepts RouteTablePropagationMap and RouteTablePropagationMapOutput values. You can construct a concrete instance of `RouteTablePropagationMapInput` via:

RouteTablePropagationMap{ "key": RouteTablePropagationArgs{...} }

type RouteTablePropagationMapOutput

type RouteTablePropagationMapOutput struct{ *pulumi.OutputState }

func (RouteTablePropagationMapOutput) ElementType

func (RouteTablePropagationMapOutput) MapIndex

func (RouteTablePropagationMapOutput) ToRouteTablePropagationMapOutput

func (o RouteTablePropagationMapOutput) ToRouteTablePropagationMapOutput() RouteTablePropagationMapOutput

func (RouteTablePropagationMapOutput) ToRouteTablePropagationMapOutputWithContext

func (o RouteTablePropagationMapOutput) ToRouteTablePropagationMapOutputWithContext(ctx context.Context) RouteTablePropagationMapOutput

type RouteTablePropagationOutput

type RouteTablePropagationOutput struct{ *pulumi.OutputState }

func (RouteTablePropagationOutput) ElementType

func (RouteTablePropagationOutput) ToRouteTablePropagationOutput

func (o RouteTablePropagationOutput) ToRouteTablePropagationOutput() RouteTablePropagationOutput

func (RouteTablePropagationOutput) ToRouteTablePropagationOutputWithContext

func (o RouteTablePropagationOutput) ToRouteTablePropagationOutputWithContext(ctx context.Context) RouteTablePropagationOutput

type RouteTablePropagationState

type RouteTablePropagationState struct {
	// Identifier of the resource
	ResourceId pulumi.StringPtrInput
	// Type of the resource
	ResourceType pulumi.StringPtrInput
	// Identifier of EC2 Transit Gateway Attachment.
	TransitGatewayAttachmentId pulumi.StringPtrInput
	// Identifier of EC2 Transit Gateway Route Table.
	TransitGatewayRouteTableId pulumi.StringPtrInput
}

func (RouteTablePropagationState) ElementType

func (RouteTablePropagationState) ElementType() reflect.Type

type RouteTableState

type RouteTableState struct {
	// EC2 Transit Gateway Route Table Amazon Resource Name (ARN).
	Arn pulumi.StringPtrInput
	// Boolean whether this is the default association route table for the EC2 Transit Gateway.
	DefaultAssociationRouteTable pulumi.BoolPtrInput
	// Boolean whether this is the default propagation route table for the EC2 Transit Gateway.
	DefaultPropagationRouteTable pulumi.BoolPtrInput
	// Key-value tags for the EC2 Transit Gateway Route Table. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapInput
	// A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
	TagsAll pulumi.StringMapInput
	// Identifier of EC2 Transit Gateway.
	TransitGatewayId pulumi.StringPtrInput
}

func (RouteTableState) ElementType

func (RouteTableState) ElementType() reflect.Type

type TransitGateway

type TransitGateway struct {
	pulumi.CustomResourceState

	// Private Autonomous System Number (ASN) for the Amazon side of a BGP session. The range is `64512` to `65534` for 16-bit ASNs and `4200000000` to `4294967294` for 32-bit ASNs. Default value: `64512`.
	AmazonSideAsn pulumi.IntPtrOutput `pulumi:"amazonSideAsn"`
	// EC2 Transit Gateway Amazon Resource Name (ARN)
	Arn pulumi.StringOutput `pulumi:"arn"`
	// Identifier of the default association route table
	AssociationDefaultRouteTableId pulumi.StringOutput `pulumi:"associationDefaultRouteTableId"`
	// Whether resource attachment requests are automatically accepted. Valid values: `disable`, `enable`. Default value: `disable`.
	AutoAcceptSharedAttachments pulumi.StringPtrOutput `pulumi:"autoAcceptSharedAttachments"`
	// Whether resource attachments are automatically associated with the default association route table. Valid values: `disable`, `enable`. Default value: `enable`.
	DefaultRouteTableAssociation pulumi.StringPtrOutput `pulumi:"defaultRouteTableAssociation"`
	// Whether resource attachments automatically propagate routes to the default propagation route table. Valid values: `disable`, `enable`. Default value: `enable`.
	DefaultRouteTablePropagation pulumi.StringPtrOutput `pulumi:"defaultRouteTablePropagation"`
	// Description of the EC2 Transit Gateway.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// Whether DNS support is enabled. Valid values: `disable`, `enable`. Default value: `enable`.
	DnsSupport pulumi.StringPtrOutput `pulumi:"dnsSupport"`
	// Identifier of the AWS account that owns the EC2 Transit Gateway
	OwnerId pulumi.StringOutput `pulumi:"ownerId"`
	// Identifier of the default propagation route table
	PropagationDefaultRouteTableId pulumi.StringOutput `pulumi:"propagationDefaultRouteTableId"`
	// Key-value tags for the EC2 Transit Gateway. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapOutput `pulumi:"tags"`
	// A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
	TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"`
	// Whether VPN Equal Cost Multipath Protocol support is enabled. Valid values: `disable`, `enable`. Default value: `enable`.
	VpnEcmpSupport pulumi.StringPtrOutput `pulumi:"vpnEcmpSupport"`
}

Manages an EC2 Transit Gateway.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v4/go/aws/ec2transitgateway"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := ec2transitgateway.NewTransitGateway(ctx, "example", &ec2transitgateway.TransitGatewayArgs{
			Description: pulumi.String("example"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

`aws_ec2_transit_gateway` can be imported by using the EC2 Transit Gateway identifier, e.g.,

```sh

$ pulumi import aws:ec2transitgateway/transitGateway:TransitGateway example tgw-12345678

```

func GetTransitGateway

func GetTransitGateway(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *TransitGatewayState, opts ...pulumi.ResourceOption) (*TransitGateway, error)

GetTransitGateway gets an existing TransitGateway resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewTransitGateway

func NewTransitGateway(ctx *pulumi.Context,
	name string, args *TransitGatewayArgs, opts ...pulumi.ResourceOption) (*TransitGateway, error)

NewTransitGateway registers a new resource with the given unique name, arguments, and options.

func (*TransitGateway) ElementType

func (*TransitGateway) ElementType() reflect.Type

func (*TransitGateway) ToTransitGatewayOutput

func (i *TransitGateway) ToTransitGatewayOutput() TransitGatewayOutput

func (*TransitGateway) ToTransitGatewayOutputWithContext

func (i *TransitGateway) ToTransitGatewayOutputWithContext(ctx context.Context) TransitGatewayOutput

type TransitGatewayArgs

type TransitGatewayArgs struct {
	// Private Autonomous System Number (ASN) for the Amazon side of a BGP session. The range is `64512` to `65534` for 16-bit ASNs and `4200000000` to `4294967294` for 32-bit ASNs. Default value: `64512`.
	AmazonSideAsn pulumi.IntPtrInput
	// Whether resource attachment requests are automatically accepted. Valid values: `disable`, `enable`. Default value: `disable`.
	AutoAcceptSharedAttachments pulumi.StringPtrInput
	// Whether resource attachments are automatically associated with the default association route table. Valid values: `disable`, `enable`. Default value: `enable`.
	DefaultRouteTableAssociation pulumi.StringPtrInput
	// Whether resource attachments automatically propagate routes to the default propagation route table. Valid values: `disable`, `enable`. Default value: `enable`.
	DefaultRouteTablePropagation pulumi.StringPtrInput
	// Description of the EC2 Transit Gateway.
	Description pulumi.StringPtrInput
	// Whether DNS support is enabled. Valid values: `disable`, `enable`. Default value: `enable`.
	DnsSupport pulumi.StringPtrInput
	// Key-value tags for the EC2 Transit Gateway. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapInput
	// Whether VPN Equal Cost Multipath Protocol support is enabled. Valid values: `disable`, `enable`. Default value: `enable`.
	VpnEcmpSupport pulumi.StringPtrInput
}

The set of arguments for constructing a TransitGateway resource.

func (TransitGatewayArgs) ElementType

func (TransitGatewayArgs) ElementType() reflect.Type

type TransitGatewayArray

type TransitGatewayArray []TransitGatewayInput

func (TransitGatewayArray) ElementType

func (TransitGatewayArray) ElementType() reflect.Type

func (TransitGatewayArray) ToTransitGatewayArrayOutput

func (i TransitGatewayArray) ToTransitGatewayArrayOutput() TransitGatewayArrayOutput

func (TransitGatewayArray) ToTransitGatewayArrayOutputWithContext

func (i TransitGatewayArray) ToTransitGatewayArrayOutputWithContext(ctx context.Context) TransitGatewayArrayOutput

type TransitGatewayArrayInput

type TransitGatewayArrayInput interface {
	pulumi.Input

	ToTransitGatewayArrayOutput() TransitGatewayArrayOutput
	ToTransitGatewayArrayOutputWithContext(context.Context) TransitGatewayArrayOutput
}

TransitGatewayArrayInput is an input type that accepts TransitGatewayArray and TransitGatewayArrayOutput values. You can construct a concrete instance of `TransitGatewayArrayInput` via:

TransitGatewayArray{ TransitGatewayArgs{...} }

type TransitGatewayArrayOutput

type TransitGatewayArrayOutput struct{ *pulumi.OutputState }

func (TransitGatewayArrayOutput) ElementType

func (TransitGatewayArrayOutput) ElementType() reflect.Type

func (TransitGatewayArrayOutput) Index

func (TransitGatewayArrayOutput) ToTransitGatewayArrayOutput

func (o TransitGatewayArrayOutput) ToTransitGatewayArrayOutput() TransitGatewayArrayOutput

func (TransitGatewayArrayOutput) ToTransitGatewayArrayOutputWithContext

func (o TransitGatewayArrayOutput) ToTransitGatewayArrayOutputWithContext(ctx context.Context) TransitGatewayArrayOutput

type TransitGatewayInput

type TransitGatewayInput interface {
	pulumi.Input

	ToTransitGatewayOutput() TransitGatewayOutput
	ToTransitGatewayOutputWithContext(ctx context.Context) TransitGatewayOutput
}

type TransitGatewayMap

type TransitGatewayMap map[string]TransitGatewayInput

func (TransitGatewayMap) ElementType

func (TransitGatewayMap) ElementType() reflect.Type

func (TransitGatewayMap) ToTransitGatewayMapOutput

func (i TransitGatewayMap) ToTransitGatewayMapOutput() TransitGatewayMapOutput

func (TransitGatewayMap) ToTransitGatewayMapOutputWithContext

func (i TransitGatewayMap) ToTransitGatewayMapOutputWithContext(ctx context.Context) TransitGatewayMapOutput

type TransitGatewayMapInput

type TransitGatewayMapInput interface {
	pulumi.Input

	ToTransitGatewayMapOutput() TransitGatewayMapOutput
	ToTransitGatewayMapOutputWithContext(context.Context) TransitGatewayMapOutput
}

TransitGatewayMapInput is an input type that accepts TransitGatewayMap and TransitGatewayMapOutput values. You can construct a concrete instance of `TransitGatewayMapInput` via:

TransitGatewayMap{ "key": TransitGatewayArgs{...} }

type TransitGatewayMapOutput

type TransitGatewayMapOutput struct{ *pulumi.OutputState }

func (TransitGatewayMapOutput) ElementType

func (TransitGatewayMapOutput) ElementType() reflect.Type

func (TransitGatewayMapOutput) MapIndex

func (TransitGatewayMapOutput) ToTransitGatewayMapOutput

func (o TransitGatewayMapOutput) ToTransitGatewayMapOutput() TransitGatewayMapOutput

func (TransitGatewayMapOutput) ToTransitGatewayMapOutputWithContext

func (o TransitGatewayMapOutput) ToTransitGatewayMapOutputWithContext(ctx context.Context) TransitGatewayMapOutput

type TransitGatewayOutput

type TransitGatewayOutput struct{ *pulumi.OutputState }

func (TransitGatewayOutput) ElementType

func (TransitGatewayOutput) ElementType() reflect.Type

func (TransitGatewayOutput) ToTransitGatewayOutput

func (o TransitGatewayOutput) ToTransitGatewayOutput() TransitGatewayOutput

func (TransitGatewayOutput) ToTransitGatewayOutputWithContext

func (o TransitGatewayOutput) ToTransitGatewayOutputWithContext(ctx context.Context) TransitGatewayOutput

type TransitGatewayState

type TransitGatewayState struct {
	// Private Autonomous System Number (ASN) for the Amazon side of a BGP session. The range is `64512` to `65534` for 16-bit ASNs and `4200000000` to `4294967294` for 32-bit ASNs. Default value: `64512`.
	AmazonSideAsn pulumi.IntPtrInput
	// EC2 Transit Gateway Amazon Resource Name (ARN)
	Arn pulumi.StringPtrInput
	// Identifier of the default association route table
	AssociationDefaultRouteTableId pulumi.StringPtrInput
	// Whether resource attachment requests are automatically accepted. Valid values: `disable`, `enable`. Default value: `disable`.
	AutoAcceptSharedAttachments pulumi.StringPtrInput
	// Whether resource attachments are automatically associated with the default association route table. Valid values: `disable`, `enable`. Default value: `enable`.
	DefaultRouteTableAssociation pulumi.StringPtrInput
	// Whether resource attachments automatically propagate routes to the default propagation route table. Valid values: `disable`, `enable`. Default value: `enable`.
	DefaultRouteTablePropagation pulumi.StringPtrInput
	// Description of the EC2 Transit Gateway.
	Description pulumi.StringPtrInput
	// Whether DNS support is enabled. Valid values: `disable`, `enable`. Default value: `enable`.
	DnsSupport pulumi.StringPtrInput
	// Identifier of the AWS account that owns the EC2 Transit Gateway
	OwnerId pulumi.StringPtrInput
	// Identifier of the default propagation route table
	PropagationDefaultRouteTableId pulumi.StringPtrInput
	// Key-value tags for the EC2 Transit Gateway. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapInput
	// A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
	TagsAll pulumi.StringMapInput
	// Whether VPN Equal Cost Multipath Protocol support is enabled. Valid values: `disable`, `enable`. Default value: `enable`.
	VpnEcmpSupport pulumi.StringPtrInput
}

func (TransitGatewayState) ElementType

func (TransitGatewayState) ElementType() reflect.Type

type VpcAttachment

type VpcAttachment struct {
	pulumi.CustomResourceState

	// Whether Appliance Mode support is enabled. If enabled, a traffic flow between a source and destination uses the same Availability Zone for the VPC attachment for the lifetime of that flow. Valid values: `disable`, `enable`. Default value: `disable`.
	ApplianceModeSupport pulumi.StringPtrOutput `pulumi:"applianceModeSupport"`
	// Whether DNS support is enabled. Valid values: `disable`, `enable`. Default value: `enable`.
	DnsSupport pulumi.StringPtrOutput `pulumi:"dnsSupport"`
	// Whether IPv6 support is enabled. Valid values: `disable`, `enable`. Default value: `disable`.
	Ipv6Support pulumi.StringPtrOutput `pulumi:"ipv6Support"`
	// Identifiers of EC2 Subnets.
	SubnetIds pulumi.StringArrayOutput `pulumi:"subnetIds"`
	// Key-value tags for the EC2 Transit Gateway VPC Attachment. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapOutput `pulumi:"tags"`
	// A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
	TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"`
	// Boolean whether the VPC Attachment should be associated with the EC2 Transit Gateway association default route table. This cannot be configured or perform drift detection with Resource Access Manager shared EC2 Transit Gateways. Default value: `true`.
	TransitGatewayDefaultRouteTableAssociation pulumi.BoolPtrOutput `pulumi:"transitGatewayDefaultRouteTableAssociation"`
	// Boolean whether the VPC Attachment should propagate routes with the EC2 Transit Gateway propagation default route table. This cannot be configured or perform drift detection with Resource Access Manager shared EC2 Transit Gateways. Default value: `true`.
	TransitGatewayDefaultRouteTablePropagation pulumi.BoolPtrOutput `pulumi:"transitGatewayDefaultRouteTablePropagation"`
	// Identifier of EC2 Transit Gateway.
	TransitGatewayId pulumi.StringOutput `pulumi:"transitGatewayId"`
	// Identifier of EC2 VPC.
	VpcId pulumi.StringOutput `pulumi:"vpcId"`
	// Identifier of the AWS account that owns the EC2 VPC.
	VpcOwnerId pulumi.StringOutput `pulumi:"vpcOwnerId"`
}

Manages an EC2 Transit Gateway VPC Attachment. For examples of custom route table association and propagation, see the EC2 Transit Gateway Networking Examples Guide.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v4/go/aws/ec2transitgateway"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := ec2transitgateway.NewVpcAttachment(ctx, "example", &ec2transitgateway.VpcAttachmentArgs{
			SubnetIds: pulumi.StringArray{
				pulumi.Any(aws_subnet.Example.Id),
			},
			TransitGatewayId: pulumi.Any(aws_ec2_transit_gateway.Example.Id),
			VpcId:            pulumi.Any(aws_vpc.Example.Id),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

`aws_ec2_transit_gateway_vpc_attachment` can be imported by using the EC2 Transit Gateway Attachment identifier, e.g.,

```sh

$ pulumi import aws:ec2transitgateway/vpcAttachment:VpcAttachment example tgw-attach-12345678

```

func GetVpcAttachment

func GetVpcAttachment(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *VpcAttachmentState, opts ...pulumi.ResourceOption) (*VpcAttachment, error)

GetVpcAttachment gets an existing VpcAttachment resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewVpcAttachment

func NewVpcAttachment(ctx *pulumi.Context,
	name string, args *VpcAttachmentArgs, opts ...pulumi.ResourceOption) (*VpcAttachment, error)

NewVpcAttachment registers a new resource with the given unique name, arguments, and options.

func (*VpcAttachment) ElementType

func (*VpcAttachment) ElementType() reflect.Type

func (*VpcAttachment) ToVpcAttachmentOutput

func (i *VpcAttachment) ToVpcAttachmentOutput() VpcAttachmentOutput

func (*VpcAttachment) ToVpcAttachmentOutputWithContext

func (i *VpcAttachment) ToVpcAttachmentOutputWithContext(ctx context.Context) VpcAttachmentOutput

type VpcAttachmentAccepter

type VpcAttachmentAccepter struct {
	pulumi.CustomResourceState

	// Whether Appliance Mode support is enabled. Valid values: `disable`, `enable`.
	ApplianceModeSupport pulumi.StringOutput `pulumi:"applianceModeSupport"`
	// Whether DNS support is enabled. Valid values: `disable`, `enable`.
	DnsSupport pulumi.StringOutput `pulumi:"dnsSupport"`
	// Whether IPv6 support is enabled. Valid values: `disable`, `enable`.
	Ipv6Support pulumi.StringOutput `pulumi:"ipv6Support"`
	// Identifiers of EC2 Subnets.
	SubnetIds pulumi.StringArrayOutput `pulumi:"subnetIds"`
	// Key-value tags for the EC2 Transit Gateway VPC Attachment. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapOutput `pulumi:"tags"`
	// A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
	TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"`
	// The ID of the EC2 Transit Gateway Attachment to manage.
	TransitGatewayAttachmentId pulumi.StringOutput `pulumi:"transitGatewayAttachmentId"`
	// Boolean whether the VPC Attachment should be associated with the EC2 Transit Gateway association default route table. Default value: `true`.
	TransitGatewayDefaultRouteTableAssociation pulumi.BoolPtrOutput `pulumi:"transitGatewayDefaultRouteTableAssociation"`
	// Boolean whether the VPC Attachment should propagate routes with the EC2 Transit Gateway propagation default route table. Default value: `true`.
	TransitGatewayDefaultRouteTablePropagation pulumi.BoolPtrOutput `pulumi:"transitGatewayDefaultRouteTablePropagation"`
	// Identifier of EC2 Transit Gateway.
	TransitGatewayId pulumi.StringOutput `pulumi:"transitGatewayId"`
	// Identifier of EC2 VPC.
	VpcId pulumi.StringOutput `pulumi:"vpcId"`
	// Identifier of the AWS account that owns the EC2 VPC.
	VpcOwnerId pulumi.StringOutput `pulumi:"vpcOwnerId"`
}

Manages the accepter's side of an EC2 Transit Gateway VPC Attachment.

When a cross-account (requester's AWS account differs from the accepter's AWS account) EC2 Transit Gateway VPC Attachment is created, an EC2 Transit Gateway VPC Attachment resource is automatically created in the accepter's account. The requester can use the `ec2transitgateway.VpcAttachment` resource to manage its side of the connection and the accepter can use the `ec2transitgateway.VpcAttachmentAccepter` resource to "adopt" its side of the connection into management.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v4/go/aws/ec2transitgateway"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := ec2transitgateway.NewVpcAttachmentAccepter(ctx, "example", &ec2transitgateway.VpcAttachmentAccepterArgs{
			TransitGatewayAttachmentId: pulumi.Any(aws_ec2_transit_gateway_vpc_attachment.Example.Id),
			Tags: pulumi.StringMap{
				"Name": pulumi.String("Example cross-account attachment"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

`aws_ec2_transit_gateway_vpc_attachment_accepter` can be imported by using the EC2 Transit Gateway Attachment identifier, e.g.,

```sh

$ pulumi import aws:ec2transitgateway/vpcAttachmentAccepter:VpcAttachmentAccepter example tgw-attach-12345678

```

func GetVpcAttachmentAccepter

func GetVpcAttachmentAccepter(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *VpcAttachmentAccepterState, opts ...pulumi.ResourceOption) (*VpcAttachmentAccepter, error)

GetVpcAttachmentAccepter gets an existing VpcAttachmentAccepter resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewVpcAttachmentAccepter

func NewVpcAttachmentAccepter(ctx *pulumi.Context,
	name string, args *VpcAttachmentAccepterArgs, opts ...pulumi.ResourceOption) (*VpcAttachmentAccepter, error)

NewVpcAttachmentAccepter registers a new resource with the given unique name, arguments, and options.

func (*VpcAttachmentAccepter) ElementType

func (*VpcAttachmentAccepter) ElementType() reflect.Type

func (*VpcAttachmentAccepter) ToVpcAttachmentAccepterOutput

func (i *VpcAttachmentAccepter) ToVpcAttachmentAccepterOutput() VpcAttachmentAccepterOutput

func (*VpcAttachmentAccepter) ToVpcAttachmentAccepterOutputWithContext

func (i *VpcAttachmentAccepter) ToVpcAttachmentAccepterOutputWithContext(ctx context.Context) VpcAttachmentAccepterOutput

type VpcAttachmentAccepterArgs

type VpcAttachmentAccepterArgs struct {
	// Key-value tags for the EC2 Transit Gateway VPC Attachment. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapInput
	// The ID of the EC2 Transit Gateway Attachment to manage.
	TransitGatewayAttachmentId pulumi.StringInput
	// Boolean whether the VPC Attachment should be associated with the EC2 Transit Gateway association default route table. Default value: `true`.
	TransitGatewayDefaultRouteTableAssociation pulumi.BoolPtrInput
	// Boolean whether the VPC Attachment should propagate routes with the EC2 Transit Gateway propagation default route table. Default value: `true`.
	TransitGatewayDefaultRouteTablePropagation pulumi.BoolPtrInput
}

The set of arguments for constructing a VpcAttachmentAccepter resource.

func (VpcAttachmentAccepterArgs) ElementType

func (VpcAttachmentAccepterArgs) ElementType() reflect.Type

type VpcAttachmentAccepterArray

type VpcAttachmentAccepterArray []VpcAttachmentAccepterInput

func (VpcAttachmentAccepterArray) ElementType

func (VpcAttachmentAccepterArray) ElementType() reflect.Type

func (VpcAttachmentAccepterArray) ToVpcAttachmentAccepterArrayOutput

func (i VpcAttachmentAccepterArray) ToVpcAttachmentAccepterArrayOutput() VpcAttachmentAccepterArrayOutput

func (VpcAttachmentAccepterArray) ToVpcAttachmentAccepterArrayOutputWithContext

func (i VpcAttachmentAccepterArray) ToVpcAttachmentAccepterArrayOutputWithContext(ctx context.Context) VpcAttachmentAccepterArrayOutput

type VpcAttachmentAccepterArrayInput

type VpcAttachmentAccepterArrayInput interface {
	pulumi.Input

	ToVpcAttachmentAccepterArrayOutput() VpcAttachmentAccepterArrayOutput
	ToVpcAttachmentAccepterArrayOutputWithContext(context.Context) VpcAttachmentAccepterArrayOutput
}

VpcAttachmentAccepterArrayInput is an input type that accepts VpcAttachmentAccepterArray and VpcAttachmentAccepterArrayOutput values. You can construct a concrete instance of `VpcAttachmentAccepterArrayInput` via:

VpcAttachmentAccepterArray{ VpcAttachmentAccepterArgs{...} }

type VpcAttachmentAccepterArrayOutput

type VpcAttachmentAccepterArrayOutput struct{ *pulumi.OutputState }

func (VpcAttachmentAccepterArrayOutput) ElementType

func (VpcAttachmentAccepterArrayOutput) Index

func (VpcAttachmentAccepterArrayOutput) ToVpcAttachmentAccepterArrayOutput

func (o VpcAttachmentAccepterArrayOutput) ToVpcAttachmentAccepterArrayOutput() VpcAttachmentAccepterArrayOutput

func (VpcAttachmentAccepterArrayOutput) ToVpcAttachmentAccepterArrayOutputWithContext

func (o VpcAttachmentAccepterArrayOutput) ToVpcAttachmentAccepterArrayOutputWithContext(ctx context.Context) VpcAttachmentAccepterArrayOutput

type VpcAttachmentAccepterInput

type VpcAttachmentAccepterInput interface {
	pulumi.Input

	ToVpcAttachmentAccepterOutput() VpcAttachmentAccepterOutput
	ToVpcAttachmentAccepterOutputWithContext(ctx context.Context) VpcAttachmentAccepterOutput
}

type VpcAttachmentAccepterMap

type VpcAttachmentAccepterMap map[string]VpcAttachmentAccepterInput

func (VpcAttachmentAccepterMap) ElementType

func (VpcAttachmentAccepterMap) ElementType() reflect.Type

func (VpcAttachmentAccepterMap) ToVpcAttachmentAccepterMapOutput

func (i VpcAttachmentAccepterMap) ToVpcAttachmentAccepterMapOutput() VpcAttachmentAccepterMapOutput

func (VpcAttachmentAccepterMap) ToVpcAttachmentAccepterMapOutputWithContext

func (i VpcAttachmentAccepterMap) ToVpcAttachmentAccepterMapOutputWithContext(ctx context.Context) VpcAttachmentAccepterMapOutput

type VpcAttachmentAccepterMapInput

type VpcAttachmentAccepterMapInput interface {
	pulumi.Input

	ToVpcAttachmentAccepterMapOutput() VpcAttachmentAccepterMapOutput
	ToVpcAttachmentAccepterMapOutputWithContext(context.Context) VpcAttachmentAccepterMapOutput
}

VpcAttachmentAccepterMapInput is an input type that accepts VpcAttachmentAccepterMap and VpcAttachmentAccepterMapOutput values. You can construct a concrete instance of `VpcAttachmentAccepterMapInput` via:

VpcAttachmentAccepterMap{ "key": VpcAttachmentAccepterArgs{...} }

type VpcAttachmentAccepterMapOutput

type VpcAttachmentAccepterMapOutput struct{ *pulumi.OutputState }

func (VpcAttachmentAccepterMapOutput) ElementType

func (VpcAttachmentAccepterMapOutput) MapIndex

func (VpcAttachmentAccepterMapOutput) ToVpcAttachmentAccepterMapOutput

func (o VpcAttachmentAccepterMapOutput) ToVpcAttachmentAccepterMapOutput() VpcAttachmentAccepterMapOutput

func (VpcAttachmentAccepterMapOutput) ToVpcAttachmentAccepterMapOutputWithContext

func (o VpcAttachmentAccepterMapOutput) ToVpcAttachmentAccepterMapOutputWithContext(ctx context.Context) VpcAttachmentAccepterMapOutput

type VpcAttachmentAccepterOutput

type VpcAttachmentAccepterOutput struct{ *pulumi.OutputState }

func (VpcAttachmentAccepterOutput) ElementType

func (VpcAttachmentAccepterOutput) ToVpcAttachmentAccepterOutput

func (o VpcAttachmentAccepterOutput) ToVpcAttachmentAccepterOutput() VpcAttachmentAccepterOutput

func (VpcAttachmentAccepterOutput) ToVpcAttachmentAccepterOutputWithContext

func (o VpcAttachmentAccepterOutput) ToVpcAttachmentAccepterOutputWithContext(ctx context.Context) VpcAttachmentAccepterOutput

type VpcAttachmentAccepterState

type VpcAttachmentAccepterState struct {
	// Whether Appliance Mode support is enabled. Valid values: `disable`, `enable`.
	ApplianceModeSupport pulumi.StringPtrInput
	// Whether DNS support is enabled. Valid values: `disable`, `enable`.
	DnsSupport pulumi.StringPtrInput
	// Whether IPv6 support is enabled. Valid values: `disable`, `enable`.
	Ipv6Support pulumi.StringPtrInput
	// Identifiers of EC2 Subnets.
	SubnetIds pulumi.StringArrayInput
	// Key-value tags for the EC2 Transit Gateway VPC Attachment. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapInput
	// A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
	TagsAll pulumi.StringMapInput
	// The ID of the EC2 Transit Gateway Attachment to manage.
	TransitGatewayAttachmentId pulumi.StringPtrInput
	// Boolean whether the VPC Attachment should be associated with the EC2 Transit Gateway association default route table. Default value: `true`.
	TransitGatewayDefaultRouteTableAssociation pulumi.BoolPtrInput
	// Boolean whether the VPC Attachment should propagate routes with the EC2 Transit Gateway propagation default route table. Default value: `true`.
	TransitGatewayDefaultRouteTablePropagation pulumi.BoolPtrInput
	// Identifier of EC2 Transit Gateway.
	TransitGatewayId pulumi.StringPtrInput
	// Identifier of EC2 VPC.
	VpcId pulumi.StringPtrInput
	// Identifier of the AWS account that owns the EC2 VPC.
	VpcOwnerId pulumi.StringPtrInput
}

func (VpcAttachmentAccepterState) ElementType

func (VpcAttachmentAccepterState) ElementType() reflect.Type

type VpcAttachmentArgs

type VpcAttachmentArgs struct {
	// Whether Appliance Mode support is enabled. If enabled, a traffic flow between a source and destination uses the same Availability Zone for the VPC attachment for the lifetime of that flow. Valid values: `disable`, `enable`. Default value: `disable`.
	ApplianceModeSupport pulumi.StringPtrInput
	// Whether DNS support is enabled. Valid values: `disable`, `enable`. Default value: `enable`.
	DnsSupport pulumi.StringPtrInput
	// Whether IPv6 support is enabled. Valid values: `disable`, `enable`. Default value: `disable`.
	Ipv6Support pulumi.StringPtrInput
	// Identifiers of EC2 Subnets.
	SubnetIds pulumi.StringArrayInput
	// Key-value tags for the EC2 Transit Gateway VPC Attachment. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapInput
	// Boolean whether the VPC Attachment should be associated with the EC2 Transit Gateway association default route table. This cannot be configured or perform drift detection with Resource Access Manager shared EC2 Transit Gateways. Default value: `true`.
	TransitGatewayDefaultRouteTableAssociation pulumi.BoolPtrInput
	// Boolean whether the VPC Attachment should propagate routes with the EC2 Transit Gateway propagation default route table. This cannot be configured or perform drift detection with Resource Access Manager shared EC2 Transit Gateways. Default value: `true`.
	TransitGatewayDefaultRouteTablePropagation pulumi.BoolPtrInput
	// Identifier of EC2 Transit Gateway.
	TransitGatewayId pulumi.StringInput
	// Identifier of EC2 VPC.
	VpcId pulumi.StringInput
}

The set of arguments for constructing a VpcAttachment resource.

func (VpcAttachmentArgs) ElementType

func (VpcAttachmentArgs) ElementType() reflect.Type

type VpcAttachmentArray

type VpcAttachmentArray []VpcAttachmentInput

func (VpcAttachmentArray) ElementType

func (VpcAttachmentArray) ElementType() reflect.Type

func (VpcAttachmentArray) ToVpcAttachmentArrayOutput

func (i VpcAttachmentArray) ToVpcAttachmentArrayOutput() VpcAttachmentArrayOutput

func (VpcAttachmentArray) ToVpcAttachmentArrayOutputWithContext

func (i VpcAttachmentArray) ToVpcAttachmentArrayOutputWithContext(ctx context.Context) VpcAttachmentArrayOutput

type VpcAttachmentArrayInput

type VpcAttachmentArrayInput interface {
	pulumi.Input

	ToVpcAttachmentArrayOutput() VpcAttachmentArrayOutput
	ToVpcAttachmentArrayOutputWithContext(context.Context) VpcAttachmentArrayOutput
}

VpcAttachmentArrayInput is an input type that accepts VpcAttachmentArray and VpcAttachmentArrayOutput values. You can construct a concrete instance of `VpcAttachmentArrayInput` via:

VpcAttachmentArray{ VpcAttachmentArgs{...} }

type VpcAttachmentArrayOutput

type VpcAttachmentArrayOutput struct{ *pulumi.OutputState }

func (VpcAttachmentArrayOutput) ElementType

func (VpcAttachmentArrayOutput) ElementType() reflect.Type

func (VpcAttachmentArrayOutput) Index

func (VpcAttachmentArrayOutput) ToVpcAttachmentArrayOutput

func (o VpcAttachmentArrayOutput) ToVpcAttachmentArrayOutput() VpcAttachmentArrayOutput

func (VpcAttachmentArrayOutput) ToVpcAttachmentArrayOutputWithContext

func (o VpcAttachmentArrayOutput) ToVpcAttachmentArrayOutputWithContext(ctx context.Context) VpcAttachmentArrayOutput

type VpcAttachmentInput

type VpcAttachmentInput interface {
	pulumi.Input

	ToVpcAttachmentOutput() VpcAttachmentOutput
	ToVpcAttachmentOutputWithContext(ctx context.Context) VpcAttachmentOutput
}

type VpcAttachmentMap

type VpcAttachmentMap map[string]VpcAttachmentInput

func (VpcAttachmentMap) ElementType

func (VpcAttachmentMap) ElementType() reflect.Type

func (VpcAttachmentMap) ToVpcAttachmentMapOutput

func (i VpcAttachmentMap) ToVpcAttachmentMapOutput() VpcAttachmentMapOutput

func (VpcAttachmentMap) ToVpcAttachmentMapOutputWithContext

func (i VpcAttachmentMap) ToVpcAttachmentMapOutputWithContext(ctx context.Context) VpcAttachmentMapOutput

type VpcAttachmentMapInput

type VpcAttachmentMapInput interface {
	pulumi.Input

	ToVpcAttachmentMapOutput() VpcAttachmentMapOutput
	ToVpcAttachmentMapOutputWithContext(context.Context) VpcAttachmentMapOutput
}

VpcAttachmentMapInput is an input type that accepts VpcAttachmentMap and VpcAttachmentMapOutput values. You can construct a concrete instance of `VpcAttachmentMapInput` via:

VpcAttachmentMap{ "key": VpcAttachmentArgs{...} }

type VpcAttachmentMapOutput

type VpcAttachmentMapOutput struct{ *pulumi.OutputState }

func (VpcAttachmentMapOutput) ElementType

func (VpcAttachmentMapOutput) ElementType() reflect.Type

func (VpcAttachmentMapOutput) MapIndex

func (VpcAttachmentMapOutput) ToVpcAttachmentMapOutput

func (o VpcAttachmentMapOutput) ToVpcAttachmentMapOutput() VpcAttachmentMapOutput

func (VpcAttachmentMapOutput) ToVpcAttachmentMapOutputWithContext

func (o VpcAttachmentMapOutput) ToVpcAttachmentMapOutputWithContext(ctx context.Context) VpcAttachmentMapOutput

type VpcAttachmentOutput

type VpcAttachmentOutput struct{ *pulumi.OutputState }

func (VpcAttachmentOutput) ElementType

func (VpcAttachmentOutput) ElementType() reflect.Type

func (VpcAttachmentOutput) ToVpcAttachmentOutput

func (o VpcAttachmentOutput) ToVpcAttachmentOutput() VpcAttachmentOutput

func (VpcAttachmentOutput) ToVpcAttachmentOutputWithContext

func (o VpcAttachmentOutput) ToVpcAttachmentOutputWithContext(ctx context.Context) VpcAttachmentOutput

type VpcAttachmentState

type VpcAttachmentState struct {
	// Whether Appliance Mode support is enabled. If enabled, a traffic flow between a source and destination uses the same Availability Zone for the VPC attachment for the lifetime of that flow. Valid values: `disable`, `enable`. Default value: `disable`.
	ApplianceModeSupport pulumi.StringPtrInput
	// Whether DNS support is enabled. Valid values: `disable`, `enable`. Default value: `enable`.
	DnsSupport pulumi.StringPtrInput
	// Whether IPv6 support is enabled. Valid values: `disable`, `enable`. Default value: `disable`.
	Ipv6Support pulumi.StringPtrInput
	// Identifiers of EC2 Subnets.
	SubnetIds pulumi.StringArrayInput
	// Key-value tags for the EC2 Transit Gateway VPC Attachment. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapInput
	// A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
	TagsAll pulumi.StringMapInput
	// Boolean whether the VPC Attachment should be associated with the EC2 Transit Gateway association default route table. This cannot be configured or perform drift detection with Resource Access Manager shared EC2 Transit Gateways. Default value: `true`.
	TransitGatewayDefaultRouteTableAssociation pulumi.BoolPtrInput
	// Boolean whether the VPC Attachment should propagate routes with the EC2 Transit Gateway propagation default route table. This cannot be configured or perform drift detection with Resource Access Manager shared EC2 Transit Gateways. Default value: `true`.
	TransitGatewayDefaultRouteTablePropagation pulumi.BoolPtrInput
	// Identifier of EC2 Transit Gateway.
	TransitGatewayId pulumi.StringPtrInput
	// Identifier of EC2 VPC.
	VpcId pulumi.StringPtrInput
	// Identifier of the AWS account that owns the EC2 VPC.
	VpcOwnerId pulumi.StringPtrInput
}

func (VpcAttachmentState) ElementType

func (VpcAttachmentState) ElementType() reflect.Type

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL