ec2transitgateway

package
v6.25.0 Latest Latest
Warning

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

Go to latest
Published: Mar 5, 2024 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 Connect

type Connect struct {
	pulumi.CustomResourceState

	// The tunnel protocol. Valid values: `gre`. Default is `gre`.
	Protocol pulumi.StringPtrOutput `pulumi:"protocol"`
	// Key-value tags for the EC2 Transit Gateway Connect. 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.
	//
	// Deprecated: Please use `tags` instead.
	TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"`
	// Boolean whether the Connect 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 Connect 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"`
	// The underlaying VPC attachment
	TransportAttachmentId pulumi.StringOutput `pulumi:"transportAttachmentId"`
}

Manages an EC2 Transit Gateway Connect.

## Example Usage

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := ec2transitgateway.NewVpcAttachment(ctx, "example", &ec2transitgateway.VpcAttachmentArgs{
			SubnetIds: pulumi.StringArray{
				exampleAwsSubnet.Id,
			},
			TransitGatewayId: pulumi.Any(exampleAwsEc2TransitGateway.Id),
			VpcId:            pulumi.Any(exampleAwsVpc.Id),
		})
		if err != nil {
			return err
		}
		_, err = ec2transitgateway.NewConnect(ctx, "attachment", &ec2transitgateway.ConnectArgs{
			TransportAttachmentId: example.ID(),
			TransitGatewayId:      pulumi.Any(exampleAwsEc2TransitGateway.Id),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Using `pulumi import`, import `aws_ec2_transit_gateway_connect` using the EC2 Transit Gateway Connect identifier. For example:

```sh

$ pulumi import aws:ec2transitgateway/connect:Connect example tgw-attach-12345678

```

func GetConnect

func GetConnect(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ConnectState, opts ...pulumi.ResourceOption) (*Connect, error)

GetConnect gets an existing Connect 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 NewConnect

func NewConnect(ctx *pulumi.Context,
	name string, args *ConnectArgs, opts ...pulumi.ResourceOption) (*Connect, error)

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

func (*Connect) ElementType

func (*Connect) ElementType() reflect.Type

func (*Connect) ToConnectOutput

func (i *Connect) ToConnectOutput() ConnectOutput

func (*Connect) ToConnectOutputWithContext

func (i *Connect) ToConnectOutputWithContext(ctx context.Context) ConnectOutput

type ConnectArgs

type ConnectArgs struct {
	// The tunnel protocol. Valid values: `gre`. Default is `gre`.
	Protocol pulumi.StringPtrInput
	// Key-value tags for the EC2 Transit Gateway Connect. 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 Connect 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 Connect 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
	// The underlaying VPC attachment
	TransportAttachmentId pulumi.StringInput
}

The set of arguments for constructing a Connect resource.

func (ConnectArgs) ElementType

func (ConnectArgs) ElementType() reflect.Type

type ConnectArray

type ConnectArray []ConnectInput

func (ConnectArray) ElementType

func (ConnectArray) ElementType() reflect.Type

func (ConnectArray) ToConnectArrayOutput

func (i ConnectArray) ToConnectArrayOutput() ConnectArrayOutput

func (ConnectArray) ToConnectArrayOutputWithContext

func (i ConnectArray) ToConnectArrayOutputWithContext(ctx context.Context) ConnectArrayOutput

type ConnectArrayInput

type ConnectArrayInput interface {
	pulumi.Input

	ToConnectArrayOutput() ConnectArrayOutput
	ToConnectArrayOutputWithContext(context.Context) ConnectArrayOutput
}

ConnectArrayInput is an input type that accepts ConnectArray and ConnectArrayOutput values. You can construct a concrete instance of `ConnectArrayInput` via:

ConnectArray{ ConnectArgs{...} }

type ConnectArrayOutput

type ConnectArrayOutput struct{ *pulumi.OutputState }

func (ConnectArrayOutput) ElementType

func (ConnectArrayOutput) ElementType() reflect.Type

func (ConnectArrayOutput) Index

func (ConnectArrayOutput) ToConnectArrayOutput

func (o ConnectArrayOutput) ToConnectArrayOutput() ConnectArrayOutput

func (ConnectArrayOutput) ToConnectArrayOutputWithContext

func (o ConnectArrayOutput) ToConnectArrayOutputWithContext(ctx context.Context) ConnectArrayOutput

type ConnectInput

type ConnectInput interface {
	pulumi.Input

	ToConnectOutput() ConnectOutput
	ToConnectOutputWithContext(ctx context.Context) ConnectOutput
}

type ConnectMap

type ConnectMap map[string]ConnectInput

func (ConnectMap) ElementType

func (ConnectMap) ElementType() reflect.Type

func (ConnectMap) ToConnectMapOutput

func (i ConnectMap) ToConnectMapOutput() ConnectMapOutput

func (ConnectMap) ToConnectMapOutputWithContext

func (i ConnectMap) ToConnectMapOutputWithContext(ctx context.Context) ConnectMapOutput

type ConnectMapInput

type ConnectMapInput interface {
	pulumi.Input

	ToConnectMapOutput() ConnectMapOutput
	ToConnectMapOutputWithContext(context.Context) ConnectMapOutput
}

ConnectMapInput is an input type that accepts ConnectMap and ConnectMapOutput values. You can construct a concrete instance of `ConnectMapInput` via:

ConnectMap{ "key": ConnectArgs{...} }

type ConnectMapOutput

type ConnectMapOutput struct{ *pulumi.OutputState }

func (ConnectMapOutput) ElementType

func (ConnectMapOutput) ElementType() reflect.Type

func (ConnectMapOutput) MapIndex

func (ConnectMapOutput) ToConnectMapOutput

func (o ConnectMapOutput) ToConnectMapOutput() ConnectMapOutput

func (ConnectMapOutput) ToConnectMapOutputWithContext

func (o ConnectMapOutput) ToConnectMapOutputWithContext(ctx context.Context) ConnectMapOutput

type ConnectOutput

type ConnectOutput struct{ *pulumi.OutputState }

func (ConnectOutput) ElementType

func (ConnectOutput) ElementType() reflect.Type

func (ConnectOutput) Protocol

func (o ConnectOutput) Protocol() pulumi.StringPtrOutput

The tunnel protocol. Valid values: `gre`. Default is `gre`.

func (ConnectOutput) Tags

Key-value tags for the EC2 Transit Gateway Connect. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.

func (ConnectOutput) TagsAll deprecated

func (o ConnectOutput) TagsAll() pulumi.StringMapOutput

A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.

Deprecated: Please use `tags` instead.

func (ConnectOutput) ToConnectOutput

func (o ConnectOutput) ToConnectOutput() ConnectOutput

func (ConnectOutput) ToConnectOutputWithContext

func (o ConnectOutput) ToConnectOutputWithContext(ctx context.Context) ConnectOutput

func (ConnectOutput) TransitGatewayDefaultRouteTableAssociation

func (o ConnectOutput) TransitGatewayDefaultRouteTableAssociation() pulumi.BoolPtrOutput

Boolean whether the Connect 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`.

func (ConnectOutput) TransitGatewayDefaultRouteTablePropagation

func (o ConnectOutput) TransitGatewayDefaultRouteTablePropagation() pulumi.BoolPtrOutput

Boolean whether the Connect 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`.

func (ConnectOutput) TransitGatewayId

func (o ConnectOutput) TransitGatewayId() pulumi.StringOutput

Identifier of EC2 Transit Gateway.

func (ConnectOutput) TransportAttachmentId

func (o ConnectOutput) TransportAttachmentId() pulumi.StringOutput

The underlaying VPC attachment

type ConnectPeer

type ConnectPeer struct {
	pulumi.CustomResourceState

	// EC2 Transit Gateway Connect Peer ARN
	Arn pulumi.StringOutput `pulumi:"arn"`
	// The BGP ASN number assigned customer device. If not provided, it will use the same BGP ASN as is associated with Transit Gateway.
	BgpAsn pulumi.StringOutput `pulumi:"bgpAsn"`
	// The IP address assigned to customer device, which is used as BGP IP address.
	BgpPeerAddress pulumi.StringOutput `pulumi:"bgpPeerAddress"`
	// The IP addresses assigned to Transit Gateway, which are used as BGP IP addresses.
	BgpTransitGatewayAddresses pulumi.StringArrayOutput `pulumi:"bgpTransitGatewayAddresses"`
	// The CIDR block that will be used for addressing within the tunnel. It must contain exactly one IPv4 CIDR block and up to one IPv6 CIDR block. The IPv4 CIDR block must be /29 size and must be within 169.254.0.0/16 range, with exception of: 169.254.0.0/29, 169.254.1.0/29, 169.254.2.0/29, 169.254.3.0/29, 169.254.4.0/29, 169.254.5.0/29, 169.254.169.248/29. The IPv6 CIDR block must be /125 size and must be within fd00::/8. The first IP from each CIDR block is assigned for customer gateway, the second and third is for Transit Gateway (An example: from range 169.254.100.0/29, .1 is assigned to customer gateway and .2 and .3 are assigned to Transit Gateway)
	InsideCidrBlocks pulumi.StringArrayOutput `pulumi:"insideCidrBlocks"`
	// The IP addressed assigned to customer device, which will be used as tunnel endpoint. It can be IPv4 or IPv6 address, but must be the same address family as `transitGatewayAddress`
	PeerAddress pulumi.StringOutput `pulumi:"peerAddress"`
	// Key-value tags for the EC2 Transit Gateway Connect Peer. 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.
	//
	// Deprecated: Please use `tags` instead.
	TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"`
	// The IP address assigned to Transit Gateway, which will be used as tunnel endpoint. This address must be from associated Transit Gateway CIDR block. The address must be from the same address family as `peerAddress`. If not set explicitly, it will be selected from associated Transit Gateway CIDR blocks
	TransitGatewayAddress pulumi.StringOutput `pulumi:"transitGatewayAddress"`
	// The Transit Gateway Connect
	TransitGatewayAttachmentId pulumi.StringOutput `pulumi:"transitGatewayAttachmentId"`
}

Manages an EC2 Transit Gateway Connect Peer.

## Example Usage

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := ec2transitgateway.NewConnect(ctx, "example", &ec2transitgateway.ConnectArgs{
			TransportAttachmentId: pulumi.Any(exampleAwsEc2TransitGatewayVpcAttachment.Id),
			TransitGatewayId:      pulumi.Any(exampleAwsEc2TransitGateway.Id),
		})
		if err != nil {
			return err
		}
		_, err = ec2transitgateway.NewConnectPeer(ctx, "example", &ec2transitgateway.ConnectPeerArgs{
			PeerAddress: pulumi.String("10.1.2.3"),
			InsideCidrBlocks: pulumi.StringArray{
				pulumi.String("169.254.100.0/29"),
			},
			TransitGatewayAttachmentId: example.ID(),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Using `pulumi import`, import `aws_ec2_transit_gateway_connect_peer` using the EC2 Transit Gateway Connect Peer identifier. For example:

```sh

$ pulumi import aws:ec2transitgateway/connectPeer:ConnectPeer example tgw-connect-peer-12345678

```

func GetConnectPeer

func GetConnectPeer(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ConnectPeerState, opts ...pulumi.ResourceOption) (*ConnectPeer, error)

GetConnectPeer gets an existing ConnectPeer 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 NewConnectPeer

func NewConnectPeer(ctx *pulumi.Context,
	name string, args *ConnectPeerArgs, opts ...pulumi.ResourceOption) (*ConnectPeer, error)

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

func (*ConnectPeer) ElementType

func (*ConnectPeer) ElementType() reflect.Type

func (*ConnectPeer) ToConnectPeerOutput

func (i *ConnectPeer) ToConnectPeerOutput() ConnectPeerOutput

func (*ConnectPeer) ToConnectPeerOutputWithContext

func (i *ConnectPeer) ToConnectPeerOutputWithContext(ctx context.Context) ConnectPeerOutput

type ConnectPeerArgs

type ConnectPeerArgs struct {
	// The BGP ASN number assigned customer device. If not provided, it will use the same BGP ASN as is associated with Transit Gateway.
	BgpAsn pulumi.StringPtrInput
	// The CIDR block that will be used for addressing within the tunnel. It must contain exactly one IPv4 CIDR block and up to one IPv6 CIDR block. The IPv4 CIDR block must be /29 size and must be within 169.254.0.0/16 range, with exception of: 169.254.0.0/29, 169.254.1.0/29, 169.254.2.0/29, 169.254.3.0/29, 169.254.4.0/29, 169.254.5.0/29, 169.254.169.248/29. The IPv6 CIDR block must be /125 size and must be within fd00::/8. The first IP from each CIDR block is assigned for customer gateway, the second and third is for Transit Gateway (An example: from range 169.254.100.0/29, .1 is assigned to customer gateway and .2 and .3 are assigned to Transit Gateway)
	InsideCidrBlocks pulumi.StringArrayInput
	// The IP addressed assigned to customer device, which will be used as tunnel endpoint. It can be IPv4 or IPv6 address, but must be the same address family as `transitGatewayAddress`
	PeerAddress pulumi.StringInput
	// Key-value tags for the EC2 Transit Gateway Connect Peer. 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 IP address assigned to Transit Gateway, which will be used as tunnel endpoint. This address must be from associated Transit Gateway CIDR block. The address must be from the same address family as `peerAddress`. If not set explicitly, it will be selected from associated Transit Gateway CIDR blocks
	TransitGatewayAddress pulumi.StringPtrInput
	// The Transit Gateway Connect
	TransitGatewayAttachmentId pulumi.StringInput
}

The set of arguments for constructing a ConnectPeer resource.

func (ConnectPeerArgs) ElementType

func (ConnectPeerArgs) ElementType() reflect.Type

type ConnectPeerArray

type ConnectPeerArray []ConnectPeerInput

func (ConnectPeerArray) ElementType

func (ConnectPeerArray) ElementType() reflect.Type

func (ConnectPeerArray) ToConnectPeerArrayOutput

func (i ConnectPeerArray) ToConnectPeerArrayOutput() ConnectPeerArrayOutput

func (ConnectPeerArray) ToConnectPeerArrayOutputWithContext

func (i ConnectPeerArray) ToConnectPeerArrayOutputWithContext(ctx context.Context) ConnectPeerArrayOutput

type ConnectPeerArrayInput

type ConnectPeerArrayInput interface {
	pulumi.Input

	ToConnectPeerArrayOutput() ConnectPeerArrayOutput
	ToConnectPeerArrayOutputWithContext(context.Context) ConnectPeerArrayOutput
}

ConnectPeerArrayInput is an input type that accepts ConnectPeerArray and ConnectPeerArrayOutput values. You can construct a concrete instance of `ConnectPeerArrayInput` via:

ConnectPeerArray{ ConnectPeerArgs{...} }

type ConnectPeerArrayOutput

type ConnectPeerArrayOutput struct{ *pulumi.OutputState }

func (ConnectPeerArrayOutput) ElementType

func (ConnectPeerArrayOutput) ElementType() reflect.Type

func (ConnectPeerArrayOutput) Index

func (ConnectPeerArrayOutput) ToConnectPeerArrayOutput

func (o ConnectPeerArrayOutput) ToConnectPeerArrayOutput() ConnectPeerArrayOutput

func (ConnectPeerArrayOutput) ToConnectPeerArrayOutputWithContext

func (o ConnectPeerArrayOutput) ToConnectPeerArrayOutputWithContext(ctx context.Context) ConnectPeerArrayOutput

type ConnectPeerInput

type ConnectPeerInput interface {
	pulumi.Input

	ToConnectPeerOutput() ConnectPeerOutput
	ToConnectPeerOutputWithContext(ctx context.Context) ConnectPeerOutput
}

type ConnectPeerMap

type ConnectPeerMap map[string]ConnectPeerInput

func (ConnectPeerMap) ElementType

func (ConnectPeerMap) ElementType() reflect.Type

func (ConnectPeerMap) ToConnectPeerMapOutput

func (i ConnectPeerMap) ToConnectPeerMapOutput() ConnectPeerMapOutput

func (ConnectPeerMap) ToConnectPeerMapOutputWithContext

func (i ConnectPeerMap) ToConnectPeerMapOutputWithContext(ctx context.Context) ConnectPeerMapOutput

type ConnectPeerMapInput

type ConnectPeerMapInput interface {
	pulumi.Input

	ToConnectPeerMapOutput() ConnectPeerMapOutput
	ToConnectPeerMapOutputWithContext(context.Context) ConnectPeerMapOutput
}

ConnectPeerMapInput is an input type that accepts ConnectPeerMap and ConnectPeerMapOutput values. You can construct a concrete instance of `ConnectPeerMapInput` via:

ConnectPeerMap{ "key": ConnectPeerArgs{...} }

type ConnectPeerMapOutput

type ConnectPeerMapOutput struct{ *pulumi.OutputState }

func (ConnectPeerMapOutput) ElementType

func (ConnectPeerMapOutput) ElementType() reflect.Type

func (ConnectPeerMapOutput) MapIndex

func (ConnectPeerMapOutput) ToConnectPeerMapOutput

func (o ConnectPeerMapOutput) ToConnectPeerMapOutput() ConnectPeerMapOutput

func (ConnectPeerMapOutput) ToConnectPeerMapOutputWithContext

func (o ConnectPeerMapOutput) ToConnectPeerMapOutputWithContext(ctx context.Context) ConnectPeerMapOutput

type ConnectPeerOutput

type ConnectPeerOutput struct{ *pulumi.OutputState }

func (ConnectPeerOutput) Arn

EC2 Transit Gateway Connect Peer ARN

func (ConnectPeerOutput) BgpAsn

The BGP ASN number assigned customer device. If not provided, it will use the same BGP ASN as is associated with Transit Gateway.

func (ConnectPeerOutput) BgpPeerAddress

func (o ConnectPeerOutput) BgpPeerAddress() pulumi.StringOutput

The IP address assigned to customer device, which is used as BGP IP address.

func (ConnectPeerOutput) BgpTransitGatewayAddresses

func (o ConnectPeerOutput) BgpTransitGatewayAddresses() pulumi.StringArrayOutput

The IP addresses assigned to Transit Gateway, which are used as BGP IP addresses.

func (ConnectPeerOutput) ElementType

func (ConnectPeerOutput) ElementType() reflect.Type

func (ConnectPeerOutput) InsideCidrBlocks

func (o ConnectPeerOutput) InsideCidrBlocks() pulumi.StringArrayOutput

The CIDR block that will be used for addressing within the tunnel. It must contain exactly one IPv4 CIDR block and up to one IPv6 CIDR block. The IPv4 CIDR block must be /29 size and must be within 169.254.0.0/16 range, with exception of: 169.254.0.0/29, 169.254.1.0/29, 169.254.2.0/29, 169.254.3.0/29, 169.254.4.0/29, 169.254.5.0/29, 169.254.169.248/29. The IPv6 CIDR block must be /125 size and must be within fd00::/8. The first IP from each CIDR block is assigned for customer gateway, the second and third is for Transit Gateway (An example: from range 169.254.100.0/29, .1 is assigned to customer gateway and .2 and .3 are assigned to Transit Gateway)

func (ConnectPeerOutput) PeerAddress

func (o ConnectPeerOutput) PeerAddress() pulumi.StringOutput

The IP addressed assigned to customer device, which will be used as tunnel endpoint. It can be IPv4 or IPv6 address, but must be the same address family as `transitGatewayAddress`

func (ConnectPeerOutput) Tags

Key-value tags for the EC2 Transit Gateway Connect Peer. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.

func (ConnectPeerOutput) TagsAll deprecated

A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.

Deprecated: Please use `tags` instead.

func (ConnectPeerOutput) ToConnectPeerOutput

func (o ConnectPeerOutput) ToConnectPeerOutput() ConnectPeerOutput

func (ConnectPeerOutput) ToConnectPeerOutputWithContext

func (o ConnectPeerOutput) ToConnectPeerOutputWithContext(ctx context.Context) ConnectPeerOutput

func (ConnectPeerOutput) TransitGatewayAddress

func (o ConnectPeerOutput) TransitGatewayAddress() pulumi.StringOutput

The IP address assigned to Transit Gateway, which will be used as tunnel endpoint. This address must be from associated Transit Gateway CIDR block. The address must be from the same address family as `peerAddress`. If not set explicitly, it will be selected from associated Transit Gateway CIDR blocks

func (ConnectPeerOutput) TransitGatewayAttachmentId

func (o ConnectPeerOutput) TransitGatewayAttachmentId() pulumi.StringOutput

The Transit Gateway Connect

type ConnectPeerState

type ConnectPeerState struct {
	// EC2 Transit Gateway Connect Peer ARN
	Arn pulumi.StringPtrInput
	// The BGP ASN number assigned customer device. If not provided, it will use the same BGP ASN as is associated with Transit Gateway.
	BgpAsn pulumi.StringPtrInput
	// The IP address assigned to customer device, which is used as BGP IP address.
	BgpPeerAddress pulumi.StringPtrInput
	// The IP addresses assigned to Transit Gateway, which are used as BGP IP addresses.
	BgpTransitGatewayAddresses pulumi.StringArrayInput
	// The CIDR block that will be used for addressing within the tunnel. It must contain exactly one IPv4 CIDR block and up to one IPv6 CIDR block. The IPv4 CIDR block must be /29 size and must be within 169.254.0.0/16 range, with exception of: 169.254.0.0/29, 169.254.1.0/29, 169.254.2.0/29, 169.254.3.0/29, 169.254.4.0/29, 169.254.5.0/29, 169.254.169.248/29. The IPv6 CIDR block must be /125 size and must be within fd00::/8. The first IP from each CIDR block is assigned for customer gateway, the second and third is for Transit Gateway (An example: from range 169.254.100.0/29, .1 is assigned to customer gateway and .2 and .3 are assigned to Transit Gateway)
	InsideCidrBlocks pulumi.StringArrayInput
	// The IP addressed assigned to customer device, which will be used as tunnel endpoint. It can be IPv4 or IPv6 address, but must be the same address family as `transitGatewayAddress`
	PeerAddress pulumi.StringPtrInput
	// Key-value tags for the EC2 Transit Gateway Connect Peer. 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.
	//
	// Deprecated: Please use `tags` instead.
	TagsAll pulumi.StringMapInput
	// The IP address assigned to Transit Gateway, which will be used as tunnel endpoint. This address must be from associated Transit Gateway CIDR block. The address must be from the same address family as `peerAddress`. If not set explicitly, it will be selected from associated Transit Gateway CIDR blocks
	TransitGatewayAddress pulumi.StringPtrInput
	// The Transit Gateway Connect
	TransitGatewayAttachmentId pulumi.StringPtrInput
}

func (ConnectPeerState) ElementType

func (ConnectPeerState) ElementType() reflect.Type

type ConnectState

type ConnectState struct {
	// The tunnel protocol. Valid values: `gre`. Default is `gre`.
	Protocol pulumi.StringPtrInput
	// Key-value tags for the EC2 Transit Gateway Connect. 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.
	//
	// Deprecated: Please use `tags` instead.
	TagsAll pulumi.StringMapInput
	// Boolean whether the Connect 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 Connect 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
	// The underlaying VPC attachment
	TransportAttachmentId pulumi.StringPtrInput
}

func (ConnectState) ElementType

func (ConnectState) ElementType() reflect.Type

type GetAttachmentArgs

type GetAttachmentArgs struct {
	// One or more configuration blocks containing name-values filters. Detailed below.
	Filters []GetAttachmentFilter `pulumi:"filters"`
	// Key-value tags for the attachment.
	Tags map[string]string `pulumi:"tags"`
	// ID of the attachment.
	TransitGatewayAttachmentId *string `pulumi:"transitGatewayAttachmentId"`
}

A collection of arguments for invoking getAttachment.

type GetAttachmentFilter

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

type GetAttachmentFilterArgs

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

func (GetAttachmentFilterArgs) ElementType

func (GetAttachmentFilterArgs) ElementType() reflect.Type

func (GetAttachmentFilterArgs) ToGetAttachmentFilterOutput

func (i GetAttachmentFilterArgs) ToGetAttachmentFilterOutput() GetAttachmentFilterOutput

func (GetAttachmentFilterArgs) ToGetAttachmentFilterOutputWithContext

func (i GetAttachmentFilterArgs) ToGetAttachmentFilterOutputWithContext(ctx context.Context) GetAttachmentFilterOutput

type GetAttachmentFilterArray

type GetAttachmentFilterArray []GetAttachmentFilterInput

func (GetAttachmentFilterArray) ElementType

func (GetAttachmentFilterArray) ElementType() reflect.Type

func (GetAttachmentFilterArray) ToGetAttachmentFilterArrayOutput

func (i GetAttachmentFilterArray) ToGetAttachmentFilterArrayOutput() GetAttachmentFilterArrayOutput

func (GetAttachmentFilterArray) ToGetAttachmentFilterArrayOutputWithContext

func (i GetAttachmentFilterArray) ToGetAttachmentFilterArrayOutputWithContext(ctx context.Context) GetAttachmentFilterArrayOutput

type GetAttachmentFilterArrayInput

type GetAttachmentFilterArrayInput interface {
	pulumi.Input

	ToGetAttachmentFilterArrayOutput() GetAttachmentFilterArrayOutput
	ToGetAttachmentFilterArrayOutputWithContext(context.Context) GetAttachmentFilterArrayOutput
}

GetAttachmentFilterArrayInput is an input type that accepts GetAttachmentFilterArray and GetAttachmentFilterArrayOutput values. You can construct a concrete instance of `GetAttachmentFilterArrayInput` via:

GetAttachmentFilterArray{ GetAttachmentFilterArgs{...} }

type GetAttachmentFilterArrayOutput

type GetAttachmentFilterArrayOutput struct{ *pulumi.OutputState }

func (GetAttachmentFilterArrayOutput) ElementType

func (GetAttachmentFilterArrayOutput) Index

func (GetAttachmentFilterArrayOutput) ToGetAttachmentFilterArrayOutput

func (o GetAttachmentFilterArrayOutput) ToGetAttachmentFilterArrayOutput() GetAttachmentFilterArrayOutput

func (GetAttachmentFilterArrayOutput) ToGetAttachmentFilterArrayOutputWithContext

func (o GetAttachmentFilterArrayOutput) ToGetAttachmentFilterArrayOutputWithContext(ctx context.Context) GetAttachmentFilterArrayOutput

type GetAttachmentFilterInput

type GetAttachmentFilterInput interface {
	pulumi.Input

	ToGetAttachmentFilterOutput() GetAttachmentFilterOutput
	ToGetAttachmentFilterOutputWithContext(context.Context) GetAttachmentFilterOutput
}

GetAttachmentFilterInput is an input type that accepts GetAttachmentFilterArgs and GetAttachmentFilterOutput values. You can construct a concrete instance of `GetAttachmentFilterInput` via:

GetAttachmentFilterArgs{...}

type GetAttachmentFilterOutput

type GetAttachmentFilterOutput struct{ *pulumi.OutputState }

func (GetAttachmentFilterOutput) ElementType

func (GetAttachmentFilterOutput) ElementType() reflect.Type

func (GetAttachmentFilterOutput) Name

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

func (GetAttachmentFilterOutput) ToGetAttachmentFilterOutput

func (o GetAttachmentFilterOutput) ToGetAttachmentFilterOutput() GetAttachmentFilterOutput

func (GetAttachmentFilterOutput) ToGetAttachmentFilterOutputWithContext

func (o GetAttachmentFilterOutput) ToGetAttachmentFilterOutputWithContext(ctx context.Context) GetAttachmentFilterOutput

func (GetAttachmentFilterOutput) Values

List of one or more values for the filter.

type GetAttachmentOutputArgs

type GetAttachmentOutputArgs struct {
	// One or more configuration blocks containing name-values filters. Detailed below.
	Filters GetAttachmentFilterArrayInput `pulumi:"filters"`
	// Key-value tags for the attachment.
	Tags pulumi.StringMapInput `pulumi:"tags"`
	// ID of the attachment.
	TransitGatewayAttachmentId pulumi.StringPtrInput `pulumi:"transitGatewayAttachmentId"`
}

A collection of arguments for invoking getAttachment.

func (GetAttachmentOutputArgs) ElementType

func (GetAttachmentOutputArgs) ElementType() reflect.Type

type GetAttachmentResult

type GetAttachmentResult struct {
	// ARN of the attachment.
	Arn string `pulumi:"arn"`
	// The state of the association (see [the underlying AWS API](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_TransitGatewayAttachmentAssociation.html) for valid values).
	AssociationState string `pulumi:"associationState"`
	// The ID of the route table for the transit gateway.
	AssociationTransitGatewayRouteTableId string                `pulumi:"associationTransitGatewayRouteTableId"`
	Filters                               []GetAttachmentFilter `pulumi:"filters"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// ID of the resource.
	ResourceId string `pulumi:"resourceId"`
	// ID of the AWS account that owns the resource.
	ResourceOwnerId string `pulumi:"resourceOwnerId"`
	// Resource type.
	ResourceType string `pulumi:"resourceType"`
	// Attachment state.
	State string `pulumi:"state"`
	// Key-value tags for the attachment.
	Tags                       map[string]string `pulumi:"tags"`
	TransitGatewayAttachmentId string            `pulumi:"transitGatewayAttachmentId"`
	// ID of the transit gateway.
	TransitGatewayId string `pulumi:"transitGatewayId"`
	// The ID of the AWS account that owns the transit gateway.
	TransitGatewayOwnerId string `pulumi:"transitGatewayOwnerId"`
}

A collection of values returned by getAttachment.

func GetAttachment

func GetAttachment(ctx *pulumi.Context, args *GetAttachmentArgs, opts ...pulumi.InvokeOption) (*GetAttachmentResult, error)

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

## Example Usage

```go package main

import (

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

) func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := ec2transitgateway.GetAttachment(ctx, &ec2transitgateway.GetAttachmentArgs{ Filters: []ec2transitgateway.GetAttachmentFilter{ { Name: "transit-gateway-id", Values: interface{}{ exampleAwsEc2TransitGateway.Id, }, }, { Name: "resource-type", Values: []string{ "peering", }, }, }, }, nil); if err != nil { return err } return nil }) } ```

type GetAttachmentResultOutput

type GetAttachmentResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getAttachment.

func (GetAttachmentResultOutput) Arn

ARN of the attachment.

func (GetAttachmentResultOutput) AssociationState

func (o GetAttachmentResultOutput) AssociationState() pulumi.StringOutput

The state of the association (see [the underlying AWS API](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_TransitGatewayAttachmentAssociation.html) for valid values).

func (GetAttachmentResultOutput) AssociationTransitGatewayRouteTableId

func (o GetAttachmentResultOutput) AssociationTransitGatewayRouteTableId() pulumi.StringOutput

The ID of the route table for the transit gateway.

func (GetAttachmentResultOutput) ElementType

func (GetAttachmentResultOutput) ElementType() reflect.Type

func (GetAttachmentResultOutput) Filters

func (GetAttachmentResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetAttachmentResultOutput) ResourceId

ID of the resource.

func (GetAttachmentResultOutput) ResourceOwnerId

func (o GetAttachmentResultOutput) ResourceOwnerId() pulumi.StringOutput

ID of the AWS account that owns the resource.

func (GetAttachmentResultOutput) ResourceType

Resource type.

func (GetAttachmentResultOutput) State

Attachment state.

func (GetAttachmentResultOutput) Tags

Key-value tags for the attachment.

func (GetAttachmentResultOutput) ToGetAttachmentResultOutput

func (o GetAttachmentResultOutput) ToGetAttachmentResultOutput() GetAttachmentResultOutput

func (GetAttachmentResultOutput) ToGetAttachmentResultOutputWithContext

func (o GetAttachmentResultOutput) ToGetAttachmentResultOutputWithContext(ctx context.Context) GetAttachmentResultOutput

func (GetAttachmentResultOutput) TransitGatewayAttachmentId

func (o GetAttachmentResultOutput) TransitGatewayAttachmentId() pulumi.StringOutput

func (GetAttachmentResultOutput) TransitGatewayId

func (o GetAttachmentResultOutput) TransitGatewayId() pulumi.StringOutput

ID of the transit gateway.

func (GetAttachmentResultOutput) TransitGatewayOwnerId

func (o GetAttachmentResultOutput) TransitGatewayOwnerId() pulumi.StringOutput

The ID of the AWS account that owns the transit gateway.

type GetAttachmentsArgs

type GetAttachmentsArgs struct {
	// One or more configuration blocks containing name-values filters. Detailed below.
	Filters []GetAttachmentsFilter `pulumi:"filters"`
	Tags    map[string]string      `pulumi:"tags"`
}

A collection of arguments for invoking getAttachments.

type GetAttachmentsFilter

type GetAttachmentsFilter struct {
	// Name of the filter check available value on [official documentation](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeTransitGatewayAttachments.html)
	Name string `pulumi:"name"`
	// List of one or more values for the filter.
	Values []string `pulumi:"values"`
}

type GetAttachmentsFilterArgs

type GetAttachmentsFilterArgs struct {
	// Name of the filter check available value on [official documentation](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeTransitGatewayAttachments.html)
	Name pulumi.StringInput `pulumi:"name"`
	// List of one or more values for the filter.
	Values pulumi.StringArrayInput `pulumi:"values"`
}

func (GetAttachmentsFilterArgs) ElementType

func (GetAttachmentsFilterArgs) ElementType() reflect.Type

func (GetAttachmentsFilterArgs) ToGetAttachmentsFilterOutput

func (i GetAttachmentsFilterArgs) ToGetAttachmentsFilterOutput() GetAttachmentsFilterOutput

func (GetAttachmentsFilterArgs) ToGetAttachmentsFilterOutputWithContext

func (i GetAttachmentsFilterArgs) ToGetAttachmentsFilterOutputWithContext(ctx context.Context) GetAttachmentsFilterOutput

type GetAttachmentsFilterArray

type GetAttachmentsFilterArray []GetAttachmentsFilterInput

func (GetAttachmentsFilterArray) ElementType

func (GetAttachmentsFilterArray) ElementType() reflect.Type

func (GetAttachmentsFilterArray) ToGetAttachmentsFilterArrayOutput

func (i GetAttachmentsFilterArray) ToGetAttachmentsFilterArrayOutput() GetAttachmentsFilterArrayOutput

func (GetAttachmentsFilterArray) ToGetAttachmentsFilterArrayOutputWithContext

func (i GetAttachmentsFilterArray) ToGetAttachmentsFilterArrayOutputWithContext(ctx context.Context) GetAttachmentsFilterArrayOutput

type GetAttachmentsFilterArrayInput

type GetAttachmentsFilterArrayInput interface {
	pulumi.Input

	ToGetAttachmentsFilterArrayOutput() GetAttachmentsFilterArrayOutput
	ToGetAttachmentsFilterArrayOutputWithContext(context.Context) GetAttachmentsFilterArrayOutput
}

GetAttachmentsFilterArrayInput is an input type that accepts GetAttachmentsFilterArray and GetAttachmentsFilterArrayOutput values. You can construct a concrete instance of `GetAttachmentsFilterArrayInput` via:

GetAttachmentsFilterArray{ GetAttachmentsFilterArgs{...} }

type GetAttachmentsFilterArrayOutput

type GetAttachmentsFilterArrayOutput struct{ *pulumi.OutputState }

func (GetAttachmentsFilterArrayOutput) ElementType

func (GetAttachmentsFilterArrayOutput) Index

func (GetAttachmentsFilterArrayOutput) ToGetAttachmentsFilterArrayOutput

func (o GetAttachmentsFilterArrayOutput) ToGetAttachmentsFilterArrayOutput() GetAttachmentsFilterArrayOutput

func (GetAttachmentsFilterArrayOutput) ToGetAttachmentsFilterArrayOutputWithContext

func (o GetAttachmentsFilterArrayOutput) ToGetAttachmentsFilterArrayOutputWithContext(ctx context.Context) GetAttachmentsFilterArrayOutput

type GetAttachmentsFilterInput

type GetAttachmentsFilterInput interface {
	pulumi.Input

	ToGetAttachmentsFilterOutput() GetAttachmentsFilterOutput
	ToGetAttachmentsFilterOutputWithContext(context.Context) GetAttachmentsFilterOutput
}

GetAttachmentsFilterInput is an input type that accepts GetAttachmentsFilterArgs and GetAttachmentsFilterOutput values. You can construct a concrete instance of `GetAttachmentsFilterInput` via:

GetAttachmentsFilterArgs{...}

type GetAttachmentsFilterOutput

type GetAttachmentsFilterOutput struct{ *pulumi.OutputState }

func (GetAttachmentsFilterOutput) ElementType

func (GetAttachmentsFilterOutput) ElementType() reflect.Type

func (GetAttachmentsFilterOutput) Name

Name of the filter check available value on [official documentation](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeTransitGatewayAttachments.html)

func (GetAttachmentsFilterOutput) ToGetAttachmentsFilterOutput

func (o GetAttachmentsFilterOutput) ToGetAttachmentsFilterOutput() GetAttachmentsFilterOutput

func (GetAttachmentsFilterOutput) ToGetAttachmentsFilterOutputWithContext

func (o GetAttachmentsFilterOutput) ToGetAttachmentsFilterOutputWithContext(ctx context.Context) GetAttachmentsFilterOutput

func (GetAttachmentsFilterOutput) Values

List of one or more values for the filter.

type GetAttachmentsOutputArgs

type GetAttachmentsOutputArgs struct {
	// One or more configuration blocks containing name-values filters. Detailed below.
	Filters GetAttachmentsFilterArrayInput `pulumi:"filters"`
	Tags    pulumi.StringMapInput          `pulumi:"tags"`
}

A collection of arguments for invoking getAttachments.

func (GetAttachmentsOutputArgs) ElementType

func (GetAttachmentsOutputArgs) ElementType() reflect.Type

type GetAttachmentsResult

type GetAttachmentsResult struct {
	Filters []GetAttachmentsFilter `pulumi:"filters"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// A list of all attachments ids matching the filter. You can retrieve more information about the attachment using the [ec2transitgateway.getAttachment][2] data source, searching by identifier.
	Ids  []string          `pulumi:"ids"`
	Tags map[string]string `pulumi:"tags"`
}

A collection of values returned by getAttachments.

func GetAttachments

func GetAttachments(ctx *pulumi.Context, args *GetAttachmentsArgs, opts ...pulumi.InvokeOption) (*GetAttachmentsResult, error)

Get information on EC2 Transit Gateway Attachments.

## Example Usage ### By Filter

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		filtered, err := ec2transitgateway.GetAttachments(ctx, &ec2transitgateway.GetAttachmentsArgs{
			Filters: []ec2transitgateway.GetAttachmentsFilter{
				{
					Name: "state",
					Values: []string{
						"pendingAcceptance",
					},
				},
				{
					Name: "resource-type",
					Values: []string{
						"vpc",
					},
				},
			},
		}, nil)
		if err != nil {
			return err
		}
		_ := "TODO: For expression"
		return nil
	})
}

```

type GetAttachmentsResultOutput

type GetAttachmentsResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getAttachments.

func (GetAttachmentsResultOutput) ElementType

func (GetAttachmentsResultOutput) ElementType() reflect.Type

func (GetAttachmentsResultOutput) Filters

func (GetAttachmentsResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetAttachmentsResultOutput) Ids

A list of all attachments ids matching the filter. You can retrieve more information about the attachment using the [ec2transitgateway.getAttachment][2] data source, searching by identifier.

func (GetAttachmentsResultOutput) Tags

func (GetAttachmentsResultOutput) ToGetAttachmentsResultOutput

func (o GetAttachmentsResultOutput) ToGetAttachmentsResultOutput() GetAttachmentsResultOutput

func (GetAttachmentsResultOutput) ToGetAttachmentsResultOutputWithContext

func (o GetAttachmentsResultOutput) ToGetAttachmentsResultOutputWithContext(ctx context.Context) GetAttachmentsResultOutput

type GetConnectFilter

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

type GetConnectFilterArgs

type GetConnectFilterArgs 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 (GetConnectFilterArgs) ElementType

func (GetConnectFilterArgs) ElementType() reflect.Type

func (GetConnectFilterArgs) ToGetConnectFilterOutput

func (i GetConnectFilterArgs) ToGetConnectFilterOutput() GetConnectFilterOutput

func (GetConnectFilterArgs) ToGetConnectFilterOutputWithContext

func (i GetConnectFilterArgs) ToGetConnectFilterOutputWithContext(ctx context.Context) GetConnectFilterOutput

type GetConnectFilterArray

type GetConnectFilterArray []GetConnectFilterInput

func (GetConnectFilterArray) ElementType

func (GetConnectFilterArray) ElementType() reflect.Type

func (GetConnectFilterArray) ToGetConnectFilterArrayOutput

func (i GetConnectFilterArray) ToGetConnectFilterArrayOutput() GetConnectFilterArrayOutput

func (GetConnectFilterArray) ToGetConnectFilterArrayOutputWithContext

func (i GetConnectFilterArray) ToGetConnectFilterArrayOutputWithContext(ctx context.Context) GetConnectFilterArrayOutput

type GetConnectFilterArrayInput

type GetConnectFilterArrayInput interface {
	pulumi.Input

	ToGetConnectFilterArrayOutput() GetConnectFilterArrayOutput
	ToGetConnectFilterArrayOutputWithContext(context.Context) GetConnectFilterArrayOutput
}

GetConnectFilterArrayInput is an input type that accepts GetConnectFilterArray and GetConnectFilterArrayOutput values. You can construct a concrete instance of `GetConnectFilterArrayInput` via:

GetConnectFilterArray{ GetConnectFilterArgs{...} }

type GetConnectFilterArrayOutput

type GetConnectFilterArrayOutput struct{ *pulumi.OutputState }

func (GetConnectFilterArrayOutput) ElementType

func (GetConnectFilterArrayOutput) Index

func (GetConnectFilterArrayOutput) ToGetConnectFilterArrayOutput

func (o GetConnectFilterArrayOutput) ToGetConnectFilterArrayOutput() GetConnectFilterArrayOutput

func (GetConnectFilterArrayOutput) ToGetConnectFilterArrayOutputWithContext

func (o GetConnectFilterArrayOutput) ToGetConnectFilterArrayOutputWithContext(ctx context.Context) GetConnectFilterArrayOutput

type GetConnectFilterInput

type GetConnectFilterInput interface {
	pulumi.Input

	ToGetConnectFilterOutput() GetConnectFilterOutput
	ToGetConnectFilterOutputWithContext(context.Context) GetConnectFilterOutput
}

GetConnectFilterInput is an input type that accepts GetConnectFilterArgs and GetConnectFilterOutput values. You can construct a concrete instance of `GetConnectFilterInput` via:

GetConnectFilterArgs{...}

type GetConnectFilterOutput

type GetConnectFilterOutput struct{ *pulumi.OutputState }

func (GetConnectFilterOutput) ElementType

func (GetConnectFilterOutput) ElementType() reflect.Type

func (GetConnectFilterOutput) Name

Name of the filter.

func (GetConnectFilterOutput) ToGetConnectFilterOutput

func (o GetConnectFilterOutput) ToGetConnectFilterOutput() GetConnectFilterOutput

func (GetConnectFilterOutput) ToGetConnectFilterOutputWithContext

func (o GetConnectFilterOutput) ToGetConnectFilterOutputWithContext(ctx context.Context) GetConnectFilterOutput

func (GetConnectFilterOutput) Values

List of one or more values for the filter.

type GetConnectPeerFilter

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

type GetConnectPeerFilterArgs

type GetConnectPeerFilterArgs 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 (GetConnectPeerFilterArgs) ElementType

func (GetConnectPeerFilterArgs) ElementType() reflect.Type

func (GetConnectPeerFilterArgs) ToGetConnectPeerFilterOutput

func (i GetConnectPeerFilterArgs) ToGetConnectPeerFilterOutput() GetConnectPeerFilterOutput

func (GetConnectPeerFilterArgs) ToGetConnectPeerFilterOutputWithContext

func (i GetConnectPeerFilterArgs) ToGetConnectPeerFilterOutputWithContext(ctx context.Context) GetConnectPeerFilterOutput

type GetConnectPeerFilterArray

type GetConnectPeerFilterArray []GetConnectPeerFilterInput

func (GetConnectPeerFilterArray) ElementType

func (GetConnectPeerFilterArray) ElementType() reflect.Type

func (GetConnectPeerFilterArray) ToGetConnectPeerFilterArrayOutput

func (i GetConnectPeerFilterArray) ToGetConnectPeerFilterArrayOutput() GetConnectPeerFilterArrayOutput

func (GetConnectPeerFilterArray) ToGetConnectPeerFilterArrayOutputWithContext

func (i GetConnectPeerFilterArray) ToGetConnectPeerFilterArrayOutputWithContext(ctx context.Context) GetConnectPeerFilterArrayOutput

type GetConnectPeerFilterArrayInput

type GetConnectPeerFilterArrayInput interface {
	pulumi.Input

	ToGetConnectPeerFilterArrayOutput() GetConnectPeerFilterArrayOutput
	ToGetConnectPeerFilterArrayOutputWithContext(context.Context) GetConnectPeerFilterArrayOutput
}

GetConnectPeerFilterArrayInput is an input type that accepts GetConnectPeerFilterArray and GetConnectPeerFilterArrayOutput values. You can construct a concrete instance of `GetConnectPeerFilterArrayInput` via:

GetConnectPeerFilterArray{ GetConnectPeerFilterArgs{...} }

type GetConnectPeerFilterArrayOutput

type GetConnectPeerFilterArrayOutput struct{ *pulumi.OutputState }

func (GetConnectPeerFilterArrayOutput) ElementType

func (GetConnectPeerFilterArrayOutput) Index

func (GetConnectPeerFilterArrayOutput) ToGetConnectPeerFilterArrayOutput

func (o GetConnectPeerFilterArrayOutput) ToGetConnectPeerFilterArrayOutput() GetConnectPeerFilterArrayOutput

func (GetConnectPeerFilterArrayOutput) ToGetConnectPeerFilterArrayOutputWithContext

func (o GetConnectPeerFilterArrayOutput) ToGetConnectPeerFilterArrayOutputWithContext(ctx context.Context) GetConnectPeerFilterArrayOutput

type GetConnectPeerFilterInput

type GetConnectPeerFilterInput interface {
	pulumi.Input

	ToGetConnectPeerFilterOutput() GetConnectPeerFilterOutput
	ToGetConnectPeerFilterOutputWithContext(context.Context) GetConnectPeerFilterOutput
}

GetConnectPeerFilterInput is an input type that accepts GetConnectPeerFilterArgs and GetConnectPeerFilterOutput values. You can construct a concrete instance of `GetConnectPeerFilterInput` via:

GetConnectPeerFilterArgs{...}

type GetConnectPeerFilterOutput

type GetConnectPeerFilterOutput struct{ *pulumi.OutputState }

func (GetConnectPeerFilterOutput) ElementType

func (GetConnectPeerFilterOutput) ElementType() reflect.Type

func (GetConnectPeerFilterOutput) Name

Name of the filter.

func (GetConnectPeerFilterOutput) ToGetConnectPeerFilterOutput

func (o GetConnectPeerFilterOutput) ToGetConnectPeerFilterOutput() GetConnectPeerFilterOutput

func (GetConnectPeerFilterOutput) ToGetConnectPeerFilterOutputWithContext

func (o GetConnectPeerFilterOutput) ToGetConnectPeerFilterOutputWithContext(ctx context.Context) GetConnectPeerFilterOutput

func (GetConnectPeerFilterOutput) Values

List of one or more values for the filter.

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"`
	// 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 {
	// 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 {
	// 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

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

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"`
	// 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

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/v6/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(exampleAwsEc2TransitGateway.Id),
			DxGatewayId:      pulumi.StringRef(exampleAwsDxGateway.Id),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type GetDirectConnectGatewayAttachmentResultOutput

type GetDirectConnectGatewayAttachmentResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getDirectConnectGatewayAttachment.

func (GetDirectConnectGatewayAttachmentResultOutput) DxGatewayId

func (GetDirectConnectGatewayAttachmentResultOutput) ElementType

func (GetDirectConnectGatewayAttachmentResultOutput) Filters

func (GetDirectConnectGatewayAttachmentResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetDirectConnectGatewayAttachmentResultOutput) Tags

Key-value tags for the EC2 Transit Gateway Attachment

func (GetDirectConnectGatewayAttachmentResultOutput) ToGetDirectConnectGatewayAttachmentResultOutput

func (o GetDirectConnectGatewayAttachmentResultOutput) ToGetDirectConnectGatewayAttachmentResultOutput() GetDirectConnectGatewayAttachmentResultOutput

func (GetDirectConnectGatewayAttachmentResultOutput) ToGetDirectConnectGatewayAttachmentResultOutputWithContext

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

func (GetDirectConnectGatewayAttachmentResultOutput) TransitGatewayId

type GetMulticastDomainAssociationType

type GetMulticastDomainAssociationType struct {
	// The ID of the subnet associated with the transit gateway multicast domain.
	SubnetId string `pulumi:"subnetId"`
	// The ID of the transit gateway attachment.
	TransitGatewayAttachmentId string `pulumi:"transitGatewayAttachmentId"`
}

type GetMulticastDomainAssociationTypeArgs

type GetMulticastDomainAssociationTypeArgs struct {
	// The ID of the subnet associated with the transit gateway multicast domain.
	SubnetId pulumi.StringInput `pulumi:"subnetId"`
	// The ID of the transit gateway attachment.
	TransitGatewayAttachmentId pulumi.StringInput `pulumi:"transitGatewayAttachmentId"`
}

func (GetMulticastDomainAssociationTypeArgs) ElementType

func (GetMulticastDomainAssociationTypeArgs) ToGetMulticastDomainAssociationTypeOutput

func (i GetMulticastDomainAssociationTypeArgs) ToGetMulticastDomainAssociationTypeOutput() GetMulticastDomainAssociationTypeOutput

func (GetMulticastDomainAssociationTypeArgs) ToGetMulticastDomainAssociationTypeOutputWithContext

func (i GetMulticastDomainAssociationTypeArgs) ToGetMulticastDomainAssociationTypeOutputWithContext(ctx context.Context) GetMulticastDomainAssociationTypeOutput

type GetMulticastDomainAssociationTypeArray

type GetMulticastDomainAssociationTypeArray []GetMulticastDomainAssociationTypeInput

func (GetMulticastDomainAssociationTypeArray) ElementType

func (GetMulticastDomainAssociationTypeArray) ToGetMulticastDomainAssociationTypeArrayOutput

func (i GetMulticastDomainAssociationTypeArray) ToGetMulticastDomainAssociationTypeArrayOutput() GetMulticastDomainAssociationTypeArrayOutput

func (GetMulticastDomainAssociationTypeArray) ToGetMulticastDomainAssociationTypeArrayOutputWithContext

func (i GetMulticastDomainAssociationTypeArray) ToGetMulticastDomainAssociationTypeArrayOutputWithContext(ctx context.Context) GetMulticastDomainAssociationTypeArrayOutput

type GetMulticastDomainAssociationTypeArrayInput

type GetMulticastDomainAssociationTypeArrayInput interface {
	pulumi.Input

	ToGetMulticastDomainAssociationTypeArrayOutput() GetMulticastDomainAssociationTypeArrayOutput
	ToGetMulticastDomainAssociationTypeArrayOutputWithContext(context.Context) GetMulticastDomainAssociationTypeArrayOutput
}

GetMulticastDomainAssociationTypeArrayInput is an input type that accepts GetMulticastDomainAssociationTypeArray and GetMulticastDomainAssociationTypeArrayOutput values. You can construct a concrete instance of `GetMulticastDomainAssociationTypeArrayInput` via:

GetMulticastDomainAssociationTypeArray{ GetMulticastDomainAssociationTypeArgs{...} }

type GetMulticastDomainAssociationTypeArrayOutput

type GetMulticastDomainAssociationTypeArrayOutput struct{ *pulumi.OutputState }

func (GetMulticastDomainAssociationTypeArrayOutput) ElementType

func (GetMulticastDomainAssociationTypeArrayOutput) Index

func (GetMulticastDomainAssociationTypeArrayOutput) ToGetMulticastDomainAssociationTypeArrayOutput

func (o GetMulticastDomainAssociationTypeArrayOutput) ToGetMulticastDomainAssociationTypeArrayOutput() GetMulticastDomainAssociationTypeArrayOutput

func (GetMulticastDomainAssociationTypeArrayOutput) ToGetMulticastDomainAssociationTypeArrayOutputWithContext

func (o GetMulticastDomainAssociationTypeArrayOutput) ToGetMulticastDomainAssociationTypeArrayOutputWithContext(ctx context.Context) GetMulticastDomainAssociationTypeArrayOutput

type GetMulticastDomainAssociationTypeInput

type GetMulticastDomainAssociationTypeInput interface {
	pulumi.Input

	ToGetMulticastDomainAssociationTypeOutput() GetMulticastDomainAssociationTypeOutput
	ToGetMulticastDomainAssociationTypeOutputWithContext(context.Context) GetMulticastDomainAssociationTypeOutput
}

GetMulticastDomainAssociationTypeInput is an input type that accepts GetMulticastDomainAssociationTypeArgs and GetMulticastDomainAssociationTypeOutput values. You can construct a concrete instance of `GetMulticastDomainAssociationTypeInput` via:

GetMulticastDomainAssociationTypeArgs{...}

type GetMulticastDomainAssociationTypeOutput

type GetMulticastDomainAssociationTypeOutput struct{ *pulumi.OutputState }

func (GetMulticastDomainAssociationTypeOutput) ElementType

func (GetMulticastDomainAssociationTypeOutput) SubnetId

The ID of the subnet associated with the transit gateway multicast domain.

func (GetMulticastDomainAssociationTypeOutput) ToGetMulticastDomainAssociationTypeOutput

func (o GetMulticastDomainAssociationTypeOutput) ToGetMulticastDomainAssociationTypeOutput() GetMulticastDomainAssociationTypeOutput

func (GetMulticastDomainAssociationTypeOutput) ToGetMulticastDomainAssociationTypeOutputWithContext

func (o GetMulticastDomainAssociationTypeOutput) ToGetMulticastDomainAssociationTypeOutputWithContext(ctx context.Context) GetMulticastDomainAssociationTypeOutput

func (GetMulticastDomainAssociationTypeOutput) TransitGatewayAttachmentId

func (o GetMulticastDomainAssociationTypeOutput) TransitGatewayAttachmentId() pulumi.StringOutput

The ID of the transit gateway attachment.

type GetMulticastDomainFilter

type GetMulticastDomainFilter struct {
	// Name of the field to filter by, as defined by [the underlying AWS API](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeTransitGatewayMulticastDomains.html).
	Name string `pulumi:"name"`
	// Set of values that are accepted for the given field. A multicast domain will be selected if any one of the given values matches.
	Values []string `pulumi:"values"`
}

type GetMulticastDomainFilterArgs

type GetMulticastDomainFilterArgs struct {
	// Name of the field to filter by, as defined by [the underlying AWS API](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeTransitGatewayMulticastDomains.html).
	Name pulumi.StringInput `pulumi:"name"`
	// Set of values that are accepted for the given field. A multicast domain will be selected if any one of the given values matches.
	Values pulumi.StringArrayInput `pulumi:"values"`
}

func (GetMulticastDomainFilterArgs) ElementType

func (GetMulticastDomainFilterArgs) ToGetMulticastDomainFilterOutput

func (i GetMulticastDomainFilterArgs) ToGetMulticastDomainFilterOutput() GetMulticastDomainFilterOutput

func (GetMulticastDomainFilterArgs) ToGetMulticastDomainFilterOutputWithContext

func (i GetMulticastDomainFilterArgs) ToGetMulticastDomainFilterOutputWithContext(ctx context.Context) GetMulticastDomainFilterOutput

type GetMulticastDomainFilterArray

type GetMulticastDomainFilterArray []GetMulticastDomainFilterInput

func (GetMulticastDomainFilterArray) ElementType

func (GetMulticastDomainFilterArray) ToGetMulticastDomainFilterArrayOutput

func (i GetMulticastDomainFilterArray) ToGetMulticastDomainFilterArrayOutput() GetMulticastDomainFilterArrayOutput

func (GetMulticastDomainFilterArray) ToGetMulticastDomainFilterArrayOutputWithContext

func (i GetMulticastDomainFilterArray) ToGetMulticastDomainFilterArrayOutputWithContext(ctx context.Context) GetMulticastDomainFilterArrayOutput

type GetMulticastDomainFilterArrayInput

type GetMulticastDomainFilterArrayInput interface {
	pulumi.Input

	ToGetMulticastDomainFilterArrayOutput() GetMulticastDomainFilterArrayOutput
	ToGetMulticastDomainFilterArrayOutputWithContext(context.Context) GetMulticastDomainFilterArrayOutput
}

GetMulticastDomainFilterArrayInput is an input type that accepts GetMulticastDomainFilterArray and GetMulticastDomainFilterArrayOutput values. You can construct a concrete instance of `GetMulticastDomainFilterArrayInput` via:

GetMulticastDomainFilterArray{ GetMulticastDomainFilterArgs{...} }

type GetMulticastDomainFilterArrayOutput

type GetMulticastDomainFilterArrayOutput struct{ *pulumi.OutputState }

func (GetMulticastDomainFilterArrayOutput) ElementType

func (GetMulticastDomainFilterArrayOutput) Index

func (GetMulticastDomainFilterArrayOutput) ToGetMulticastDomainFilterArrayOutput

func (o GetMulticastDomainFilterArrayOutput) ToGetMulticastDomainFilterArrayOutput() GetMulticastDomainFilterArrayOutput

func (GetMulticastDomainFilterArrayOutput) ToGetMulticastDomainFilterArrayOutputWithContext

func (o GetMulticastDomainFilterArrayOutput) ToGetMulticastDomainFilterArrayOutputWithContext(ctx context.Context) GetMulticastDomainFilterArrayOutput

type GetMulticastDomainFilterInput

type GetMulticastDomainFilterInput interface {
	pulumi.Input

	ToGetMulticastDomainFilterOutput() GetMulticastDomainFilterOutput
	ToGetMulticastDomainFilterOutputWithContext(context.Context) GetMulticastDomainFilterOutput
}

GetMulticastDomainFilterInput is an input type that accepts GetMulticastDomainFilterArgs and GetMulticastDomainFilterOutput values. You can construct a concrete instance of `GetMulticastDomainFilterInput` via:

GetMulticastDomainFilterArgs{...}

type GetMulticastDomainFilterOutput

type GetMulticastDomainFilterOutput struct{ *pulumi.OutputState }

func (GetMulticastDomainFilterOutput) ElementType

func (GetMulticastDomainFilterOutput) Name

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

func (GetMulticastDomainFilterOutput) ToGetMulticastDomainFilterOutput

func (o GetMulticastDomainFilterOutput) ToGetMulticastDomainFilterOutput() GetMulticastDomainFilterOutput

func (GetMulticastDomainFilterOutput) ToGetMulticastDomainFilterOutputWithContext

func (o GetMulticastDomainFilterOutput) ToGetMulticastDomainFilterOutputWithContext(ctx context.Context) GetMulticastDomainFilterOutput

func (GetMulticastDomainFilterOutput) Values

Set of values that are accepted for the given field. A multicast domain will be selected if any one of the given values matches.

type GetMulticastDomainMember

type GetMulticastDomainMember struct {
	// The IP address assigned to the transit gateway multicast group.
	GroupIpAddress string `pulumi:"groupIpAddress"`
	// The group members' network interface ID.
	NetworkInterfaceId string `pulumi:"networkInterfaceId"`
}

type GetMulticastDomainMemberArgs

type GetMulticastDomainMemberArgs struct {
	// The IP address assigned to the transit gateway multicast group.
	GroupIpAddress pulumi.StringInput `pulumi:"groupIpAddress"`
	// The group members' network interface ID.
	NetworkInterfaceId pulumi.StringInput `pulumi:"networkInterfaceId"`
}

func (GetMulticastDomainMemberArgs) ElementType

func (GetMulticastDomainMemberArgs) ToGetMulticastDomainMemberOutput

func (i GetMulticastDomainMemberArgs) ToGetMulticastDomainMemberOutput() GetMulticastDomainMemberOutput

func (GetMulticastDomainMemberArgs) ToGetMulticastDomainMemberOutputWithContext

func (i GetMulticastDomainMemberArgs) ToGetMulticastDomainMemberOutputWithContext(ctx context.Context) GetMulticastDomainMemberOutput

type GetMulticastDomainMemberArray

type GetMulticastDomainMemberArray []GetMulticastDomainMemberInput

func (GetMulticastDomainMemberArray) ElementType

func (GetMulticastDomainMemberArray) ToGetMulticastDomainMemberArrayOutput

func (i GetMulticastDomainMemberArray) ToGetMulticastDomainMemberArrayOutput() GetMulticastDomainMemberArrayOutput

func (GetMulticastDomainMemberArray) ToGetMulticastDomainMemberArrayOutputWithContext

func (i GetMulticastDomainMemberArray) ToGetMulticastDomainMemberArrayOutputWithContext(ctx context.Context) GetMulticastDomainMemberArrayOutput

type GetMulticastDomainMemberArrayInput

type GetMulticastDomainMemberArrayInput interface {
	pulumi.Input

	ToGetMulticastDomainMemberArrayOutput() GetMulticastDomainMemberArrayOutput
	ToGetMulticastDomainMemberArrayOutputWithContext(context.Context) GetMulticastDomainMemberArrayOutput
}

GetMulticastDomainMemberArrayInput is an input type that accepts GetMulticastDomainMemberArray and GetMulticastDomainMemberArrayOutput values. You can construct a concrete instance of `GetMulticastDomainMemberArrayInput` via:

GetMulticastDomainMemberArray{ GetMulticastDomainMemberArgs{...} }

type GetMulticastDomainMemberArrayOutput

type GetMulticastDomainMemberArrayOutput struct{ *pulumi.OutputState }

func (GetMulticastDomainMemberArrayOutput) ElementType

func (GetMulticastDomainMemberArrayOutput) Index

func (GetMulticastDomainMemberArrayOutput) ToGetMulticastDomainMemberArrayOutput

func (o GetMulticastDomainMemberArrayOutput) ToGetMulticastDomainMemberArrayOutput() GetMulticastDomainMemberArrayOutput

func (GetMulticastDomainMemberArrayOutput) ToGetMulticastDomainMemberArrayOutputWithContext

func (o GetMulticastDomainMemberArrayOutput) ToGetMulticastDomainMemberArrayOutputWithContext(ctx context.Context) GetMulticastDomainMemberArrayOutput

type GetMulticastDomainMemberInput

type GetMulticastDomainMemberInput interface {
	pulumi.Input

	ToGetMulticastDomainMemberOutput() GetMulticastDomainMemberOutput
	ToGetMulticastDomainMemberOutputWithContext(context.Context) GetMulticastDomainMemberOutput
}

GetMulticastDomainMemberInput is an input type that accepts GetMulticastDomainMemberArgs and GetMulticastDomainMemberOutput values. You can construct a concrete instance of `GetMulticastDomainMemberInput` via:

GetMulticastDomainMemberArgs{...}

type GetMulticastDomainMemberOutput

type GetMulticastDomainMemberOutput struct{ *pulumi.OutputState }

func (GetMulticastDomainMemberOutput) ElementType

func (GetMulticastDomainMemberOutput) GroupIpAddress

The IP address assigned to the transit gateway multicast group.

func (GetMulticastDomainMemberOutput) NetworkInterfaceId

func (o GetMulticastDomainMemberOutput) NetworkInterfaceId() pulumi.StringOutput

The group members' network interface ID.

func (GetMulticastDomainMemberOutput) ToGetMulticastDomainMemberOutput

func (o GetMulticastDomainMemberOutput) ToGetMulticastDomainMemberOutput() GetMulticastDomainMemberOutput

func (GetMulticastDomainMemberOutput) ToGetMulticastDomainMemberOutputWithContext

func (o GetMulticastDomainMemberOutput) ToGetMulticastDomainMemberOutputWithContext(ctx context.Context) GetMulticastDomainMemberOutput

type GetMulticastDomainSource

type GetMulticastDomainSource struct {
	// The IP address assigned to the transit gateway multicast group.
	GroupIpAddress string `pulumi:"groupIpAddress"`
	// The group members' network interface ID.
	NetworkInterfaceId string `pulumi:"networkInterfaceId"`
}

type GetMulticastDomainSourceArgs

type GetMulticastDomainSourceArgs struct {
	// The IP address assigned to the transit gateway multicast group.
	GroupIpAddress pulumi.StringInput `pulumi:"groupIpAddress"`
	// The group members' network interface ID.
	NetworkInterfaceId pulumi.StringInput `pulumi:"networkInterfaceId"`
}

func (GetMulticastDomainSourceArgs) ElementType

func (GetMulticastDomainSourceArgs) ToGetMulticastDomainSourceOutput

func (i GetMulticastDomainSourceArgs) ToGetMulticastDomainSourceOutput() GetMulticastDomainSourceOutput

func (GetMulticastDomainSourceArgs) ToGetMulticastDomainSourceOutputWithContext

func (i GetMulticastDomainSourceArgs) ToGetMulticastDomainSourceOutputWithContext(ctx context.Context) GetMulticastDomainSourceOutput

type GetMulticastDomainSourceArray

type GetMulticastDomainSourceArray []GetMulticastDomainSourceInput

func (GetMulticastDomainSourceArray) ElementType

func (GetMulticastDomainSourceArray) ToGetMulticastDomainSourceArrayOutput

func (i GetMulticastDomainSourceArray) ToGetMulticastDomainSourceArrayOutput() GetMulticastDomainSourceArrayOutput

func (GetMulticastDomainSourceArray) ToGetMulticastDomainSourceArrayOutputWithContext

func (i GetMulticastDomainSourceArray) ToGetMulticastDomainSourceArrayOutputWithContext(ctx context.Context) GetMulticastDomainSourceArrayOutput

type GetMulticastDomainSourceArrayInput

type GetMulticastDomainSourceArrayInput interface {
	pulumi.Input

	ToGetMulticastDomainSourceArrayOutput() GetMulticastDomainSourceArrayOutput
	ToGetMulticastDomainSourceArrayOutputWithContext(context.Context) GetMulticastDomainSourceArrayOutput
}

GetMulticastDomainSourceArrayInput is an input type that accepts GetMulticastDomainSourceArray and GetMulticastDomainSourceArrayOutput values. You can construct a concrete instance of `GetMulticastDomainSourceArrayInput` via:

GetMulticastDomainSourceArray{ GetMulticastDomainSourceArgs{...} }

type GetMulticastDomainSourceArrayOutput

type GetMulticastDomainSourceArrayOutput struct{ *pulumi.OutputState }

func (GetMulticastDomainSourceArrayOutput) ElementType

func (GetMulticastDomainSourceArrayOutput) Index

func (GetMulticastDomainSourceArrayOutput) ToGetMulticastDomainSourceArrayOutput

func (o GetMulticastDomainSourceArrayOutput) ToGetMulticastDomainSourceArrayOutput() GetMulticastDomainSourceArrayOutput

func (GetMulticastDomainSourceArrayOutput) ToGetMulticastDomainSourceArrayOutputWithContext

func (o GetMulticastDomainSourceArrayOutput) ToGetMulticastDomainSourceArrayOutputWithContext(ctx context.Context) GetMulticastDomainSourceArrayOutput

type GetMulticastDomainSourceInput

type GetMulticastDomainSourceInput interface {
	pulumi.Input

	ToGetMulticastDomainSourceOutput() GetMulticastDomainSourceOutput
	ToGetMulticastDomainSourceOutputWithContext(context.Context) GetMulticastDomainSourceOutput
}

GetMulticastDomainSourceInput is an input type that accepts GetMulticastDomainSourceArgs and GetMulticastDomainSourceOutput values. You can construct a concrete instance of `GetMulticastDomainSourceInput` via:

GetMulticastDomainSourceArgs{...}

type GetMulticastDomainSourceOutput

type GetMulticastDomainSourceOutput struct{ *pulumi.OutputState }

func (GetMulticastDomainSourceOutput) ElementType

func (GetMulticastDomainSourceOutput) GroupIpAddress

The IP address assigned to the transit gateway multicast group.

func (GetMulticastDomainSourceOutput) NetworkInterfaceId

func (o GetMulticastDomainSourceOutput) NetworkInterfaceId() pulumi.StringOutput

The group members' network interface ID.

func (GetMulticastDomainSourceOutput) ToGetMulticastDomainSourceOutput

func (o GetMulticastDomainSourceOutput) ToGetMulticastDomainSourceOutput() GetMulticastDomainSourceOutput

func (GetMulticastDomainSourceOutput) ToGetMulticastDomainSourceOutputWithContext

func (o GetMulticastDomainSourceOutput) ToGetMulticastDomainSourceOutputWithContext(ctx context.Context) GetMulticastDomainSourceOutput

type GetPeeringAttachmentFilter

type GetPeeringAttachmentFilter struct {
	// 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 {
	// 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

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 GetRouteTableAssociationsArgs

type GetRouteTableAssociationsArgs struct {
	// Custom filter block as described below.
	//
	// More complex filters can be expressed using one or more `filter` sub-blocks,
	// which take the following arguments:
	Filters []GetRouteTableAssociationsFilter `pulumi:"filters"`
	// Identifier of EC2 Transit Gateway Route Table.
	//
	// The following arguments are optional:
	TransitGatewayRouteTableId string `pulumi:"transitGatewayRouteTableId"`
}

A collection of arguments for invoking getRouteTableAssociations.

type GetRouteTableAssociationsFilter

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

type GetRouteTableAssociationsFilterArgs

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

func (GetRouteTableAssociationsFilterArgs) ElementType

func (GetRouteTableAssociationsFilterArgs) ToGetRouteTableAssociationsFilterOutput

func (i GetRouteTableAssociationsFilterArgs) ToGetRouteTableAssociationsFilterOutput() GetRouteTableAssociationsFilterOutput

func (GetRouteTableAssociationsFilterArgs) ToGetRouteTableAssociationsFilterOutputWithContext

func (i GetRouteTableAssociationsFilterArgs) ToGetRouteTableAssociationsFilterOutputWithContext(ctx context.Context) GetRouteTableAssociationsFilterOutput

type GetRouteTableAssociationsFilterArray

type GetRouteTableAssociationsFilterArray []GetRouteTableAssociationsFilterInput

func (GetRouteTableAssociationsFilterArray) ElementType

func (GetRouteTableAssociationsFilterArray) ToGetRouteTableAssociationsFilterArrayOutput

func (i GetRouteTableAssociationsFilterArray) ToGetRouteTableAssociationsFilterArrayOutput() GetRouteTableAssociationsFilterArrayOutput

func (GetRouteTableAssociationsFilterArray) ToGetRouteTableAssociationsFilterArrayOutputWithContext

func (i GetRouteTableAssociationsFilterArray) ToGetRouteTableAssociationsFilterArrayOutputWithContext(ctx context.Context) GetRouteTableAssociationsFilterArrayOutput

type GetRouteTableAssociationsFilterArrayInput

type GetRouteTableAssociationsFilterArrayInput interface {
	pulumi.Input

	ToGetRouteTableAssociationsFilterArrayOutput() GetRouteTableAssociationsFilterArrayOutput
	ToGetRouteTableAssociationsFilterArrayOutputWithContext(context.Context) GetRouteTableAssociationsFilterArrayOutput
}

GetRouteTableAssociationsFilterArrayInput is an input type that accepts GetRouteTableAssociationsFilterArray and GetRouteTableAssociationsFilterArrayOutput values. You can construct a concrete instance of `GetRouteTableAssociationsFilterArrayInput` via:

GetRouteTableAssociationsFilterArray{ GetRouteTableAssociationsFilterArgs{...} }

type GetRouteTableAssociationsFilterArrayOutput

type GetRouteTableAssociationsFilterArrayOutput struct{ *pulumi.OutputState }

func (GetRouteTableAssociationsFilterArrayOutput) ElementType

func (GetRouteTableAssociationsFilterArrayOutput) Index

func (GetRouteTableAssociationsFilterArrayOutput) ToGetRouteTableAssociationsFilterArrayOutput

func (o GetRouteTableAssociationsFilterArrayOutput) ToGetRouteTableAssociationsFilterArrayOutput() GetRouteTableAssociationsFilterArrayOutput

func (GetRouteTableAssociationsFilterArrayOutput) ToGetRouteTableAssociationsFilterArrayOutputWithContext

func (o GetRouteTableAssociationsFilterArrayOutput) ToGetRouteTableAssociationsFilterArrayOutputWithContext(ctx context.Context) GetRouteTableAssociationsFilterArrayOutput

type GetRouteTableAssociationsFilterInput

type GetRouteTableAssociationsFilterInput interface {
	pulumi.Input

	ToGetRouteTableAssociationsFilterOutput() GetRouteTableAssociationsFilterOutput
	ToGetRouteTableAssociationsFilterOutputWithContext(context.Context) GetRouteTableAssociationsFilterOutput
}

GetRouteTableAssociationsFilterInput is an input type that accepts GetRouteTableAssociationsFilterArgs and GetRouteTableAssociationsFilterOutput values. You can construct a concrete instance of `GetRouteTableAssociationsFilterInput` via:

GetRouteTableAssociationsFilterArgs{...}

type GetRouteTableAssociationsFilterOutput

type GetRouteTableAssociationsFilterOutput struct{ *pulumi.OutputState }

func (GetRouteTableAssociationsFilterOutput) ElementType

func (GetRouteTableAssociationsFilterOutput) Name

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

func (GetRouteTableAssociationsFilterOutput) ToGetRouteTableAssociationsFilterOutput

func (o GetRouteTableAssociationsFilterOutput) ToGetRouteTableAssociationsFilterOutput() GetRouteTableAssociationsFilterOutput

func (GetRouteTableAssociationsFilterOutput) ToGetRouteTableAssociationsFilterOutputWithContext

func (o GetRouteTableAssociationsFilterOutput) ToGetRouteTableAssociationsFilterOutputWithContext(ctx context.Context) GetRouteTableAssociationsFilterOutput

func (GetRouteTableAssociationsFilterOutput) Values

Set of values that are accepted for the given field. A Transit Gateway Route Table will be selected if any one of the given values matches.

type GetRouteTableAssociationsOutputArgs

type GetRouteTableAssociationsOutputArgs struct {
	// Custom filter block as described below.
	//
	// More complex filters can be expressed using one or more `filter` sub-blocks,
	// which take the following arguments:
	Filters GetRouteTableAssociationsFilterArrayInput `pulumi:"filters"`
	// Identifier of EC2 Transit Gateway Route Table.
	//
	// The following arguments are optional:
	TransitGatewayRouteTableId pulumi.StringInput `pulumi:"transitGatewayRouteTableId"`
}

A collection of arguments for invoking getRouteTableAssociations.

func (GetRouteTableAssociationsOutputArgs) ElementType

type GetRouteTableAssociationsResult

type GetRouteTableAssociationsResult struct {
	Filters []GetRouteTableAssociationsFilter `pulumi:"filters"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// Set of Transit Gateway Route Table Association identifiers.
	Ids                        []string `pulumi:"ids"`
	TransitGatewayRouteTableId string   `pulumi:"transitGatewayRouteTableId"`
}

A collection of values returned by getRouteTableAssociations.

func GetRouteTableAssociations

func GetRouteTableAssociations(ctx *pulumi.Context, args *GetRouteTableAssociationsArgs, opts ...pulumi.InvokeOption) (*GetRouteTableAssociationsResult, error)

Provides information for multiple EC2 Transit Gateway Route Table Associations, such as their identifiers.

## Example Usage ### By Transit Gateway Identifier

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := ec2transitgateway.GetRouteTableAssociations(ctx, &ec2transitgateway.GetRouteTableAssociationsArgs{
			TransitGatewayRouteTableId: exampleAwsEc2TransitGatewayRouteTable.Id,
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type GetRouteTableAssociationsResultOutput

type GetRouteTableAssociationsResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getRouteTableAssociations.

func (GetRouteTableAssociationsResultOutput) ElementType

func (GetRouteTableAssociationsResultOutput) Filters

func (GetRouteTableAssociationsResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetRouteTableAssociationsResultOutput) Ids

Set of Transit Gateway Route Table Association identifiers.

func (GetRouteTableAssociationsResultOutput) ToGetRouteTableAssociationsResultOutput

func (o GetRouteTableAssociationsResultOutput) ToGetRouteTableAssociationsResultOutput() GetRouteTableAssociationsResultOutput

func (GetRouteTableAssociationsResultOutput) ToGetRouteTableAssociationsResultOutputWithContext

func (o GetRouteTableAssociationsResultOutput) ToGetRouteTableAssociationsResultOutputWithContext(ctx context.Context) GetRouteTableAssociationsResultOutput

func (GetRouteTableAssociationsResultOutput) TransitGatewayRouteTableId

func (o GetRouteTableAssociationsResultOutput) TransitGatewayRouteTableId() pulumi.StringOutput

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 GetRouteTablePropagationsArgs

type GetRouteTablePropagationsArgs struct {
	// Custom filter block as described below.
	//
	// More complex filters can be expressed using one or more `filter` sub-blocks,
	// which take the following arguments:
	Filters []GetRouteTablePropagationsFilter `pulumi:"filters"`
	// Identifier of EC2 Transit Gateway Route Table.
	//
	// The following arguments are optional:
	TransitGatewayRouteTableId string `pulumi:"transitGatewayRouteTableId"`
}

A collection of arguments for invoking getRouteTablePropagations.

type GetRouteTablePropagationsFilter

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

type GetRouteTablePropagationsFilterArgs

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

func (GetRouteTablePropagationsFilterArgs) ElementType

func (GetRouteTablePropagationsFilterArgs) ToGetRouteTablePropagationsFilterOutput

func (i GetRouteTablePropagationsFilterArgs) ToGetRouteTablePropagationsFilterOutput() GetRouteTablePropagationsFilterOutput

func (GetRouteTablePropagationsFilterArgs) ToGetRouteTablePropagationsFilterOutputWithContext

func (i GetRouteTablePropagationsFilterArgs) ToGetRouteTablePropagationsFilterOutputWithContext(ctx context.Context) GetRouteTablePropagationsFilterOutput

type GetRouteTablePropagationsFilterArray

type GetRouteTablePropagationsFilterArray []GetRouteTablePropagationsFilterInput

func (GetRouteTablePropagationsFilterArray) ElementType

func (GetRouteTablePropagationsFilterArray) ToGetRouteTablePropagationsFilterArrayOutput

func (i GetRouteTablePropagationsFilterArray) ToGetRouteTablePropagationsFilterArrayOutput() GetRouteTablePropagationsFilterArrayOutput

func (GetRouteTablePropagationsFilterArray) ToGetRouteTablePropagationsFilterArrayOutputWithContext

func (i GetRouteTablePropagationsFilterArray) ToGetRouteTablePropagationsFilterArrayOutputWithContext(ctx context.Context) GetRouteTablePropagationsFilterArrayOutput

type GetRouteTablePropagationsFilterArrayInput

type GetRouteTablePropagationsFilterArrayInput interface {
	pulumi.Input

	ToGetRouteTablePropagationsFilterArrayOutput() GetRouteTablePropagationsFilterArrayOutput
	ToGetRouteTablePropagationsFilterArrayOutputWithContext(context.Context) GetRouteTablePropagationsFilterArrayOutput
}

GetRouteTablePropagationsFilterArrayInput is an input type that accepts GetRouteTablePropagationsFilterArray and GetRouteTablePropagationsFilterArrayOutput values. You can construct a concrete instance of `GetRouteTablePropagationsFilterArrayInput` via:

GetRouteTablePropagationsFilterArray{ GetRouteTablePropagationsFilterArgs{...} }

type GetRouteTablePropagationsFilterArrayOutput

type GetRouteTablePropagationsFilterArrayOutput struct{ *pulumi.OutputState }

func (GetRouteTablePropagationsFilterArrayOutput) ElementType

func (GetRouteTablePropagationsFilterArrayOutput) Index

func (GetRouteTablePropagationsFilterArrayOutput) ToGetRouteTablePropagationsFilterArrayOutput

func (o GetRouteTablePropagationsFilterArrayOutput) ToGetRouteTablePropagationsFilterArrayOutput() GetRouteTablePropagationsFilterArrayOutput

func (GetRouteTablePropagationsFilterArrayOutput) ToGetRouteTablePropagationsFilterArrayOutputWithContext

func (o GetRouteTablePropagationsFilterArrayOutput) ToGetRouteTablePropagationsFilterArrayOutputWithContext(ctx context.Context) GetRouteTablePropagationsFilterArrayOutput

type GetRouteTablePropagationsFilterInput

type GetRouteTablePropagationsFilterInput interface {
	pulumi.Input

	ToGetRouteTablePropagationsFilterOutput() GetRouteTablePropagationsFilterOutput
	ToGetRouteTablePropagationsFilterOutputWithContext(context.Context) GetRouteTablePropagationsFilterOutput
}

GetRouteTablePropagationsFilterInput is an input type that accepts GetRouteTablePropagationsFilterArgs and GetRouteTablePropagationsFilterOutput values. You can construct a concrete instance of `GetRouteTablePropagationsFilterInput` via:

GetRouteTablePropagationsFilterArgs{...}

type GetRouteTablePropagationsFilterOutput

type GetRouteTablePropagationsFilterOutput struct{ *pulumi.OutputState }

func (GetRouteTablePropagationsFilterOutput) ElementType

func (GetRouteTablePropagationsFilterOutput) Name

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

func (GetRouteTablePropagationsFilterOutput) ToGetRouteTablePropagationsFilterOutput

func (o GetRouteTablePropagationsFilterOutput) ToGetRouteTablePropagationsFilterOutput() GetRouteTablePropagationsFilterOutput

func (GetRouteTablePropagationsFilterOutput) ToGetRouteTablePropagationsFilterOutputWithContext

func (o GetRouteTablePropagationsFilterOutput) ToGetRouteTablePropagationsFilterOutputWithContext(ctx context.Context) GetRouteTablePropagationsFilterOutput

func (GetRouteTablePropagationsFilterOutput) Values

Set of values that are accepted for the given field. A Transit Gateway Route Table will be selected if any one of the given values matches.

type GetRouteTablePropagationsOutputArgs

type GetRouteTablePropagationsOutputArgs struct {
	// Custom filter block as described below.
	//
	// More complex filters can be expressed using one or more `filter` sub-blocks,
	// which take the following arguments:
	Filters GetRouteTablePropagationsFilterArrayInput `pulumi:"filters"`
	// Identifier of EC2 Transit Gateway Route Table.
	//
	// The following arguments are optional:
	TransitGatewayRouteTableId pulumi.StringInput `pulumi:"transitGatewayRouteTableId"`
}

A collection of arguments for invoking getRouteTablePropagations.

func (GetRouteTablePropagationsOutputArgs) ElementType

type GetRouteTablePropagationsResult

type GetRouteTablePropagationsResult struct {
	Filters []GetRouteTablePropagationsFilter `pulumi:"filters"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// Set of Transit Gateway Route Table Association identifiers.
	Ids                        []string `pulumi:"ids"`
	TransitGatewayRouteTableId string   `pulumi:"transitGatewayRouteTableId"`
}

A collection of values returned by getRouteTablePropagations.

func GetRouteTablePropagations

func GetRouteTablePropagations(ctx *pulumi.Context, args *GetRouteTablePropagationsArgs, opts ...pulumi.InvokeOption) (*GetRouteTablePropagationsResult, error)

Provides information for multiple EC2 Transit Gateway Route Table Propagations, such as their identifiers.

## Example Usage ### By Transit Gateway Identifier

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := ec2transitgateway.GetRouteTablePropagations(ctx, &ec2transitgateway.GetRouteTablePropagationsArgs{
			TransitGatewayRouteTableId: exampleAwsEc2TransitGatewayRouteTable.Id,
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type GetRouteTablePropagationsResultOutput

type GetRouteTablePropagationsResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getRouteTablePropagations.

func (GetRouteTablePropagationsResultOutput) ElementType

func (GetRouteTablePropagationsResultOutput) Filters

func (GetRouteTablePropagationsResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetRouteTablePropagationsResultOutput) Ids

Set of Transit Gateway Route Table Association identifiers.

func (GetRouteTablePropagationsResultOutput) ToGetRouteTablePropagationsResultOutput

func (o GetRouteTablePropagationsResultOutput) ToGetRouteTablePropagationsResultOutput() GetRouteTablePropagationsResultOutput

func (GetRouteTablePropagationsResultOutput) ToGetRouteTablePropagationsResultOutputWithContext

func (o GetRouteTablePropagationsResultOutput) ToGetRouteTablePropagationsResultOutputWithContext(ctx context.Context) GetRouteTablePropagationsResultOutput

func (GetRouteTablePropagationsResultOutput) TransitGatewayRouteTableId

func (o GetRouteTablePropagationsResultOutput) TransitGatewayRouteTableId() pulumi.StringOutput

type GetRouteTableRoutesArgs added in v6.1.0

type GetRouteTableRoutesArgs struct {
	// Custom filter block as described below.
	Filters []GetRouteTableRoutesFilter `pulumi:"filters"`
	// Identifier of EC2 Transit Gateway Route Table.
	//
	// More complex filters can be expressed using one or more `filter` sub-blocks,
	// which take the following arguments:
	TransitGatewayRouteTableId string `pulumi:"transitGatewayRouteTableId"`
}

A collection of arguments for invoking getRouteTableRoutes.

type GetRouteTableRoutesFilter added in v6.1.0

type GetRouteTableRoutesFilter struct {
	// Name of the field to filter by, as defined by
	// [the underlying AWS API](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_SearchTransitGatewayRoutes.html).
	Name string `pulumi:"name"`
	// Set of values that are accepted for the given field.
	Values []string `pulumi:"values"`
}

type GetRouteTableRoutesFilterArgs added in v6.1.0

type GetRouteTableRoutesFilterArgs struct {
	// Name of the field to filter by, as defined by
	// [the underlying AWS API](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_SearchTransitGatewayRoutes.html).
	Name pulumi.StringInput `pulumi:"name"`
	// Set of values that are accepted for the given field.
	Values pulumi.StringArrayInput `pulumi:"values"`
}

func (GetRouteTableRoutesFilterArgs) ElementType added in v6.1.0

func (GetRouteTableRoutesFilterArgs) ToGetRouteTableRoutesFilterOutput added in v6.1.0

func (i GetRouteTableRoutesFilterArgs) ToGetRouteTableRoutesFilterOutput() GetRouteTableRoutesFilterOutput

func (GetRouteTableRoutesFilterArgs) ToGetRouteTableRoutesFilterOutputWithContext added in v6.1.0

func (i GetRouteTableRoutesFilterArgs) ToGetRouteTableRoutesFilterOutputWithContext(ctx context.Context) GetRouteTableRoutesFilterOutput

type GetRouteTableRoutesFilterArray added in v6.1.0

type GetRouteTableRoutesFilterArray []GetRouteTableRoutesFilterInput

func (GetRouteTableRoutesFilterArray) ElementType added in v6.1.0

func (GetRouteTableRoutesFilterArray) ToGetRouteTableRoutesFilterArrayOutput added in v6.1.0

func (i GetRouteTableRoutesFilterArray) ToGetRouteTableRoutesFilterArrayOutput() GetRouteTableRoutesFilterArrayOutput

func (GetRouteTableRoutesFilterArray) ToGetRouteTableRoutesFilterArrayOutputWithContext added in v6.1.0

func (i GetRouteTableRoutesFilterArray) ToGetRouteTableRoutesFilterArrayOutputWithContext(ctx context.Context) GetRouteTableRoutesFilterArrayOutput

type GetRouteTableRoutesFilterArrayInput added in v6.1.0

type GetRouteTableRoutesFilterArrayInput interface {
	pulumi.Input

	ToGetRouteTableRoutesFilterArrayOutput() GetRouteTableRoutesFilterArrayOutput
	ToGetRouteTableRoutesFilterArrayOutputWithContext(context.Context) GetRouteTableRoutesFilterArrayOutput
}

GetRouteTableRoutesFilterArrayInput is an input type that accepts GetRouteTableRoutesFilterArray and GetRouteTableRoutesFilterArrayOutput values. You can construct a concrete instance of `GetRouteTableRoutesFilterArrayInput` via:

GetRouteTableRoutesFilterArray{ GetRouteTableRoutesFilterArgs{...} }

type GetRouteTableRoutesFilterArrayOutput added in v6.1.0

type GetRouteTableRoutesFilterArrayOutput struct{ *pulumi.OutputState }

func (GetRouteTableRoutesFilterArrayOutput) ElementType added in v6.1.0

func (GetRouteTableRoutesFilterArrayOutput) Index added in v6.1.0

func (GetRouteTableRoutesFilterArrayOutput) ToGetRouteTableRoutesFilterArrayOutput added in v6.1.0

func (o GetRouteTableRoutesFilterArrayOutput) ToGetRouteTableRoutesFilterArrayOutput() GetRouteTableRoutesFilterArrayOutput

func (GetRouteTableRoutesFilterArrayOutput) ToGetRouteTableRoutesFilterArrayOutputWithContext added in v6.1.0

func (o GetRouteTableRoutesFilterArrayOutput) ToGetRouteTableRoutesFilterArrayOutputWithContext(ctx context.Context) GetRouteTableRoutesFilterArrayOutput

type GetRouteTableRoutesFilterInput added in v6.1.0

type GetRouteTableRoutesFilterInput interface {
	pulumi.Input

	ToGetRouteTableRoutesFilterOutput() GetRouteTableRoutesFilterOutput
	ToGetRouteTableRoutesFilterOutputWithContext(context.Context) GetRouteTableRoutesFilterOutput
}

GetRouteTableRoutesFilterInput is an input type that accepts GetRouteTableRoutesFilterArgs and GetRouteTableRoutesFilterOutput values. You can construct a concrete instance of `GetRouteTableRoutesFilterInput` via:

GetRouteTableRoutesFilterArgs{...}

type GetRouteTableRoutesFilterOutput added in v6.1.0

type GetRouteTableRoutesFilterOutput struct{ *pulumi.OutputState }

func (GetRouteTableRoutesFilterOutput) ElementType added in v6.1.0

func (GetRouteTableRoutesFilterOutput) Name added in v6.1.0

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

func (GetRouteTableRoutesFilterOutput) ToGetRouteTableRoutesFilterOutput added in v6.1.0

func (o GetRouteTableRoutesFilterOutput) ToGetRouteTableRoutesFilterOutput() GetRouteTableRoutesFilterOutput

func (GetRouteTableRoutesFilterOutput) ToGetRouteTableRoutesFilterOutputWithContext added in v6.1.0

func (o GetRouteTableRoutesFilterOutput) ToGetRouteTableRoutesFilterOutputWithContext(ctx context.Context) GetRouteTableRoutesFilterOutput

func (GetRouteTableRoutesFilterOutput) Values added in v6.1.0

Set of values that are accepted for the given field.

type GetRouteTableRoutesOutputArgs added in v6.1.0

type GetRouteTableRoutesOutputArgs struct {
	// Custom filter block as described below.
	Filters GetRouteTableRoutesFilterArrayInput `pulumi:"filters"`
	// Identifier of EC2 Transit Gateway Route Table.
	//
	// More complex filters can be expressed using one or more `filter` sub-blocks,
	// which take the following arguments:
	TransitGatewayRouteTableId pulumi.StringInput `pulumi:"transitGatewayRouteTableId"`
}

A collection of arguments for invoking getRouteTableRoutes.

func (GetRouteTableRoutesOutputArgs) ElementType added in v6.1.0

type GetRouteTableRoutesResult added in v6.1.0

type GetRouteTableRoutesResult struct {
	Filters []GetRouteTableRoutesFilter `pulumi:"filters"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// List of Transit Gateway Routes.
	Routes                     []GetRouteTableRoutesRoute `pulumi:"routes"`
	TransitGatewayRouteTableId string                     `pulumi:"transitGatewayRouteTableId"`
}

A collection of values returned by getRouteTableRoutes.

func GetRouteTableRoutes added in v6.1.0

func GetRouteTableRoutes(ctx *pulumi.Context, args *GetRouteTableRoutesArgs, opts ...pulumi.InvokeOption) (*GetRouteTableRoutesResult, error)

Provides informations for routes of a specific transit gateway, such as state, type, cidr

## Example Usage

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := ec2transitgateway.GetRouteTableRoutes(ctx, &ec2transitgateway.GetRouteTableRoutesArgs{
			Filters: []ec2transitgateway.GetRouteTableRoutesFilter{
				{
					Name: "type",
					Values: []string{
						"propagated",
					},
				},
			},
			TransitGatewayRouteTableId: example.Id,
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### Complexe use case with transit gateway peering

This example allow to create a mesh of transit gateway for différent regions routing all traffic to on-prem VPN

```go package main

import (

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

)

func notImplemented(message string) pulumi.AnyOutput {
	panic(message)
}

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		this, err := ec2transitgateway.NewTransitGateway(ctx, "this", &ec2transitgateway.TransitGatewayArgs{
			DefaultRouteTableAssociation: pulumi.String("disable"),
			DefaultRouteTablePropagation: pulumi.String("disable"),
		})
		if err != nil {
			return err
		}
		thisVpcAttachment, err := ec2transitgateway.NewVpcAttachment(ctx, "this", &ec2transitgateway.VpcAttachmentArgs{
			SubnetIds:        "TODO: For expression",
			TransitGatewayId: this[0].ID(),
			VpcId:            pulumi.Any(thisAwsVpc.Id),
			TransitGatewayDefaultRouteTableAssociation: pulumi.Bool(false),
			TransitGatewayDefaultRouteTablePropagation: pulumi.Bool(false),
		})
		if err != nil {
			return err
		}
		thisRouteTable, err := ec2transitgateway.NewRouteTable(ctx, "this", &ec2transitgateway.RouteTableArgs{
			TransitGatewayId: pulumi.Any(myTransitGatewayId),
		})
		if err != nil {
			return err
		}
		_, err = ec2transitgateway.NewRouteTableAssociation(ctx, "vpc", &ec2transitgateway.RouteTableAssociationArgs{
			TransitGatewayAttachmentId: thisVpcAttachment.ID(),
			TransitGatewayRouteTableId: pulumi.Any(myTransitGatewayIdRouteTable),
		})
		if err != nil {
			return err
		}
		_, err = ec2transitgateway.NewRouteTableAssociation(ctx, "vpn", &ec2transitgateway.RouteTableAssociationArgs{
			TransitGatewayAttachmentId: pulumi.Any(thisAwsVpnConnection[0].TransitGatewayAttachmentId),
			TransitGatewayRouteTableId: pulumi.Any(myTransitGatewayIdRouteTable),
		})
		if err != nil {
			return err
		}
		_, err = ec2transitgateway.NewRouteTablePropagation(ctx, "vpc", &ec2transitgateway.RouteTablePropagationArgs{
			TransitGatewayAttachmentId: thisVpcAttachment.ID(),
			TransitGatewayRouteTableId: thisRouteTable.ID(),
		})
		if err != nil {
			return err
		}
		_, err = ec2transitgateway.NewRouteTablePropagation(ctx, "vpn", &ec2transitgateway.RouteTablePropagationArgs{
			TransitGatewayAttachmentId: pulumi.Any(thisAwsVpnConnection[0].TransitGatewayAttachmentId),
			TransitGatewayRouteTableId: thisRouteTable.ID(),
		})
		if err != nil {
			return err
		}
		_, err = ec2transitgateway.NewTransitGateway(ctx, "eu-central-1", &ec2transitgateway.TransitGatewayArgs{
			DefaultRouteTableAssociation: pulumi.String("disable"),
			DefaultRouteTablePropagation: pulumi.String("disable"),
		})
		if err != nil {
			return err
		}
		_, err = ec2transitgateway.NewPeeringAttachment(ctx, "eu-central-1", &ec2transitgateway.PeeringAttachmentArgs{
			PeerRegion:           pulumi.String("eu-central-1"),
			PeerTransitGatewayId: eu_central_1.ID(),
			TransitGatewayId:     this[0].ID(),
			Tags: pulumi.StringMap{
				"Name": pulumi.String("TGW mesh from eu-central-1"),
			},
		})
		if err != nil {
			return err
		}
		_, err = ec2transitgateway.NewRouteTable(ctx, "eu-central-1", &ec2transitgateway.RouteTableArgs{
			TransitGatewayId: eu_central_1.ID(),
			Tags:             notImplemented("merge({Name=\"wl-transit-gateway-routetable-eu-central-1\"},local.global_tags)"),
		})
		if err != nil {
			return err
		}
		_, err = ec2transitgateway.NewPeeringAttachmentAccepter(ctx, "eu-central-1", &ec2transitgateway.PeeringAttachmentAccepterArgs{
			TransitGatewayAttachmentId: eu_central_1PeeringAttachment.ID(),
			Tags: pulumi.StringMap{
				"Name": pulumi.String("Accepter TGW peering eu-central-1"),
			},
		})
		if err != nil {
			return err
		}
		_, err = ec2transitgateway.GetVpcAttachments(ctx, &ec2transitgateway.GetVpcAttachmentsArgs{
			Filters: []ec2transitgateway.GetVpcAttachmentsFilter{
				{
					Name: "state",
					Values: []string{
						"pendingAcceptance",
						"available",
					},
				},
			},
		}, nil)
		if err != nil {
			return err
		}
		_ := "TODO: For expression"
		_ := nil
		_ = notImplemented("compact([fork,tvaindata.aws_ec2_transit_gateway_vpc_attachment.unit-eu-central-1:contains(local.trusted_aws_accounts_ids,lookup(tva,\"vpc_owner_id\",\"\"))?tva.id:\"\"])")
		// # create a map with all vpc attachments trusted to be able to use for_each to avoid conflict on plan/apply ##
		trustedVpcAttachementsEu_central_1 := notImplemented("toset(sort(local.trusted_vpc_attachments_list_eu-central-1))")
		var trustedAccountsEu_central_1Tgw []*ec2transitgateway.VpcAttachmentAccepter
		for index := 0; index < trustedVpcAttachementsEu_central_1; index++ {
			key0 := index
			val0 := index
			__res, err := ec2transitgateway.NewVpcAttachmentAccepter(ctx, fmt.Sprintf("trusted_accounts_eu-central-1_tgw-%v", key0), &ec2transitgateway.VpcAttachmentAccepterArgs{
				TransitGatewayAttachmentId:                 pulumi.Any(val0),
				TransitGatewayDefaultRouteTablePropagation: pulumi.Bool(false),
				TransitGatewayDefaultRouteTableAssociation: pulumi.Bool(false),
				Tags: pulumi.Any(globalTags),
			})
			if err != nil {
				return err
			}
			trustedAccountsEu_central_1Tgw = append(trustedAccountsEu_central_1Tgw, __res)
		}
		var trustedAccountsEu_central_1 []*ec2transitgateway.RouteTableAssociation
		for key0, val0 := range trustedAccountsEu_central_1Tgw {
			__res, err := ec2transitgateway.NewRouteTableAssociation(ctx, fmt.Sprintf("trusted_accounts_eu-central-1-%v", key0), &ec2transitgateway.RouteTableAssociationArgs{
				TransitGatewayAttachmentId: pulumi.String(val0),
				TransitGatewayRouteTableId: eu_central_1RouteTable.ID(),
			})
			if err != nil {
				return err
			}
			trustedAccountsEu_central_1 = append(trustedAccountsEu_central_1, __res)
		}
		var trustedAccountsEu_central_1RouteTablePropagation []*ec2transitgateway.RouteTablePropagation
		for key0, val0 := range trustedAccountsEu_central_1Tgw {
			__res, err := ec2transitgateway.NewRouteTablePropagation(ctx, fmt.Sprintf("trusted_accounts_eu-central-1-%v", key0), &ec2transitgateway.RouteTablePropagationArgs{
				TransitGatewayAttachmentId: pulumi.String(val0),
				TransitGatewayRouteTableId: eu_central_1RouteTable.ID(),
			})
			if err != nil {
				return err
			}
			trustedAccountsEu_central_1RouteTablePropagation = append(trustedAccountsEu_central_1RouteTablePropagation, __res)
		}
		test := ec2transitgateway.GetRouteTableRoutesOutput(ctx, ec2transitgateway.GetRouteTableRoutesOutputArgs{
			Filters: ec2transitgateway.GetRouteTableRoutesFilterArray{
				&ec2transitgateway.GetRouteTableRoutesFilterArgs{
					Name: pulumi.String("type"),
					Values: pulumi.StringArray{
						pulumi.String("propagated"),
					},
				},
			},
			TransitGatewayRouteTableId: eu_central_1RouteTable.ID(),
		}, nil)
		var default_region_to_eu_central_1 []*ec2transitgateway.Route
		for key0, _ := range test.ApplyT(func(test ec2transitgateway.GetRouteTableRoutesResult) (map[string]ec2transitgateway.GetRouteTableRoutesRoute, error) {
			return "TODO: For expression", nil
		}).(map[string]ec2transitgateway.GetRouteTableRoutesRouteOutput) {
			__res, err := ec2transitgateway.NewRoute(ctx, fmt.Sprintf("default-region-to-eu-central-1-%v", key0), &ec2transitgateway.RouteArgs{
				DestinationCidrBlock:       pulumi.String(key0),
				TransitGatewayRouteTableId: thisRouteTable.ID(),
				TransitGatewayAttachmentId: eu_central_1PeeringAttachment.ID(),
			})
			if err != nil {
				return err
			}
			default_region_to_eu_central_1 = append(default_region_to_eu_central_1, __res)
		}
		return nil
	})
}

```

type GetRouteTableRoutesResultOutput added in v6.1.0

type GetRouteTableRoutesResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getRouteTableRoutes.

func GetRouteTableRoutesOutput added in v6.1.0

func (GetRouteTableRoutesResultOutput) ElementType added in v6.1.0

func (GetRouteTableRoutesResultOutput) Filters added in v6.1.0

func (GetRouteTableRoutesResultOutput) Id added in v6.1.0

The provider-assigned unique ID for this managed resource.

func (GetRouteTableRoutesResultOutput) Routes added in v6.1.0

List of Transit Gateway Routes.

func (GetRouteTableRoutesResultOutput) ToGetRouteTableRoutesResultOutput added in v6.1.0

func (o GetRouteTableRoutesResultOutput) ToGetRouteTableRoutesResultOutput() GetRouteTableRoutesResultOutput

func (GetRouteTableRoutesResultOutput) ToGetRouteTableRoutesResultOutputWithContext added in v6.1.0

func (o GetRouteTableRoutesResultOutput) ToGetRouteTableRoutesResultOutputWithContext(ctx context.Context) GetRouteTableRoutesResultOutput

func (GetRouteTableRoutesResultOutput) TransitGatewayRouteTableId added in v6.1.0

func (o GetRouteTableRoutesResultOutput) TransitGatewayRouteTableId() pulumi.StringOutput

type GetRouteTableRoutesRoute added in v6.1.0

type GetRouteTableRoutesRoute struct {
	// The CIDR used for route destination matches.
	DestinationCidrBlock string `pulumi:"destinationCidrBlock"`
	// The ID of the prefix list used for destination matches.
	PrefixListId string `pulumi:"prefixListId"`
	// The current state of the route, can be `active`, `deleted`, `pending`, `blackhole`, `deleting`.
	State string `pulumi:"state"`
	// The id of the transit gateway route table announcement, most of the time it is an empty string.
	TransitGatewayRouteTableAnnouncementId string `pulumi:"transitGatewayRouteTableAnnouncementId"`
	// The type of the route, can be `propagated` or `static`.
	Type string `pulumi:"type"`
}

type GetRouteTableRoutesRouteArgs added in v6.1.0

type GetRouteTableRoutesRouteArgs struct {
	// The CIDR used for route destination matches.
	DestinationCidrBlock pulumi.StringInput `pulumi:"destinationCidrBlock"`
	// The ID of the prefix list used for destination matches.
	PrefixListId pulumi.StringInput `pulumi:"prefixListId"`
	// The current state of the route, can be `active`, `deleted`, `pending`, `blackhole`, `deleting`.
	State pulumi.StringInput `pulumi:"state"`
	// The id of the transit gateway route table announcement, most of the time it is an empty string.
	TransitGatewayRouteTableAnnouncementId pulumi.StringInput `pulumi:"transitGatewayRouteTableAnnouncementId"`
	// The type of the route, can be `propagated` or `static`.
	Type pulumi.StringInput `pulumi:"type"`
}

func (GetRouteTableRoutesRouteArgs) ElementType added in v6.1.0

func (GetRouteTableRoutesRouteArgs) ToGetRouteTableRoutesRouteOutput added in v6.1.0

func (i GetRouteTableRoutesRouteArgs) ToGetRouteTableRoutesRouteOutput() GetRouteTableRoutesRouteOutput

func (GetRouteTableRoutesRouteArgs) ToGetRouteTableRoutesRouteOutputWithContext added in v6.1.0

func (i GetRouteTableRoutesRouteArgs) ToGetRouteTableRoutesRouteOutputWithContext(ctx context.Context) GetRouteTableRoutesRouteOutput

type GetRouteTableRoutesRouteArray added in v6.1.0

type GetRouteTableRoutesRouteArray []GetRouteTableRoutesRouteInput

func (GetRouteTableRoutesRouteArray) ElementType added in v6.1.0

func (GetRouteTableRoutesRouteArray) ToGetRouteTableRoutesRouteArrayOutput added in v6.1.0

func (i GetRouteTableRoutesRouteArray) ToGetRouteTableRoutesRouteArrayOutput() GetRouteTableRoutesRouteArrayOutput

func (GetRouteTableRoutesRouteArray) ToGetRouteTableRoutesRouteArrayOutputWithContext added in v6.1.0

func (i GetRouteTableRoutesRouteArray) ToGetRouteTableRoutesRouteArrayOutputWithContext(ctx context.Context) GetRouteTableRoutesRouteArrayOutput

type GetRouteTableRoutesRouteArrayInput added in v6.1.0

type GetRouteTableRoutesRouteArrayInput interface {
	pulumi.Input

	ToGetRouteTableRoutesRouteArrayOutput() GetRouteTableRoutesRouteArrayOutput
	ToGetRouteTableRoutesRouteArrayOutputWithContext(context.Context) GetRouteTableRoutesRouteArrayOutput
}

GetRouteTableRoutesRouteArrayInput is an input type that accepts GetRouteTableRoutesRouteArray and GetRouteTableRoutesRouteArrayOutput values. You can construct a concrete instance of `GetRouteTableRoutesRouteArrayInput` via:

GetRouteTableRoutesRouteArray{ GetRouteTableRoutesRouteArgs{...} }

type GetRouteTableRoutesRouteArrayOutput added in v6.1.0

type GetRouteTableRoutesRouteArrayOutput struct{ *pulumi.OutputState }

func (GetRouteTableRoutesRouteArrayOutput) ElementType added in v6.1.0

func (GetRouteTableRoutesRouteArrayOutput) Index added in v6.1.0

func (GetRouteTableRoutesRouteArrayOutput) ToGetRouteTableRoutesRouteArrayOutput added in v6.1.0

func (o GetRouteTableRoutesRouteArrayOutput) ToGetRouteTableRoutesRouteArrayOutput() GetRouteTableRoutesRouteArrayOutput

func (GetRouteTableRoutesRouteArrayOutput) ToGetRouteTableRoutesRouteArrayOutputWithContext added in v6.1.0

func (o GetRouteTableRoutesRouteArrayOutput) ToGetRouteTableRoutesRouteArrayOutputWithContext(ctx context.Context) GetRouteTableRoutesRouteArrayOutput

type GetRouteTableRoutesRouteInput added in v6.1.0

type GetRouteTableRoutesRouteInput interface {
	pulumi.Input

	ToGetRouteTableRoutesRouteOutput() GetRouteTableRoutesRouteOutput
	ToGetRouteTableRoutesRouteOutputWithContext(context.Context) GetRouteTableRoutesRouteOutput
}

GetRouteTableRoutesRouteInput is an input type that accepts GetRouteTableRoutesRouteArgs and GetRouteTableRoutesRouteOutput values. You can construct a concrete instance of `GetRouteTableRoutesRouteInput` via:

GetRouteTableRoutesRouteArgs{...}

type GetRouteTableRoutesRouteOutput added in v6.1.0

type GetRouteTableRoutesRouteOutput struct{ *pulumi.OutputState }

func (GetRouteTableRoutesRouteOutput) DestinationCidrBlock added in v6.1.0

func (o GetRouteTableRoutesRouteOutput) DestinationCidrBlock() pulumi.StringOutput

The CIDR used for route destination matches.

func (GetRouteTableRoutesRouteOutput) ElementType added in v6.1.0

func (GetRouteTableRoutesRouteOutput) PrefixListId added in v6.1.0

The ID of the prefix list used for destination matches.

func (GetRouteTableRoutesRouteOutput) State added in v6.1.0

The current state of the route, can be `active`, `deleted`, `pending`, `blackhole`, `deleting`.

func (GetRouteTableRoutesRouteOutput) ToGetRouteTableRoutesRouteOutput added in v6.1.0

func (o GetRouteTableRoutesRouteOutput) ToGetRouteTableRoutesRouteOutput() GetRouteTableRoutesRouteOutput

func (GetRouteTableRoutesRouteOutput) ToGetRouteTableRoutesRouteOutputWithContext added in v6.1.0

func (o GetRouteTableRoutesRouteOutput) ToGetRouteTableRoutesRouteOutputWithContext(ctx context.Context) GetRouteTableRoutesRouteOutput

func (GetRouteTableRoutesRouteOutput) TransitGatewayRouteTableAnnouncementId added in v6.1.0

func (o GetRouteTableRoutesRouteOutput) TransitGatewayRouteTableAnnouncementId() pulumi.StringOutput

The id of the transit gateway route table announcement, most of the time it is an empty string.

func (GetRouteTableRoutesRouteOutput) Type added in v6.1.0

The type of the route, can be `propagated` or `static`.

type GetTransitGatewayFilter

type GetTransitGatewayFilter struct {
	// 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 {
	// 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

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 GetVpcAttachmentsArgs

type GetVpcAttachmentsArgs struct {
	// One or more configuration blocks containing name-values filters. Detailed below.
	Filters []GetVpcAttachmentsFilter `pulumi:"filters"`
}

A collection of arguments for invoking getVpcAttachments.

type GetVpcAttachmentsFilter

type GetVpcAttachmentsFilter struct {
	// Name of the filter check available value on [official documentation](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeTransitGatewayVpcAttachments.html)
	Name string `pulumi:"name"`
	// List of one or more values for the filter.
	Values []string `pulumi:"values"`
}

type GetVpcAttachmentsFilterArgs

type GetVpcAttachmentsFilterArgs struct {
	// Name of the filter check available value on [official documentation](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeTransitGatewayVpcAttachments.html)
	Name pulumi.StringInput `pulumi:"name"`
	// List of one or more values for the filter.
	Values pulumi.StringArrayInput `pulumi:"values"`
}

func (GetVpcAttachmentsFilterArgs) ElementType

func (GetVpcAttachmentsFilterArgs) ToGetVpcAttachmentsFilterOutput

func (i GetVpcAttachmentsFilterArgs) ToGetVpcAttachmentsFilterOutput() GetVpcAttachmentsFilterOutput

func (GetVpcAttachmentsFilterArgs) ToGetVpcAttachmentsFilterOutputWithContext

func (i GetVpcAttachmentsFilterArgs) ToGetVpcAttachmentsFilterOutputWithContext(ctx context.Context) GetVpcAttachmentsFilterOutput

type GetVpcAttachmentsFilterArray

type GetVpcAttachmentsFilterArray []GetVpcAttachmentsFilterInput

func (GetVpcAttachmentsFilterArray) ElementType

func (GetVpcAttachmentsFilterArray) ToGetVpcAttachmentsFilterArrayOutput

func (i GetVpcAttachmentsFilterArray) ToGetVpcAttachmentsFilterArrayOutput() GetVpcAttachmentsFilterArrayOutput

func (GetVpcAttachmentsFilterArray) ToGetVpcAttachmentsFilterArrayOutputWithContext

func (i GetVpcAttachmentsFilterArray) ToGetVpcAttachmentsFilterArrayOutputWithContext(ctx context.Context) GetVpcAttachmentsFilterArrayOutput

type GetVpcAttachmentsFilterArrayInput

type GetVpcAttachmentsFilterArrayInput interface {
	pulumi.Input

	ToGetVpcAttachmentsFilterArrayOutput() GetVpcAttachmentsFilterArrayOutput
	ToGetVpcAttachmentsFilterArrayOutputWithContext(context.Context) GetVpcAttachmentsFilterArrayOutput
}

GetVpcAttachmentsFilterArrayInput is an input type that accepts GetVpcAttachmentsFilterArray and GetVpcAttachmentsFilterArrayOutput values. You can construct a concrete instance of `GetVpcAttachmentsFilterArrayInput` via:

GetVpcAttachmentsFilterArray{ GetVpcAttachmentsFilterArgs{...} }

type GetVpcAttachmentsFilterArrayOutput

type GetVpcAttachmentsFilterArrayOutput struct{ *pulumi.OutputState }

func (GetVpcAttachmentsFilterArrayOutput) ElementType

func (GetVpcAttachmentsFilterArrayOutput) Index

func (GetVpcAttachmentsFilterArrayOutput) ToGetVpcAttachmentsFilterArrayOutput

func (o GetVpcAttachmentsFilterArrayOutput) ToGetVpcAttachmentsFilterArrayOutput() GetVpcAttachmentsFilterArrayOutput

func (GetVpcAttachmentsFilterArrayOutput) ToGetVpcAttachmentsFilterArrayOutputWithContext

func (o GetVpcAttachmentsFilterArrayOutput) ToGetVpcAttachmentsFilterArrayOutputWithContext(ctx context.Context) GetVpcAttachmentsFilterArrayOutput

type GetVpcAttachmentsFilterInput

type GetVpcAttachmentsFilterInput interface {
	pulumi.Input

	ToGetVpcAttachmentsFilterOutput() GetVpcAttachmentsFilterOutput
	ToGetVpcAttachmentsFilterOutputWithContext(context.Context) GetVpcAttachmentsFilterOutput
}

GetVpcAttachmentsFilterInput is an input type that accepts GetVpcAttachmentsFilterArgs and GetVpcAttachmentsFilterOutput values. You can construct a concrete instance of `GetVpcAttachmentsFilterInput` via:

GetVpcAttachmentsFilterArgs{...}

type GetVpcAttachmentsFilterOutput

type GetVpcAttachmentsFilterOutput struct{ *pulumi.OutputState }

func (GetVpcAttachmentsFilterOutput) ElementType

func (GetVpcAttachmentsFilterOutput) Name

Name of the filter check available value on [official documentation](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeTransitGatewayVpcAttachments.html)

func (GetVpcAttachmentsFilterOutput) ToGetVpcAttachmentsFilterOutput

func (o GetVpcAttachmentsFilterOutput) ToGetVpcAttachmentsFilterOutput() GetVpcAttachmentsFilterOutput

func (GetVpcAttachmentsFilterOutput) ToGetVpcAttachmentsFilterOutputWithContext

func (o GetVpcAttachmentsFilterOutput) ToGetVpcAttachmentsFilterOutputWithContext(ctx context.Context) GetVpcAttachmentsFilterOutput

func (GetVpcAttachmentsFilterOutput) Values

List of one or more values for the filter.

type GetVpcAttachmentsOutputArgs

type GetVpcAttachmentsOutputArgs struct {
	// One or more configuration blocks containing name-values filters. Detailed below.
	Filters GetVpcAttachmentsFilterArrayInput `pulumi:"filters"`
}

A collection of arguments for invoking getVpcAttachments.

func (GetVpcAttachmentsOutputArgs) ElementType

type GetVpcAttachmentsResult

type GetVpcAttachmentsResult struct {
	Filters []GetVpcAttachmentsFilter `pulumi:"filters"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// A list of all attachments ids matching the filter. You can retrieve more information about the attachment using the [ec2transitgateway.VpcAttachment][2] data source, searching by identifier.
	Ids []string `pulumi:"ids"`
}

A collection of values returned by getVpcAttachments.

func GetVpcAttachments

func GetVpcAttachments(ctx *pulumi.Context, args *GetVpcAttachmentsArgs, opts ...pulumi.InvokeOption) (*GetVpcAttachmentsResult, error)

Get information on EC2 Transit Gateway VPC Attachments.

## Example Usage ### By Filter

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		filtered, err := ec2transitgateway.GetVpcAttachments(ctx, &ec2transitgateway.GetVpcAttachmentsArgs{
			Filters: []ec2transitgateway.GetVpcAttachmentsFilter{
				{
					Name: "state",
					Values: []string{
						"pendingAcceptance",
					},
				},
			},
		}, nil)
		if err != nil {
			return err
		}
		_ := "TODO: For expression"
		return nil
	})
}

```

type GetVpcAttachmentsResultOutput

type GetVpcAttachmentsResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getVpcAttachments.

func (GetVpcAttachmentsResultOutput) ElementType

func (GetVpcAttachmentsResultOutput) Filters

func (GetVpcAttachmentsResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetVpcAttachmentsResultOutput) Ids

A list of all attachments ids matching the filter. You can retrieve more information about the attachment using the ec2transitgateway.VpcAttachment[2] data source, searching by identifier.

func (GetVpcAttachmentsResultOutput) ToGetVpcAttachmentsResultOutput

func (o GetVpcAttachmentsResultOutput) ToGetVpcAttachmentsResultOutput() GetVpcAttachmentsResultOutput

func (GetVpcAttachmentsResultOutput) ToGetVpcAttachmentsResultOutputWithContext

func (o GetVpcAttachmentsResultOutput) ToGetVpcAttachmentsResultOutputWithContext(ctx context.Context) GetVpcAttachmentsResultOutput

type GetVpnAttachmentArgs

type GetVpnAttachmentArgs struct {
	// Configuration block(s) for filtering. Detailed below.
	Filters []GetVpnAttachmentFilter `pulumi:"filters"`
	// 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 {
	// 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 {
	// 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

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

type GetVpnAttachmentOutputArgs struct {
	// Configuration block(s) for filtering. Detailed below.
	Filters GetVpnAttachmentFilterArrayInput `pulumi:"filters"`
	// 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

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/v6/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(exampleAwsEc2TransitGateway.Id),
			VpnConnectionId:  pulumi.StringRef(exampleAwsVpnConnection.Id),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### Filter

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v6/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{
				{
					Name: "resource-id",
					Values: []string{
						"some-resource",
					},
				},
			},
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type GetVpnAttachmentResultOutput

type GetVpnAttachmentResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getVpnAttachment.

func (GetVpnAttachmentResultOutput) ElementType

func (GetVpnAttachmentResultOutput) Filters

func (GetVpnAttachmentResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetVpnAttachmentResultOutput) Tags

Key-value tags for the EC2 Transit Gateway VPN Attachment

func (GetVpnAttachmentResultOutput) ToGetVpnAttachmentResultOutput

func (o GetVpnAttachmentResultOutput) ToGetVpnAttachmentResultOutput() GetVpnAttachmentResultOutput

func (GetVpnAttachmentResultOutput) ToGetVpnAttachmentResultOutputWithContext

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

func (GetVpnAttachmentResultOutput) TransitGatewayId

func (GetVpnAttachmentResultOutput) VpnConnectionId

type InstanceConnectEndpoint

type InstanceConnectEndpoint struct {
	pulumi.CustomResourceState

	// The Amazon Resource Name (ARN) of the EC2 Instance Connect Endpoint.
	Arn pulumi.StringOutput `pulumi:"arn"`
	// The Availability Zone of the EC2 Instance Connect Endpoint.
	AvailabilityZone pulumi.StringOutput `pulumi:"availabilityZone"`
	// The DNS name of the EC2 Instance Connect Endpoint.
	DnsName pulumi.StringOutput `pulumi:"dnsName"`
	// The DNS name of the EC2 Instance Connect FIPS Endpoint.
	FipsDnsName pulumi.StringOutput `pulumi:"fipsDnsName"`
	// The IDs of the ENIs that Amazon EC2 automatically created when creating the EC2 Instance Connect Endpoint.
	NetworkInterfaceIds pulumi.StringArrayOutput `pulumi:"networkInterfaceIds"`
	// The ID of the AWS account that created the EC2 Instance Connect Endpoint.
	OwnerId pulumi.StringOutput `pulumi:"ownerId"`
	// Indicates whether your client's IP address is preserved as the source. Default: `true`.
	PreserveClientIp pulumi.BoolOutput `pulumi:"preserveClientIp"`
	// One or more security groups to associate with the endpoint. If you don't specify a security group, the default security group for the VPC will be associated with the endpoint.
	SecurityGroupIds pulumi.StringArrayOutput `pulumi:"securityGroupIds"`
	// The ID of the subnet in which to create the EC2 Instance Connect Endpoint.
	SubnetId pulumi.StringOutput `pulumi:"subnetId"`
	// Map of tags to assign to this resource. 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.
	//
	// Deprecated: Please use `tags` instead.
	TagsAll  pulumi.StringMapOutput                   `pulumi:"tagsAll"`
	Timeouts InstanceConnectEndpointTimeoutsPtrOutput `pulumi:"timeouts"`
	// The ID of the VPC in which the EC2 Instance Connect Endpoint was created.
	VpcId pulumi.StringOutput `pulumi:"vpcId"`
}

Manages an EC2 Instance Connect Endpoint.

## Example Usage

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := ec2transitgateway.NewInstanceConnectEndpoint(ctx, "example", &ec2transitgateway.InstanceConnectEndpointArgs{
			SubnetId: pulumi.Any(exampleAwsSubnet.Id),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Using `pulumi import`, import EC2 Instance Connect Endpoints using the `id`. For example:

```sh

$ pulumi import aws:ec2transitgateway/instanceConnectEndpoint:InstanceConnectEndpoint example eice-012345678

```

func GetInstanceConnectEndpoint

func GetInstanceConnectEndpoint(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *InstanceConnectEndpointState, opts ...pulumi.ResourceOption) (*InstanceConnectEndpoint, error)

GetInstanceConnectEndpoint gets an existing InstanceConnectEndpoint 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 NewInstanceConnectEndpoint

func NewInstanceConnectEndpoint(ctx *pulumi.Context,
	name string, args *InstanceConnectEndpointArgs, opts ...pulumi.ResourceOption) (*InstanceConnectEndpoint, error)

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

func (*InstanceConnectEndpoint) ElementType

func (*InstanceConnectEndpoint) ElementType() reflect.Type

func (*InstanceConnectEndpoint) ToInstanceConnectEndpointOutput

func (i *InstanceConnectEndpoint) ToInstanceConnectEndpointOutput() InstanceConnectEndpointOutput

func (*InstanceConnectEndpoint) ToInstanceConnectEndpointOutputWithContext

func (i *InstanceConnectEndpoint) ToInstanceConnectEndpointOutputWithContext(ctx context.Context) InstanceConnectEndpointOutput

type InstanceConnectEndpointArgs

type InstanceConnectEndpointArgs struct {
	// Indicates whether your client's IP address is preserved as the source. Default: `true`.
	PreserveClientIp pulumi.BoolPtrInput
	// One or more security groups to associate with the endpoint. If you don't specify a security group, the default security group for the VPC will be associated with the endpoint.
	SecurityGroupIds pulumi.StringArrayInput
	// The ID of the subnet in which to create the EC2 Instance Connect Endpoint.
	SubnetId pulumi.StringInput
	// Map of tags to assign to this resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags     pulumi.StringMapInput
	Timeouts InstanceConnectEndpointTimeoutsPtrInput
}

The set of arguments for constructing a InstanceConnectEndpoint resource.

func (InstanceConnectEndpointArgs) ElementType

type InstanceConnectEndpointArray

type InstanceConnectEndpointArray []InstanceConnectEndpointInput

func (InstanceConnectEndpointArray) ElementType

func (InstanceConnectEndpointArray) ToInstanceConnectEndpointArrayOutput

func (i InstanceConnectEndpointArray) ToInstanceConnectEndpointArrayOutput() InstanceConnectEndpointArrayOutput

func (InstanceConnectEndpointArray) ToInstanceConnectEndpointArrayOutputWithContext

func (i InstanceConnectEndpointArray) ToInstanceConnectEndpointArrayOutputWithContext(ctx context.Context) InstanceConnectEndpointArrayOutput

type InstanceConnectEndpointArrayInput

type InstanceConnectEndpointArrayInput interface {
	pulumi.Input

	ToInstanceConnectEndpointArrayOutput() InstanceConnectEndpointArrayOutput
	ToInstanceConnectEndpointArrayOutputWithContext(context.Context) InstanceConnectEndpointArrayOutput
}

InstanceConnectEndpointArrayInput is an input type that accepts InstanceConnectEndpointArray and InstanceConnectEndpointArrayOutput values. You can construct a concrete instance of `InstanceConnectEndpointArrayInput` via:

InstanceConnectEndpointArray{ InstanceConnectEndpointArgs{...} }

type InstanceConnectEndpointArrayOutput

type InstanceConnectEndpointArrayOutput struct{ *pulumi.OutputState }

func (InstanceConnectEndpointArrayOutput) ElementType

func (InstanceConnectEndpointArrayOutput) Index

func (InstanceConnectEndpointArrayOutput) ToInstanceConnectEndpointArrayOutput

func (o InstanceConnectEndpointArrayOutput) ToInstanceConnectEndpointArrayOutput() InstanceConnectEndpointArrayOutput

func (InstanceConnectEndpointArrayOutput) ToInstanceConnectEndpointArrayOutputWithContext

func (o InstanceConnectEndpointArrayOutput) ToInstanceConnectEndpointArrayOutputWithContext(ctx context.Context) InstanceConnectEndpointArrayOutput

type InstanceConnectEndpointInput

type InstanceConnectEndpointInput interface {
	pulumi.Input

	ToInstanceConnectEndpointOutput() InstanceConnectEndpointOutput
	ToInstanceConnectEndpointOutputWithContext(ctx context.Context) InstanceConnectEndpointOutput
}

type InstanceConnectEndpointMap

type InstanceConnectEndpointMap map[string]InstanceConnectEndpointInput

func (InstanceConnectEndpointMap) ElementType

func (InstanceConnectEndpointMap) ElementType() reflect.Type

func (InstanceConnectEndpointMap) ToInstanceConnectEndpointMapOutput

func (i InstanceConnectEndpointMap) ToInstanceConnectEndpointMapOutput() InstanceConnectEndpointMapOutput

func (InstanceConnectEndpointMap) ToInstanceConnectEndpointMapOutputWithContext

func (i InstanceConnectEndpointMap) ToInstanceConnectEndpointMapOutputWithContext(ctx context.Context) InstanceConnectEndpointMapOutput

type InstanceConnectEndpointMapInput

type InstanceConnectEndpointMapInput interface {
	pulumi.Input

	ToInstanceConnectEndpointMapOutput() InstanceConnectEndpointMapOutput
	ToInstanceConnectEndpointMapOutputWithContext(context.Context) InstanceConnectEndpointMapOutput
}

InstanceConnectEndpointMapInput is an input type that accepts InstanceConnectEndpointMap and InstanceConnectEndpointMapOutput values. You can construct a concrete instance of `InstanceConnectEndpointMapInput` via:

InstanceConnectEndpointMap{ "key": InstanceConnectEndpointArgs{...} }

type InstanceConnectEndpointMapOutput

type InstanceConnectEndpointMapOutput struct{ *pulumi.OutputState }

func (InstanceConnectEndpointMapOutput) ElementType

func (InstanceConnectEndpointMapOutput) MapIndex

func (InstanceConnectEndpointMapOutput) ToInstanceConnectEndpointMapOutput

func (o InstanceConnectEndpointMapOutput) ToInstanceConnectEndpointMapOutput() InstanceConnectEndpointMapOutput

func (InstanceConnectEndpointMapOutput) ToInstanceConnectEndpointMapOutputWithContext

func (o InstanceConnectEndpointMapOutput) ToInstanceConnectEndpointMapOutputWithContext(ctx context.Context) InstanceConnectEndpointMapOutput

type InstanceConnectEndpointOutput

type InstanceConnectEndpointOutput struct{ *pulumi.OutputState }

func (InstanceConnectEndpointOutput) Arn

The Amazon Resource Name (ARN) of the EC2 Instance Connect Endpoint.

func (InstanceConnectEndpointOutput) AvailabilityZone

func (o InstanceConnectEndpointOutput) AvailabilityZone() pulumi.StringOutput

The Availability Zone of the EC2 Instance Connect Endpoint.

func (InstanceConnectEndpointOutput) DnsName

The DNS name of the EC2 Instance Connect Endpoint.

func (InstanceConnectEndpointOutput) ElementType

func (InstanceConnectEndpointOutput) FipsDnsName

The DNS name of the EC2 Instance Connect FIPS Endpoint.

func (InstanceConnectEndpointOutput) NetworkInterfaceIds

func (o InstanceConnectEndpointOutput) NetworkInterfaceIds() pulumi.StringArrayOutput

The IDs of the ENIs that Amazon EC2 automatically created when creating the EC2 Instance Connect Endpoint.

func (InstanceConnectEndpointOutput) OwnerId

The ID of the AWS account that created the EC2 Instance Connect Endpoint.

func (InstanceConnectEndpointOutput) PreserveClientIp

func (o InstanceConnectEndpointOutput) PreserveClientIp() pulumi.BoolOutput

Indicates whether your client's IP address is preserved as the source. Default: `true`.

func (InstanceConnectEndpointOutput) SecurityGroupIds

One or more security groups to associate with the endpoint. If you don't specify a security group, the default security group for the VPC will be associated with the endpoint.

func (InstanceConnectEndpointOutput) SubnetId

The ID of the subnet in which to create the EC2 Instance Connect Endpoint.

func (InstanceConnectEndpointOutput) Tags

Map of tags to assign to this resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.

func (InstanceConnectEndpointOutput) TagsAll deprecated

A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.

Deprecated: Please use `tags` instead.

func (InstanceConnectEndpointOutput) Timeouts

func (InstanceConnectEndpointOutput) ToInstanceConnectEndpointOutput

func (o InstanceConnectEndpointOutput) ToInstanceConnectEndpointOutput() InstanceConnectEndpointOutput

func (InstanceConnectEndpointOutput) ToInstanceConnectEndpointOutputWithContext

func (o InstanceConnectEndpointOutput) ToInstanceConnectEndpointOutputWithContext(ctx context.Context) InstanceConnectEndpointOutput

func (InstanceConnectEndpointOutput) VpcId

The ID of the VPC in which the EC2 Instance Connect Endpoint was created.

type InstanceConnectEndpointState

type InstanceConnectEndpointState struct {
	// The Amazon Resource Name (ARN) of the EC2 Instance Connect Endpoint.
	Arn pulumi.StringPtrInput
	// The Availability Zone of the EC2 Instance Connect Endpoint.
	AvailabilityZone pulumi.StringPtrInput
	// The DNS name of the EC2 Instance Connect Endpoint.
	DnsName pulumi.StringPtrInput
	// The DNS name of the EC2 Instance Connect FIPS Endpoint.
	FipsDnsName pulumi.StringPtrInput
	// The IDs of the ENIs that Amazon EC2 automatically created when creating the EC2 Instance Connect Endpoint.
	NetworkInterfaceIds pulumi.StringArrayInput
	// The ID of the AWS account that created the EC2 Instance Connect Endpoint.
	OwnerId pulumi.StringPtrInput
	// Indicates whether your client's IP address is preserved as the source. Default: `true`.
	PreserveClientIp pulumi.BoolPtrInput
	// One or more security groups to associate with the endpoint. If you don't specify a security group, the default security group for the VPC will be associated with the endpoint.
	SecurityGroupIds pulumi.StringArrayInput
	// The ID of the subnet in which to create the EC2 Instance Connect Endpoint.
	SubnetId pulumi.StringPtrInput
	// Map of tags to assign to this resource. 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.
	//
	// Deprecated: Please use `tags` instead.
	TagsAll  pulumi.StringMapInput
	Timeouts InstanceConnectEndpointTimeoutsPtrInput
	// The ID of the VPC in which the EC2 Instance Connect Endpoint was created.
	VpcId pulumi.StringPtrInput
}

func (InstanceConnectEndpointState) ElementType

type InstanceConnectEndpointTimeouts

type InstanceConnectEndpointTimeouts struct {
	// A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
	Create *string `pulumi:"create"`
	// A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
	Delete *string `pulumi:"delete"`
}

type InstanceConnectEndpointTimeoutsArgs

type InstanceConnectEndpointTimeoutsArgs struct {
	// A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
	Create pulumi.StringPtrInput `pulumi:"create"`
	// A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
	Delete pulumi.StringPtrInput `pulumi:"delete"`
}

func (InstanceConnectEndpointTimeoutsArgs) ElementType

func (InstanceConnectEndpointTimeoutsArgs) ToInstanceConnectEndpointTimeoutsOutput

func (i InstanceConnectEndpointTimeoutsArgs) ToInstanceConnectEndpointTimeoutsOutput() InstanceConnectEndpointTimeoutsOutput

func (InstanceConnectEndpointTimeoutsArgs) ToInstanceConnectEndpointTimeoutsOutputWithContext

func (i InstanceConnectEndpointTimeoutsArgs) ToInstanceConnectEndpointTimeoutsOutputWithContext(ctx context.Context) InstanceConnectEndpointTimeoutsOutput

func (InstanceConnectEndpointTimeoutsArgs) ToInstanceConnectEndpointTimeoutsPtrOutput

func (i InstanceConnectEndpointTimeoutsArgs) ToInstanceConnectEndpointTimeoutsPtrOutput() InstanceConnectEndpointTimeoutsPtrOutput

func (InstanceConnectEndpointTimeoutsArgs) ToInstanceConnectEndpointTimeoutsPtrOutputWithContext

func (i InstanceConnectEndpointTimeoutsArgs) ToInstanceConnectEndpointTimeoutsPtrOutputWithContext(ctx context.Context) InstanceConnectEndpointTimeoutsPtrOutput

type InstanceConnectEndpointTimeoutsInput

type InstanceConnectEndpointTimeoutsInput interface {
	pulumi.Input

	ToInstanceConnectEndpointTimeoutsOutput() InstanceConnectEndpointTimeoutsOutput
	ToInstanceConnectEndpointTimeoutsOutputWithContext(context.Context) InstanceConnectEndpointTimeoutsOutput
}

InstanceConnectEndpointTimeoutsInput is an input type that accepts InstanceConnectEndpointTimeoutsArgs and InstanceConnectEndpointTimeoutsOutput values. You can construct a concrete instance of `InstanceConnectEndpointTimeoutsInput` via:

InstanceConnectEndpointTimeoutsArgs{...}

type InstanceConnectEndpointTimeoutsOutput

type InstanceConnectEndpointTimeoutsOutput struct{ *pulumi.OutputState }

func (InstanceConnectEndpointTimeoutsOutput) Create

A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).

func (InstanceConnectEndpointTimeoutsOutput) Delete

A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.

func (InstanceConnectEndpointTimeoutsOutput) ElementType

func (InstanceConnectEndpointTimeoutsOutput) ToInstanceConnectEndpointTimeoutsOutput

func (o InstanceConnectEndpointTimeoutsOutput) ToInstanceConnectEndpointTimeoutsOutput() InstanceConnectEndpointTimeoutsOutput

func (InstanceConnectEndpointTimeoutsOutput) ToInstanceConnectEndpointTimeoutsOutputWithContext

func (o InstanceConnectEndpointTimeoutsOutput) ToInstanceConnectEndpointTimeoutsOutputWithContext(ctx context.Context) InstanceConnectEndpointTimeoutsOutput

func (InstanceConnectEndpointTimeoutsOutput) ToInstanceConnectEndpointTimeoutsPtrOutput

func (o InstanceConnectEndpointTimeoutsOutput) ToInstanceConnectEndpointTimeoutsPtrOutput() InstanceConnectEndpointTimeoutsPtrOutput

func (InstanceConnectEndpointTimeoutsOutput) ToInstanceConnectEndpointTimeoutsPtrOutputWithContext

func (o InstanceConnectEndpointTimeoutsOutput) ToInstanceConnectEndpointTimeoutsPtrOutputWithContext(ctx context.Context) InstanceConnectEndpointTimeoutsPtrOutput

type InstanceConnectEndpointTimeoutsPtrInput

type InstanceConnectEndpointTimeoutsPtrInput interface {
	pulumi.Input

	ToInstanceConnectEndpointTimeoutsPtrOutput() InstanceConnectEndpointTimeoutsPtrOutput
	ToInstanceConnectEndpointTimeoutsPtrOutputWithContext(context.Context) InstanceConnectEndpointTimeoutsPtrOutput
}

InstanceConnectEndpointTimeoutsPtrInput is an input type that accepts InstanceConnectEndpointTimeoutsArgs, InstanceConnectEndpointTimeoutsPtr and InstanceConnectEndpointTimeoutsPtrOutput values. You can construct a concrete instance of `InstanceConnectEndpointTimeoutsPtrInput` via:

        InstanceConnectEndpointTimeoutsArgs{...}

or:

        nil

type InstanceConnectEndpointTimeoutsPtrOutput

type InstanceConnectEndpointTimeoutsPtrOutput struct{ *pulumi.OutputState }

func (InstanceConnectEndpointTimeoutsPtrOutput) Create

A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).

func (InstanceConnectEndpointTimeoutsPtrOutput) Delete

A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.

func (InstanceConnectEndpointTimeoutsPtrOutput) Elem

func (InstanceConnectEndpointTimeoutsPtrOutput) ElementType

func (InstanceConnectEndpointTimeoutsPtrOutput) ToInstanceConnectEndpointTimeoutsPtrOutput

func (o InstanceConnectEndpointTimeoutsPtrOutput) ToInstanceConnectEndpointTimeoutsPtrOutput() InstanceConnectEndpointTimeoutsPtrOutput

func (InstanceConnectEndpointTimeoutsPtrOutput) ToInstanceConnectEndpointTimeoutsPtrOutputWithContext

func (o InstanceConnectEndpointTimeoutsPtrOutput) ToInstanceConnectEndpointTimeoutsPtrOutputWithContext(ctx context.Context) InstanceConnectEndpointTimeoutsPtrOutput

type InstanceState

type InstanceState struct {
	pulumi.CustomResourceState

	// Whether to request a forced stop when `state` is `stopped`. Otherwise (_i.e._, `state` is `running`), ignored. When an instance is forced to stop, it does not flush file system caches or file system metadata, and you must subsequently perform file system check and repair. Not recommended for Windows instances. Defaults to `false`.
	Force pulumi.BoolPtrOutput `pulumi:"force"`
	// ID of the instance.
	InstanceId pulumi.StringOutput `pulumi:"instanceId"`
	// State of the instance. Valid values are `stopped`, `running`.
	//
	// The following arguments are optional:
	State pulumi.StringOutput `pulumi:"state"`
}

Provides an EC2 instance state resource. This allows managing an instance power state.

> **NOTE on Instance State Management:** AWS does not currently have an EC2 API operation to determine an instance has finished processing user data. As a result, this resource can interfere with user data processing. For example, this resource may stop an instance while the user data script is in mid run.

## Example Usage

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		ubuntu, err := ec2.LookupAmi(ctx, &ec2.LookupAmiArgs{
			MostRecent: pulumi.BoolRef(true),
			Filters: []ec2.GetAmiFilter{
				{
					Name: "name",
					Values: []string{
						"ubuntu/images/hvm-ssd/ubuntu-focal-20.04-amd64-server-*",
					},
				},
				{
					Name: "virtualization-type",
					Values: []string{
						"hvm",
					},
				},
			},
			Owners: []string{
				"099720109477",
			},
		}, nil)
		if err != nil {
			return err
		}
		test, err := ec2.NewInstance(ctx, "test", &ec2.InstanceArgs{
			Ami:          *pulumi.String(ubuntu.Id),
			InstanceType: pulumi.String("t3.micro"),
			Tags: pulumi.StringMap{
				"Name": pulumi.String("HelloWorld"),
			},
		})
		if err != nil {
			return err
		}
		_, err = ec2transitgateway.NewInstanceState(ctx, "test", &ec2transitgateway.InstanceStateArgs{
			InstanceId: test.ID(),
			State:      pulumi.String("stopped"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Using `pulumi import`, import `aws_ec2_instance_state` using the `instance_id` attribute. For example:

```sh

$ pulumi import aws:ec2transitgateway/instanceState:InstanceState test i-02cae6557dfcf2f96

```

func GetInstanceState

func GetInstanceState(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *InstanceStateState, opts ...pulumi.ResourceOption) (*InstanceState, error)

GetInstanceState gets an existing InstanceState 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 NewInstanceState

func NewInstanceState(ctx *pulumi.Context,
	name string, args *InstanceStateArgs, opts ...pulumi.ResourceOption) (*InstanceState, error)

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

func (*InstanceState) ElementType

func (*InstanceState) ElementType() reflect.Type

func (*InstanceState) ToInstanceStateOutput

func (i *InstanceState) ToInstanceStateOutput() InstanceStateOutput

func (*InstanceState) ToInstanceStateOutputWithContext

func (i *InstanceState) ToInstanceStateOutputWithContext(ctx context.Context) InstanceStateOutput

type InstanceStateArgs

type InstanceStateArgs struct {
	// Whether to request a forced stop when `state` is `stopped`. Otherwise (_i.e._, `state` is `running`), ignored. When an instance is forced to stop, it does not flush file system caches or file system metadata, and you must subsequently perform file system check and repair. Not recommended for Windows instances. Defaults to `false`.
	Force pulumi.BoolPtrInput
	// ID of the instance.
	InstanceId pulumi.StringInput
	// State of the instance. Valid values are `stopped`, `running`.
	//
	// The following arguments are optional:
	State pulumi.StringInput
}

The set of arguments for constructing a InstanceState resource.

func (InstanceStateArgs) ElementType

func (InstanceStateArgs) ElementType() reflect.Type

type InstanceStateArray

type InstanceStateArray []InstanceStateInput

func (InstanceStateArray) ElementType

func (InstanceStateArray) ElementType() reflect.Type

func (InstanceStateArray) ToInstanceStateArrayOutput

func (i InstanceStateArray) ToInstanceStateArrayOutput() InstanceStateArrayOutput

func (InstanceStateArray) ToInstanceStateArrayOutputWithContext

func (i InstanceStateArray) ToInstanceStateArrayOutputWithContext(ctx context.Context) InstanceStateArrayOutput

type InstanceStateArrayInput

type InstanceStateArrayInput interface {
	pulumi.Input

	ToInstanceStateArrayOutput() InstanceStateArrayOutput
	ToInstanceStateArrayOutputWithContext(context.Context) InstanceStateArrayOutput
}

InstanceStateArrayInput is an input type that accepts InstanceStateArray and InstanceStateArrayOutput values. You can construct a concrete instance of `InstanceStateArrayInput` via:

InstanceStateArray{ InstanceStateArgs{...} }

type InstanceStateArrayOutput

type InstanceStateArrayOutput struct{ *pulumi.OutputState }

func (InstanceStateArrayOutput) ElementType

func (InstanceStateArrayOutput) ElementType() reflect.Type

func (InstanceStateArrayOutput) Index

func (InstanceStateArrayOutput) ToInstanceStateArrayOutput

func (o InstanceStateArrayOutput) ToInstanceStateArrayOutput() InstanceStateArrayOutput

func (InstanceStateArrayOutput) ToInstanceStateArrayOutputWithContext

func (o InstanceStateArrayOutput) ToInstanceStateArrayOutputWithContext(ctx context.Context) InstanceStateArrayOutput

type InstanceStateInput

type InstanceStateInput interface {
	pulumi.Input

	ToInstanceStateOutput() InstanceStateOutput
	ToInstanceStateOutputWithContext(ctx context.Context) InstanceStateOutput
}

type InstanceStateMap

type InstanceStateMap map[string]InstanceStateInput

func (InstanceStateMap) ElementType

func (InstanceStateMap) ElementType() reflect.Type

func (InstanceStateMap) ToInstanceStateMapOutput

func (i InstanceStateMap) ToInstanceStateMapOutput() InstanceStateMapOutput

func (InstanceStateMap) ToInstanceStateMapOutputWithContext

func (i InstanceStateMap) ToInstanceStateMapOutputWithContext(ctx context.Context) InstanceStateMapOutput

type InstanceStateMapInput

type InstanceStateMapInput interface {
	pulumi.Input

	ToInstanceStateMapOutput() InstanceStateMapOutput
	ToInstanceStateMapOutputWithContext(context.Context) InstanceStateMapOutput
}

InstanceStateMapInput is an input type that accepts InstanceStateMap and InstanceStateMapOutput values. You can construct a concrete instance of `InstanceStateMapInput` via:

InstanceStateMap{ "key": InstanceStateArgs{...} }

type InstanceStateMapOutput

type InstanceStateMapOutput struct{ *pulumi.OutputState }

func (InstanceStateMapOutput) ElementType

func (InstanceStateMapOutput) ElementType() reflect.Type

func (InstanceStateMapOutput) MapIndex

func (InstanceStateMapOutput) ToInstanceStateMapOutput

func (o InstanceStateMapOutput) ToInstanceStateMapOutput() InstanceStateMapOutput

func (InstanceStateMapOutput) ToInstanceStateMapOutputWithContext

func (o InstanceStateMapOutput) ToInstanceStateMapOutputWithContext(ctx context.Context) InstanceStateMapOutput

type InstanceStateOutput

type InstanceStateOutput struct{ *pulumi.OutputState }

func (InstanceStateOutput) ElementType

func (InstanceStateOutput) ElementType() reflect.Type

func (InstanceStateOutput) Force

Whether to request a forced stop when `state` is `stopped`. Otherwise (_i.e._, `state` is `running`), ignored. When an instance is forced to stop, it does not flush file system caches or file system metadata, and you must subsequently perform file system check and repair. Not recommended for Windows instances. Defaults to `false`.

func (InstanceStateOutput) InstanceId

func (o InstanceStateOutput) InstanceId() pulumi.StringOutput

ID of the instance.

func (InstanceStateOutput) State

State of the instance. Valid values are `stopped`, `running`.

The following arguments are optional:

func (InstanceStateOutput) ToInstanceStateOutput

func (o InstanceStateOutput) ToInstanceStateOutput() InstanceStateOutput

func (InstanceStateOutput) ToInstanceStateOutputWithContext

func (o InstanceStateOutput) ToInstanceStateOutputWithContext(ctx context.Context) InstanceStateOutput

type InstanceStateState

type InstanceStateState struct {
	// Whether to request a forced stop when `state` is `stopped`. Otherwise (_i.e._, `state` is `running`), ignored. When an instance is forced to stop, it does not flush file system caches or file system metadata, and you must subsequently perform file system check and repair. Not recommended for Windows instances. Defaults to `false`.
	Force pulumi.BoolPtrInput
	// ID of the instance.
	InstanceId pulumi.StringPtrInput
	// State of the instance. Valid values are `stopped`, `running`.
	//
	// The following arguments are optional:
	State pulumi.StringPtrInput
}

func (InstanceStateState) ElementType

func (InstanceStateState) ElementType() reflect.Type

type LookupConnectArgs

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

A collection of arguments for invoking getConnect.

type LookupConnectOutputArgs

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

A collection of arguments for invoking getConnect.

func (LookupConnectOutputArgs) ElementType

func (LookupConnectOutputArgs) ElementType() reflect.Type

type LookupConnectPeerArgs

type LookupConnectPeerArgs struct {
	// One or more configuration blocks containing name-values filters. Detailed below.
	Filters []GetConnectPeerFilter `pulumi:"filters"`
	// Key-value tags for the EC2 Transit Gateway Connect Peer
	Tags map[string]string `pulumi:"tags"`
	// Identifier of the EC2 Transit Gateway Connect Peer.
	TransitGatewayConnectPeerId *string `pulumi:"transitGatewayConnectPeerId"`
}

A collection of arguments for invoking getConnectPeer.

type LookupConnectPeerOutputArgs

type LookupConnectPeerOutputArgs struct {
	// One or more configuration blocks containing name-values filters. Detailed below.
	Filters GetConnectPeerFilterArrayInput `pulumi:"filters"`
	// Key-value tags for the EC2 Transit Gateway Connect Peer
	Tags pulumi.StringMapInput `pulumi:"tags"`
	// Identifier of the EC2 Transit Gateway Connect Peer.
	TransitGatewayConnectPeerId pulumi.StringPtrInput `pulumi:"transitGatewayConnectPeerId"`
}

A collection of arguments for invoking getConnectPeer.

func (LookupConnectPeerOutputArgs) ElementType

type LookupConnectPeerResult

type LookupConnectPeerResult struct {
	// EC2 Transit Gateway Connect Peer ARN
	Arn string `pulumi:"arn"`
	// BGP ASN number assigned customer device
	BgpAsn string `pulumi:"bgpAsn"`
	// The IP address assigned to customer device, which is used as BGP IP address.
	BgpPeerAddress string `pulumi:"bgpPeerAddress"`
	// The IP addresses assigned to Transit Gateway, which are used as BGP IP addresses.
	BgpTransitGatewayAddresses []string               `pulumi:"bgpTransitGatewayAddresses"`
	Filters                    []GetConnectPeerFilter `pulumi:"filters"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// CIDR blocks that will be used for addressing within the tunnel.
	InsideCidrBlocks []string `pulumi:"insideCidrBlocks"`
	// IP addressed assigned to customer device, which is used as tunnel endpoint
	PeerAddress string `pulumi:"peerAddress"`
	// Key-value tags for the EC2 Transit Gateway Connect Peer
	Tags map[string]string `pulumi:"tags"`
	// The IP address assigned to Transit Gateway, which is used as tunnel endpoint.
	TransitGatewayAddress string `pulumi:"transitGatewayAddress"`
	// The Transit Gateway Connect
	TransitGatewayAttachmentId  string `pulumi:"transitGatewayAttachmentId"`
	TransitGatewayConnectPeerId string `pulumi:"transitGatewayConnectPeerId"`
}

A collection of values returned by getConnectPeer.

func LookupConnectPeer

func LookupConnectPeer(ctx *pulumi.Context, args *LookupConnectPeerArgs, opts ...pulumi.InvokeOption) (*LookupConnectPeerResult, error)

Get information on an EC2 Transit Gateway Connect Peer.

## Example Usage ### By Filter

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := ec2transitgateway.LookupConnectPeer(ctx, &ec2transitgateway.LookupConnectPeerArgs{
			Filters: []ec2transitgateway.GetConnectPeerFilter{
				{
					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/v6/go/aws/ec2transitgateway"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := ec2transitgateway.LookupConnectPeer(ctx, &ec2transitgateway.LookupConnectPeerArgs{
			TransitGatewayConnectPeerId: pulumi.StringRef("tgw-connect-peer-12345678"),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type LookupConnectPeerResultOutput

type LookupConnectPeerResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getConnectPeer.

func (LookupConnectPeerResultOutput) Arn

EC2 Transit Gateway Connect Peer ARN

func (LookupConnectPeerResultOutput) BgpAsn

BGP ASN number assigned customer device

func (LookupConnectPeerResultOutput) BgpPeerAddress

The IP address assigned to customer device, which is used as BGP IP address.

func (LookupConnectPeerResultOutput) BgpTransitGatewayAddresses

func (o LookupConnectPeerResultOutput) BgpTransitGatewayAddresses() pulumi.StringArrayOutput

The IP addresses assigned to Transit Gateway, which are used as BGP IP addresses.

func (LookupConnectPeerResultOutput) ElementType

func (LookupConnectPeerResultOutput) Filters

func (LookupConnectPeerResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (LookupConnectPeerResultOutput) InsideCidrBlocks

CIDR blocks that will be used for addressing within the tunnel.

func (LookupConnectPeerResultOutput) PeerAddress

IP addressed assigned to customer device, which is used as tunnel endpoint

func (LookupConnectPeerResultOutput) Tags

Key-value tags for the EC2 Transit Gateway Connect Peer

func (LookupConnectPeerResultOutput) ToLookupConnectPeerResultOutput

func (o LookupConnectPeerResultOutput) ToLookupConnectPeerResultOutput() LookupConnectPeerResultOutput

func (LookupConnectPeerResultOutput) ToLookupConnectPeerResultOutputWithContext

func (o LookupConnectPeerResultOutput) ToLookupConnectPeerResultOutputWithContext(ctx context.Context) LookupConnectPeerResultOutput

func (LookupConnectPeerResultOutput) TransitGatewayAddress

func (o LookupConnectPeerResultOutput) TransitGatewayAddress() pulumi.StringOutput

The IP address assigned to Transit Gateway, which is used as tunnel endpoint.

func (LookupConnectPeerResultOutput) TransitGatewayAttachmentId

func (o LookupConnectPeerResultOutput) TransitGatewayAttachmentId() pulumi.StringOutput

The Transit Gateway Connect

func (LookupConnectPeerResultOutput) TransitGatewayConnectPeerId

func (o LookupConnectPeerResultOutput) TransitGatewayConnectPeerId() pulumi.StringOutput

type LookupConnectResult

type LookupConnectResult struct {
	Filters []GetConnectFilter `pulumi:"filters"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// Tunnel protocol
	Protocol string `pulumi:"protocol"`
	// Key-value tags for the EC2 Transit Gateway Connect
	Tags                    map[string]string `pulumi:"tags"`
	TransitGatewayConnectId string            `pulumi:"transitGatewayConnectId"`
	// EC2 Transit Gateway identifier
	TransitGatewayId string `pulumi:"transitGatewayId"`
	// The underlaying VPC attachment
	TransportAttachmentId string `pulumi:"transportAttachmentId"`
}

A collection of values returned by getConnect.

func LookupConnect

func LookupConnect(ctx *pulumi.Context, args *LookupConnectArgs, opts ...pulumi.InvokeOption) (*LookupConnectResult, error)

Get information on an EC2 Transit Gateway Connect.

## Example Usage ### By Filter

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := ec2transitgateway.LookupConnect(ctx, &ec2transitgateway.LookupConnectArgs{
			Filters: []ec2transitgateway.GetConnectFilter{
				{
					Name: "transport-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/v6/go/aws/ec2transitgateway"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

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

```

type LookupConnectResultOutput

type LookupConnectResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getConnect.

func (LookupConnectResultOutput) ElementType

func (LookupConnectResultOutput) ElementType() reflect.Type

func (LookupConnectResultOutput) Filters

func (LookupConnectResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (LookupConnectResultOutput) Protocol

Tunnel protocol

func (LookupConnectResultOutput) Tags

Key-value tags for the EC2 Transit Gateway Connect

func (LookupConnectResultOutput) ToLookupConnectResultOutput

func (o LookupConnectResultOutput) ToLookupConnectResultOutput() LookupConnectResultOutput

func (LookupConnectResultOutput) ToLookupConnectResultOutputWithContext

func (o LookupConnectResultOutput) ToLookupConnectResultOutputWithContext(ctx context.Context) LookupConnectResultOutput

func (LookupConnectResultOutput) TransitGatewayConnectId

func (o LookupConnectResultOutput) TransitGatewayConnectId() pulumi.StringOutput

func (LookupConnectResultOutput) TransitGatewayId

func (o LookupConnectResultOutput) TransitGatewayId() pulumi.StringOutput

EC2 Transit Gateway identifier

func (LookupConnectResultOutput) TransportAttachmentId

func (o LookupConnectResultOutput) TransportAttachmentId() pulumi.StringOutput

The underlaying VPC attachment

type LookupMulticastDomainArgs

type LookupMulticastDomainArgs struct {
	// One or more configuration blocks containing name-values filters. Detailed below.
	Filters []GetMulticastDomainFilter `pulumi:"filters"`
	// Key-value tags for the EC2 Transit Gateway Multicast Domain.
	Tags map[string]string `pulumi:"tags"`
	// Identifier of the EC2 Transit Gateway Multicast Domain.
	TransitGatewayMulticastDomainId *string `pulumi:"transitGatewayMulticastDomainId"`
}

A collection of arguments for invoking getMulticastDomain.

type LookupMulticastDomainOutputArgs

type LookupMulticastDomainOutputArgs struct {
	// One or more configuration blocks containing name-values filters. Detailed below.
	Filters GetMulticastDomainFilterArrayInput `pulumi:"filters"`
	// Key-value tags for the EC2 Transit Gateway Multicast Domain.
	Tags pulumi.StringMapInput `pulumi:"tags"`
	// Identifier of the EC2 Transit Gateway Multicast Domain.
	TransitGatewayMulticastDomainId pulumi.StringPtrInput `pulumi:"transitGatewayMulticastDomainId"`
}

A collection of arguments for invoking getMulticastDomain.

func (LookupMulticastDomainOutputArgs) ElementType

type LookupMulticastDomainResult

type LookupMulticastDomainResult struct {
	// EC2 Transit Gateway Multicast Domain ARN.
	Arn string `pulumi:"arn"`
	// EC2 Transit Gateway Multicast Domain Associations
	Associations []GetMulticastDomainAssociationType `pulumi:"associations"`
	// Whether to automatically accept cross-account subnet associations that are associated with the EC2 Transit Gateway Multicast Domain.
	AutoAcceptSharedAssociations string                     `pulumi:"autoAcceptSharedAssociations"`
	Filters                      []GetMulticastDomainFilter `pulumi:"filters"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// Whether to enable Internet Group Management Protocol (IGMP) version 2 for the EC2 Transit Gateway Multicast Domain.
	Igmpv2Support string `pulumi:"igmpv2Support"`
	// EC2 Multicast Domain Group Members
	Members []GetMulticastDomainMember `pulumi:"members"`
	// Identifier of the AWS account that owns the EC2 Transit Gateway Multicast Domain.
	OwnerId string `pulumi:"ownerId"`
	// EC2 Multicast Domain Group Sources
	Sources []GetMulticastDomainSource `pulumi:"sources"`
	State   string                     `pulumi:"state"`
	// Whether to enable support for statically configuring multicast group sources for the EC2 Transit Gateway Multicast Domain.
	StaticSourcesSupport string `pulumi:"staticSourcesSupport"`
	// Key-value tags for the EC2 Transit Gateway Multicast Domain.
	Tags map[string]string `pulumi:"tags"`
	// The ID of the transit gateway attachment.
	TransitGatewayAttachmentId string `pulumi:"transitGatewayAttachmentId"`
	// EC2 Transit Gateway identifier.
	TransitGatewayId                string `pulumi:"transitGatewayId"`
	TransitGatewayMulticastDomainId string `pulumi:"transitGatewayMulticastDomainId"`
}

A collection of values returned by getMulticastDomain.

func LookupMulticastDomain

func LookupMulticastDomain(ctx *pulumi.Context, args *LookupMulticastDomainArgs, opts ...pulumi.InvokeOption) (*LookupMulticastDomainResult, error)

Get information on an EC2 Transit Gateway Multicast Domain.

## Example Usage ### By Filter

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := ec2transitgateway.LookupMulticastDomain(ctx, &ec2transitgateway.LookupMulticastDomainArgs{
			Filters: []ec2transitgateway.GetMulticastDomainFilter{
				{
					Name: "transit-gateway-multicast-domain-id",
					Values: []string{
						"tgw-mcast-domain-12345678",
					},
				},
			},
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### By Identifier

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := ec2transitgateway.LookupMulticastDomain(ctx, &ec2transitgateway.LookupMulticastDomainArgs{
			TransitGatewayMulticastDomainId: pulumi.StringRef("tgw-mcast-domain-12345678"),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type LookupMulticastDomainResultOutput

type LookupMulticastDomainResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getMulticastDomain.

func (LookupMulticastDomainResultOutput) Arn

EC2 Transit Gateway Multicast Domain ARN.

func (LookupMulticastDomainResultOutput) Associations

EC2 Transit Gateway Multicast Domain Associations

func (LookupMulticastDomainResultOutput) AutoAcceptSharedAssociations

func (o LookupMulticastDomainResultOutput) AutoAcceptSharedAssociations() pulumi.StringOutput

Whether to automatically accept cross-account subnet associations that are associated with the EC2 Transit Gateway Multicast Domain.

func (LookupMulticastDomainResultOutput) ElementType

func (LookupMulticastDomainResultOutput) Filters

func (LookupMulticastDomainResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (LookupMulticastDomainResultOutput) Igmpv2Support

Whether to enable Internet Group Management Protocol (IGMP) version 2 for the EC2 Transit Gateway Multicast Domain.

func (LookupMulticastDomainResultOutput) Members

EC2 Multicast Domain Group Members

func (LookupMulticastDomainResultOutput) OwnerId

Identifier of the AWS account that owns the EC2 Transit Gateway Multicast Domain.

func (LookupMulticastDomainResultOutput) Sources

EC2 Multicast Domain Group Sources

func (LookupMulticastDomainResultOutput) State

func (LookupMulticastDomainResultOutput) StaticSourcesSupport

func (o LookupMulticastDomainResultOutput) StaticSourcesSupport() pulumi.StringOutput

Whether to enable support for statically configuring multicast group sources for the EC2 Transit Gateway Multicast Domain.

func (LookupMulticastDomainResultOutput) Tags

Key-value tags for the EC2 Transit Gateway Multicast Domain.

func (LookupMulticastDomainResultOutput) ToLookupMulticastDomainResultOutput

func (o LookupMulticastDomainResultOutput) ToLookupMulticastDomainResultOutput() LookupMulticastDomainResultOutput

func (LookupMulticastDomainResultOutput) ToLookupMulticastDomainResultOutputWithContext

func (o LookupMulticastDomainResultOutput) ToLookupMulticastDomainResultOutputWithContext(ctx context.Context) LookupMulticastDomainResultOutput

func (LookupMulticastDomainResultOutput) TransitGatewayAttachmentId

func (o LookupMulticastDomainResultOutput) TransitGatewayAttachmentId() pulumi.StringOutput

The ID of the transit gateway attachment.

func (LookupMulticastDomainResultOutput) TransitGatewayId

EC2 Transit Gateway identifier.

func (LookupMulticastDomainResultOutput) TransitGatewayMulticastDomainId

func (o LookupMulticastDomainResultOutput) TransitGatewayMulticastDomainId() pulumi.StringOutput

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"`
	// Mapping of tags, each pair of which must exactly match
	// a pair on the specific EC2 Transit Gateway Peering Attachment to retrieve.
	//
	// More complex filters can be expressed using one or more `filter` sub-blocks,
	// which take the following arguments:
	Tags map[string]string `pulumi:"tags"`
}

A collection of arguments for invoking getPeeringAttachment.

type LookupPeeringAttachmentOutputArgs

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"`
	// Mapping of tags, each pair of which must exactly match
	// a pair on the specific EC2 Transit Gateway Peering Attachment to retrieve.
	//
	// More complex filters can be expressed using one or more `filter` sub-blocks,
	// which take the following arguments:
	Tags pulumi.StringMapInput `pulumi:"tags"`
}

A collection of arguments for invoking getPeeringAttachment.

func (LookupPeeringAttachmentOutputArgs) ElementType

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/v6/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{
				{
					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/v6/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

type LookupPeeringAttachmentResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getPeeringAttachment.

func (LookupPeeringAttachmentResultOutput) ElementType

func (LookupPeeringAttachmentResultOutput) Filters

func (LookupPeeringAttachmentResultOutput) Id

func (LookupPeeringAttachmentResultOutput) PeerAccountId

Identifier of the peer AWS account

func (LookupPeeringAttachmentResultOutput) PeerRegion

Identifier of the peer AWS region

func (LookupPeeringAttachmentResultOutput) PeerTransitGatewayId

func (o LookupPeeringAttachmentResultOutput) PeerTransitGatewayId() pulumi.StringOutput

Identifier of the peer EC2 Transit Gateway

func (LookupPeeringAttachmentResultOutput) Tags

func (LookupPeeringAttachmentResultOutput) ToLookupPeeringAttachmentResultOutput

func (o LookupPeeringAttachmentResultOutput) ToLookupPeeringAttachmentResultOutput() LookupPeeringAttachmentResultOutput

func (LookupPeeringAttachmentResultOutput) ToLookupPeeringAttachmentResultOutputWithContext

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

func (LookupPeeringAttachmentResultOutput) TransitGatewayId

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

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

func (LookupRouteTableOutputArgs) ElementType() reflect.Type

type LookupRouteTableResult

type LookupRouteTableResult struct {
	// EC2 Transit Gateway Route Table 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/v6/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{
				{
					Name: "default-association-route-table",
					Values: []string{
						"true",
					},
				},
				{
					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/v6/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

type LookupRouteTableResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getRouteTable.

func (LookupRouteTableResultOutput) Arn

EC2 Transit Gateway Route Table ARN.

func (LookupRouteTableResultOutput) DefaultAssociationRouteTable

func (o LookupRouteTableResultOutput) DefaultAssociationRouteTable() pulumi.BoolOutput

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

func (LookupRouteTableResultOutput) DefaultPropagationRouteTable

func (o LookupRouteTableResultOutput) DefaultPropagationRouteTable() pulumi.BoolOutput

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

func (LookupRouteTableResultOutput) ElementType

func (LookupRouteTableResultOutput) Filters

func (LookupRouteTableResultOutput) Id

EC2 Transit Gateway Route Table identifier

func (LookupRouteTableResultOutput) Tags

Key-value tags for the EC2 Transit Gateway Route Table

func (LookupRouteTableResultOutput) ToLookupRouteTableResultOutput

func (o LookupRouteTableResultOutput) ToLookupRouteTableResultOutput() LookupRouteTableResultOutput

func (LookupRouteTableResultOutput) ToLookupRouteTableResultOutputWithContext

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

func (LookupRouteTableResultOutput) TransitGatewayId

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

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

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 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"`
	// Whether Multicast support is enabled
	MulticastSupport string `pulumi:"multicastSupport"`
	// 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"`
	// The list of associated CIDR blocks
	TransitGatewayCidrBlocks []string `pulumi:"transitGatewayCidrBlocks"`
	// 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/v6/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{
				{
					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/v6/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

type LookupTransitGatewayResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getTransitGateway.

func (LookupTransitGatewayResultOutput) AmazonSideAsn

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

func (LookupTransitGatewayResultOutput) Arn

EC2 Transit Gateway ARN

func (LookupTransitGatewayResultOutput) AssociationDefaultRouteTableId

func (o LookupTransitGatewayResultOutput) AssociationDefaultRouteTableId() pulumi.StringOutput

Identifier of the default association route table

func (LookupTransitGatewayResultOutput) AutoAcceptSharedAttachments

func (o LookupTransitGatewayResultOutput) AutoAcceptSharedAttachments() pulumi.StringOutput

Whether resource attachment requests are automatically accepted

func (LookupTransitGatewayResultOutput) DefaultRouteTableAssociation

func (o LookupTransitGatewayResultOutput) DefaultRouteTableAssociation() pulumi.StringOutput

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

func (LookupTransitGatewayResultOutput) DefaultRouteTablePropagation

func (o LookupTransitGatewayResultOutput) DefaultRouteTablePropagation() pulumi.StringOutput

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

func (LookupTransitGatewayResultOutput) Description

Description of the EC2 Transit Gateway

func (LookupTransitGatewayResultOutput) DnsSupport

Whether DNS support is enabled

func (LookupTransitGatewayResultOutput) ElementType

func (LookupTransitGatewayResultOutput) Filters

func (LookupTransitGatewayResultOutput) Id

EC2 Transit Gateway identifier

func (LookupTransitGatewayResultOutput) MulticastSupport

Whether Multicast support is enabled

func (LookupTransitGatewayResultOutput) OwnerId

Identifier of the AWS account that owns the EC2 Transit Gateway

func (LookupTransitGatewayResultOutput) PropagationDefaultRouteTableId

func (o LookupTransitGatewayResultOutput) PropagationDefaultRouteTableId() pulumi.StringOutput

Identifier of the default propagation route table

func (LookupTransitGatewayResultOutput) Tags

Key-value tags for the EC2 Transit Gateway

func (LookupTransitGatewayResultOutput) ToLookupTransitGatewayResultOutput

func (o LookupTransitGatewayResultOutput) ToLookupTransitGatewayResultOutput() LookupTransitGatewayResultOutput

func (LookupTransitGatewayResultOutput) ToLookupTransitGatewayResultOutputWithContext

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

func (LookupTransitGatewayResultOutput) TransitGatewayCidrBlocks

func (o LookupTransitGatewayResultOutput) TransitGatewayCidrBlocks() pulumi.StringArrayOutput

The list of associated CIDR blocks

func (LookupTransitGatewayResultOutput) VpnEcmpSupport

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

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

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/v6/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{
				{
					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/v6/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

type LookupVpcAttachmentResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getVpcAttachment.

func (LookupVpcAttachmentResultOutput) ApplianceModeSupport

func (o LookupVpcAttachmentResultOutput) ApplianceModeSupport() pulumi.StringOutput

Whether Appliance Mode support is enabled.

func (LookupVpcAttachmentResultOutput) DnsSupport

Whether DNS support is enabled.

func (LookupVpcAttachmentResultOutput) ElementType

func (LookupVpcAttachmentResultOutput) Filters

func (LookupVpcAttachmentResultOutput) Id

EC2 Transit Gateway VPC Attachment identifier

func (LookupVpcAttachmentResultOutput) Ipv6Support

Whether IPv6 support is enabled.

func (LookupVpcAttachmentResultOutput) SubnetIds

Identifiers of EC2 Subnets.

func (LookupVpcAttachmentResultOutput) Tags

Key-value tags for the EC2 Transit Gateway VPC Attachment

func (LookupVpcAttachmentResultOutput) ToLookupVpcAttachmentResultOutput

func (o LookupVpcAttachmentResultOutput) ToLookupVpcAttachmentResultOutput() LookupVpcAttachmentResultOutput

func (LookupVpcAttachmentResultOutput) ToLookupVpcAttachmentResultOutputWithContext

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

func (LookupVpcAttachmentResultOutput) TransitGatewayId

EC2 Transit Gateway identifier

func (LookupVpcAttachmentResultOutput) VpcId

Identifier of EC2 VPC.

func (LookupVpcAttachmentResultOutput) VpcOwnerId

Identifier of the AWS account that owns the EC2 VPC.

type MulticastDomain

type MulticastDomain struct {
	pulumi.CustomResourceState

	// EC2 Transit Gateway Multicast Domain Amazon Resource Name (ARN).
	Arn pulumi.StringOutput `pulumi:"arn"`
	// Whether to automatically accept cross-account subnet associations that are associated with the EC2 Transit Gateway Multicast Domain. Valid values: `disable`, `enable`. Default value: `disable`.
	AutoAcceptSharedAssociations pulumi.StringPtrOutput `pulumi:"autoAcceptSharedAssociations"`
	// Whether to enable Internet Group Management Protocol (IGMP) version 2 for the EC2 Transit Gateway Multicast Domain. Valid values: `disable`, `enable`. Default value: `disable`.
	Igmpv2Support pulumi.StringPtrOutput `pulumi:"igmpv2Support"`
	// Identifier of the AWS account that owns the EC2 Transit Gateway Multicast Domain.
	OwnerId pulumi.StringOutput `pulumi:"ownerId"`
	// Whether to enable support for statically configuring multicast group sources for the EC2 Transit Gateway Multicast Domain. Valid values: `disable`, `enable`. Default value: `disable`.
	StaticSourcesSupport pulumi.StringPtrOutput `pulumi:"staticSourcesSupport"`
	// Key-value tags for the EC2 Transit Gateway Multicast Domain. 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.
	//
	// Deprecated: Please use `tags` instead.
	TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"`
	// EC2 Transit Gateway identifier. The EC2 Transit Gateway must have `multicastSupport` enabled.
	TransitGatewayId pulumi.StringOutput `pulumi:"transitGatewayId"`
}

Manages an EC2 Transit Gateway Multicast Domain.

## Example Usage

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		available, err := aws.GetAvailabilityZones(ctx, &aws.GetAvailabilityZonesArgs{
			State: pulumi.StringRef("available"),
		}, nil)
		if err != nil {
			return err
		}
		amazonLinux, err := ec2.LookupAmi(ctx, &ec2.LookupAmiArgs{
			MostRecent: pulumi.BoolRef(true),
			Owners: []string{
				"amazon",
			},
			Filters: []ec2.GetAmiFilter{
				{
					Name: "name",
					Values: []string{
						"amzn-ami-hvm-*-x86_64-gp2",
					},
				},
				{
					Name: "owner-alias",
					Values: []string{
						"amazon",
					},
				},
			},
		}, nil)
		if err != nil {
			return err
		}
		vpc1, err := ec2.NewVpc(ctx, "vpc1", &ec2.VpcArgs{
			CidrBlock: pulumi.String("10.0.0.0/16"),
		})
		if err != nil {
			return err
		}
		vpc2, err := ec2.NewVpc(ctx, "vpc2", &ec2.VpcArgs{
			CidrBlock: pulumi.String("10.1.0.0/16"),
		})
		if err != nil {
			return err
		}
		subnet1, err := ec2.NewSubnet(ctx, "subnet1", &ec2.SubnetArgs{
			VpcId:            vpc1.ID(),
			CidrBlock:        pulumi.String("10.0.1.0/24"),
			AvailabilityZone: *pulumi.String(available.Names[0]),
		})
		if err != nil {
			return err
		}
		subnet2, err := ec2.NewSubnet(ctx, "subnet2", &ec2.SubnetArgs{
			VpcId:            vpc1.ID(),
			CidrBlock:        pulumi.String("10.0.2.0/24"),
			AvailabilityZone: *pulumi.String(available.Names[1]),
		})
		if err != nil {
			return err
		}
		subnet3, err := ec2.NewSubnet(ctx, "subnet3", &ec2.SubnetArgs{
			VpcId:            vpc2.ID(),
			CidrBlock:        pulumi.String("10.1.1.0/24"),
			AvailabilityZone: *pulumi.String(available.Names[0]),
		})
		if err != nil {
			return err
		}
		instance1, err := ec2.NewInstance(ctx, "instance1", &ec2.InstanceArgs{
			Ami:          *pulumi.String(amazonLinux.Id),
			InstanceType: pulumi.String("t2.micro"),
			SubnetId:     subnet1.ID(),
		})
		if err != nil {
			return err
		}
		instance2, err := ec2.NewInstance(ctx, "instance2", &ec2.InstanceArgs{
			Ami:          *pulumi.String(amazonLinux.Id),
			InstanceType: pulumi.String("t2.micro"),
			SubnetId:     subnet2.ID(),
		})
		if err != nil {
			return err
		}
		instance3, err := ec2.NewInstance(ctx, "instance3", &ec2.InstanceArgs{
			Ami:          *pulumi.String(amazonLinux.Id),
			InstanceType: pulumi.String("t2.micro"),
			SubnetId:     subnet3.ID(),
		})
		if err != nil {
			return err
		}
		tgw, err := ec2transitgateway.NewTransitGateway(ctx, "tgw", &ec2transitgateway.TransitGatewayArgs{
			MulticastSupport: pulumi.String("enable"),
		})
		if err != nil {
			return err
		}
		attachment1, err := ec2transitgateway.NewVpcAttachment(ctx, "attachment1", &ec2transitgateway.VpcAttachmentArgs{
			SubnetIds: pulumi.StringArray{
				subnet1.ID(),
				subnet2.ID(),
			},
			TransitGatewayId: tgw.ID(),
			VpcId:            vpc1.ID(),
		})
		if err != nil {
			return err
		}
		attachment2, err := ec2transitgateway.NewVpcAttachment(ctx, "attachment2", &ec2transitgateway.VpcAttachmentArgs{
			SubnetIds: pulumi.StringArray{
				subnet3.ID(),
			},
			TransitGatewayId: tgw.ID(),
			VpcId:            vpc2.ID(),
		})
		if err != nil {
			return err
		}
		domain, err := ec2transitgateway.NewMulticastDomain(ctx, "domain", &ec2transitgateway.MulticastDomainArgs{
			TransitGatewayId:     tgw.ID(),
			StaticSourcesSupport: pulumi.String("enable"),
			Tags: pulumi.StringMap{
				"Name": pulumi.String("Transit_Gateway_Multicast_Domain_Example"),
			},
		})
		if err != nil {
			return err
		}
		association3, err := ec2transitgateway.NewMulticastDomainAssociation(ctx, "association3", &ec2transitgateway.MulticastDomainAssociationArgs{
			SubnetId:                        subnet3.ID(),
			TransitGatewayAttachmentId:      attachment2.ID(),
			TransitGatewayMulticastDomainId: domain.ID(),
		})
		if err != nil {
			return err
		}
		_, err = ec2transitgateway.NewMulticastGroupSource(ctx, "source", &ec2transitgateway.MulticastGroupSourceArgs{
			GroupIpAddress:                  pulumi.String("224.0.0.1"),
			NetworkInterfaceId:              instance3.PrimaryNetworkInterfaceId,
			TransitGatewayMulticastDomainId: association3.TransitGatewayMulticastDomainId,
		})
		if err != nil {
			return err
		}
		association1, err := ec2transitgateway.NewMulticastDomainAssociation(ctx, "association1", &ec2transitgateway.MulticastDomainAssociationArgs{
			SubnetId:                        subnet1.ID(),
			TransitGatewayAttachmentId:      attachment1.ID(),
			TransitGatewayMulticastDomainId: domain.ID(),
		})
		if err != nil {
			return err
		}
		_, err = ec2transitgateway.NewMulticastDomainAssociation(ctx, "association2", &ec2transitgateway.MulticastDomainAssociationArgs{
			SubnetId:                        subnet2.ID(),
			TransitGatewayAttachmentId:      attachment2.ID(),
			TransitGatewayMulticastDomainId: domain.ID(),
		})
		if err != nil {
			return err
		}
		_, err = ec2transitgateway.NewMulticastGroupMember(ctx, "member1", &ec2transitgateway.MulticastGroupMemberArgs{
			GroupIpAddress:                  pulumi.String("224.0.0.1"),
			NetworkInterfaceId:              instance1.PrimaryNetworkInterfaceId,
			TransitGatewayMulticastDomainId: association1.TransitGatewayMulticastDomainId,
		})
		if err != nil {
			return err
		}
		_, err = ec2transitgateway.NewMulticastGroupMember(ctx, "member2", &ec2transitgateway.MulticastGroupMemberArgs{
			GroupIpAddress:                  pulumi.String("224.0.0.1"),
			NetworkInterfaceId:              instance2.PrimaryNetworkInterfaceId,
			TransitGatewayMulticastDomainId: association1.TransitGatewayMulticastDomainId,
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Using `pulumi import`, import `aws_ec2_transit_gateway_multicast_domain` using the EC2 Transit Gateway Multicast Domain identifier. For example:

```sh

$ pulumi import aws:ec2transitgateway/multicastDomain:MulticastDomain example tgw-mcast-domain-12345

```

func GetMulticastDomain

func GetMulticastDomain(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *MulticastDomainState, opts ...pulumi.ResourceOption) (*MulticastDomain, error)

GetMulticastDomain gets an existing MulticastDomain 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 NewMulticastDomain

func NewMulticastDomain(ctx *pulumi.Context,
	name string, args *MulticastDomainArgs, opts ...pulumi.ResourceOption) (*MulticastDomain, error)

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

func (*MulticastDomain) ElementType

func (*MulticastDomain) ElementType() reflect.Type

func (*MulticastDomain) ToMulticastDomainOutput

func (i *MulticastDomain) ToMulticastDomainOutput() MulticastDomainOutput

func (*MulticastDomain) ToMulticastDomainOutputWithContext

func (i *MulticastDomain) ToMulticastDomainOutputWithContext(ctx context.Context) MulticastDomainOutput

type MulticastDomainArgs

type MulticastDomainArgs struct {
	// Whether to automatically accept cross-account subnet associations that are associated with the EC2 Transit Gateway Multicast Domain. Valid values: `disable`, `enable`. Default value: `disable`.
	AutoAcceptSharedAssociations pulumi.StringPtrInput
	// Whether to enable Internet Group Management Protocol (IGMP) version 2 for the EC2 Transit Gateway Multicast Domain. Valid values: `disable`, `enable`. Default value: `disable`.
	Igmpv2Support pulumi.StringPtrInput
	// Whether to enable support for statically configuring multicast group sources for the EC2 Transit Gateway Multicast Domain. Valid values: `disable`, `enable`. Default value: `disable`.
	StaticSourcesSupport pulumi.StringPtrInput
	// Key-value tags for the EC2 Transit Gateway Multicast Domain. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapInput
	// EC2 Transit Gateway identifier. The EC2 Transit Gateway must have `multicastSupport` enabled.
	TransitGatewayId pulumi.StringInput
}

The set of arguments for constructing a MulticastDomain resource.

func (MulticastDomainArgs) ElementType

func (MulticastDomainArgs) ElementType() reflect.Type

type MulticastDomainArray

type MulticastDomainArray []MulticastDomainInput

func (MulticastDomainArray) ElementType

func (MulticastDomainArray) ElementType() reflect.Type

func (MulticastDomainArray) ToMulticastDomainArrayOutput

func (i MulticastDomainArray) ToMulticastDomainArrayOutput() MulticastDomainArrayOutput

func (MulticastDomainArray) ToMulticastDomainArrayOutputWithContext

func (i MulticastDomainArray) ToMulticastDomainArrayOutputWithContext(ctx context.Context) MulticastDomainArrayOutput

type MulticastDomainArrayInput

type MulticastDomainArrayInput interface {
	pulumi.Input

	ToMulticastDomainArrayOutput() MulticastDomainArrayOutput
	ToMulticastDomainArrayOutputWithContext(context.Context) MulticastDomainArrayOutput
}

MulticastDomainArrayInput is an input type that accepts MulticastDomainArray and MulticastDomainArrayOutput values. You can construct a concrete instance of `MulticastDomainArrayInput` via:

MulticastDomainArray{ MulticastDomainArgs{...} }

type MulticastDomainArrayOutput

type MulticastDomainArrayOutput struct{ *pulumi.OutputState }

func (MulticastDomainArrayOutput) ElementType

func (MulticastDomainArrayOutput) ElementType() reflect.Type

func (MulticastDomainArrayOutput) Index

func (MulticastDomainArrayOutput) ToMulticastDomainArrayOutput

func (o MulticastDomainArrayOutput) ToMulticastDomainArrayOutput() MulticastDomainArrayOutput

func (MulticastDomainArrayOutput) ToMulticastDomainArrayOutputWithContext

func (o MulticastDomainArrayOutput) ToMulticastDomainArrayOutputWithContext(ctx context.Context) MulticastDomainArrayOutput

type MulticastDomainAssociation

type MulticastDomainAssociation struct {
	pulumi.CustomResourceState

	// The ID of the subnet to associate with the transit gateway multicast domain.
	SubnetId pulumi.StringOutput `pulumi:"subnetId"`
	// The ID of the transit gateway attachment.
	TransitGatewayAttachmentId pulumi.StringOutput `pulumi:"transitGatewayAttachmentId"`
	// The ID of the transit gateway multicast domain.
	TransitGatewayMulticastDomainId pulumi.StringOutput `pulumi:"transitGatewayMulticastDomainId"`
}

Associates the specified subnet and transit gateway attachment with the specified transit gateway multicast domain.

## Example Usage

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := ec2transitgateway.NewTransitGateway(ctx, "example", &ec2transitgateway.TransitGatewayArgs{
			MulticastSupport: pulumi.String("enable"),
		})
		if err != nil {
			return err
		}
		exampleVpcAttachment, err := ec2transitgateway.NewVpcAttachment(ctx, "example", &ec2transitgateway.VpcAttachmentArgs{
			SubnetIds: pulumi.StringArray{
				exampleAwsSubnet.Id,
			},
			TransitGatewayId: example.ID(),
			VpcId:            pulumi.Any(exampleAwsVpc.Id),
		})
		if err != nil {
			return err
		}
		exampleMulticastDomain, err := ec2transitgateway.NewMulticastDomain(ctx, "example", &ec2transitgateway.MulticastDomainArgs{
			TransitGatewayId: example.ID(),
		})
		if err != nil {
			return err
		}
		_, err = ec2transitgateway.NewMulticastDomainAssociation(ctx, "example", &ec2transitgateway.MulticastDomainAssociationArgs{
			SubnetId:                        pulumi.Any(exampleAwsSubnet.Id),
			TransitGatewayAttachmentId:      exampleVpcAttachment.ID(),
			TransitGatewayMulticastDomainId: exampleMulticastDomain.ID(),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

func GetMulticastDomainAssociation

func GetMulticastDomainAssociation(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *MulticastDomainAssociationState, opts ...pulumi.ResourceOption) (*MulticastDomainAssociation, error)

GetMulticastDomainAssociation gets an existing MulticastDomainAssociation 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 NewMulticastDomainAssociation

func NewMulticastDomainAssociation(ctx *pulumi.Context,
	name string, args *MulticastDomainAssociationArgs, opts ...pulumi.ResourceOption) (*MulticastDomainAssociation, error)

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

func (*MulticastDomainAssociation) ElementType

func (*MulticastDomainAssociation) ElementType() reflect.Type

func (*MulticastDomainAssociation) ToMulticastDomainAssociationOutput

func (i *MulticastDomainAssociation) ToMulticastDomainAssociationOutput() MulticastDomainAssociationOutput

func (*MulticastDomainAssociation) ToMulticastDomainAssociationOutputWithContext

func (i *MulticastDomainAssociation) ToMulticastDomainAssociationOutputWithContext(ctx context.Context) MulticastDomainAssociationOutput

type MulticastDomainAssociationArgs

type MulticastDomainAssociationArgs struct {
	// The ID of the subnet to associate with the transit gateway multicast domain.
	SubnetId pulumi.StringInput
	// The ID of the transit gateway attachment.
	TransitGatewayAttachmentId pulumi.StringInput
	// The ID of the transit gateway multicast domain.
	TransitGatewayMulticastDomainId pulumi.StringInput
}

The set of arguments for constructing a MulticastDomainAssociation resource.

func (MulticastDomainAssociationArgs) ElementType

type MulticastDomainAssociationArray

type MulticastDomainAssociationArray []MulticastDomainAssociationInput

func (MulticastDomainAssociationArray) ElementType

func (MulticastDomainAssociationArray) ToMulticastDomainAssociationArrayOutput

func (i MulticastDomainAssociationArray) ToMulticastDomainAssociationArrayOutput() MulticastDomainAssociationArrayOutput

func (MulticastDomainAssociationArray) ToMulticastDomainAssociationArrayOutputWithContext

func (i MulticastDomainAssociationArray) ToMulticastDomainAssociationArrayOutputWithContext(ctx context.Context) MulticastDomainAssociationArrayOutput

type MulticastDomainAssociationArrayInput

type MulticastDomainAssociationArrayInput interface {
	pulumi.Input

	ToMulticastDomainAssociationArrayOutput() MulticastDomainAssociationArrayOutput
	ToMulticastDomainAssociationArrayOutputWithContext(context.Context) MulticastDomainAssociationArrayOutput
}

MulticastDomainAssociationArrayInput is an input type that accepts MulticastDomainAssociationArray and MulticastDomainAssociationArrayOutput values. You can construct a concrete instance of `MulticastDomainAssociationArrayInput` via:

MulticastDomainAssociationArray{ MulticastDomainAssociationArgs{...} }

type MulticastDomainAssociationArrayOutput

type MulticastDomainAssociationArrayOutput struct{ *pulumi.OutputState }

func (MulticastDomainAssociationArrayOutput) ElementType

func (MulticastDomainAssociationArrayOutput) Index

func (MulticastDomainAssociationArrayOutput) ToMulticastDomainAssociationArrayOutput

func (o MulticastDomainAssociationArrayOutput) ToMulticastDomainAssociationArrayOutput() MulticastDomainAssociationArrayOutput

func (MulticastDomainAssociationArrayOutput) ToMulticastDomainAssociationArrayOutputWithContext

func (o MulticastDomainAssociationArrayOutput) ToMulticastDomainAssociationArrayOutputWithContext(ctx context.Context) MulticastDomainAssociationArrayOutput

type MulticastDomainAssociationInput

type MulticastDomainAssociationInput interface {
	pulumi.Input

	ToMulticastDomainAssociationOutput() MulticastDomainAssociationOutput
	ToMulticastDomainAssociationOutputWithContext(ctx context.Context) MulticastDomainAssociationOutput
}

type MulticastDomainAssociationMap

type MulticastDomainAssociationMap map[string]MulticastDomainAssociationInput

func (MulticastDomainAssociationMap) ElementType

func (MulticastDomainAssociationMap) ToMulticastDomainAssociationMapOutput

func (i MulticastDomainAssociationMap) ToMulticastDomainAssociationMapOutput() MulticastDomainAssociationMapOutput

func (MulticastDomainAssociationMap) ToMulticastDomainAssociationMapOutputWithContext

func (i MulticastDomainAssociationMap) ToMulticastDomainAssociationMapOutputWithContext(ctx context.Context) MulticastDomainAssociationMapOutput

type MulticastDomainAssociationMapInput

type MulticastDomainAssociationMapInput interface {
	pulumi.Input

	ToMulticastDomainAssociationMapOutput() MulticastDomainAssociationMapOutput
	ToMulticastDomainAssociationMapOutputWithContext(context.Context) MulticastDomainAssociationMapOutput
}

MulticastDomainAssociationMapInput is an input type that accepts MulticastDomainAssociationMap and MulticastDomainAssociationMapOutput values. You can construct a concrete instance of `MulticastDomainAssociationMapInput` via:

MulticastDomainAssociationMap{ "key": MulticastDomainAssociationArgs{...} }

type MulticastDomainAssociationMapOutput

type MulticastDomainAssociationMapOutput struct{ *pulumi.OutputState }

func (MulticastDomainAssociationMapOutput) ElementType

func (MulticastDomainAssociationMapOutput) MapIndex

func (MulticastDomainAssociationMapOutput) ToMulticastDomainAssociationMapOutput

func (o MulticastDomainAssociationMapOutput) ToMulticastDomainAssociationMapOutput() MulticastDomainAssociationMapOutput

func (MulticastDomainAssociationMapOutput) ToMulticastDomainAssociationMapOutputWithContext

func (o MulticastDomainAssociationMapOutput) ToMulticastDomainAssociationMapOutputWithContext(ctx context.Context) MulticastDomainAssociationMapOutput

type MulticastDomainAssociationOutput

type MulticastDomainAssociationOutput struct{ *pulumi.OutputState }

func (MulticastDomainAssociationOutput) ElementType

func (MulticastDomainAssociationOutput) SubnetId

The ID of the subnet to associate with the transit gateway multicast domain.

func (MulticastDomainAssociationOutput) ToMulticastDomainAssociationOutput

func (o MulticastDomainAssociationOutput) ToMulticastDomainAssociationOutput() MulticastDomainAssociationOutput

func (MulticastDomainAssociationOutput) ToMulticastDomainAssociationOutputWithContext

func (o MulticastDomainAssociationOutput) ToMulticastDomainAssociationOutputWithContext(ctx context.Context) MulticastDomainAssociationOutput

func (MulticastDomainAssociationOutput) TransitGatewayAttachmentId

func (o MulticastDomainAssociationOutput) TransitGatewayAttachmentId() pulumi.StringOutput

The ID of the transit gateway attachment.

func (MulticastDomainAssociationOutput) TransitGatewayMulticastDomainId

func (o MulticastDomainAssociationOutput) TransitGatewayMulticastDomainId() pulumi.StringOutput

The ID of the transit gateway multicast domain.

type MulticastDomainAssociationState

type MulticastDomainAssociationState struct {
	// The ID of the subnet to associate with the transit gateway multicast domain.
	SubnetId pulumi.StringPtrInput
	// The ID of the transit gateway attachment.
	TransitGatewayAttachmentId pulumi.StringPtrInput
	// The ID of the transit gateway multicast domain.
	TransitGatewayMulticastDomainId pulumi.StringPtrInput
}

func (MulticastDomainAssociationState) ElementType

type MulticastDomainInput

type MulticastDomainInput interface {
	pulumi.Input

	ToMulticastDomainOutput() MulticastDomainOutput
	ToMulticastDomainOutputWithContext(ctx context.Context) MulticastDomainOutput
}

type MulticastDomainMap

type MulticastDomainMap map[string]MulticastDomainInput

func (MulticastDomainMap) ElementType

func (MulticastDomainMap) ElementType() reflect.Type

func (MulticastDomainMap) ToMulticastDomainMapOutput

func (i MulticastDomainMap) ToMulticastDomainMapOutput() MulticastDomainMapOutput

func (MulticastDomainMap) ToMulticastDomainMapOutputWithContext

func (i MulticastDomainMap) ToMulticastDomainMapOutputWithContext(ctx context.Context) MulticastDomainMapOutput

type MulticastDomainMapInput

type MulticastDomainMapInput interface {
	pulumi.Input

	ToMulticastDomainMapOutput() MulticastDomainMapOutput
	ToMulticastDomainMapOutputWithContext(context.Context) MulticastDomainMapOutput
}

MulticastDomainMapInput is an input type that accepts MulticastDomainMap and MulticastDomainMapOutput values. You can construct a concrete instance of `MulticastDomainMapInput` via:

MulticastDomainMap{ "key": MulticastDomainArgs{...} }

type MulticastDomainMapOutput

type MulticastDomainMapOutput struct{ *pulumi.OutputState }

func (MulticastDomainMapOutput) ElementType

func (MulticastDomainMapOutput) ElementType() reflect.Type

func (MulticastDomainMapOutput) MapIndex

func (MulticastDomainMapOutput) ToMulticastDomainMapOutput

func (o MulticastDomainMapOutput) ToMulticastDomainMapOutput() MulticastDomainMapOutput

func (MulticastDomainMapOutput) ToMulticastDomainMapOutputWithContext

func (o MulticastDomainMapOutput) ToMulticastDomainMapOutputWithContext(ctx context.Context) MulticastDomainMapOutput

type MulticastDomainOutput

type MulticastDomainOutput struct{ *pulumi.OutputState }

func (MulticastDomainOutput) Arn

EC2 Transit Gateway Multicast Domain Amazon Resource Name (ARN).

func (MulticastDomainOutput) AutoAcceptSharedAssociations

func (o MulticastDomainOutput) AutoAcceptSharedAssociations() pulumi.StringPtrOutput

Whether to automatically accept cross-account subnet associations that are associated with the EC2 Transit Gateway Multicast Domain. Valid values: `disable`, `enable`. Default value: `disable`.

func (MulticastDomainOutput) ElementType

func (MulticastDomainOutput) ElementType() reflect.Type

func (MulticastDomainOutput) Igmpv2Support

func (o MulticastDomainOutput) Igmpv2Support() pulumi.StringPtrOutput

Whether to enable Internet Group Management Protocol (IGMP) version 2 for the EC2 Transit Gateway Multicast Domain. Valid values: `disable`, `enable`. Default value: `disable`.

func (MulticastDomainOutput) OwnerId

Identifier of the AWS account that owns the EC2 Transit Gateway Multicast Domain.

func (MulticastDomainOutput) StaticSourcesSupport

func (o MulticastDomainOutput) StaticSourcesSupport() pulumi.StringPtrOutput

Whether to enable support for statically configuring multicast group sources for the EC2 Transit Gateway Multicast Domain. Valid values: `disable`, `enable`. Default value: `disable`.

func (MulticastDomainOutput) Tags

Key-value tags for the EC2 Transit Gateway Multicast Domain. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.

func (MulticastDomainOutput) TagsAll deprecated

A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.

Deprecated: Please use `tags` instead.

func (MulticastDomainOutput) ToMulticastDomainOutput

func (o MulticastDomainOutput) ToMulticastDomainOutput() MulticastDomainOutput

func (MulticastDomainOutput) ToMulticastDomainOutputWithContext

func (o MulticastDomainOutput) ToMulticastDomainOutputWithContext(ctx context.Context) MulticastDomainOutput

func (MulticastDomainOutput) TransitGatewayId

func (o MulticastDomainOutput) TransitGatewayId() pulumi.StringOutput

EC2 Transit Gateway identifier. The EC2 Transit Gateway must have `multicastSupport` enabled.

type MulticastDomainState

type MulticastDomainState struct {
	// EC2 Transit Gateway Multicast Domain Amazon Resource Name (ARN).
	Arn pulumi.StringPtrInput
	// Whether to automatically accept cross-account subnet associations that are associated with the EC2 Transit Gateway Multicast Domain. Valid values: `disable`, `enable`. Default value: `disable`.
	AutoAcceptSharedAssociations pulumi.StringPtrInput
	// Whether to enable Internet Group Management Protocol (IGMP) version 2 for the EC2 Transit Gateway Multicast Domain. Valid values: `disable`, `enable`. Default value: `disable`.
	Igmpv2Support pulumi.StringPtrInput
	// Identifier of the AWS account that owns the EC2 Transit Gateway Multicast Domain.
	OwnerId pulumi.StringPtrInput
	// Whether to enable support for statically configuring multicast group sources for the EC2 Transit Gateway Multicast Domain. Valid values: `disable`, `enable`. Default value: `disable`.
	StaticSourcesSupport pulumi.StringPtrInput
	// Key-value tags for the EC2 Transit Gateway Multicast Domain. 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.
	//
	// Deprecated: Please use `tags` instead.
	TagsAll pulumi.StringMapInput
	// EC2 Transit Gateway identifier. The EC2 Transit Gateway must have `multicastSupport` enabled.
	TransitGatewayId pulumi.StringPtrInput
}

func (MulticastDomainState) ElementType

func (MulticastDomainState) ElementType() reflect.Type

type MulticastGroupMember

type MulticastGroupMember struct {
	pulumi.CustomResourceState

	// The IP address assigned to the transit gateway multicast group.
	GroupIpAddress pulumi.StringOutput `pulumi:"groupIpAddress"`
	// The group members' network interface ID to register with the transit gateway multicast group.
	NetworkInterfaceId pulumi.StringOutput `pulumi:"networkInterfaceId"`
	// The ID of the transit gateway multicast domain.
	TransitGatewayMulticastDomainId pulumi.StringOutput `pulumi:"transitGatewayMulticastDomainId"`
}

Registers members (network interfaces) with the transit gateway multicast group. A member is a network interface associated with a supported EC2 instance that receives multicast traffic.

## Example Usage

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := ec2transitgateway.NewMulticastGroupMember(ctx, "example", &ec2transitgateway.MulticastGroupMemberArgs{
			GroupIpAddress:                  pulumi.String("224.0.0.1"),
			NetworkInterfaceId:              pulumi.Any(exampleAwsNetworkInterface.Id),
			TransitGatewayMulticastDomainId: pulumi.Any(exampleAwsEc2TransitGatewayMulticastDomain.Id),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

func GetMulticastGroupMember

func GetMulticastGroupMember(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *MulticastGroupMemberState, opts ...pulumi.ResourceOption) (*MulticastGroupMember, error)

GetMulticastGroupMember gets an existing MulticastGroupMember 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 NewMulticastGroupMember

func NewMulticastGroupMember(ctx *pulumi.Context,
	name string, args *MulticastGroupMemberArgs, opts ...pulumi.ResourceOption) (*MulticastGroupMember, error)

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

func (*MulticastGroupMember) ElementType

func (*MulticastGroupMember) ElementType() reflect.Type

func (*MulticastGroupMember) ToMulticastGroupMemberOutput

func (i *MulticastGroupMember) ToMulticastGroupMemberOutput() MulticastGroupMemberOutput

func (*MulticastGroupMember) ToMulticastGroupMemberOutputWithContext

func (i *MulticastGroupMember) ToMulticastGroupMemberOutputWithContext(ctx context.Context) MulticastGroupMemberOutput

type MulticastGroupMemberArgs

type MulticastGroupMemberArgs struct {
	// The IP address assigned to the transit gateway multicast group.
	GroupIpAddress pulumi.StringInput
	// The group members' network interface ID to register with the transit gateway multicast group.
	NetworkInterfaceId pulumi.StringInput
	// The ID of the transit gateway multicast domain.
	TransitGatewayMulticastDomainId pulumi.StringInput
}

The set of arguments for constructing a MulticastGroupMember resource.

func (MulticastGroupMemberArgs) ElementType

func (MulticastGroupMemberArgs) ElementType() reflect.Type

type MulticastGroupMemberArray

type MulticastGroupMemberArray []MulticastGroupMemberInput

func (MulticastGroupMemberArray) ElementType

func (MulticastGroupMemberArray) ElementType() reflect.Type

func (MulticastGroupMemberArray) ToMulticastGroupMemberArrayOutput

func (i MulticastGroupMemberArray) ToMulticastGroupMemberArrayOutput() MulticastGroupMemberArrayOutput

func (MulticastGroupMemberArray) ToMulticastGroupMemberArrayOutputWithContext

func (i MulticastGroupMemberArray) ToMulticastGroupMemberArrayOutputWithContext(ctx context.Context) MulticastGroupMemberArrayOutput

type MulticastGroupMemberArrayInput

type MulticastGroupMemberArrayInput interface {
	pulumi.Input

	ToMulticastGroupMemberArrayOutput() MulticastGroupMemberArrayOutput
	ToMulticastGroupMemberArrayOutputWithContext(context.Context) MulticastGroupMemberArrayOutput
}

MulticastGroupMemberArrayInput is an input type that accepts MulticastGroupMemberArray and MulticastGroupMemberArrayOutput values. You can construct a concrete instance of `MulticastGroupMemberArrayInput` via:

MulticastGroupMemberArray{ MulticastGroupMemberArgs{...} }

type MulticastGroupMemberArrayOutput

type MulticastGroupMemberArrayOutput struct{ *pulumi.OutputState }

func (MulticastGroupMemberArrayOutput) ElementType

func (MulticastGroupMemberArrayOutput) Index

func (MulticastGroupMemberArrayOutput) ToMulticastGroupMemberArrayOutput

func (o MulticastGroupMemberArrayOutput) ToMulticastGroupMemberArrayOutput() MulticastGroupMemberArrayOutput

func (MulticastGroupMemberArrayOutput) ToMulticastGroupMemberArrayOutputWithContext

func (o MulticastGroupMemberArrayOutput) ToMulticastGroupMemberArrayOutputWithContext(ctx context.Context) MulticastGroupMemberArrayOutput

type MulticastGroupMemberInput

type MulticastGroupMemberInput interface {
	pulumi.Input

	ToMulticastGroupMemberOutput() MulticastGroupMemberOutput
	ToMulticastGroupMemberOutputWithContext(ctx context.Context) MulticastGroupMemberOutput
}

type MulticastGroupMemberMap

type MulticastGroupMemberMap map[string]MulticastGroupMemberInput

func (MulticastGroupMemberMap) ElementType

func (MulticastGroupMemberMap) ElementType() reflect.Type

func (MulticastGroupMemberMap) ToMulticastGroupMemberMapOutput

func (i MulticastGroupMemberMap) ToMulticastGroupMemberMapOutput() MulticastGroupMemberMapOutput

func (MulticastGroupMemberMap) ToMulticastGroupMemberMapOutputWithContext

func (i MulticastGroupMemberMap) ToMulticastGroupMemberMapOutputWithContext(ctx context.Context) MulticastGroupMemberMapOutput

type MulticastGroupMemberMapInput

type MulticastGroupMemberMapInput interface {
	pulumi.Input

	ToMulticastGroupMemberMapOutput() MulticastGroupMemberMapOutput
	ToMulticastGroupMemberMapOutputWithContext(context.Context) MulticastGroupMemberMapOutput
}

MulticastGroupMemberMapInput is an input type that accepts MulticastGroupMemberMap and MulticastGroupMemberMapOutput values. You can construct a concrete instance of `MulticastGroupMemberMapInput` via:

MulticastGroupMemberMap{ "key": MulticastGroupMemberArgs{...} }

type MulticastGroupMemberMapOutput

type MulticastGroupMemberMapOutput struct{ *pulumi.OutputState }

func (MulticastGroupMemberMapOutput) ElementType

func (MulticastGroupMemberMapOutput) MapIndex

func (MulticastGroupMemberMapOutput) ToMulticastGroupMemberMapOutput

func (o MulticastGroupMemberMapOutput) ToMulticastGroupMemberMapOutput() MulticastGroupMemberMapOutput

func (MulticastGroupMemberMapOutput) ToMulticastGroupMemberMapOutputWithContext

func (o MulticastGroupMemberMapOutput) ToMulticastGroupMemberMapOutputWithContext(ctx context.Context) MulticastGroupMemberMapOutput

type MulticastGroupMemberOutput

type MulticastGroupMemberOutput struct{ *pulumi.OutputState }

func (MulticastGroupMemberOutput) ElementType

func (MulticastGroupMemberOutput) ElementType() reflect.Type

func (MulticastGroupMemberOutput) GroupIpAddress

func (o MulticastGroupMemberOutput) GroupIpAddress() pulumi.StringOutput

The IP address assigned to the transit gateway multicast group.

func (MulticastGroupMemberOutput) NetworkInterfaceId

func (o MulticastGroupMemberOutput) NetworkInterfaceId() pulumi.StringOutput

The group members' network interface ID to register with the transit gateway multicast group.

func (MulticastGroupMemberOutput) ToMulticastGroupMemberOutput

func (o MulticastGroupMemberOutput) ToMulticastGroupMemberOutput() MulticastGroupMemberOutput

func (MulticastGroupMemberOutput) ToMulticastGroupMemberOutputWithContext

func (o MulticastGroupMemberOutput) ToMulticastGroupMemberOutputWithContext(ctx context.Context) MulticastGroupMemberOutput

func (MulticastGroupMemberOutput) TransitGatewayMulticastDomainId

func (o MulticastGroupMemberOutput) TransitGatewayMulticastDomainId() pulumi.StringOutput

The ID of the transit gateway multicast domain.

type MulticastGroupMemberState

type MulticastGroupMemberState struct {
	// The IP address assigned to the transit gateway multicast group.
	GroupIpAddress pulumi.StringPtrInput
	// The group members' network interface ID to register with the transit gateway multicast group.
	NetworkInterfaceId pulumi.StringPtrInput
	// The ID of the transit gateway multicast domain.
	TransitGatewayMulticastDomainId pulumi.StringPtrInput
}

func (MulticastGroupMemberState) ElementType

func (MulticastGroupMemberState) ElementType() reflect.Type

type MulticastGroupSource

type MulticastGroupSource struct {
	pulumi.CustomResourceState

	// The IP address assigned to the transit gateway multicast group.
	GroupIpAddress pulumi.StringOutput `pulumi:"groupIpAddress"`
	// The group members' network interface ID to register with the transit gateway multicast group.
	NetworkInterfaceId pulumi.StringOutput `pulumi:"networkInterfaceId"`
	// The ID of the transit gateway multicast domain.
	TransitGatewayMulticastDomainId pulumi.StringOutput `pulumi:"transitGatewayMulticastDomainId"`
}

Registers sources (network interfaces) with the transit gateway multicast group. A multicast source is a network interface attached to a supported instance that sends multicast traffic.

## Example Usage

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := ec2transitgateway.NewMulticastGroupSource(ctx, "example", &ec2transitgateway.MulticastGroupSourceArgs{
			GroupIpAddress:                  pulumi.String("224.0.0.1"),
			NetworkInterfaceId:              pulumi.Any(exampleAwsNetworkInterface.Id),
			TransitGatewayMulticastDomainId: pulumi.Any(exampleAwsEc2TransitGatewayMulticastDomain.Id),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

func GetMulticastGroupSource

func GetMulticastGroupSource(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *MulticastGroupSourceState, opts ...pulumi.ResourceOption) (*MulticastGroupSource, error)

GetMulticastGroupSource gets an existing MulticastGroupSource 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 NewMulticastGroupSource

func NewMulticastGroupSource(ctx *pulumi.Context,
	name string, args *MulticastGroupSourceArgs, opts ...pulumi.ResourceOption) (*MulticastGroupSource, error)

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

func (*MulticastGroupSource) ElementType

func (*MulticastGroupSource) ElementType() reflect.Type

func (*MulticastGroupSource) ToMulticastGroupSourceOutput

func (i *MulticastGroupSource) ToMulticastGroupSourceOutput() MulticastGroupSourceOutput

func (*MulticastGroupSource) ToMulticastGroupSourceOutputWithContext

func (i *MulticastGroupSource) ToMulticastGroupSourceOutputWithContext(ctx context.Context) MulticastGroupSourceOutput

type MulticastGroupSourceArgs

type MulticastGroupSourceArgs struct {
	// The IP address assigned to the transit gateway multicast group.
	GroupIpAddress pulumi.StringInput
	// The group members' network interface ID to register with the transit gateway multicast group.
	NetworkInterfaceId pulumi.StringInput
	// The ID of the transit gateway multicast domain.
	TransitGatewayMulticastDomainId pulumi.StringInput
}

The set of arguments for constructing a MulticastGroupSource resource.

func (MulticastGroupSourceArgs) ElementType

func (MulticastGroupSourceArgs) ElementType() reflect.Type

type MulticastGroupSourceArray

type MulticastGroupSourceArray []MulticastGroupSourceInput

func (MulticastGroupSourceArray) ElementType

func (MulticastGroupSourceArray) ElementType() reflect.Type

func (MulticastGroupSourceArray) ToMulticastGroupSourceArrayOutput

func (i MulticastGroupSourceArray) ToMulticastGroupSourceArrayOutput() MulticastGroupSourceArrayOutput

func (MulticastGroupSourceArray) ToMulticastGroupSourceArrayOutputWithContext

func (i MulticastGroupSourceArray) ToMulticastGroupSourceArrayOutputWithContext(ctx context.Context) MulticastGroupSourceArrayOutput

type MulticastGroupSourceArrayInput

type MulticastGroupSourceArrayInput interface {
	pulumi.Input

	ToMulticastGroupSourceArrayOutput() MulticastGroupSourceArrayOutput
	ToMulticastGroupSourceArrayOutputWithContext(context.Context) MulticastGroupSourceArrayOutput
}

MulticastGroupSourceArrayInput is an input type that accepts MulticastGroupSourceArray and MulticastGroupSourceArrayOutput values. You can construct a concrete instance of `MulticastGroupSourceArrayInput` via:

MulticastGroupSourceArray{ MulticastGroupSourceArgs{...} }

type MulticastGroupSourceArrayOutput

type MulticastGroupSourceArrayOutput struct{ *pulumi.OutputState }

func (MulticastGroupSourceArrayOutput) ElementType

func (MulticastGroupSourceArrayOutput) Index

func (MulticastGroupSourceArrayOutput) ToMulticastGroupSourceArrayOutput

func (o MulticastGroupSourceArrayOutput) ToMulticastGroupSourceArrayOutput() MulticastGroupSourceArrayOutput

func (MulticastGroupSourceArrayOutput) ToMulticastGroupSourceArrayOutputWithContext

func (o MulticastGroupSourceArrayOutput) ToMulticastGroupSourceArrayOutputWithContext(ctx context.Context) MulticastGroupSourceArrayOutput

type MulticastGroupSourceInput

type MulticastGroupSourceInput interface {
	pulumi.Input

	ToMulticastGroupSourceOutput() MulticastGroupSourceOutput
	ToMulticastGroupSourceOutputWithContext(ctx context.Context) MulticastGroupSourceOutput
}

type MulticastGroupSourceMap

type MulticastGroupSourceMap map[string]MulticastGroupSourceInput

func (MulticastGroupSourceMap) ElementType

func (MulticastGroupSourceMap) ElementType() reflect.Type

func (MulticastGroupSourceMap) ToMulticastGroupSourceMapOutput

func (i MulticastGroupSourceMap) ToMulticastGroupSourceMapOutput() MulticastGroupSourceMapOutput

func (MulticastGroupSourceMap) ToMulticastGroupSourceMapOutputWithContext

func (i MulticastGroupSourceMap) ToMulticastGroupSourceMapOutputWithContext(ctx context.Context) MulticastGroupSourceMapOutput

type MulticastGroupSourceMapInput

type MulticastGroupSourceMapInput interface {
	pulumi.Input

	ToMulticastGroupSourceMapOutput() MulticastGroupSourceMapOutput
	ToMulticastGroupSourceMapOutputWithContext(context.Context) MulticastGroupSourceMapOutput
}

MulticastGroupSourceMapInput is an input type that accepts MulticastGroupSourceMap and MulticastGroupSourceMapOutput values. You can construct a concrete instance of `MulticastGroupSourceMapInput` via:

MulticastGroupSourceMap{ "key": MulticastGroupSourceArgs{...} }

type MulticastGroupSourceMapOutput

type MulticastGroupSourceMapOutput struct{ *pulumi.OutputState }

func (MulticastGroupSourceMapOutput) ElementType

func (MulticastGroupSourceMapOutput) MapIndex

func (MulticastGroupSourceMapOutput) ToMulticastGroupSourceMapOutput

func (o MulticastGroupSourceMapOutput) ToMulticastGroupSourceMapOutput() MulticastGroupSourceMapOutput

func (MulticastGroupSourceMapOutput) ToMulticastGroupSourceMapOutputWithContext

func (o MulticastGroupSourceMapOutput) ToMulticastGroupSourceMapOutputWithContext(ctx context.Context) MulticastGroupSourceMapOutput

type MulticastGroupSourceOutput

type MulticastGroupSourceOutput struct{ *pulumi.OutputState }

func (MulticastGroupSourceOutput) ElementType

func (MulticastGroupSourceOutput) ElementType() reflect.Type

func (MulticastGroupSourceOutput) GroupIpAddress

func (o MulticastGroupSourceOutput) GroupIpAddress() pulumi.StringOutput

The IP address assigned to the transit gateway multicast group.

func (MulticastGroupSourceOutput) NetworkInterfaceId

func (o MulticastGroupSourceOutput) NetworkInterfaceId() pulumi.StringOutput

The group members' network interface ID to register with the transit gateway multicast group.

func (MulticastGroupSourceOutput) ToMulticastGroupSourceOutput

func (o MulticastGroupSourceOutput) ToMulticastGroupSourceOutput() MulticastGroupSourceOutput

func (MulticastGroupSourceOutput) ToMulticastGroupSourceOutputWithContext

func (o MulticastGroupSourceOutput) ToMulticastGroupSourceOutputWithContext(ctx context.Context) MulticastGroupSourceOutput

func (MulticastGroupSourceOutput) TransitGatewayMulticastDomainId

func (o MulticastGroupSourceOutput) TransitGatewayMulticastDomainId() pulumi.StringOutput

The ID of the transit gateway multicast domain.

type MulticastGroupSourceState

type MulticastGroupSourceState struct {
	// The IP address assigned to the transit gateway multicast group.
	GroupIpAddress pulumi.StringPtrInput
	// The group members' network interface ID to register with the transit gateway multicast group.
	NetworkInterfaceId pulumi.StringPtrInput
	// The ID of the transit gateway multicast domain.
	TransitGatewayMulticastDomainId pulumi.StringPtrInput
}

func (MulticastGroupSourceState) ElementType

func (MulticastGroupSourceState) ElementType() reflect.Type

type PeeringAttachment

type PeeringAttachment struct {
	pulumi.CustomResourceState

	// Account ID of EC2 Transit Gateway to peer with. Defaults to the account ID the AWS 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.
	//
	// Deprecated: Please use `tags` instead.
	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/v6/go/aws"
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2transitgateway"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		peer, err := aws.GetRegion(ctx, nil, nil)
		if err != nil {
			return err
		}
		local, err := ec2transitgateway.NewTransitGateway(ctx, "local", &ec2transitgateway.TransitGatewayArgs{
			Tags: pulumi.StringMap{
				"Name": pulumi.String("Local TGW"),
			},
		})
		if err != nil {
			return err
		}
		peerTransitGateway, err := ec2transitgateway.NewTransitGateway(ctx, "peer", &ec2transitgateway.TransitGatewayArgs{
			Tags: pulumi.StringMap{
				"Name": pulumi.String("Peer TGW"),
			},
		})
		if err != nil {
			return err
		}
		_, err = ec2transitgateway.NewPeeringAttachment(ctx, "example", &ec2transitgateway.PeeringAttachmentArgs{
			PeerAccountId:        peerTransitGateway.OwnerId,
			PeerRegion:           *pulumi.String(peer.Name),
			PeerTransitGatewayId: peerTransitGateway.ID(),
			TransitGatewayId:     local.ID(),
			Tags: pulumi.StringMap{
				"Name": pulumi.String("TGW Peering Requestor"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Using `pulumi import`, import `aws_ec2_transit_gateway_peering_attachment` using the EC2 Transit Gateway Attachment identifier. For example:

```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 PeeringAttachmentAccepter

type PeeringAttachmentAccepter struct {
	pulumi.CustomResourceState

	// Identifier of the AWS account that owns the EC2 TGW peering.
	PeerAccountId pulumi.StringOutput `pulumi:"peerAccountId"`
	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.
	//
	// Deprecated: Please use `tags` instead.
	TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"`
	// The ID of the EC2 Transit Gateway Peering Attachment to manage.
	TransitGatewayAttachmentId pulumi.StringOutput `pulumi:"transitGatewayAttachmentId"`
	// Identifier of EC2 Transit Gateway.
	TransitGatewayId pulumi.StringOutput `pulumi:"transitGatewayId"`
}

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

## Example Usage

```go package main

import (

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

)

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

```

## Import

Using `pulumi import`, import `aws_ec2_transit_gateway_peering_attachment_accepter` using the EC2 Transit Gateway Attachment identifier. For example:

```sh

$ pulumi import aws:ec2transitgateway/peeringAttachmentAccepter:PeeringAttachmentAccepter example tgw-attach-12345678

```

func GetPeeringAttachmentAccepter

func GetPeeringAttachmentAccepter(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *PeeringAttachmentAccepterState, opts ...pulumi.ResourceOption) (*PeeringAttachmentAccepter, error)

GetPeeringAttachmentAccepter gets an existing PeeringAttachmentAccepter 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 NewPeeringAttachmentAccepter

func NewPeeringAttachmentAccepter(ctx *pulumi.Context,
	name string, args *PeeringAttachmentAccepterArgs, opts ...pulumi.ResourceOption) (*PeeringAttachmentAccepter, error)

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

func (*PeeringAttachmentAccepter) ElementType

func (*PeeringAttachmentAccepter) ElementType() reflect.Type

func (*PeeringAttachmentAccepter) ToPeeringAttachmentAccepterOutput

func (i *PeeringAttachmentAccepter) ToPeeringAttachmentAccepterOutput() PeeringAttachmentAccepterOutput

func (*PeeringAttachmentAccepter) ToPeeringAttachmentAccepterOutputWithContext

func (i *PeeringAttachmentAccepter) ToPeeringAttachmentAccepterOutputWithContext(ctx context.Context) PeeringAttachmentAccepterOutput

type PeeringAttachmentAccepterArgs

type PeeringAttachmentAccepterArgs struct {
	// 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
	// The ID of the EC2 Transit Gateway Peering Attachment to manage.
	TransitGatewayAttachmentId pulumi.StringInput
}

The set of arguments for constructing a PeeringAttachmentAccepter resource.

func (PeeringAttachmentAccepterArgs) ElementType

type PeeringAttachmentAccepterArray

type PeeringAttachmentAccepterArray []PeeringAttachmentAccepterInput

func (PeeringAttachmentAccepterArray) ElementType

func (PeeringAttachmentAccepterArray) ToPeeringAttachmentAccepterArrayOutput

func (i PeeringAttachmentAccepterArray) ToPeeringAttachmentAccepterArrayOutput() PeeringAttachmentAccepterArrayOutput

func (PeeringAttachmentAccepterArray) ToPeeringAttachmentAccepterArrayOutputWithContext

func (i PeeringAttachmentAccepterArray) ToPeeringAttachmentAccepterArrayOutputWithContext(ctx context.Context) PeeringAttachmentAccepterArrayOutput

type PeeringAttachmentAccepterArrayInput

type PeeringAttachmentAccepterArrayInput interface {
	pulumi.Input

	ToPeeringAttachmentAccepterArrayOutput() PeeringAttachmentAccepterArrayOutput
	ToPeeringAttachmentAccepterArrayOutputWithContext(context.Context) PeeringAttachmentAccepterArrayOutput
}

PeeringAttachmentAccepterArrayInput is an input type that accepts PeeringAttachmentAccepterArray and PeeringAttachmentAccepterArrayOutput values. You can construct a concrete instance of `PeeringAttachmentAccepterArrayInput` via:

PeeringAttachmentAccepterArray{ PeeringAttachmentAccepterArgs{...} }

type PeeringAttachmentAccepterArrayOutput

type PeeringAttachmentAccepterArrayOutput struct{ *pulumi.OutputState }

func (PeeringAttachmentAccepterArrayOutput) ElementType

func (PeeringAttachmentAccepterArrayOutput) Index

func (PeeringAttachmentAccepterArrayOutput) ToPeeringAttachmentAccepterArrayOutput

func (o PeeringAttachmentAccepterArrayOutput) ToPeeringAttachmentAccepterArrayOutput() PeeringAttachmentAccepterArrayOutput

func (PeeringAttachmentAccepterArrayOutput) ToPeeringAttachmentAccepterArrayOutputWithContext

func (o PeeringAttachmentAccepterArrayOutput) ToPeeringAttachmentAccepterArrayOutputWithContext(ctx context.Context) PeeringAttachmentAccepterArrayOutput

type PeeringAttachmentAccepterInput

type PeeringAttachmentAccepterInput interface {
	pulumi.Input

	ToPeeringAttachmentAccepterOutput() PeeringAttachmentAccepterOutput
	ToPeeringAttachmentAccepterOutputWithContext(ctx context.Context) PeeringAttachmentAccepterOutput
}

type PeeringAttachmentAccepterMap

type PeeringAttachmentAccepterMap map[string]PeeringAttachmentAccepterInput

func (PeeringAttachmentAccepterMap) ElementType

func (PeeringAttachmentAccepterMap) ToPeeringAttachmentAccepterMapOutput

func (i PeeringAttachmentAccepterMap) ToPeeringAttachmentAccepterMapOutput() PeeringAttachmentAccepterMapOutput

func (PeeringAttachmentAccepterMap) ToPeeringAttachmentAccepterMapOutputWithContext

func (i PeeringAttachmentAccepterMap) ToPeeringAttachmentAccepterMapOutputWithContext(ctx context.Context) PeeringAttachmentAccepterMapOutput

type PeeringAttachmentAccepterMapInput

type PeeringAttachmentAccepterMapInput interface {
	pulumi.Input

	ToPeeringAttachmentAccepterMapOutput() PeeringAttachmentAccepterMapOutput
	ToPeeringAttachmentAccepterMapOutputWithContext(context.Context) PeeringAttachmentAccepterMapOutput
}

PeeringAttachmentAccepterMapInput is an input type that accepts PeeringAttachmentAccepterMap and PeeringAttachmentAccepterMapOutput values. You can construct a concrete instance of `PeeringAttachmentAccepterMapInput` via:

PeeringAttachmentAccepterMap{ "key": PeeringAttachmentAccepterArgs{...} }

type PeeringAttachmentAccepterMapOutput

type PeeringAttachmentAccepterMapOutput struct{ *pulumi.OutputState }

func (PeeringAttachmentAccepterMapOutput) ElementType

func (PeeringAttachmentAccepterMapOutput) MapIndex

func (PeeringAttachmentAccepterMapOutput) ToPeeringAttachmentAccepterMapOutput

func (o PeeringAttachmentAccepterMapOutput) ToPeeringAttachmentAccepterMapOutput() PeeringAttachmentAccepterMapOutput

func (PeeringAttachmentAccepterMapOutput) ToPeeringAttachmentAccepterMapOutputWithContext

func (o PeeringAttachmentAccepterMapOutput) ToPeeringAttachmentAccepterMapOutputWithContext(ctx context.Context) PeeringAttachmentAccepterMapOutput

type PeeringAttachmentAccepterOutput

type PeeringAttachmentAccepterOutput struct{ *pulumi.OutputState }

func (PeeringAttachmentAccepterOutput) ElementType

func (PeeringAttachmentAccepterOutput) PeerAccountId

Identifier of the AWS account that owns the EC2 TGW peering.

func (PeeringAttachmentAccepterOutput) PeerRegion

func (PeeringAttachmentAccepterOutput) PeerTransitGatewayId

func (o PeeringAttachmentAccepterOutput) PeerTransitGatewayId() pulumi.StringOutput

Identifier of EC2 Transit Gateway to peer with.

func (PeeringAttachmentAccepterOutput) Tags

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.

func (PeeringAttachmentAccepterOutput) TagsAll deprecated

A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.

Deprecated: Please use `tags` instead.

func (PeeringAttachmentAccepterOutput) ToPeeringAttachmentAccepterOutput

func (o PeeringAttachmentAccepterOutput) ToPeeringAttachmentAccepterOutput() PeeringAttachmentAccepterOutput

func (PeeringAttachmentAccepterOutput) ToPeeringAttachmentAccepterOutputWithContext

func (o PeeringAttachmentAccepterOutput) ToPeeringAttachmentAccepterOutputWithContext(ctx context.Context) PeeringAttachmentAccepterOutput

func (PeeringAttachmentAccepterOutput) TransitGatewayAttachmentId

func (o PeeringAttachmentAccepterOutput) TransitGatewayAttachmentId() pulumi.StringOutput

The ID of the EC2 Transit Gateway Peering Attachment to manage.

func (PeeringAttachmentAccepterOutput) TransitGatewayId

Identifier of EC2 Transit Gateway.

type PeeringAttachmentAccepterState

type PeeringAttachmentAccepterState struct {
	// Identifier of the AWS account that owns the EC2 TGW peering.
	PeerAccountId pulumi.StringPtrInput
	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.
	//
	// Deprecated: Please use `tags` instead.
	TagsAll pulumi.StringMapInput
	// The ID of the EC2 Transit Gateway Peering Attachment to manage.
	TransitGatewayAttachmentId pulumi.StringPtrInput
	// Identifier of EC2 Transit Gateway.
	TransitGatewayId pulumi.StringPtrInput
}

func (PeeringAttachmentAccepterState) ElementType

type PeeringAttachmentArgs

type PeeringAttachmentArgs struct {
	// Account ID of EC2 Transit Gateway to peer with. Defaults to the account ID the AWS 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) PeerAccountId

func (o PeeringAttachmentOutput) PeerAccountId() pulumi.StringOutput

Account ID of EC2 Transit Gateway to peer with. Defaults to the account ID the AWS provider is currently connected to.

func (PeeringAttachmentOutput) PeerRegion

Region of EC2 Transit Gateway to peer with.

func (PeeringAttachmentOutput) PeerTransitGatewayId

func (o PeeringAttachmentOutput) PeerTransitGatewayId() pulumi.StringOutput

Identifier of EC2 Transit Gateway to peer with.

func (PeeringAttachmentOutput) Tags

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.

func (PeeringAttachmentOutput) TagsAll deprecated

A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.

Deprecated: Please use `tags` instead.

func (PeeringAttachmentOutput) ToPeeringAttachmentOutput

func (o PeeringAttachmentOutput) ToPeeringAttachmentOutput() PeeringAttachmentOutput

func (PeeringAttachmentOutput) ToPeeringAttachmentOutputWithContext

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

func (PeeringAttachmentOutput) TransitGatewayId

func (o PeeringAttachmentOutput) TransitGatewayId() pulumi.StringOutput

Identifier of EC2 Transit Gateway.

type PeeringAttachmentState

type PeeringAttachmentState struct {
	// Account ID of EC2 Transit Gateway to peer with. Defaults to the account ID the AWS 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.
	//
	// Deprecated: Please use `tags` instead.
	TagsAll pulumi.StringMapInput
	// Identifier of EC2 Transit Gateway.
	TransitGatewayId pulumi.StringPtrInput
}

func (PeeringAttachmentState) ElementType

func (PeeringAttachmentState) ElementType() reflect.Type

type PolicyTable

type PolicyTable struct {
	pulumi.CustomResourceState

	// EC2 Transit Gateway Policy Table Amazon Resource Name (ARN).
	Arn pulumi.StringOutput `pulumi:"arn"`
	// The state of the EC2 Transit Gateway Policy Table.
	State pulumi.StringOutput `pulumi:"state"`
	// Key-value tags for the EC2 Transit Gateway Policy 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.
	//
	// Deprecated: Please use `tags` instead.
	TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"`
	// EC2 Transit Gateway identifier.
	TransitGatewayId pulumi.StringOutput `pulumi:"transitGatewayId"`
}

Manages an EC2 Transit Gateway Policy Table.

## Example Usage

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := ec2transitgateway.NewPolicyTable(ctx, "example", &ec2transitgateway.PolicyTableArgs{
			TransitGatewayId: pulumi.Any(exampleAwsEc2TransitGateway.Id),
			Tags: pulumi.StringMap{
				"Name": pulumi.String("Example Policy Table"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Using `pulumi import`, import `aws_ec2_transit_gateway_policy_table` using the EC2 Transit Gateway Policy Table identifier. For example:

```sh

$ pulumi import aws:ec2transitgateway/policyTable:PolicyTable example tgw-rtb-12345678

```

func GetPolicyTable

func GetPolicyTable(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *PolicyTableState, opts ...pulumi.ResourceOption) (*PolicyTable, error)

GetPolicyTable gets an existing PolicyTable 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 NewPolicyTable

func NewPolicyTable(ctx *pulumi.Context,
	name string, args *PolicyTableArgs, opts ...pulumi.ResourceOption) (*PolicyTable, error)

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

func (*PolicyTable) ElementType

func (*PolicyTable) ElementType() reflect.Type

func (*PolicyTable) ToPolicyTableOutput

func (i *PolicyTable) ToPolicyTableOutput() PolicyTableOutput

func (*PolicyTable) ToPolicyTableOutputWithContext

func (i *PolicyTable) ToPolicyTableOutputWithContext(ctx context.Context) PolicyTableOutput

type PolicyTableArgs

type PolicyTableArgs struct {
	// Key-value tags for the EC2 Transit Gateway Policy 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
	// EC2 Transit Gateway identifier.
	TransitGatewayId pulumi.StringInput
}

The set of arguments for constructing a PolicyTable resource.

func (PolicyTableArgs) ElementType

func (PolicyTableArgs) ElementType() reflect.Type

type PolicyTableArray

type PolicyTableArray []PolicyTableInput

func (PolicyTableArray) ElementType

func (PolicyTableArray) ElementType() reflect.Type

func (PolicyTableArray) ToPolicyTableArrayOutput

func (i PolicyTableArray) ToPolicyTableArrayOutput() PolicyTableArrayOutput

func (PolicyTableArray) ToPolicyTableArrayOutputWithContext

func (i PolicyTableArray) ToPolicyTableArrayOutputWithContext(ctx context.Context) PolicyTableArrayOutput

type PolicyTableArrayInput

type PolicyTableArrayInput interface {
	pulumi.Input

	ToPolicyTableArrayOutput() PolicyTableArrayOutput
	ToPolicyTableArrayOutputWithContext(context.Context) PolicyTableArrayOutput
}

PolicyTableArrayInput is an input type that accepts PolicyTableArray and PolicyTableArrayOutput values. You can construct a concrete instance of `PolicyTableArrayInput` via:

PolicyTableArray{ PolicyTableArgs{...} }

type PolicyTableArrayOutput

type PolicyTableArrayOutput struct{ *pulumi.OutputState }

func (PolicyTableArrayOutput) ElementType

func (PolicyTableArrayOutput) ElementType() reflect.Type

func (PolicyTableArrayOutput) Index

func (PolicyTableArrayOutput) ToPolicyTableArrayOutput

func (o PolicyTableArrayOutput) ToPolicyTableArrayOutput() PolicyTableArrayOutput

func (PolicyTableArrayOutput) ToPolicyTableArrayOutputWithContext

func (o PolicyTableArrayOutput) ToPolicyTableArrayOutputWithContext(ctx context.Context) PolicyTableArrayOutput

type PolicyTableAssociation

type PolicyTableAssociation 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 Policy Table.
	TransitGatewayPolicyTableId pulumi.StringOutput `pulumi:"transitGatewayPolicyTableId"`
}

Manages an EC2 Transit Gateway Policy Table association.

## Example Usage

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := ec2transitgateway.NewPolicyTableAssociation(ctx, "example", &ec2transitgateway.PolicyTableAssociationArgs{
			TransitGatewayAttachmentId:  pulumi.Any(exampleAwsNetworkmanagerTransitGatewayPeering.TransitGatewayPeeringAttachmentId),
			TransitGatewayPolicyTableId: pulumi.Any(exampleAwsEc2TransitGatewayPolicyTable.Id),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Using `pulumi import`, import `aws_ec2_transit_gateway_policy_table_association` using the EC2 Transit Gateway Policy Table identifier, an underscore, and the EC2 Transit Gateway Attachment identifier. For example:

```sh

$ pulumi import aws:ec2transitgateway/policyTableAssociation:PolicyTableAssociation example tgw-rtb-12345678_tgw-attach-87654321

```

func GetPolicyTableAssociation

func GetPolicyTableAssociation(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *PolicyTableAssociationState, opts ...pulumi.ResourceOption) (*PolicyTableAssociation, error)

GetPolicyTableAssociation gets an existing PolicyTableAssociation 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 NewPolicyTableAssociation

func NewPolicyTableAssociation(ctx *pulumi.Context,
	name string, args *PolicyTableAssociationArgs, opts ...pulumi.ResourceOption) (*PolicyTableAssociation, error)

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

func (*PolicyTableAssociation) ElementType

func (*PolicyTableAssociation) ElementType() reflect.Type

func (*PolicyTableAssociation) ToPolicyTableAssociationOutput

func (i *PolicyTableAssociation) ToPolicyTableAssociationOutput() PolicyTableAssociationOutput

func (*PolicyTableAssociation) ToPolicyTableAssociationOutputWithContext

func (i *PolicyTableAssociation) ToPolicyTableAssociationOutputWithContext(ctx context.Context) PolicyTableAssociationOutput

type PolicyTableAssociationArgs

type PolicyTableAssociationArgs struct {
	// Identifier of EC2 Transit Gateway Attachment.
	TransitGatewayAttachmentId pulumi.StringInput
	// Identifier of EC2 Transit Gateway Policy Table.
	TransitGatewayPolicyTableId pulumi.StringInput
}

The set of arguments for constructing a PolicyTableAssociation resource.

func (PolicyTableAssociationArgs) ElementType

func (PolicyTableAssociationArgs) ElementType() reflect.Type

type PolicyTableAssociationArray

type PolicyTableAssociationArray []PolicyTableAssociationInput

func (PolicyTableAssociationArray) ElementType

func (PolicyTableAssociationArray) ToPolicyTableAssociationArrayOutput

func (i PolicyTableAssociationArray) ToPolicyTableAssociationArrayOutput() PolicyTableAssociationArrayOutput

func (PolicyTableAssociationArray) ToPolicyTableAssociationArrayOutputWithContext

func (i PolicyTableAssociationArray) ToPolicyTableAssociationArrayOutputWithContext(ctx context.Context) PolicyTableAssociationArrayOutput

type PolicyTableAssociationArrayInput

type PolicyTableAssociationArrayInput interface {
	pulumi.Input

	ToPolicyTableAssociationArrayOutput() PolicyTableAssociationArrayOutput
	ToPolicyTableAssociationArrayOutputWithContext(context.Context) PolicyTableAssociationArrayOutput
}

PolicyTableAssociationArrayInput is an input type that accepts PolicyTableAssociationArray and PolicyTableAssociationArrayOutput values. You can construct a concrete instance of `PolicyTableAssociationArrayInput` via:

PolicyTableAssociationArray{ PolicyTableAssociationArgs{...} }

type PolicyTableAssociationArrayOutput

type PolicyTableAssociationArrayOutput struct{ *pulumi.OutputState }

func (PolicyTableAssociationArrayOutput) ElementType

func (PolicyTableAssociationArrayOutput) Index

func (PolicyTableAssociationArrayOutput) ToPolicyTableAssociationArrayOutput

func (o PolicyTableAssociationArrayOutput) ToPolicyTableAssociationArrayOutput() PolicyTableAssociationArrayOutput

func (PolicyTableAssociationArrayOutput) ToPolicyTableAssociationArrayOutputWithContext

func (o PolicyTableAssociationArrayOutput) ToPolicyTableAssociationArrayOutputWithContext(ctx context.Context) PolicyTableAssociationArrayOutput

type PolicyTableAssociationInput

type PolicyTableAssociationInput interface {
	pulumi.Input

	ToPolicyTableAssociationOutput() PolicyTableAssociationOutput
	ToPolicyTableAssociationOutputWithContext(ctx context.Context) PolicyTableAssociationOutput
}

type PolicyTableAssociationMap

type PolicyTableAssociationMap map[string]PolicyTableAssociationInput

func (PolicyTableAssociationMap) ElementType

func (PolicyTableAssociationMap) ElementType() reflect.Type

func (PolicyTableAssociationMap) ToPolicyTableAssociationMapOutput

func (i PolicyTableAssociationMap) ToPolicyTableAssociationMapOutput() PolicyTableAssociationMapOutput

func (PolicyTableAssociationMap) ToPolicyTableAssociationMapOutputWithContext

func (i PolicyTableAssociationMap) ToPolicyTableAssociationMapOutputWithContext(ctx context.Context) PolicyTableAssociationMapOutput

type PolicyTableAssociationMapInput

type PolicyTableAssociationMapInput interface {
	pulumi.Input

	ToPolicyTableAssociationMapOutput() PolicyTableAssociationMapOutput
	ToPolicyTableAssociationMapOutputWithContext(context.Context) PolicyTableAssociationMapOutput
}

PolicyTableAssociationMapInput is an input type that accepts PolicyTableAssociationMap and PolicyTableAssociationMapOutput values. You can construct a concrete instance of `PolicyTableAssociationMapInput` via:

PolicyTableAssociationMap{ "key": PolicyTableAssociationArgs{...} }

type PolicyTableAssociationMapOutput

type PolicyTableAssociationMapOutput struct{ *pulumi.OutputState }

func (PolicyTableAssociationMapOutput) ElementType

func (PolicyTableAssociationMapOutput) MapIndex

func (PolicyTableAssociationMapOutput) ToPolicyTableAssociationMapOutput

func (o PolicyTableAssociationMapOutput) ToPolicyTableAssociationMapOutput() PolicyTableAssociationMapOutput

func (PolicyTableAssociationMapOutput) ToPolicyTableAssociationMapOutputWithContext

func (o PolicyTableAssociationMapOutput) ToPolicyTableAssociationMapOutputWithContext(ctx context.Context) PolicyTableAssociationMapOutput

type PolicyTableAssociationOutput

type PolicyTableAssociationOutput struct{ *pulumi.OutputState }

func (PolicyTableAssociationOutput) ElementType

func (PolicyTableAssociationOutput) ResourceId

Identifier of the resource

func (PolicyTableAssociationOutput) ResourceType

Type of the resource

func (PolicyTableAssociationOutput) ToPolicyTableAssociationOutput

func (o PolicyTableAssociationOutput) ToPolicyTableAssociationOutput() PolicyTableAssociationOutput

func (PolicyTableAssociationOutput) ToPolicyTableAssociationOutputWithContext

func (o PolicyTableAssociationOutput) ToPolicyTableAssociationOutputWithContext(ctx context.Context) PolicyTableAssociationOutput

func (PolicyTableAssociationOutput) TransitGatewayAttachmentId

func (o PolicyTableAssociationOutput) TransitGatewayAttachmentId() pulumi.StringOutput

Identifier of EC2 Transit Gateway Attachment.

func (PolicyTableAssociationOutput) TransitGatewayPolicyTableId

func (o PolicyTableAssociationOutput) TransitGatewayPolicyTableId() pulumi.StringOutput

Identifier of EC2 Transit Gateway Policy Table.

type PolicyTableAssociationState

type PolicyTableAssociationState 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 Policy Table.
	TransitGatewayPolicyTableId pulumi.StringPtrInput
}

func (PolicyTableAssociationState) ElementType

type PolicyTableInput

type PolicyTableInput interface {
	pulumi.Input

	ToPolicyTableOutput() PolicyTableOutput
	ToPolicyTableOutputWithContext(ctx context.Context) PolicyTableOutput
}

type PolicyTableMap

type PolicyTableMap map[string]PolicyTableInput

func (PolicyTableMap) ElementType

func (PolicyTableMap) ElementType() reflect.Type

func (PolicyTableMap) ToPolicyTableMapOutput

func (i PolicyTableMap) ToPolicyTableMapOutput() PolicyTableMapOutput

func (PolicyTableMap) ToPolicyTableMapOutputWithContext

func (i PolicyTableMap) ToPolicyTableMapOutputWithContext(ctx context.Context) PolicyTableMapOutput

type PolicyTableMapInput

type PolicyTableMapInput interface {
	pulumi.Input

	ToPolicyTableMapOutput() PolicyTableMapOutput
	ToPolicyTableMapOutputWithContext(context.Context) PolicyTableMapOutput
}

PolicyTableMapInput is an input type that accepts PolicyTableMap and PolicyTableMapOutput values. You can construct a concrete instance of `PolicyTableMapInput` via:

PolicyTableMap{ "key": PolicyTableArgs{...} }

type PolicyTableMapOutput

type PolicyTableMapOutput struct{ *pulumi.OutputState }

func (PolicyTableMapOutput) ElementType

func (PolicyTableMapOutput) ElementType() reflect.Type

func (PolicyTableMapOutput) MapIndex

func (PolicyTableMapOutput) ToPolicyTableMapOutput

func (o PolicyTableMapOutput) ToPolicyTableMapOutput() PolicyTableMapOutput

func (PolicyTableMapOutput) ToPolicyTableMapOutputWithContext

func (o PolicyTableMapOutput) ToPolicyTableMapOutputWithContext(ctx context.Context) PolicyTableMapOutput

type PolicyTableOutput

type PolicyTableOutput struct{ *pulumi.OutputState }

func (PolicyTableOutput) Arn

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

func (PolicyTableOutput) ElementType

func (PolicyTableOutput) ElementType() reflect.Type

func (PolicyTableOutput) State

The state of the EC2 Transit Gateway Policy Table.

func (PolicyTableOutput) Tags

Key-value tags for the EC2 Transit Gateway Policy Table. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.

func (PolicyTableOutput) TagsAll deprecated

A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.

Deprecated: Please use `tags` instead.

func (PolicyTableOutput) ToPolicyTableOutput

func (o PolicyTableOutput) ToPolicyTableOutput() PolicyTableOutput

func (PolicyTableOutput) ToPolicyTableOutputWithContext

func (o PolicyTableOutput) ToPolicyTableOutputWithContext(ctx context.Context) PolicyTableOutput

func (PolicyTableOutput) TransitGatewayId

func (o PolicyTableOutput) TransitGatewayId() pulumi.StringOutput

EC2 Transit Gateway identifier.

type PolicyTableState

type PolicyTableState struct {
	// EC2 Transit Gateway Policy Table Amazon Resource Name (ARN).
	Arn pulumi.StringPtrInput
	// The state of the EC2 Transit Gateway Policy Table.
	State pulumi.StringPtrInput
	// Key-value tags for the EC2 Transit Gateway Policy 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.
	//
	// Deprecated: Please use `tags` instead.
	TagsAll pulumi.StringMapInput
	// EC2 Transit Gateway identifier.
	TransitGatewayId pulumi.StringPtrInput
}

func (PolicyTableState) ElementType

func (PolicyTableState) 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.
	//
	// The following arguments are optional:
	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/v6/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(exampleAwsEc2ManagedPrefixList.Id),
			TransitGatewayAttachmentId: pulumi.Any(exampleAwsEc2TransitGatewayVpcAttachment.Id),
			TransitGatewayRouteTableId: pulumi.Any(exampleAwsEc2TransitGateway.AssociationDefaultRouteTableId),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### Blackhole Routing

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v6/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(exampleAwsEc2ManagedPrefixList.Id),
			TransitGatewayRouteTableId: pulumi.Any(exampleAwsEc2TransitGateway.AssociationDefaultRouteTableId),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Using `pulumi import`, import `aws_ec2_transit_gateway_prefix_list_reference` using the EC2 Transit Gateway Route Table identifier and EC2 Prefix List identifier, separated by an underscore (`_`). For example:

```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.
	//
	// The following arguments are optional:
	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) Blackhole

Indicates whether to drop traffic that matches the Prefix List. Defaults to `false`.

func (PrefixListReferenceOutput) ElementType

func (PrefixListReferenceOutput) ElementType() reflect.Type

func (PrefixListReferenceOutput) PrefixListId

Identifier of EC2 Prefix List.

func (PrefixListReferenceOutput) PrefixListOwnerId

func (o PrefixListReferenceOutput) PrefixListOwnerId() pulumi.StringOutput

func (PrefixListReferenceOutput) ToPrefixListReferenceOutput

func (o PrefixListReferenceOutput) ToPrefixListReferenceOutput() PrefixListReferenceOutput

func (PrefixListReferenceOutput) ToPrefixListReferenceOutputWithContext

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

func (PrefixListReferenceOutput) TransitGatewayAttachmentId

func (o PrefixListReferenceOutput) TransitGatewayAttachmentId() pulumi.StringPtrOutput

Identifier of EC2 Transit Gateway Attachment.

func (PrefixListReferenceOutput) TransitGatewayRouteTableId

func (o PrefixListReferenceOutput) TransitGatewayRouteTableId() pulumi.StringOutput

Identifier of EC2 Transit Gateway Route Table.

The following arguments are optional:

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.
	//
	// The following arguments are optional:
	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/v6/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(exampleAwsEc2TransitGatewayVpcAttachment.Id),
			TransitGatewayRouteTableId: pulumi.Any(exampleAwsEc2TransitGateway.AssociationDefaultRouteTableId),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### Blackhole route

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v6/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(exampleAwsEc2TransitGateway.AssociationDefaultRouteTableId),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Using `pulumi import`, import `aws_ec2_transit_gateway_route` using the EC2 Transit Gateway Route Table, an underscore, and the destination. For example:

```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) Blackhole

func (o RouteOutput) Blackhole() pulumi.BoolPtrOutput

Indicates whether to drop traffic that matches this route (default to `false`).

func (RouteOutput) DestinationCidrBlock

func (o RouteOutput) DestinationCidrBlock() pulumi.StringOutput

IPv4 or IPv6 RFC1924 CIDR used for destination matches. Routing decisions are based on the most specific match.

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

func (RouteOutput) TransitGatewayAttachmentId

func (o RouteOutput) TransitGatewayAttachmentId() pulumi.StringPtrOutput

Identifier of EC2 Transit Gateway Attachment (required if `blackhole` is set to false).

func (RouteOutput) TransitGatewayRouteTableId

func (o RouteOutput) TransitGatewayRouteTableId() pulumi.StringOutput

Identifier of EC2 Transit Gateway Route Table.

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.
	//
	// Deprecated: Please use `tags` instead.
	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/v6/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(exampleAwsEc2TransitGateway.Id),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Using `pulumi import`, import `aws_ec2_transit_gateway_route_table` using the EC2 Transit Gateway Route Table identifier. For example:

```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

	// Boolean whether the Gateway Attachment should remove any current Route Table association before associating with the specified Route Table. Default value: `false`. This argument is intended for use with EC2 Transit Gateways shared into the current account, otherwise the `transitGatewayDefaultRouteTableAssociation` argument of the `ec2transitgateway.VpcAttachment` resource should be used.
	ReplaceExistingAssociation pulumi.BoolPtrOutput `pulumi:"replaceExistingAssociation"`
	// 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/v6/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(exampleAwsEc2TransitGatewayVpcAttachment.Id),
			TransitGatewayRouteTableId: pulumi.Any(exampleAwsEc2TransitGatewayRouteTable.Id),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Using `pulumi import`, import `aws_ec2_transit_gateway_route_table_association` using the EC2 Transit Gateway Route Table identifier, an underscore, and the EC2 Transit Gateway Attachment identifier. For example:

```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 {
	// Boolean whether the Gateway Attachment should remove any current Route Table association before associating with the specified Route Table. Default value: `false`. This argument is intended for use with EC2 Transit Gateways shared into the current account, otherwise the `transitGatewayDefaultRouteTableAssociation` argument of the `ec2transitgateway.VpcAttachment` resource should be used.
	ReplaceExistingAssociation pulumi.BoolPtrInput
	// 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) ReplaceExistingAssociation

func (o RouteTableAssociationOutput) ReplaceExistingAssociation() pulumi.BoolPtrOutput

Boolean whether the Gateway Attachment should remove any current Route Table association before associating with the specified Route Table. Default value: `false`. This argument is intended for use with EC2 Transit Gateways shared into the current account, otherwise the `transitGatewayDefaultRouteTableAssociation` argument of the `ec2transitgateway.VpcAttachment` resource should be used.

func (RouteTableAssociationOutput) ResourceId

Identifier of the resource

func (RouteTableAssociationOutput) ResourceType

Type of the resource

func (RouteTableAssociationOutput) ToRouteTableAssociationOutput

func (o RouteTableAssociationOutput) ToRouteTableAssociationOutput() RouteTableAssociationOutput

func (RouteTableAssociationOutput) ToRouteTableAssociationOutputWithContext

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

func (RouteTableAssociationOutput) TransitGatewayAttachmentId

func (o RouteTableAssociationOutput) TransitGatewayAttachmentId() pulumi.StringOutput

Identifier of EC2 Transit Gateway Attachment.

func (RouteTableAssociationOutput) TransitGatewayRouteTableId

func (o RouteTableAssociationOutput) TransitGatewayRouteTableId() pulumi.StringOutput

Identifier of EC2 Transit Gateway Route Table.

type RouteTableAssociationState

type RouteTableAssociationState struct {
	// Boolean whether the Gateway Attachment should remove any current Route Table association before associating with the specified Route Table. Default value: `false`. This argument is intended for use with EC2 Transit Gateways shared into the current account, otherwise the `transitGatewayDefaultRouteTableAssociation` argument of the `ec2transitgateway.VpcAttachment` resource should be used.
	ReplaceExistingAssociation pulumi.BoolPtrInput
	// 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) Arn

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

func (RouteTableOutput) DefaultAssociationRouteTable

func (o RouteTableOutput) DefaultAssociationRouteTable() pulumi.BoolOutput

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

func (RouteTableOutput) DefaultPropagationRouteTable

func (o RouteTableOutput) DefaultPropagationRouteTable() pulumi.BoolOutput

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

func (RouteTableOutput) ElementType

func (RouteTableOutput) ElementType() reflect.Type

func (RouteTableOutput) Tags

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.

func (RouteTableOutput) TagsAll deprecated

A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.

Deprecated: Please use `tags` instead.

func (RouteTableOutput) ToRouteTableOutput

func (o RouteTableOutput) ToRouteTableOutput() RouteTableOutput

func (RouteTableOutput) ToRouteTableOutputWithContext

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

func (RouteTableOutput) TransitGatewayId

func (o RouteTableOutput) TransitGatewayId() pulumi.StringOutput

Identifier of EC2 Transit Gateway.

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/v6/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(exampleAwsEc2TransitGatewayVpcAttachment.Id),
			TransitGatewayRouteTableId: pulumi.Any(exampleAwsEc2TransitGatewayRouteTable.Id),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Using `pulumi import`, import `aws_ec2_transit_gateway_route_table_propagation` using the EC2 Transit Gateway Route Table identifier, an underscore, and the EC2 Transit Gateway Attachment identifier. For example:

```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) ResourceId

Identifier of the resource

func (RouteTablePropagationOutput) ResourceType

Type of the resource

func (RouteTablePropagationOutput) ToRouteTablePropagationOutput

func (o RouteTablePropagationOutput) ToRouteTablePropagationOutput() RouteTablePropagationOutput

func (RouteTablePropagationOutput) ToRouteTablePropagationOutputWithContext

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

func (RouteTablePropagationOutput) TransitGatewayAttachmentId

func (o RouteTablePropagationOutput) TransitGatewayAttachmentId() pulumi.StringOutput

Identifier of EC2 Transit Gateway Attachment.

func (RouteTablePropagationOutput) TransitGatewayRouteTableId

func (o RouteTablePropagationOutput) TransitGatewayRouteTableId() pulumi.StringOutput

Identifier of EC2 Transit Gateway Route Table.

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.
	//
	// Deprecated: Please use `tags` instead.
	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`.
	//
	// > **NOTE:** Modifying `amazonSideAsn` on a Transit Gateway with active BGP sessions is [not allowed](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_ModifyTransitGatewayOptions.html). You must first delete all Transit Gateway attachments that have BGP configured prior to modifying `amazonSideAsn`.
	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"`
	// Whether Multicast support is enabled. Required to use `ec2TransitGatewayMulticastDomain`. Valid values: `disable`, `enable`. Default value: `disable`.
	MulticastSupport pulumi.StringPtrOutput `pulumi:"multicastSupport"`
	// 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.
	//
	// Deprecated: Please use `tags` instead.
	TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"`
	// One or more IPv4 or IPv6 CIDR blocks for the transit gateway. Must be a size /24 CIDR block or larger for IPv4, or a size /64 CIDR block or larger for IPv6.
	TransitGatewayCidrBlocks pulumi.StringArrayOutput `pulumi:"transitGatewayCidrBlocks"`
	// 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/v6/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

Using `pulumi import`, import `aws_ec2_transit_gateway` using the EC2 Transit Gateway identifier. For example:

```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`.
	//
	// > **NOTE:** Modifying `amazonSideAsn` on a Transit Gateway with active BGP sessions is [not allowed](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_ModifyTransitGatewayOptions.html). You must first delete all Transit Gateway attachments that have BGP configured prior to modifying `amazonSideAsn`.
	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
	// Whether Multicast support is enabled. Required to use `ec2TransitGatewayMulticastDomain`. Valid values: `disable`, `enable`. Default value: `disable`.
	MulticastSupport 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
	// One or more IPv4 or IPv6 CIDR blocks for the transit gateway. Must be a size /24 CIDR block or larger for IPv4, or a size /64 CIDR block or larger for IPv6.
	TransitGatewayCidrBlocks pulumi.StringArrayInput
	// 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) AmazonSideAsn

func (o TransitGatewayOutput) AmazonSideAsn() pulumi.IntPtrOutput

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`.

> **NOTE:** Modifying `amazonSideAsn` on a Transit Gateway with active BGP sessions is [not allowed](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_ModifyTransitGatewayOptions.html). You must first delete all Transit Gateway attachments that have BGP configured prior to modifying `amazonSideAsn`.

func (TransitGatewayOutput) Arn

EC2 Transit Gateway Amazon Resource Name (ARN)

func (TransitGatewayOutput) AssociationDefaultRouteTableId

func (o TransitGatewayOutput) AssociationDefaultRouteTableId() pulumi.StringOutput

Identifier of the default association route table

func (TransitGatewayOutput) AutoAcceptSharedAttachments

func (o TransitGatewayOutput) AutoAcceptSharedAttachments() pulumi.StringPtrOutput

Whether resource attachment requests are automatically accepted. Valid values: `disable`, `enable`. Default value: `disable`.

func (TransitGatewayOutput) DefaultRouteTableAssociation

func (o TransitGatewayOutput) DefaultRouteTableAssociation() pulumi.StringPtrOutput

Whether resource attachments are automatically associated with the default association route table. Valid values: `disable`, `enable`. Default value: `enable`.

func (TransitGatewayOutput) DefaultRouteTablePropagation

func (o TransitGatewayOutput) DefaultRouteTablePropagation() pulumi.StringPtrOutput

Whether resource attachments automatically propagate routes to the default propagation route table. Valid values: `disable`, `enable`. Default value: `enable`.

func (TransitGatewayOutput) Description

Description of the EC2 Transit Gateway.

func (TransitGatewayOutput) DnsSupport

Whether DNS support is enabled. Valid values: `disable`, `enable`. Default value: `enable`.

func (TransitGatewayOutput) ElementType

func (TransitGatewayOutput) ElementType() reflect.Type

func (TransitGatewayOutput) MulticastSupport

func (o TransitGatewayOutput) MulticastSupport() pulumi.StringPtrOutput

Whether Multicast support is enabled. Required to use `ec2TransitGatewayMulticastDomain`. Valid values: `disable`, `enable`. Default value: `disable`.

func (TransitGatewayOutput) OwnerId

Identifier of the AWS account that owns the EC2 Transit Gateway

func (TransitGatewayOutput) PropagationDefaultRouteTableId

func (o TransitGatewayOutput) PropagationDefaultRouteTableId() pulumi.StringOutput

Identifier of the default propagation route table

func (TransitGatewayOutput) Tags

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.

func (TransitGatewayOutput) TagsAll deprecated

A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.

Deprecated: Please use `tags` instead.

func (TransitGatewayOutput) ToTransitGatewayOutput

func (o TransitGatewayOutput) ToTransitGatewayOutput() TransitGatewayOutput

func (TransitGatewayOutput) ToTransitGatewayOutputWithContext

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

func (TransitGatewayOutput) TransitGatewayCidrBlocks

func (o TransitGatewayOutput) TransitGatewayCidrBlocks() pulumi.StringArrayOutput

One or more IPv4 or IPv6 CIDR blocks for the transit gateway. Must be a size /24 CIDR block or larger for IPv4, or a size /64 CIDR block or larger for IPv6.

func (TransitGatewayOutput) VpnEcmpSupport

func (o TransitGatewayOutput) VpnEcmpSupport() pulumi.StringPtrOutput

Whether VPN Equal Cost Multipath Protocol support is enabled. Valid values: `disable`, `enable`. Default value: `enable`.

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`.
	//
	// > **NOTE:** Modifying `amazonSideAsn` on a Transit Gateway with active BGP sessions is [not allowed](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_ModifyTransitGatewayOptions.html). You must first delete all Transit Gateway attachments that have BGP configured prior to modifying `amazonSideAsn`.
	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
	// Whether Multicast support is enabled. Required to use `ec2TransitGatewayMulticastDomain`. Valid values: `disable`, `enable`. Default value: `disable`.
	MulticastSupport 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.
	//
	// Deprecated: Please use `tags` instead.
	TagsAll pulumi.StringMapInput
	// One or more IPv4 or IPv6 CIDR blocks for the transit gateway. Must be a size /24 CIDR block or larger for IPv4, or a size /64 CIDR block or larger for IPv6.
	TransitGatewayCidrBlocks pulumi.StringArrayInput
	// 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.
	//
	// Deprecated: Please use `tags` instead.
	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.BoolOutput `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.BoolOutput `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/v6/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{
				exampleAwsSubnet.Id,
			},
			TransitGatewayId: pulumi.Any(exampleAwsEc2TransitGateway.Id),
			VpcId:            pulumi.Any(exampleAwsVpc.Id),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Using `pulumi import`, import `aws_ec2_transit_gateway_vpc_attachment` using the EC2 Transit Gateway Attachment identifier. For example:

```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.
	//
	// Deprecated: Please use `tags` instead.
	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/v6/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(exampleAwsEc2TransitGatewayVpcAttachment.Id),
			Tags: pulumi.StringMap{
				"Name": pulumi.String("Example cross-account attachment"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Using `pulumi import`, import `aws_ec2_transit_gateway_vpc_attachment_accepter` using the EC2 Transit Gateway Attachment identifier. For example:

```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) ApplianceModeSupport

func (o VpcAttachmentAccepterOutput) ApplianceModeSupport() pulumi.StringOutput

Whether Appliance Mode support is enabled. Valid values: `disable`, `enable`.

func (VpcAttachmentAccepterOutput) DnsSupport

Whether DNS support is enabled. Valid values: `disable`, `enable`.

func (VpcAttachmentAccepterOutput) ElementType

func (VpcAttachmentAccepterOutput) Ipv6Support

Whether IPv6 support is enabled. Valid values: `disable`, `enable`.

func (VpcAttachmentAccepterOutput) SubnetIds

Identifiers of EC2 Subnets.

func (VpcAttachmentAccepterOutput) Tags

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.

func (VpcAttachmentAccepterOutput) TagsAll deprecated

A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.

Deprecated: Please use `tags` instead.

func (VpcAttachmentAccepterOutput) ToVpcAttachmentAccepterOutput

func (o VpcAttachmentAccepterOutput) ToVpcAttachmentAccepterOutput() VpcAttachmentAccepterOutput

func (VpcAttachmentAccepterOutput) ToVpcAttachmentAccepterOutputWithContext

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

func (VpcAttachmentAccepterOutput) TransitGatewayAttachmentId

func (o VpcAttachmentAccepterOutput) TransitGatewayAttachmentId() pulumi.StringOutput

The ID of the EC2 Transit Gateway Attachment to manage.

func (VpcAttachmentAccepterOutput) TransitGatewayDefaultRouteTableAssociation

func (o VpcAttachmentAccepterOutput) TransitGatewayDefaultRouteTableAssociation() pulumi.BoolPtrOutput

Boolean whether the VPC Attachment should be associated with the EC2 Transit Gateway association default route table. Default value: `true`.

func (VpcAttachmentAccepterOutput) TransitGatewayDefaultRouteTablePropagation

func (o VpcAttachmentAccepterOutput) TransitGatewayDefaultRouteTablePropagation() pulumi.BoolPtrOutput

Boolean whether the VPC Attachment should propagate routes with the EC2 Transit Gateway propagation default route table. Default value: `true`.

func (VpcAttachmentAccepterOutput) TransitGatewayId

func (o VpcAttachmentAccepterOutput) TransitGatewayId() pulumi.StringOutput

Identifier of EC2 Transit Gateway.

func (VpcAttachmentAccepterOutput) VpcId

Identifier of EC2 VPC.

func (VpcAttachmentAccepterOutput) VpcOwnerId

Identifier of the AWS account that owns the EC2 VPC.

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.
	//
	// Deprecated: Please use `tags` instead.
	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) ApplianceModeSupport

func (o VpcAttachmentOutput) ApplianceModeSupport() pulumi.StringPtrOutput

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`.

func (VpcAttachmentOutput) DnsSupport

Whether DNS support is enabled. Valid values: `disable`, `enable`. Default value: `enable`.

func (VpcAttachmentOutput) ElementType

func (VpcAttachmentOutput) ElementType() reflect.Type

func (VpcAttachmentOutput) Ipv6Support

func (o VpcAttachmentOutput) Ipv6Support() pulumi.StringPtrOutput

Whether IPv6 support is enabled. Valid values: `disable`, `enable`. Default value: `disable`.

func (VpcAttachmentOutput) SubnetIds

Identifiers of EC2 Subnets.

func (VpcAttachmentOutput) Tags

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.

func (VpcAttachmentOutput) TagsAll deprecated

A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.

Deprecated: Please use `tags` instead.

func (VpcAttachmentOutput) ToVpcAttachmentOutput

func (o VpcAttachmentOutput) ToVpcAttachmentOutput() VpcAttachmentOutput

func (VpcAttachmentOutput) ToVpcAttachmentOutputWithContext

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

func (VpcAttachmentOutput) TransitGatewayDefaultRouteTableAssociation

func (o VpcAttachmentOutput) TransitGatewayDefaultRouteTableAssociation() pulumi.BoolOutput

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`.

func (VpcAttachmentOutput) TransitGatewayDefaultRouteTablePropagation

func (o VpcAttachmentOutput) TransitGatewayDefaultRouteTablePropagation() pulumi.BoolOutput

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`.

func (VpcAttachmentOutput) TransitGatewayId

func (o VpcAttachmentOutput) TransitGatewayId() pulumi.StringOutput

Identifier of EC2 Transit Gateway.

func (VpcAttachmentOutput) VpcId

Identifier of EC2 VPC.

func (VpcAttachmentOutput) VpcOwnerId

func (o VpcAttachmentOutput) VpcOwnerId() pulumi.StringOutput

Identifier of the AWS account that owns the EC2 VPC.

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.
	//
	// Deprecated: Please use `tags` instead.
	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