ec2transitgateway

package
v5.43.0 Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2023 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 added in v5.1.0

type Connect struct {
	pulumi.CustomResourceState

	// The tunnel protocol. Valida 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.
	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/v5/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{
				aws_subnet.Example.Id,
			},
			TransitGatewayId: pulumi.Any(aws_ec2_transit_gateway.Example.Id),
			VpcId:            pulumi.Any(aws_vpc.Example.Id),
		})
		if err != nil {
			return err
		}
		_, err = ec2transitgateway.NewConnect(ctx, "attachment", &ec2transitgateway.ConnectArgs{
			TransportAttachmentId: example.ID(),
			TransitGatewayId:      pulumi.Any(aws_ec2_transit_gateway.Example.Id),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

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

```sh

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

```

func GetConnect added in v5.1.0

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 added in v5.1.0

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 added in v5.1.0

func (*Connect) ElementType() reflect.Type

func (*Connect) ToConnectOutput added in v5.1.0

func (i *Connect) ToConnectOutput() ConnectOutput

func (*Connect) ToConnectOutputWithContext added in v5.1.0

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

type ConnectArgs added in v5.1.0

type ConnectArgs struct {
	// The tunnel protocol. Valida 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 added in v5.1.0

func (ConnectArgs) ElementType() reflect.Type

type ConnectArray added in v5.1.0

type ConnectArray []ConnectInput

func (ConnectArray) ElementType added in v5.1.0

func (ConnectArray) ElementType() reflect.Type

func (ConnectArray) ToConnectArrayOutput added in v5.1.0

func (i ConnectArray) ToConnectArrayOutput() ConnectArrayOutput

func (ConnectArray) ToConnectArrayOutputWithContext added in v5.1.0

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

type ConnectArrayInput added in v5.1.0

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 added in v5.1.0

type ConnectArrayOutput struct{ *pulumi.OutputState }

func (ConnectArrayOutput) ElementType added in v5.1.0

func (ConnectArrayOutput) ElementType() reflect.Type

func (ConnectArrayOutput) Index added in v5.1.0

func (ConnectArrayOutput) ToConnectArrayOutput added in v5.1.0

func (o ConnectArrayOutput) ToConnectArrayOutput() ConnectArrayOutput

func (ConnectArrayOutput) ToConnectArrayOutputWithContext added in v5.1.0

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

type ConnectInput added in v5.1.0

type ConnectInput interface {
	pulumi.Input

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

type ConnectMap added in v5.1.0

type ConnectMap map[string]ConnectInput

func (ConnectMap) ElementType added in v5.1.0

func (ConnectMap) ElementType() reflect.Type

func (ConnectMap) ToConnectMapOutput added in v5.1.0

func (i ConnectMap) ToConnectMapOutput() ConnectMapOutput

func (ConnectMap) ToConnectMapOutputWithContext added in v5.1.0

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

type ConnectMapInput added in v5.1.0

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 added in v5.1.0

type ConnectMapOutput struct{ *pulumi.OutputState }

func (ConnectMapOutput) ElementType added in v5.1.0

func (ConnectMapOutput) ElementType() reflect.Type

func (ConnectMapOutput) MapIndex added in v5.1.0

func (ConnectMapOutput) ToConnectMapOutput added in v5.1.0

func (o ConnectMapOutput) ToConnectMapOutput() ConnectMapOutput

func (ConnectMapOutput) ToConnectMapOutputWithContext added in v5.1.0

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

type ConnectOutput added in v5.1.0

type ConnectOutput struct{ *pulumi.OutputState }

func (ConnectOutput) ElementType added in v5.1.0

func (ConnectOutput) ElementType() reflect.Type

func (ConnectOutput) Protocol added in v5.4.0

func (o ConnectOutput) Protocol() pulumi.StringPtrOutput

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

func (ConnectOutput) Tags added in v5.4.0

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 added in v5.4.0

func (o ConnectOutput) TagsAll() pulumi.StringMapOutput

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

func (ConnectOutput) ToConnectOutput added in v5.1.0

func (o ConnectOutput) ToConnectOutput() ConnectOutput

func (ConnectOutput) ToConnectOutputWithContext added in v5.1.0

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

func (ConnectOutput) TransitGatewayDefaultRouteTableAssociation added in v5.4.0

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 added in v5.4.0

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 added in v5.4.0

func (o ConnectOutput) TransitGatewayId() pulumi.StringOutput

Identifier of EC2 Transit Gateway.

func (ConnectOutput) TransportAttachmentId added in v5.4.0

func (o ConnectOutput) TransportAttachmentId() pulumi.StringOutput

The underlaying VPC attachment

type ConnectPeer added in v5.1.0

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 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.
	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/v5/go/aws/ec2transitgateway"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

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

```

## Import

`aws_ec2_transit_gateway_connect_peer` can be imported by using the EC2 Transit Gateway Connect Peer identifier, e.g.,

```sh

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

```

func GetConnectPeer added in v5.1.0

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 added in v5.1.0

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 added in v5.1.0

func (*ConnectPeer) ElementType() reflect.Type

func (*ConnectPeer) ToConnectPeerOutput added in v5.1.0

func (i *ConnectPeer) ToConnectPeerOutput() ConnectPeerOutput

func (*ConnectPeer) ToConnectPeerOutputWithContext added in v5.1.0

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

type ConnectPeerArgs added in v5.1.0

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 added in v5.1.0

func (ConnectPeerArgs) ElementType() reflect.Type

type ConnectPeerArray added in v5.1.0

type ConnectPeerArray []ConnectPeerInput

func (ConnectPeerArray) ElementType added in v5.1.0

func (ConnectPeerArray) ElementType() reflect.Type

func (ConnectPeerArray) ToConnectPeerArrayOutput added in v5.1.0

func (i ConnectPeerArray) ToConnectPeerArrayOutput() ConnectPeerArrayOutput

func (ConnectPeerArray) ToConnectPeerArrayOutputWithContext added in v5.1.0

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

type ConnectPeerArrayInput added in v5.1.0

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 added in v5.1.0

type ConnectPeerArrayOutput struct{ *pulumi.OutputState }

func (ConnectPeerArrayOutput) ElementType added in v5.1.0

func (ConnectPeerArrayOutput) ElementType() reflect.Type

func (ConnectPeerArrayOutput) Index added in v5.1.0

func (ConnectPeerArrayOutput) ToConnectPeerArrayOutput added in v5.1.0

func (o ConnectPeerArrayOutput) ToConnectPeerArrayOutput() ConnectPeerArrayOutput

func (ConnectPeerArrayOutput) ToConnectPeerArrayOutputWithContext added in v5.1.0

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

type ConnectPeerInput added in v5.1.0

type ConnectPeerInput interface {
	pulumi.Input

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

type ConnectPeerMap added in v5.1.0

type ConnectPeerMap map[string]ConnectPeerInput

func (ConnectPeerMap) ElementType added in v5.1.0

func (ConnectPeerMap) ElementType() reflect.Type

func (ConnectPeerMap) ToConnectPeerMapOutput added in v5.1.0

func (i ConnectPeerMap) ToConnectPeerMapOutput() ConnectPeerMapOutput

func (ConnectPeerMap) ToConnectPeerMapOutputWithContext added in v5.1.0

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

type ConnectPeerMapInput added in v5.1.0

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 added in v5.1.0

type ConnectPeerMapOutput struct{ *pulumi.OutputState }

func (ConnectPeerMapOutput) ElementType added in v5.1.0

func (ConnectPeerMapOutput) ElementType() reflect.Type

func (ConnectPeerMapOutput) MapIndex added in v5.1.0

func (ConnectPeerMapOutput) ToConnectPeerMapOutput added in v5.1.0

func (o ConnectPeerMapOutput) ToConnectPeerMapOutput() ConnectPeerMapOutput

func (ConnectPeerMapOutput) ToConnectPeerMapOutputWithContext added in v5.1.0

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

type ConnectPeerOutput added in v5.1.0

type ConnectPeerOutput struct{ *pulumi.OutputState }

func (ConnectPeerOutput) Arn added in v5.4.0

EC2 Transit Gateway Connect Peer ARN

func (ConnectPeerOutput) BgpAsn added in v5.4.0

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) ElementType added in v5.1.0

func (ConnectPeerOutput) ElementType() reflect.Type

func (ConnectPeerOutput) InsideCidrBlocks added in v5.4.0

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 added in v5.4.0

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 added in v5.4.0

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 added in v5.4.0

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

func (ConnectPeerOutput) ToConnectPeerOutput added in v5.1.0

func (o ConnectPeerOutput) ToConnectPeerOutput() ConnectPeerOutput

func (ConnectPeerOutput) ToConnectPeerOutputWithContext added in v5.1.0

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

func (ConnectPeerOutput) TransitGatewayAddress added in v5.4.0

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 added in v5.4.0

func (o ConnectPeerOutput) TransitGatewayAttachmentId() pulumi.StringOutput

The Transit Gateway Connect

type ConnectPeerState added in v5.1.0

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 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.
	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 added in v5.1.0

func (ConnectPeerState) ElementType() reflect.Type

type ConnectState added in v5.1.0

type ConnectState struct {
	// The tunnel protocol. Valida 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.
	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 added in v5.1.0

func (ConnectState) ElementType() reflect.Type

type GetAttachmentArgs added in v5.13.0

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 added in v5.13.0

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 added in v5.13.0

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 added in v5.13.0

func (GetAttachmentFilterArgs) ElementType() reflect.Type

func (GetAttachmentFilterArgs) ToGetAttachmentFilterOutput added in v5.13.0

func (i GetAttachmentFilterArgs) ToGetAttachmentFilterOutput() GetAttachmentFilterOutput

func (GetAttachmentFilterArgs) ToGetAttachmentFilterOutputWithContext added in v5.13.0

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

type GetAttachmentFilterArray added in v5.13.0

type GetAttachmentFilterArray []GetAttachmentFilterInput

func (GetAttachmentFilterArray) ElementType added in v5.13.0

func (GetAttachmentFilterArray) ElementType() reflect.Type

func (GetAttachmentFilterArray) ToGetAttachmentFilterArrayOutput added in v5.13.0

func (i GetAttachmentFilterArray) ToGetAttachmentFilterArrayOutput() GetAttachmentFilterArrayOutput

func (GetAttachmentFilterArray) ToGetAttachmentFilterArrayOutputWithContext added in v5.13.0

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

type GetAttachmentFilterArrayInput added in v5.13.0

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 added in v5.13.0

type GetAttachmentFilterArrayOutput struct{ *pulumi.OutputState }

func (GetAttachmentFilterArrayOutput) ElementType added in v5.13.0

func (GetAttachmentFilterArrayOutput) Index added in v5.13.0

func (GetAttachmentFilterArrayOutput) ToGetAttachmentFilterArrayOutput added in v5.13.0

func (o GetAttachmentFilterArrayOutput) ToGetAttachmentFilterArrayOutput() GetAttachmentFilterArrayOutput

func (GetAttachmentFilterArrayOutput) ToGetAttachmentFilterArrayOutputWithContext added in v5.13.0

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

type GetAttachmentFilterInput added in v5.13.0

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 added in v5.13.0

type GetAttachmentFilterOutput struct{ *pulumi.OutputState }

func (GetAttachmentFilterOutput) ElementType added in v5.13.0

func (GetAttachmentFilterOutput) ElementType() reflect.Type

func (GetAttachmentFilterOutput) Name added in v5.13.0

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 added in v5.13.0

func (o GetAttachmentFilterOutput) ToGetAttachmentFilterOutput() GetAttachmentFilterOutput

func (GetAttachmentFilterOutput) ToGetAttachmentFilterOutputWithContext added in v5.13.0

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

func (GetAttachmentFilterOutput) Values added in v5.13.0

List of one or more values for the filter.

type GetAttachmentOutputArgs added in v5.13.0

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 added in v5.13.0

func (GetAttachmentOutputArgs) ElementType() reflect.Type

type GetAttachmentResult added in v5.13.0

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 added in v5.13.0

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/sdk/v3/go/pulumi" "github.com/pulumi/pulumi-aws/sdk/v5/go/aws/ec2transitgateway" ) func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := ec2transitgateway.GetAttachment(ctx, &ec2transitgateway.GetAttachmentArgs{ Filters: []ec2transitgateway.GetAttachmentFilter{ { Name: "transit-gateway-id", Values: interface{}{ aws_ec2_transit_gateway.Example.Id, }, }, { Name: "resource-type", Values: []string{ "peering", }, }, }, }, nil); if err != nil { return err } return nil }) } ```

type GetAttachmentResultOutput added in v5.13.0

type GetAttachmentResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getAttachment.

func GetAttachmentOutput added in v5.13.0

func GetAttachmentOutput(ctx *pulumi.Context, args GetAttachmentOutputArgs, opts ...pulumi.InvokeOption) GetAttachmentResultOutput

func (GetAttachmentResultOutput) Arn added in v5.13.0

ARN of the attachment.

func (GetAttachmentResultOutput) AssociationState added in v5.32.0

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 added in v5.32.0

func (o GetAttachmentResultOutput) AssociationTransitGatewayRouteTableId() pulumi.StringOutput

The ID of the route table for the transit gateway.

func (GetAttachmentResultOutput) ElementType added in v5.13.0

func (GetAttachmentResultOutput) ElementType() reflect.Type

func (GetAttachmentResultOutput) Filters added in v5.13.0

func (GetAttachmentResultOutput) Id added in v5.13.0

The provider-assigned unique ID for this managed resource.

func (GetAttachmentResultOutput) ResourceId added in v5.13.0

ID of the resource.

func (GetAttachmentResultOutput) ResourceOwnerId added in v5.13.0

func (o GetAttachmentResultOutput) ResourceOwnerId() pulumi.StringOutput

ID of the AWS account that owns the resource.

func (GetAttachmentResultOutput) ResourceType added in v5.13.0

Resource type.

func (GetAttachmentResultOutput) State added in v5.13.0

Attachment state.

func (GetAttachmentResultOutput) Tags added in v5.13.0

Key-value tags for the attachment.

func (GetAttachmentResultOutput) ToGetAttachmentResultOutput added in v5.13.0

func (o GetAttachmentResultOutput) ToGetAttachmentResultOutput() GetAttachmentResultOutput

func (GetAttachmentResultOutput) ToGetAttachmentResultOutputWithContext added in v5.13.0

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

func (GetAttachmentResultOutput) TransitGatewayAttachmentId added in v5.13.0

func (o GetAttachmentResultOutput) TransitGatewayAttachmentId() pulumi.StringOutput

func (GetAttachmentResultOutput) TransitGatewayId added in v5.13.0

func (o GetAttachmentResultOutput) TransitGatewayId() pulumi.StringOutput

ID of the transit gateway.

func (GetAttachmentResultOutput) TransitGatewayOwnerId added in v5.13.0

func (o GetAttachmentResultOutput) TransitGatewayOwnerId() pulumi.StringOutput

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

type GetAttachmentsArgs added in v5.36.0

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 added in v5.36.0

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 added in v5.36.0

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 added in v5.36.0

func (GetAttachmentsFilterArgs) ElementType() reflect.Type

func (GetAttachmentsFilterArgs) ToGetAttachmentsFilterOutput added in v5.36.0

func (i GetAttachmentsFilterArgs) ToGetAttachmentsFilterOutput() GetAttachmentsFilterOutput

func (GetAttachmentsFilterArgs) ToGetAttachmentsFilterOutputWithContext added in v5.36.0

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

type GetAttachmentsFilterArray added in v5.36.0

type GetAttachmentsFilterArray []GetAttachmentsFilterInput

func (GetAttachmentsFilterArray) ElementType added in v5.36.0

func (GetAttachmentsFilterArray) ElementType() reflect.Type

func (GetAttachmentsFilterArray) ToGetAttachmentsFilterArrayOutput added in v5.36.0

func (i GetAttachmentsFilterArray) ToGetAttachmentsFilterArrayOutput() GetAttachmentsFilterArrayOutput

func (GetAttachmentsFilterArray) ToGetAttachmentsFilterArrayOutputWithContext added in v5.36.0

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

type GetAttachmentsFilterArrayInput added in v5.36.0

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 added in v5.36.0

type GetAttachmentsFilterArrayOutput struct{ *pulumi.OutputState }

func (GetAttachmentsFilterArrayOutput) ElementType added in v5.36.0

func (GetAttachmentsFilterArrayOutput) Index added in v5.36.0

func (GetAttachmentsFilterArrayOutput) ToGetAttachmentsFilterArrayOutput added in v5.36.0

func (o GetAttachmentsFilterArrayOutput) ToGetAttachmentsFilterArrayOutput() GetAttachmentsFilterArrayOutput

func (GetAttachmentsFilterArrayOutput) ToGetAttachmentsFilterArrayOutputWithContext added in v5.36.0

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

type GetAttachmentsFilterInput added in v5.36.0

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 added in v5.36.0

type GetAttachmentsFilterOutput struct{ *pulumi.OutputState }

func (GetAttachmentsFilterOutput) ElementType added in v5.36.0

func (GetAttachmentsFilterOutput) ElementType() reflect.Type

func (GetAttachmentsFilterOutput) Name added in v5.36.0

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

func (GetAttachmentsFilterOutput) ToGetAttachmentsFilterOutput added in v5.36.0

func (o GetAttachmentsFilterOutput) ToGetAttachmentsFilterOutput() GetAttachmentsFilterOutput

func (GetAttachmentsFilterOutput) ToGetAttachmentsFilterOutputWithContext added in v5.36.0

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

func (GetAttachmentsFilterOutput) Values added in v5.36.0

List of one or more values for the filter.

type GetAttachmentsOutputArgs added in v5.36.0

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 added in v5.36.0

func (GetAttachmentsOutputArgs) ElementType() reflect.Type

type GetAttachmentsResult added in v5.36.0

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 added in v5.36.0

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

Get information on EC2 Transit Gateway Attachments.

## Example Usage

type GetAttachmentsResultOutput added in v5.36.0

type GetAttachmentsResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getAttachments.

func GetAttachmentsOutput added in v5.36.0

func GetAttachmentsOutput(ctx *pulumi.Context, args GetAttachmentsOutputArgs, opts ...pulumi.InvokeOption) GetAttachmentsResultOutput

func (GetAttachmentsResultOutput) ElementType added in v5.36.0

func (GetAttachmentsResultOutput) ElementType() reflect.Type

func (GetAttachmentsResultOutput) Filters added in v5.36.0

func (GetAttachmentsResultOutput) Id added in v5.36.0

The provider-assigned unique ID for this managed resource.

func (GetAttachmentsResultOutput) Ids added in v5.36.0

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 added in v5.36.0

func (GetAttachmentsResultOutput) ToGetAttachmentsResultOutput added in v5.36.0

func (o GetAttachmentsResultOutput) ToGetAttachmentsResultOutput() GetAttachmentsResultOutput

func (GetAttachmentsResultOutput) ToGetAttachmentsResultOutputWithContext added in v5.36.0

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

type GetConnectFilter added in v5.1.0

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 added in v5.1.0

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 added in v5.1.0

func (GetConnectFilterArgs) ElementType() reflect.Type

func (GetConnectFilterArgs) ToGetConnectFilterOutput added in v5.1.0

func (i GetConnectFilterArgs) ToGetConnectFilterOutput() GetConnectFilterOutput

func (GetConnectFilterArgs) ToGetConnectFilterOutputWithContext added in v5.1.0

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

type GetConnectFilterArray added in v5.1.0

type GetConnectFilterArray []GetConnectFilterInput

func (GetConnectFilterArray) ElementType added in v5.1.0

func (GetConnectFilterArray) ElementType() reflect.Type

func (GetConnectFilterArray) ToGetConnectFilterArrayOutput added in v5.1.0

func (i GetConnectFilterArray) ToGetConnectFilterArrayOutput() GetConnectFilterArrayOutput

func (GetConnectFilterArray) ToGetConnectFilterArrayOutputWithContext added in v5.1.0

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

type GetConnectFilterArrayInput added in v5.1.0

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 added in v5.1.0

type GetConnectFilterArrayOutput struct{ *pulumi.OutputState }

func (GetConnectFilterArrayOutput) ElementType added in v5.1.0

func (GetConnectFilterArrayOutput) Index added in v5.1.0

func (GetConnectFilterArrayOutput) ToGetConnectFilterArrayOutput added in v5.1.0

func (o GetConnectFilterArrayOutput) ToGetConnectFilterArrayOutput() GetConnectFilterArrayOutput

func (GetConnectFilterArrayOutput) ToGetConnectFilterArrayOutputWithContext added in v5.1.0

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

type GetConnectFilterInput added in v5.1.0

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 added in v5.1.0

type GetConnectFilterOutput struct{ *pulumi.OutputState }

func (GetConnectFilterOutput) ElementType added in v5.1.0

func (GetConnectFilterOutput) ElementType() reflect.Type

func (GetConnectFilterOutput) Name added in v5.1.0

Name of the filter.

func (GetConnectFilterOutput) ToGetConnectFilterOutput added in v5.1.0

func (o GetConnectFilterOutput) ToGetConnectFilterOutput() GetConnectFilterOutput

func (GetConnectFilterOutput) ToGetConnectFilterOutputWithContext added in v5.1.0

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

func (GetConnectFilterOutput) Values added in v5.1.0

List of one or more values for the filter.

type GetConnectPeerFilter added in v5.1.0

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 added in v5.1.0

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 added in v5.1.0

func (GetConnectPeerFilterArgs) ElementType() reflect.Type

func (GetConnectPeerFilterArgs) ToGetConnectPeerFilterOutput added in v5.1.0

func (i GetConnectPeerFilterArgs) ToGetConnectPeerFilterOutput() GetConnectPeerFilterOutput

func (GetConnectPeerFilterArgs) ToGetConnectPeerFilterOutputWithContext added in v5.1.0

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

type GetConnectPeerFilterArray added in v5.1.0

type GetConnectPeerFilterArray []GetConnectPeerFilterInput

func (GetConnectPeerFilterArray) ElementType added in v5.1.0

func (GetConnectPeerFilterArray) ElementType() reflect.Type

func (GetConnectPeerFilterArray) ToGetConnectPeerFilterArrayOutput added in v5.1.0

func (i GetConnectPeerFilterArray) ToGetConnectPeerFilterArrayOutput() GetConnectPeerFilterArrayOutput

func (GetConnectPeerFilterArray) ToGetConnectPeerFilterArrayOutputWithContext added in v5.1.0

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

type GetConnectPeerFilterArrayInput added in v5.1.0

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 added in v5.1.0

type GetConnectPeerFilterArrayOutput struct{ *pulumi.OutputState }

func (GetConnectPeerFilterArrayOutput) ElementType added in v5.1.0

func (GetConnectPeerFilterArrayOutput) Index added in v5.1.0

func (GetConnectPeerFilterArrayOutput) ToGetConnectPeerFilterArrayOutput added in v5.1.0

func (o GetConnectPeerFilterArrayOutput) ToGetConnectPeerFilterArrayOutput() GetConnectPeerFilterArrayOutput

func (GetConnectPeerFilterArrayOutput) ToGetConnectPeerFilterArrayOutputWithContext added in v5.1.0

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

type GetConnectPeerFilterInput added in v5.1.0

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 added in v5.1.0

type GetConnectPeerFilterOutput struct{ *pulumi.OutputState }

func (GetConnectPeerFilterOutput) ElementType added in v5.1.0

func (GetConnectPeerFilterOutput) ElementType() reflect.Type

func (GetConnectPeerFilterOutput) Name added in v5.1.0

Name of the filter.

func (GetConnectPeerFilterOutput) ToGetConnectPeerFilterOutput added in v5.1.0

func (o GetConnectPeerFilterOutput) ToGetConnectPeerFilterOutput() GetConnectPeerFilterOutput

func (GetConnectPeerFilterOutput) ToGetConnectPeerFilterOutputWithContext added in v5.1.0

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

func (GetConnectPeerFilterOutput) Values added in v5.1.0

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/v5/go/aws/ec2transitgateway"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

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

```

type GetDirectConnectGatewayAttachmentResultOutput

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 added in v5.1.0

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 added in v5.1.0

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 added in v5.1.0

func (GetMulticastDomainAssociationTypeArgs) ToGetMulticastDomainAssociationTypeOutput added in v5.1.0

func (i GetMulticastDomainAssociationTypeArgs) ToGetMulticastDomainAssociationTypeOutput() GetMulticastDomainAssociationTypeOutput

func (GetMulticastDomainAssociationTypeArgs) ToGetMulticastDomainAssociationTypeOutputWithContext added in v5.1.0

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

type GetMulticastDomainAssociationTypeArray added in v5.1.0

type GetMulticastDomainAssociationTypeArray []GetMulticastDomainAssociationTypeInput

func (GetMulticastDomainAssociationTypeArray) ElementType added in v5.1.0

func (GetMulticastDomainAssociationTypeArray) ToGetMulticastDomainAssociationTypeArrayOutput added in v5.1.0

func (i GetMulticastDomainAssociationTypeArray) ToGetMulticastDomainAssociationTypeArrayOutput() GetMulticastDomainAssociationTypeArrayOutput

func (GetMulticastDomainAssociationTypeArray) ToGetMulticastDomainAssociationTypeArrayOutputWithContext added in v5.1.0

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

type GetMulticastDomainAssociationTypeArrayInput added in v5.1.0

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 added in v5.1.0

type GetMulticastDomainAssociationTypeArrayOutput struct{ *pulumi.OutputState }

func (GetMulticastDomainAssociationTypeArrayOutput) ElementType added in v5.1.0

func (GetMulticastDomainAssociationTypeArrayOutput) Index added in v5.1.0

func (GetMulticastDomainAssociationTypeArrayOutput) ToGetMulticastDomainAssociationTypeArrayOutput added in v5.1.0

func (o GetMulticastDomainAssociationTypeArrayOutput) ToGetMulticastDomainAssociationTypeArrayOutput() GetMulticastDomainAssociationTypeArrayOutput

func (GetMulticastDomainAssociationTypeArrayOutput) ToGetMulticastDomainAssociationTypeArrayOutputWithContext added in v5.1.0

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

type GetMulticastDomainAssociationTypeInput added in v5.1.0

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 added in v5.1.0

type GetMulticastDomainAssociationTypeOutput struct{ *pulumi.OutputState }

func (GetMulticastDomainAssociationTypeOutput) ElementType added in v5.1.0

func (GetMulticastDomainAssociationTypeOutput) SubnetId added in v5.1.0

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

func (GetMulticastDomainAssociationTypeOutput) ToGetMulticastDomainAssociationTypeOutput added in v5.1.0

func (o GetMulticastDomainAssociationTypeOutput) ToGetMulticastDomainAssociationTypeOutput() GetMulticastDomainAssociationTypeOutput

func (GetMulticastDomainAssociationTypeOutput) ToGetMulticastDomainAssociationTypeOutputWithContext added in v5.1.0

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

func (GetMulticastDomainAssociationTypeOutput) TransitGatewayAttachmentId added in v5.1.0

func (o GetMulticastDomainAssociationTypeOutput) TransitGatewayAttachmentId() pulumi.StringOutput

The ID of the transit gateway attachment.

type GetMulticastDomainFilter added in v5.1.0

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 added in v5.1.0

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 added in v5.1.0

func (GetMulticastDomainFilterArgs) ToGetMulticastDomainFilterOutput added in v5.1.0

func (i GetMulticastDomainFilterArgs) ToGetMulticastDomainFilterOutput() GetMulticastDomainFilterOutput

func (GetMulticastDomainFilterArgs) ToGetMulticastDomainFilterOutputWithContext added in v5.1.0

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

type GetMulticastDomainFilterArray added in v5.1.0

type GetMulticastDomainFilterArray []GetMulticastDomainFilterInput

func (GetMulticastDomainFilterArray) ElementType added in v5.1.0

func (GetMulticastDomainFilterArray) ToGetMulticastDomainFilterArrayOutput added in v5.1.0

func (i GetMulticastDomainFilterArray) ToGetMulticastDomainFilterArrayOutput() GetMulticastDomainFilterArrayOutput

func (GetMulticastDomainFilterArray) ToGetMulticastDomainFilterArrayOutputWithContext added in v5.1.0

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

type GetMulticastDomainFilterArrayInput added in v5.1.0

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 added in v5.1.0

type GetMulticastDomainFilterArrayOutput struct{ *pulumi.OutputState }

func (GetMulticastDomainFilterArrayOutput) ElementType added in v5.1.0

func (GetMulticastDomainFilterArrayOutput) Index added in v5.1.0

func (GetMulticastDomainFilterArrayOutput) ToGetMulticastDomainFilterArrayOutput added in v5.1.0

func (o GetMulticastDomainFilterArrayOutput) ToGetMulticastDomainFilterArrayOutput() GetMulticastDomainFilterArrayOutput

func (GetMulticastDomainFilterArrayOutput) ToGetMulticastDomainFilterArrayOutputWithContext added in v5.1.0

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

type GetMulticastDomainFilterInput added in v5.1.0

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 added in v5.1.0

type GetMulticastDomainFilterOutput struct{ *pulumi.OutputState }

func (GetMulticastDomainFilterOutput) ElementType added in v5.1.0

func (GetMulticastDomainFilterOutput) Name added in v5.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_DescribeTransitGatewayMulticastDomains.html).

func (GetMulticastDomainFilterOutput) ToGetMulticastDomainFilterOutput added in v5.1.0

func (o GetMulticastDomainFilterOutput) ToGetMulticastDomainFilterOutput() GetMulticastDomainFilterOutput

func (GetMulticastDomainFilterOutput) ToGetMulticastDomainFilterOutputWithContext added in v5.1.0

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

func (GetMulticastDomainFilterOutput) Values added in v5.1.0

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 added in v5.1.0

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 added in v5.1.0

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 added in v5.1.0

func (GetMulticastDomainMemberArgs) ToGetMulticastDomainMemberOutput added in v5.1.0

func (i GetMulticastDomainMemberArgs) ToGetMulticastDomainMemberOutput() GetMulticastDomainMemberOutput

func (GetMulticastDomainMemberArgs) ToGetMulticastDomainMemberOutputWithContext added in v5.1.0

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

type GetMulticastDomainMemberArray added in v5.1.0

type GetMulticastDomainMemberArray []GetMulticastDomainMemberInput

func (GetMulticastDomainMemberArray) ElementType added in v5.1.0

func (GetMulticastDomainMemberArray) ToGetMulticastDomainMemberArrayOutput added in v5.1.0

func (i GetMulticastDomainMemberArray) ToGetMulticastDomainMemberArrayOutput() GetMulticastDomainMemberArrayOutput

func (GetMulticastDomainMemberArray) ToGetMulticastDomainMemberArrayOutputWithContext added in v5.1.0

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

type GetMulticastDomainMemberArrayInput added in v5.1.0

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 added in v5.1.0

type GetMulticastDomainMemberArrayOutput struct{ *pulumi.OutputState }

func (GetMulticastDomainMemberArrayOutput) ElementType added in v5.1.0

func (GetMulticastDomainMemberArrayOutput) Index added in v5.1.0

func (GetMulticastDomainMemberArrayOutput) ToGetMulticastDomainMemberArrayOutput added in v5.1.0

func (o GetMulticastDomainMemberArrayOutput) ToGetMulticastDomainMemberArrayOutput() GetMulticastDomainMemberArrayOutput

func (GetMulticastDomainMemberArrayOutput) ToGetMulticastDomainMemberArrayOutputWithContext added in v5.1.0

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

type GetMulticastDomainMemberInput added in v5.1.0

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 added in v5.1.0

type GetMulticastDomainMemberOutput struct{ *pulumi.OutputState }

func (GetMulticastDomainMemberOutput) ElementType added in v5.1.0

func (GetMulticastDomainMemberOutput) GroupIpAddress added in v5.1.0

The IP address assigned to the transit gateway multicast group.

func (GetMulticastDomainMemberOutput) NetworkInterfaceId added in v5.1.0

func (o GetMulticastDomainMemberOutput) NetworkInterfaceId() pulumi.StringOutput

The group members' network interface ID.

func (GetMulticastDomainMemberOutput) ToGetMulticastDomainMemberOutput added in v5.1.0

func (o GetMulticastDomainMemberOutput) ToGetMulticastDomainMemberOutput() GetMulticastDomainMemberOutput

func (GetMulticastDomainMemberOutput) ToGetMulticastDomainMemberOutputWithContext added in v5.1.0

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

type GetMulticastDomainSource added in v5.1.0

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 added in v5.1.0

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 added in v5.1.0

func (GetMulticastDomainSourceArgs) ToGetMulticastDomainSourceOutput added in v5.1.0

func (i GetMulticastDomainSourceArgs) ToGetMulticastDomainSourceOutput() GetMulticastDomainSourceOutput

func (GetMulticastDomainSourceArgs) ToGetMulticastDomainSourceOutputWithContext added in v5.1.0

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

type GetMulticastDomainSourceArray added in v5.1.0

type GetMulticastDomainSourceArray []GetMulticastDomainSourceInput

func (GetMulticastDomainSourceArray) ElementType added in v5.1.0

func (GetMulticastDomainSourceArray) ToGetMulticastDomainSourceArrayOutput added in v5.1.0

func (i GetMulticastDomainSourceArray) ToGetMulticastDomainSourceArrayOutput() GetMulticastDomainSourceArrayOutput

func (GetMulticastDomainSourceArray) ToGetMulticastDomainSourceArrayOutputWithContext added in v5.1.0

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

type GetMulticastDomainSourceArrayInput added in v5.1.0

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 added in v5.1.0

type GetMulticastDomainSourceArrayOutput struct{ *pulumi.OutputState }

func (GetMulticastDomainSourceArrayOutput) ElementType added in v5.1.0

func (GetMulticastDomainSourceArrayOutput) Index added in v5.1.0

func (GetMulticastDomainSourceArrayOutput) ToGetMulticastDomainSourceArrayOutput added in v5.1.0

func (o GetMulticastDomainSourceArrayOutput) ToGetMulticastDomainSourceArrayOutput() GetMulticastDomainSourceArrayOutput

func (GetMulticastDomainSourceArrayOutput) ToGetMulticastDomainSourceArrayOutputWithContext added in v5.1.0

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

type GetMulticastDomainSourceInput added in v5.1.0

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 added in v5.1.0

type GetMulticastDomainSourceOutput struct{ *pulumi.OutputState }

func (GetMulticastDomainSourceOutput) ElementType added in v5.1.0

func (GetMulticastDomainSourceOutput) GroupIpAddress added in v5.1.0

The IP address assigned to the transit gateway multicast group.

func (GetMulticastDomainSourceOutput) NetworkInterfaceId added in v5.1.0

func (o GetMulticastDomainSourceOutput) NetworkInterfaceId() pulumi.StringOutput

The group members' network interface ID.

func (GetMulticastDomainSourceOutput) ToGetMulticastDomainSourceOutput added in v5.1.0

func (o GetMulticastDomainSourceOutput) ToGetMulticastDomainSourceOutput() GetMulticastDomainSourceOutput

func (GetMulticastDomainSourceOutput) ToGetMulticastDomainSourceOutputWithContext added in v5.1.0

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 added in v5.36.0

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 added in v5.36.0

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 added in v5.36.0

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 added in v5.36.0

func (GetRouteTableAssociationsFilterArgs) ToGetRouteTableAssociationsFilterOutput added in v5.36.0

func (i GetRouteTableAssociationsFilterArgs) ToGetRouteTableAssociationsFilterOutput() GetRouteTableAssociationsFilterOutput

func (GetRouteTableAssociationsFilterArgs) ToGetRouteTableAssociationsFilterOutputWithContext added in v5.36.0

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

type GetRouteTableAssociationsFilterArray added in v5.36.0

type GetRouteTableAssociationsFilterArray []GetRouteTableAssociationsFilterInput

func (GetRouteTableAssociationsFilterArray) ElementType added in v5.36.0

func (GetRouteTableAssociationsFilterArray) ToGetRouteTableAssociationsFilterArrayOutput added in v5.36.0

func (i GetRouteTableAssociationsFilterArray) ToGetRouteTableAssociationsFilterArrayOutput() GetRouteTableAssociationsFilterArrayOutput

func (GetRouteTableAssociationsFilterArray) ToGetRouteTableAssociationsFilterArrayOutputWithContext added in v5.36.0

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

type GetRouteTableAssociationsFilterArrayInput added in v5.36.0

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 added in v5.36.0

type GetRouteTableAssociationsFilterArrayOutput struct{ *pulumi.OutputState }

func (GetRouteTableAssociationsFilterArrayOutput) ElementType added in v5.36.0

func (GetRouteTableAssociationsFilterArrayOutput) Index added in v5.36.0

func (GetRouteTableAssociationsFilterArrayOutput) ToGetRouteTableAssociationsFilterArrayOutput added in v5.36.0

func (o GetRouteTableAssociationsFilterArrayOutput) ToGetRouteTableAssociationsFilterArrayOutput() GetRouteTableAssociationsFilterArrayOutput

func (GetRouteTableAssociationsFilterArrayOutput) ToGetRouteTableAssociationsFilterArrayOutputWithContext added in v5.36.0

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

type GetRouteTableAssociationsFilterInput added in v5.36.0

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 added in v5.36.0

type GetRouteTableAssociationsFilterOutput struct{ *pulumi.OutputState }

func (GetRouteTableAssociationsFilterOutput) ElementType added in v5.36.0

func (GetRouteTableAssociationsFilterOutput) Name added in v5.36.0

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 added in v5.36.0

func (o GetRouteTableAssociationsFilterOutput) ToGetRouteTableAssociationsFilterOutput() GetRouteTableAssociationsFilterOutput

func (GetRouteTableAssociationsFilterOutput) ToGetRouteTableAssociationsFilterOutputWithContext added in v5.36.0

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

func (GetRouteTableAssociationsFilterOutput) Values added in v5.36.0

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 added in v5.36.0

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 added in v5.36.0

type GetRouteTableAssociationsResult added in v5.36.0

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 added in v5.36.0

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/v5/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: aws_ec2_transit_gateway_route_table.Example.Id,
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type GetRouteTableAssociationsResultOutput added in v5.36.0

type GetRouteTableAssociationsResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getRouteTableAssociations.

func (GetRouteTableAssociationsResultOutput) ElementType added in v5.36.0

func (GetRouteTableAssociationsResultOutput) Filters added in v5.36.0

func (GetRouteTableAssociationsResultOutput) Id added in v5.36.0

The provider-assigned unique ID for this managed resource.

func (GetRouteTableAssociationsResultOutput) Ids added in v5.36.0

Set of Transit Gateway Route Table Association identifiers.

func (GetRouteTableAssociationsResultOutput) ToGetRouteTableAssociationsResultOutput added in v5.36.0

func (o GetRouteTableAssociationsResultOutput) ToGetRouteTableAssociationsResultOutput() GetRouteTableAssociationsResultOutput

func (GetRouteTableAssociationsResultOutput) ToGetRouteTableAssociationsResultOutputWithContext added in v5.36.0

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

func (GetRouteTableAssociationsResultOutput) TransitGatewayRouteTableId added in v5.36.0

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 added in v5.36.0

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 added in v5.36.0

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 added in v5.36.0

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 added in v5.36.0

func (GetRouteTablePropagationsFilterArgs) ToGetRouteTablePropagationsFilterOutput added in v5.36.0

func (i GetRouteTablePropagationsFilterArgs) ToGetRouteTablePropagationsFilterOutput() GetRouteTablePropagationsFilterOutput

func (GetRouteTablePropagationsFilterArgs) ToGetRouteTablePropagationsFilterOutputWithContext added in v5.36.0

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

type GetRouteTablePropagationsFilterArray added in v5.36.0

type GetRouteTablePropagationsFilterArray []GetRouteTablePropagationsFilterInput

func (GetRouteTablePropagationsFilterArray) ElementType added in v5.36.0

func (GetRouteTablePropagationsFilterArray) ToGetRouteTablePropagationsFilterArrayOutput added in v5.36.0

func (i GetRouteTablePropagationsFilterArray) ToGetRouteTablePropagationsFilterArrayOutput() GetRouteTablePropagationsFilterArrayOutput

func (GetRouteTablePropagationsFilterArray) ToGetRouteTablePropagationsFilterArrayOutputWithContext added in v5.36.0

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

type GetRouteTablePropagationsFilterArrayInput added in v5.36.0

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 added in v5.36.0

type GetRouteTablePropagationsFilterArrayOutput struct{ *pulumi.OutputState }

func (GetRouteTablePropagationsFilterArrayOutput) ElementType added in v5.36.0

func (GetRouteTablePropagationsFilterArrayOutput) Index added in v5.36.0

func (GetRouteTablePropagationsFilterArrayOutput) ToGetRouteTablePropagationsFilterArrayOutput added in v5.36.0

func (o GetRouteTablePropagationsFilterArrayOutput) ToGetRouteTablePropagationsFilterArrayOutput() GetRouteTablePropagationsFilterArrayOutput

func (GetRouteTablePropagationsFilterArrayOutput) ToGetRouteTablePropagationsFilterArrayOutputWithContext added in v5.36.0

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

type GetRouteTablePropagationsFilterInput added in v5.36.0

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 added in v5.36.0

type GetRouteTablePropagationsFilterOutput struct{ *pulumi.OutputState }

func (GetRouteTablePropagationsFilterOutput) ElementType added in v5.36.0

func (GetRouteTablePropagationsFilterOutput) Name added in v5.36.0

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 added in v5.36.0

func (o GetRouteTablePropagationsFilterOutput) ToGetRouteTablePropagationsFilterOutput() GetRouteTablePropagationsFilterOutput

func (GetRouteTablePropagationsFilterOutput) ToGetRouteTablePropagationsFilterOutputWithContext added in v5.36.0

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

func (GetRouteTablePropagationsFilterOutput) Values added in v5.36.0

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 added in v5.36.0

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 added in v5.36.0

type GetRouteTablePropagationsResult added in v5.36.0

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 added in v5.36.0

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/v5/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: aws_ec2_transit_gateway_route_table.Example.Id,
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type GetRouteTablePropagationsResultOutput added in v5.36.0

type GetRouteTablePropagationsResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getRouteTablePropagations.

func (GetRouteTablePropagationsResultOutput) ElementType added in v5.36.0

func (GetRouteTablePropagationsResultOutput) Filters added in v5.36.0

func (GetRouteTablePropagationsResultOutput) Id added in v5.36.0

The provider-assigned unique ID for this managed resource.

func (GetRouteTablePropagationsResultOutput) Ids added in v5.36.0

Set of Transit Gateway Route Table Association identifiers.

func (GetRouteTablePropagationsResultOutput) ToGetRouteTablePropagationsResultOutput added in v5.36.0

func (o GetRouteTablePropagationsResultOutput) ToGetRouteTablePropagationsResultOutput() GetRouteTablePropagationsResultOutput

func (GetRouteTablePropagationsResultOutput) ToGetRouteTablePropagationsResultOutputWithContext added in v5.36.0

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

func (GetRouteTablePropagationsResultOutput) TransitGatewayRouteTableId added in v5.36.0

func (o GetRouteTablePropagationsResultOutput) TransitGatewayRouteTableId() pulumi.StringOutput

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 added in v5.1.0

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 added in v5.1.0

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 added in v5.1.0

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 added in v5.1.0

func (GetVpcAttachmentsFilterArgs) ToGetVpcAttachmentsFilterOutput added in v5.1.0

func (i GetVpcAttachmentsFilterArgs) ToGetVpcAttachmentsFilterOutput() GetVpcAttachmentsFilterOutput

func (GetVpcAttachmentsFilterArgs) ToGetVpcAttachmentsFilterOutputWithContext added in v5.1.0

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

type GetVpcAttachmentsFilterArray added in v5.1.0

type GetVpcAttachmentsFilterArray []GetVpcAttachmentsFilterInput

func (GetVpcAttachmentsFilterArray) ElementType added in v5.1.0

func (GetVpcAttachmentsFilterArray) ToGetVpcAttachmentsFilterArrayOutput added in v5.1.0

func (i GetVpcAttachmentsFilterArray) ToGetVpcAttachmentsFilterArrayOutput() GetVpcAttachmentsFilterArrayOutput

func (GetVpcAttachmentsFilterArray) ToGetVpcAttachmentsFilterArrayOutputWithContext added in v5.1.0

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

type GetVpcAttachmentsFilterArrayInput added in v5.1.0

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 added in v5.1.0

type GetVpcAttachmentsFilterArrayOutput struct{ *pulumi.OutputState }

func (GetVpcAttachmentsFilterArrayOutput) ElementType added in v5.1.0

func (GetVpcAttachmentsFilterArrayOutput) Index added in v5.1.0

func (GetVpcAttachmentsFilterArrayOutput) ToGetVpcAttachmentsFilterArrayOutput added in v5.1.0

func (o GetVpcAttachmentsFilterArrayOutput) ToGetVpcAttachmentsFilterArrayOutput() GetVpcAttachmentsFilterArrayOutput

func (GetVpcAttachmentsFilterArrayOutput) ToGetVpcAttachmentsFilterArrayOutputWithContext added in v5.1.0

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

type GetVpcAttachmentsFilterInput added in v5.1.0

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 added in v5.1.0

type GetVpcAttachmentsFilterOutput struct{ *pulumi.OutputState }

func (GetVpcAttachmentsFilterOutput) ElementType added in v5.1.0

func (GetVpcAttachmentsFilterOutput) Name added in v5.1.0

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

func (GetVpcAttachmentsFilterOutput) ToGetVpcAttachmentsFilterOutput added in v5.1.0

func (o GetVpcAttachmentsFilterOutput) ToGetVpcAttachmentsFilterOutput() GetVpcAttachmentsFilterOutput

func (GetVpcAttachmentsFilterOutput) ToGetVpcAttachmentsFilterOutputWithContext added in v5.1.0

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

func (GetVpcAttachmentsFilterOutput) Values added in v5.1.0

List of one or more values for the filter.

type GetVpcAttachmentsOutputArgs added in v5.1.0

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 added in v5.1.0

type GetVpcAttachmentsResult added in v5.1.0

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 added in v5.1.0

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/v5/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 added in v5.1.0

type GetVpcAttachmentsResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getVpcAttachments.

func GetVpcAttachmentsOutput added in v5.1.0

func (GetVpcAttachmentsResultOutput) ElementType added in v5.1.0

func (GetVpcAttachmentsResultOutput) Filters added in v5.1.0

func (GetVpcAttachmentsResultOutput) Id added in v5.1.0

The provider-assigned unique ID for this managed resource.

func (GetVpcAttachmentsResultOutput) Ids added in v5.1.0

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 added in v5.1.0

func (o GetVpcAttachmentsResultOutput) ToGetVpcAttachmentsResultOutput() GetVpcAttachmentsResultOutput

func (GetVpcAttachmentsResultOutput) ToGetVpcAttachmentsResultOutputWithContext added in v5.1.0

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/v5/go/aws/ec2transitgateway"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

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

``` ### Filter

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v5/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 InstanceState added in v5.27.0

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/v5/go/aws/ec2"
"github.com/pulumi/pulumi-aws/sdk/v5/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
		}
		testInstance, err := ec2.NewInstance(ctx, "testInstance", &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, "testInstanceState", &ec2transitgateway.InstanceStateArgs{
			InstanceId: testInstance.ID(),
			State:      pulumi.String("stopped"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

`aws_ec2_instance_state` can be imported by using the `instance_id` attribute, e.g.,

```sh

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

```

func GetInstanceState added in v5.27.0

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 added in v5.27.0

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 added in v5.27.0

func (*InstanceState) ElementType() reflect.Type

func (*InstanceState) ToInstanceStateOutput added in v5.27.0

func (i *InstanceState) ToInstanceStateOutput() InstanceStateOutput

func (*InstanceState) ToInstanceStateOutputWithContext added in v5.27.0

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

type InstanceStateArgs added in v5.27.0

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 added in v5.27.0

func (InstanceStateArgs) ElementType() reflect.Type

type InstanceStateArray added in v5.27.0

type InstanceStateArray []InstanceStateInput

func (InstanceStateArray) ElementType added in v5.27.0

func (InstanceStateArray) ElementType() reflect.Type

func (InstanceStateArray) ToInstanceStateArrayOutput added in v5.27.0

func (i InstanceStateArray) ToInstanceStateArrayOutput() InstanceStateArrayOutput

func (InstanceStateArray) ToInstanceStateArrayOutputWithContext added in v5.27.0

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

type InstanceStateArrayInput added in v5.27.0

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 added in v5.27.0

type InstanceStateArrayOutput struct{ *pulumi.OutputState }

func (InstanceStateArrayOutput) ElementType added in v5.27.0

func (InstanceStateArrayOutput) ElementType() reflect.Type

func (InstanceStateArrayOutput) Index added in v5.27.0

func (InstanceStateArrayOutput) ToInstanceStateArrayOutput added in v5.27.0

func (o InstanceStateArrayOutput) ToInstanceStateArrayOutput() InstanceStateArrayOutput

func (InstanceStateArrayOutput) ToInstanceStateArrayOutputWithContext added in v5.27.0

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

type InstanceStateInput added in v5.27.0

type InstanceStateInput interface {
	pulumi.Input

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

type InstanceStateMap added in v5.27.0

type InstanceStateMap map[string]InstanceStateInput

func (InstanceStateMap) ElementType added in v5.27.0

func (InstanceStateMap) ElementType() reflect.Type

func (InstanceStateMap) ToInstanceStateMapOutput added in v5.27.0

func (i InstanceStateMap) ToInstanceStateMapOutput() InstanceStateMapOutput

func (InstanceStateMap) ToInstanceStateMapOutputWithContext added in v5.27.0

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

type InstanceStateMapInput added in v5.27.0

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 added in v5.27.0

type InstanceStateMapOutput struct{ *pulumi.OutputState }

func (InstanceStateMapOutput) ElementType added in v5.27.0

func (InstanceStateMapOutput) ElementType() reflect.Type

func (InstanceStateMapOutput) MapIndex added in v5.27.0

func (InstanceStateMapOutput) ToInstanceStateMapOutput added in v5.27.0

func (o InstanceStateMapOutput) ToInstanceStateMapOutput() InstanceStateMapOutput

func (InstanceStateMapOutput) ToInstanceStateMapOutputWithContext added in v5.27.0

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

type InstanceStateOutput added in v5.27.0

type InstanceStateOutput struct{ *pulumi.OutputState }

func (InstanceStateOutput) ElementType added in v5.27.0

func (InstanceStateOutput) ElementType() reflect.Type

func (InstanceStateOutput) Force added in v5.27.0

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 added in v5.27.0

func (o InstanceStateOutput) InstanceId() pulumi.StringOutput

ID of the instance.

func (InstanceStateOutput) State added in v5.27.0

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

The following arguments are optional:

func (InstanceStateOutput) ToInstanceStateOutput added in v5.27.0

func (o InstanceStateOutput) ToInstanceStateOutput() InstanceStateOutput

func (InstanceStateOutput) ToInstanceStateOutputWithContext added in v5.27.0

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

type InstanceStateState added in v5.27.0

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 added in v5.27.0

func (InstanceStateState) ElementType() reflect.Type

type LookupConnectArgs added in v5.1.0

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 added in v5.1.0

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 added in v5.1.0

func (LookupConnectOutputArgs) ElementType() reflect.Type

type LookupConnectPeerArgs added in v5.1.0

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 added in v5.1.0

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 added in v5.1.0

type LookupConnectPeerResult added in v5.1.0

type LookupConnectPeerResult struct {
	// EC2 Transit Gateway Connect Peer ARN
	Arn string `pulumi:"arn"`
	// BGP ASN number assigned customer device
	BgpAsn  string                 `pulumi:"bgpAsn"`
	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 added in v5.1.0

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/v5/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/v5/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 added in v5.1.0

type LookupConnectPeerResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getConnectPeer.

func LookupConnectPeerOutput added in v5.1.0

func (LookupConnectPeerResultOutput) Arn added in v5.1.0

EC2 Transit Gateway Connect Peer ARN

func (LookupConnectPeerResultOutput) BgpAsn added in v5.1.0

BGP ASN number assigned customer device

func (LookupConnectPeerResultOutput) ElementType added in v5.1.0

func (LookupConnectPeerResultOutput) Filters added in v5.1.0

func (LookupConnectPeerResultOutput) Id added in v5.1.0

The provider-assigned unique ID for this managed resource.

func (LookupConnectPeerResultOutput) InsideCidrBlocks added in v5.1.0

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

func (LookupConnectPeerResultOutput) PeerAddress added in v5.1.0

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

func (LookupConnectPeerResultOutput) Tags added in v5.1.0

Key-value tags for the EC2 Transit Gateway Connect Peer

func (LookupConnectPeerResultOutput) ToLookupConnectPeerResultOutput added in v5.1.0

func (o LookupConnectPeerResultOutput) ToLookupConnectPeerResultOutput() LookupConnectPeerResultOutput

func (LookupConnectPeerResultOutput) ToLookupConnectPeerResultOutputWithContext added in v5.1.0

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

func (LookupConnectPeerResultOutput) TransitGatewayAddress added in v5.1.0

func (o LookupConnectPeerResultOutput) TransitGatewayAddress() pulumi.StringOutput

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

func (LookupConnectPeerResultOutput) TransitGatewayAttachmentId added in v5.1.0

func (o LookupConnectPeerResultOutput) TransitGatewayAttachmentId() pulumi.StringOutput

The Transit Gateway Connect

func (LookupConnectPeerResultOutput) TransitGatewayConnectPeerId added in v5.1.0

func (o LookupConnectPeerResultOutput) TransitGatewayConnectPeerId() pulumi.StringOutput

type LookupConnectResult added in v5.1.0

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 added in v5.1.0

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/v5/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/v5/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 added in v5.1.0

type LookupConnectResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getConnect.

func LookupConnectOutput added in v5.1.0

func LookupConnectOutput(ctx *pulumi.Context, args LookupConnectOutputArgs, opts ...pulumi.InvokeOption) LookupConnectResultOutput

func (LookupConnectResultOutput) ElementType added in v5.1.0

func (LookupConnectResultOutput) ElementType() reflect.Type

func (LookupConnectResultOutput) Filters added in v5.1.0

func (LookupConnectResultOutput) Id added in v5.1.0

The provider-assigned unique ID for this managed resource.

func (LookupConnectResultOutput) Protocol added in v5.1.0

Tunnel protocol

func (LookupConnectResultOutput) Tags added in v5.1.0

Key-value tags for the EC2 Transit Gateway Connect

func (LookupConnectResultOutput) ToLookupConnectResultOutput added in v5.1.0

func (o LookupConnectResultOutput) ToLookupConnectResultOutput() LookupConnectResultOutput

func (LookupConnectResultOutput) ToLookupConnectResultOutputWithContext added in v5.1.0

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

func (LookupConnectResultOutput) TransitGatewayConnectId added in v5.1.0

func (o LookupConnectResultOutput) TransitGatewayConnectId() pulumi.StringOutput

func (LookupConnectResultOutput) TransitGatewayId added in v5.1.0

func (o LookupConnectResultOutput) TransitGatewayId() pulumi.StringOutput

EC2 Transit Gateway identifier

func (LookupConnectResultOutput) TransportAttachmentId added in v5.1.0

func (o LookupConnectResultOutput) TransportAttachmentId() pulumi.StringOutput

The underlaying VPC attachment

type LookupMulticastDomainArgs added in v5.1.0

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 added in v5.1.0

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 added in v5.1.0

type LookupMulticastDomainResult added in v5.1.0

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 added in v5.1.0

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/v5/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/v5/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 added in v5.1.0

type LookupMulticastDomainResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getMulticastDomain.

func LookupMulticastDomainOutput added in v5.1.0

func (LookupMulticastDomainResultOutput) Arn added in v5.1.0

EC2 Transit Gateway Multicast Domain ARN.

func (LookupMulticastDomainResultOutput) Associations added in v5.1.0

EC2 Transit Gateway Multicast Domain Associations

func (LookupMulticastDomainResultOutput) AutoAcceptSharedAssociations added in v5.1.0

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 added in v5.1.0

func (LookupMulticastDomainResultOutput) Filters added in v5.1.0

func (LookupMulticastDomainResultOutput) Id added in v5.1.0

The provider-assigned unique ID for this managed resource.

func (LookupMulticastDomainResultOutput) Igmpv2Support added in v5.1.0

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

func (LookupMulticastDomainResultOutput) Members added in v5.1.0

EC2 Multicast Domain Group Members

func (LookupMulticastDomainResultOutput) OwnerId added in v5.1.0

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

func (LookupMulticastDomainResultOutput) Sources added in v5.1.0

EC2 Multicast Domain Group Sources

func (LookupMulticastDomainResultOutput) State added in v5.1.0

func (LookupMulticastDomainResultOutput) StaticSourcesSupport added in v5.1.0

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 added in v5.1.0

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

func (LookupMulticastDomainResultOutput) ToLookupMulticastDomainResultOutput added in v5.1.0

func (o LookupMulticastDomainResultOutput) ToLookupMulticastDomainResultOutput() LookupMulticastDomainResultOutput

func (LookupMulticastDomainResultOutput) ToLookupMulticastDomainResultOutputWithContext added in v5.1.0

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

func (LookupMulticastDomainResultOutput) TransitGatewayAttachmentId added in v5.1.0

func (o LookupMulticastDomainResultOutput) TransitGatewayAttachmentId() pulumi.StringOutput

The ID of the transit gateway attachment.

func (LookupMulticastDomainResultOutput) TransitGatewayId added in v5.1.0

EC2 Transit Gateway identifier.

func (LookupMulticastDomainResultOutput) TransitGatewayMulticastDomainId added in v5.1.0

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/v5/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/v5/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/v5/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/v5/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/v5/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/v5/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 added in v5.1.0

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 added in v5.1.0

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/v5/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/v5/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 added in v5.1.0

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.
	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/v5/go/aws"
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/ec2"
"github.com/pulumi/pulumi-aws/sdk/v5/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

`aws_ec2_transit_gateway_multicast_domain` can be imported by using the EC2 Transit Gateway Multicast Domain identifier, e.g.,

```sh

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

```

func GetMulticastDomain added in v5.1.0

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 added in v5.1.0

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 added in v5.1.0

func (*MulticastDomain) ElementType() reflect.Type

func (*MulticastDomain) ToMulticastDomainOutput added in v5.1.0

func (i *MulticastDomain) ToMulticastDomainOutput() MulticastDomainOutput

func (*MulticastDomain) ToMulticastDomainOutputWithContext added in v5.1.0

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

type MulticastDomainArgs added in v5.1.0

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 added in v5.1.0

func (MulticastDomainArgs) ElementType() reflect.Type

type MulticastDomainArray added in v5.1.0

type MulticastDomainArray []MulticastDomainInput

func (MulticastDomainArray) ElementType added in v5.1.0

func (MulticastDomainArray) ElementType() reflect.Type

func (MulticastDomainArray) ToMulticastDomainArrayOutput added in v5.1.0

func (i MulticastDomainArray) ToMulticastDomainArrayOutput() MulticastDomainArrayOutput

func (MulticastDomainArray) ToMulticastDomainArrayOutputWithContext added in v5.1.0

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

type MulticastDomainArrayInput added in v5.1.0

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 added in v5.1.0

type MulticastDomainArrayOutput struct{ *pulumi.OutputState }

func (MulticastDomainArrayOutput) ElementType added in v5.1.0

func (MulticastDomainArrayOutput) ElementType() reflect.Type

func (MulticastDomainArrayOutput) Index added in v5.1.0

func (MulticastDomainArrayOutput) ToMulticastDomainArrayOutput added in v5.1.0

func (o MulticastDomainArrayOutput) ToMulticastDomainArrayOutput() MulticastDomainArrayOutput

func (MulticastDomainArrayOutput) ToMulticastDomainArrayOutputWithContext added in v5.1.0

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

type MulticastDomainAssociation added in v5.1.0

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/v5/go/aws/ec2transitgateway"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

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

```

func GetMulticastDomainAssociation added in v5.1.0

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 added in v5.1.0

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 added in v5.1.0

func (*MulticastDomainAssociation) ElementType() reflect.Type

func (*MulticastDomainAssociation) ToMulticastDomainAssociationOutput added in v5.1.0

func (i *MulticastDomainAssociation) ToMulticastDomainAssociationOutput() MulticastDomainAssociationOutput

func (*MulticastDomainAssociation) ToMulticastDomainAssociationOutputWithContext added in v5.1.0

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

type MulticastDomainAssociationArgs added in v5.1.0

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 added in v5.1.0

type MulticastDomainAssociationArray added in v5.1.0

type MulticastDomainAssociationArray []MulticastDomainAssociationInput

func (MulticastDomainAssociationArray) ElementType added in v5.1.0

func (MulticastDomainAssociationArray) ToMulticastDomainAssociationArrayOutput added in v5.1.0

func (i MulticastDomainAssociationArray) ToMulticastDomainAssociationArrayOutput() MulticastDomainAssociationArrayOutput

func (MulticastDomainAssociationArray) ToMulticastDomainAssociationArrayOutputWithContext added in v5.1.0

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

type MulticastDomainAssociationArrayInput added in v5.1.0

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 added in v5.1.0

type MulticastDomainAssociationArrayOutput struct{ *pulumi.OutputState }

func (MulticastDomainAssociationArrayOutput) ElementType added in v5.1.0

func (MulticastDomainAssociationArrayOutput) Index added in v5.1.0

func (MulticastDomainAssociationArrayOutput) ToMulticastDomainAssociationArrayOutput added in v5.1.0

func (o MulticastDomainAssociationArrayOutput) ToMulticastDomainAssociationArrayOutput() MulticastDomainAssociationArrayOutput

func (MulticastDomainAssociationArrayOutput) ToMulticastDomainAssociationArrayOutputWithContext added in v5.1.0

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

type MulticastDomainAssociationInput added in v5.1.0

type MulticastDomainAssociationInput interface {
	pulumi.Input

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

type MulticastDomainAssociationMap added in v5.1.0

type MulticastDomainAssociationMap map[string]MulticastDomainAssociationInput

func (MulticastDomainAssociationMap) ElementType added in v5.1.0

func (MulticastDomainAssociationMap) ToMulticastDomainAssociationMapOutput added in v5.1.0

func (i MulticastDomainAssociationMap) ToMulticastDomainAssociationMapOutput() MulticastDomainAssociationMapOutput

func (MulticastDomainAssociationMap) ToMulticastDomainAssociationMapOutputWithContext added in v5.1.0

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

type MulticastDomainAssociationMapInput added in v5.1.0

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 added in v5.1.0

type MulticastDomainAssociationMapOutput struct{ *pulumi.OutputState }

func (MulticastDomainAssociationMapOutput) ElementType added in v5.1.0

func (MulticastDomainAssociationMapOutput) MapIndex added in v5.1.0

func (MulticastDomainAssociationMapOutput) ToMulticastDomainAssociationMapOutput added in v5.1.0

func (o MulticastDomainAssociationMapOutput) ToMulticastDomainAssociationMapOutput() MulticastDomainAssociationMapOutput

func (MulticastDomainAssociationMapOutput) ToMulticastDomainAssociationMapOutputWithContext added in v5.1.0

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

type MulticastDomainAssociationOutput added in v5.1.0

type MulticastDomainAssociationOutput struct{ *pulumi.OutputState }

func (MulticastDomainAssociationOutput) ElementType added in v5.1.0

func (MulticastDomainAssociationOutput) SubnetId added in v5.4.0

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

func (MulticastDomainAssociationOutput) ToMulticastDomainAssociationOutput added in v5.1.0

func (o MulticastDomainAssociationOutput) ToMulticastDomainAssociationOutput() MulticastDomainAssociationOutput

func (MulticastDomainAssociationOutput) ToMulticastDomainAssociationOutputWithContext added in v5.1.0

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

func (MulticastDomainAssociationOutput) TransitGatewayAttachmentId added in v5.4.0

func (o MulticastDomainAssociationOutput) TransitGatewayAttachmentId() pulumi.StringOutput

The ID of the transit gateway attachment.

func (MulticastDomainAssociationOutput) TransitGatewayMulticastDomainId added in v5.4.0

func (o MulticastDomainAssociationOutput) TransitGatewayMulticastDomainId() pulumi.StringOutput

The ID of the transit gateway multicast domain.

type MulticastDomainAssociationState added in v5.1.0

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 added in v5.1.0

type MulticastDomainInput added in v5.1.0

type MulticastDomainInput interface {
	pulumi.Input

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

type MulticastDomainMap added in v5.1.0

type MulticastDomainMap map[string]MulticastDomainInput

func (MulticastDomainMap) ElementType added in v5.1.0

func (MulticastDomainMap) ElementType() reflect.Type

func (MulticastDomainMap) ToMulticastDomainMapOutput added in v5.1.0

func (i MulticastDomainMap) ToMulticastDomainMapOutput() MulticastDomainMapOutput

func (MulticastDomainMap) ToMulticastDomainMapOutputWithContext added in v5.1.0

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

type MulticastDomainMapInput added in v5.1.0

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 added in v5.1.0

type MulticastDomainMapOutput struct{ *pulumi.OutputState }

func (MulticastDomainMapOutput) ElementType added in v5.1.0

func (MulticastDomainMapOutput) ElementType() reflect.Type

func (MulticastDomainMapOutput) MapIndex added in v5.1.0

func (MulticastDomainMapOutput) ToMulticastDomainMapOutput added in v5.1.0

func (o MulticastDomainMapOutput) ToMulticastDomainMapOutput() MulticastDomainMapOutput

func (MulticastDomainMapOutput) ToMulticastDomainMapOutputWithContext added in v5.1.0

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

type MulticastDomainOutput added in v5.1.0

type MulticastDomainOutput struct{ *pulumi.OutputState }

func (MulticastDomainOutput) Arn added in v5.4.0

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

func (MulticastDomainOutput) AutoAcceptSharedAssociations added in v5.4.0

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 added in v5.1.0

func (MulticastDomainOutput) ElementType() reflect.Type

func (MulticastDomainOutput) Igmpv2Support added in v5.4.0

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 added in v5.4.0

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

func (MulticastDomainOutput) StaticSourcesSupport added in v5.4.0

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 added in v5.4.0

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 added in v5.4.0

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

func (MulticastDomainOutput) ToMulticastDomainOutput added in v5.1.0

func (o MulticastDomainOutput) ToMulticastDomainOutput() MulticastDomainOutput

func (MulticastDomainOutput) ToMulticastDomainOutputWithContext added in v5.1.0

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

func (MulticastDomainOutput) TransitGatewayId added in v5.4.0

func (o MulticastDomainOutput) TransitGatewayId() pulumi.StringOutput

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

type MulticastDomainState added in v5.1.0

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.
	TagsAll pulumi.StringMapInput
	// EC2 Transit Gateway identifier. The EC2 Transit Gateway must have `multicastSupport` enabled.
	TransitGatewayId pulumi.StringPtrInput
}

func (MulticastDomainState) ElementType added in v5.1.0

func (MulticastDomainState) ElementType() reflect.Type

type MulticastGroupMember added in v5.1.0

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/v5/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(aws_network_interface.Example.Id),
			TransitGatewayMulticastDomainId: pulumi.Any(aws_ec2_transit_gateway_multicast_domain.Example.Id),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

func GetMulticastGroupMember added in v5.1.0

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 added in v5.1.0

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 added in v5.1.0

func (*MulticastGroupMember) ElementType() reflect.Type

func (*MulticastGroupMember) ToMulticastGroupMemberOutput added in v5.1.0

func (i *MulticastGroupMember) ToMulticastGroupMemberOutput() MulticastGroupMemberOutput

func (*MulticastGroupMember) ToMulticastGroupMemberOutputWithContext added in v5.1.0

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

type MulticastGroupMemberArgs added in v5.1.0

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 added in v5.1.0

func (MulticastGroupMemberArgs) ElementType() reflect.Type

type MulticastGroupMemberArray added in v5.1.0

type MulticastGroupMemberArray []MulticastGroupMemberInput

func (MulticastGroupMemberArray) ElementType added in v5.1.0

func (MulticastGroupMemberArray) ElementType() reflect.Type

func (MulticastGroupMemberArray) ToMulticastGroupMemberArrayOutput added in v5.1.0

func (i MulticastGroupMemberArray) ToMulticastGroupMemberArrayOutput() MulticastGroupMemberArrayOutput

func (MulticastGroupMemberArray) ToMulticastGroupMemberArrayOutputWithContext added in v5.1.0

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

type MulticastGroupMemberArrayInput added in v5.1.0

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 added in v5.1.0

type MulticastGroupMemberArrayOutput struct{ *pulumi.OutputState }

func (MulticastGroupMemberArrayOutput) ElementType added in v5.1.0

func (MulticastGroupMemberArrayOutput) Index added in v5.1.0

func (MulticastGroupMemberArrayOutput) ToMulticastGroupMemberArrayOutput added in v5.1.0

func (o MulticastGroupMemberArrayOutput) ToMulticastGroupMemberArrayOutput() MulticastGroupMemberArrayOutput

func (MulticastGroupMemberArrayOutput) ToMulticastGroupMemberArrayOutputWithContext added in v5.1.0

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

type MulticastGroupMemberInput added in v5.1.0

type MulticastGroupMemberInput interface {
	pulumi.Input

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

type MulticastGroupMemberMap added in v5.1.0

type MulticastGroupMemberMap map[string]MulticastGroupMemberInput

func (MulticastGroupMemberMap) ElementType added in v5.1.0

func (MulticastGroupMemberMap) ElementType() reflect.Type

func (MulticastGroupMemberMap) ToMulticastGroupMemberMapOutput added in v5.1.0

func (i MulticastGroupMemberMap) ToMulticastGroupMemberMapOutput() MulticastGroupMemberMapOutput

func (MulticastGroupMemberMap) ToMulticastGroupMemberMapOutputWithContext added in v5.1.0

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

type MulticastGroupMemberMapInput added in v5.1.0

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 added in v5.1.0

type MulticastGroupMemberMapOutput struct{ *pulumi.OutputState }

func (MulticastGroupMemberMapOutput) ElementType added in v5.1.0

func (MulticastGroupMemberMapOutput) MapIndex added in v5.1.0

func (MulticastGroupMemberMapOutput) ToMulticastGroupMemberMapOutput added in v5.1.0

func (o MulticastGroupMemberMapOutput) ToMulticastGroupMemberMapOutput() MulticastGroupMemberMapOutput

func (MulticastGroupMemberMapOutput) ToMulticastGroupMemberMapOutputWithContext added in v5.1.0

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

type MulticastGroupMemberOutput added in v5.1.0

type MulticastGroupMemberOutput struct{ *pulumi.OutputState }

func (MulticastGroupMemberOutput) ElementType added in v5.1.0

func (MulticastGroupMemberOutput) ElementType() reflect.Type

func (MulticastGroupMemberOutput) GroupIpAddress added in v5.4.0

func (o MulticastGroupMemberOutput) GroupIpAddress() pulumi.StringOutput

The IP address assigned to the transit gateway multicast group.

func (MulticastGroupMemberOutput) NetworkInterfaceId added in v5.4.0

func (o MulticastGroupMemberOutput) NetworkInterfaceId() pulumi.StringOutput

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

func (MulticastGroupMemberOutput) ToMulticastGroupMemberOutput added in v5.1.0

func (o MulticastGroupMemberOutput) ToMulticastGroupMemberOutput() MulticastGroupMemberOutput

func (MulticastGroupMemberOutput) ToMulticastGroupMemberOutputWithContext added in v5.1.0

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

func (MulticastGroupMemberOutput) TransitGatewayMulticastDomainId added in v5.4.0

func (o MulticastGroupMemberOutput) TransitGatewayMulticastDomainId() pulumi.StringOutput

The ID of the transit gateway multicast domain.

type MulticastGroupMemberState added in v5.1.0

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 added in v5.1.0

func (MulticastGroupMemberState) ElementType() reflect.Type

type MulticastGroupSource added in v5.1.0

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/v5/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(aws_network_interface.Example.Id),
			TransitGatewayMulticastDomainId: pulumi.Any(aws_ec2_transit_gateway_multicast_domain.Example.Id),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

func GetMulticastGroupSource added in v5.1.0

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 added in v5.1.0

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 added in v5.1.0

func (*MulticastGroupSource) ElementType() reflect.Type

func (*MulticastGroupSource) ToMulticastGroupSourceOutput added in v5.1.0

func (i *MulticastGroupSource) ToMulticastGroupSourceOutput() MulticastGroupSourceOutput

func (*MulticastGroupSource) ToMulticastGroupSourceOutputWithContext added in v5.1.0

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

type MulticastGroupSourceArgs added in v5.1.0

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 added in v5.1.0

func (MulticastGroupSourceArgs) ElementType() reflect.Type

type MulticastGroupSourceArray added in v5.1.0

type MulticastGroupSourceArray []MulticastGroupSourceInput

func (MulticastGroupSourceArray) ElementType added in v5.1.0

func (MulticastGroupSourceArray) ElementType() reflect.Type

func (MulticastGroupSourceArray) ToMulticastGroupSourceArrayOutput added in v5.1.0

func (i MulticastGroupSourceArray) ToMulticastGroupSourceArrayOutput() MulticastGroupSourceArrayOutput

func (MulticastGroupSourceArray) ToMulticastGroupSourceArrayOutputWithContext added in v5.1.0

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

type MulticastGroupSourceArrayInput added in v5.1.0

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 added in v5.1.0

type MulticastGroupSourceArrayOutput struct{ *pulumi.OutputState }

func (MulticastGroupSourceArrayOutput) ElementType added in v5.1.0

func (MulticastGroupSourceArrayOutput) Index added in v5.1.0

func (MulticastGroupSourceArrayOutput) ToMulticastGroupSourceArrayOutput added in v5.1.0

func (o MulticastGroupSourceArrayOutput) ToMulticastGroupSourceArrayOutput() MulticastGroupSourceArrayOutput

func (MulticastGroupSourceArrayOutput) ToMulticastGroupSourceArrayOutputWithContext added in v5.1.0

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

type MulticastGroupSourceInput added in v5.1.0

type MulticastGroupSourceInput interface {
	pulumi.Input

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

type MulticastGroupSourceMap added in v5.1.0

type MulticastGroupSourceMap map[string]MulticastGroupSourceInput

func (MulticastGroupSourceMap) ElementType added in v5.1.0

func (MulticastGroupSourceMap) ElementType() reflect.Type

func (MulticastGroupSourceMap) ToMulticastGroupSourceMapOutput added in v5.1.0

func (i MulticastGroupSourceMap) ToMulticastGroupSourceMapOutput() MulticastGroupSourceMapOutput

func (MulticastGroupSourceMap) ToMulticastGroupSourceMapOutputWithContext added in v5.1.0

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

type MulticastGroupSourceMapInput added in v5.1.0

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 added in v5.1.0

type MulticastGroupSourceMapOutput struct{ *pulumi.OutputState }

func (MulticastGroupSourceMapOutput) ElementType added in v5.1.0

func (MulticastGroupSourceMapOutput) MapIndex added in v5.1.0

func (MulticastGroupSourceMapOutput) ToMulticastGroupSourceMapOutput added in v5.1.0

func (o MulticastGroupSourceMapOutput) ToMulticastGroupSourceMapOutput() MulticastGroupSourceMapOutput

func (MulticastGroupSourceMapOutput) ToMulticastGroupSourceMapOutputWithContext added in v5.1.0

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

type MulticastGroupSourceOutput added in v5.1.0

type MulticastGroupSourceOutput struct{ *pulumi.OutputState }

func (MulticastGroupSourceOutput) ElementType added in v5.1.0

func (MulticastGroupSourceOutput) ElementType() reflect.Type

func (MulticastGroupSourceOutput) GroupIpAddress added in v5.4.0

func (o MulticastGroupSourceOutput) GroupIpAddress() pulumi.StringOutput

The IP address assigned to the transit gateway multicast group.

func (MulticastGroupSourceOutput) NetworkInterfaceId added in v5.4.0

func (o MulticastGroupSourceOutput) NetworkInterfaceId() pulumi.StringOutput

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

func (MulticastGroupSourceOutput) ToMulticastGroupSourceOutput added in v5.1.0

func (o MulticastGroupSourceOutput) ToMulticastGroupSourceOutput() MulticastGroupSourceOutput

func (MulticastGroupSourceOutput) ToMulticastGroupSourceOutputWithContext added in v5.1.0

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

func (MulticastGroupSourceOutput) TransitGatewayMulticastDomainId added in v5.4.0

func (o MulticastGroupSourceOutput) TransitGatewayMulticastDomainId() pulumi.StringOutput

The ID of the transit gateway multicast domain.

type MulticastGroupSourceState added in v5.1.0

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 added in v5.1.0

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.
	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/v5/go/aws"
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/ec2transitgateway"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

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

```

## Import

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

```sh

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

```

func GetPeeringAttachment

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

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

func NewPeeringAttachment

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

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

func (*PeeringAttachment) ElementType

func (*PeeringAttachment) ElementType() reflect.Type

func (*PeeringAttachment) ToPeeringAttachmentOutput

func (i *PeeringAttachment) ToPeeringAttachmentOutput() PeeringAttachmentOutput

func (*PeeringAttachment) ToPeeringAttachmentOutputWithContext

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

type PeeringAttachmentAccepter added in v5.11.0

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.
	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/v5/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(aws_ec2_transit_gateway_peering_attachment.Example.Id),
			Tags: pulumi.StringMap{
				"Name": pulumi.String("Example cross-account attachment"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

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

```sh

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

```

func GetPeeringAttachmentAccepter added in v5.11.0

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 added in v5.11.0

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 added in v5.11.0

func (*PeeringAttachmentAccepter) ElementType() reflect.Type

func (*PeeringAttachmentAccepter) ToPeeringAttachmentAccepterOutput added in v5.11.0

func (i *PeeringAttachmentAccepter) ToPeeringAttachmentAccepterOutput() PeeringAttachmentAccepterOutput

func (*PeeringAttachmentAccepter) ToPeeringAttachmentAccepterOutputWithContext added in v5.11.0

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

type PeeringAttachmentAccepterArgs added in v5.11.0

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 added in v5.11.0

type PeeringAttachmentAccepterArray added in v5.11.0

type PeeringAttachmentAccepterArray []PeeringAttachmentAccepterInput

func (PeeringAttachmentAccepterArray) ElementType added in v5.11.0

func (PeeringAttachmentAccepterArray) ToPeeringAttachmentAccepterArrayOutput added in v5.11.0

func (i PeeringAttachmentAccepterArray) ToPeeringAttachmentAccepterArrayOutput() PeeringAttachmentAccepterArrayOutput

func (PeeringAttachmentAccepterArray) ToPeeringAttachmentAccepterArrayOutputWithContext added in v5.11.0

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

type PeeringAttachmentAccepterArrayInput added in v5.11.0

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 added in v5.11.0

type PeeringAttachmentAccepterArrayOutput struct{ *pulumi.OutputState }

func (PeeringAttachmentAccepterArrayOutput) ElementType added in v5.11.0

func (PeeringAttachmentAccepterArrayOutput) Index added in v5.11.0

func (PeeringAttachmentAccepterArrayOutput) ToPeeringAttachmentAccepterArrayOutput added in v5.11.0

func (o PeeringAttachmentAccepterArrayOutput) ToPeeringAttachmentAccepterArrayOutput() PeeringAttachmentAccepterArrayOutput

func (PeeringAttachmentAccepterArrayOutput) ToPeeringAttachmentAccepterArrayOutputWithContext added in v5.11.0

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

type PeeringAttachmentAccepterInput added in v5.11.0

type PeeringAttachmentAccepterInput interface {
	pulumi.Input

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

type PeeringAttachmentAccepterMap added in v5.11.0

type PeeringAttachmentAccepterMap map[string]PeeringAttachmentAccepterInput

func (PeeringAttachmentAccepterMap) ElementType added in v5.11.0

func (PeeringAttachmentAccepterMap) ToPeeringAttachmentAccepterMapOutput added in v5.11.0

func (i PeeringAttachmentAccepterMap) ToPeeringAttachmentAccepterMapOutput() PeeringAttachmentAccepterMapOutput

func (PeeringAttachmentAccepterMap) ToPeeringAttachmentAccepterMapOutputWithContext added in v5.11.0

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

type PeeringAttachmentAccepterMapInput added in v5.11.0

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 added in v5.11.0

type PeeringAttachmentAccepterMapOutput struct{ *pulumi.OutputState }

func (PeeringAttachmentAccepterMapOutput) ElementType added in v5.11.0

func (PeeringAttachmentAccepterMapOutput) MapIndex added in v5.11.0

func (PeeringAttachmentAccepterMapOutput) ToPeeringAttachmentAccepterMapOutput added in v5.11.0

func (o PeeringAttachmentAccepterMapOutput) ToPeeringAttachmentAccepterMapOutput() PeeringAttachmentAccepterMapOutput

func (PeeringAttachmentAccepterMapOutput) ToPeeringAttachmentAccepterMapOutputWithContext added in v5.11.0

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

type PeeringAttachmentAccepterOutput added in v5.11.0

type PeeringAttachmentAccepterOutput struct{ *pulumi.OutputState }

func (PeeringAttachmentAccepterOutput) ElementType added in v5.11.0

func (PeeringAttachmentAccepterOutput) PeerAccountId added in v5.11.0

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

func (PeeringAttachmentAccepterOutput) PeerRegion added in v5.11.0

func (PeeringAttachmentAccepterOutput) PeerTransitGatewayId added in v5.11.0

func (o PeeringAttachmentAccepterOutput) PeerTransitGatewayId() pulumi.StringOutput

Identifier of EC2 Transit Gateway to peer with.

func (PeeringAttachmentAccepterOutput) Tags added in v5.11.0

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 added in v5.11.0

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

func (PeeringAttachmentAccepterOutput) ToPeeringAttachmentAccepterOutput added in v5.11.0

func (o PeeringAttachmentAccepterOutput) ToPeeringAttachmentAccepterOutput() PeeringAttachmentAccepterOutput

func (PeeringAttachmentAccepterOutput) ToPeeringAttachmentAccepterOutputWithContext added in v5.11.0

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

func (PeeringAttachmentAccepterOutput) TransitGatewayAttachmentId added in v5.11.0

func (o PeeringAttachmentAccepterOutput) TransitGatewayAttachmentId() pulumi.StringOutput

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

func (PeeringAttachmentAccepterOutput) TransitGatewayId added in v5.11.0

Identifier of EC2 Transit Gateway.

type PeeringAttachmentAccepterState added in v5.11.0

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.
	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 added in v5.11.0

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 added in v5.4.0

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 added in v5.4.0

Region of EC2 Transit Gateway to peer with.

func (PeeringAttachmentOutput) PeerTransitGatewayId added in v5.4.0

func (o PeeringAttachmentOutput) PeerTransitGatewayId() pulumi.StringOutput

Identifier of EC2 Transit Gateway to peer with.

func (PeeringAttachmentOutput) Tags added in v5.4.0

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 added in v5.4.0

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

func (PeeringAttachmentOutput) ToPeeringAttachmentOutput

func (o PeeringAttachmentOutput) ToPeeringAttachmentOutput() PeeringAttachmentOutput

func (PeeringAttachmentOutput) ToPeeringAttachmentOutputWithContext

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

func (PeeringAttachmentOutput) TransitGatewayId added in v5.4.0

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.
	TagsAll pulumi.StringMapInput
	// Identifier of EC2 Transit Gateway.
	TransitGatewayId pulumi.StringPtrInput
}

func (PeeringAttachmentState) ElementType

func (PeeringAttachmentState) ElementType() reflect.Type

type PolicyTable added in v5.13.0

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.
	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/v5/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(aws_ec2_transit_gateway.Example.Id),
			Tags: pulumi.StringMap{
				"Name": pulumi.String("Example Policy Table"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

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

```sh

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

```

func GetPolicyTable added in v5.13.0

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 added in v5.13.0

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 added in v5.13.0

func (*PolicyTable) ElementType() reflect.Type

func (*PolicyTable) ToPolicyTableOutput added in v5.13.0

func (i *PolicyTable) ToPolicyTableOutput() PolicyTableOutput

func (*PolicyTable) ToPolicyTableOutputWithContext added in v5.13.0

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

type PolicyTableArgs added in v5.13.0

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 added in v5.13.0

func (PolicyTableArgs) ElementType() reflect.Type

type PolicyTableArray added in v5.13.0

type PolicyTableArray []PolicyTableInput

func (PolicyTableArray) ElementType added in v5.13.0

func (PolicyTableArray) ElementType() reflect.Type

func (PolicyTableArray) ToPolicyTableArrayOutput added in v5.13.0

func (i PolicyTableArray) ToPolicyTableArrayOutput() PolicyTableArrayOutput

func (PolicyTableArray) ToPolicyTableArrayOutputWithContext added in v5.13.0

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

type PolicyTableArrayInput added in v5.13.0

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 added in v5.13.0

type PolicyTableArrayOutput struct{ *pulumi.OutputState }

func (PolicyTableArrayOutput) ElementType added in v5.13.0

func (PolicyTableArrayOutput) ElementType() reflect.Type

func (PolicyTableArrayOutput) Index added in v5.13.0

func (PolicyTableArrayOutput) ToPolicyTableArrayOutput added in v5.13.0

func (o PolicyTableArrayOutput) ToPolicyTableArrayOutput() PolicyTableArrayOutput

func (PolicyTableArrayOutput) ToPolicyTableArrayOutputWithContext added in v5.13.0

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

type PolicyTableAssociation added in v5.13.0

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/v5/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(aws_networkmanager_transit_gateway_peering.Example.Transit_gateway_peering_attachment_id),
			TransitGatewayPolicyTableId: pulumi.Any(aws_ec2_transit_gateway_policy_table.Example.Id),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

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

```sh

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

```

func GetPolicyTableAssociation added in v5.13.0

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 added in v5.13.0

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 added in v5.13.0

func (*PolicyTableAssociation) ElementType() reflect.Type

func (*PolicyTableAssociation) ToPolicyTableAssociationOutput added in v5.13.0

func (i *PolicyTableAssociation) ToPolicyTableAssociationOutput() PolicyTableAssociationOutput

func (*PolicyTableAssociation) ToPolicyTableAssociationOutputWithContext added in v5.13.0

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

type PolicyTableAssociationArgs added in v5.13.0

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 added in v5.13.0

func (PolicyTableAssociationArgs) ElementType() reflect.Type

type PolicyTableAssociationArray added in v5.13.0

type PolicyTableAssociationArray []PolicyTableAssociationInput

func (PolicyTableAssociationArray) ElementType added in v5.13.0

func (PolicyTableAssociationArray) ToPolicyTableAssociationArrayOutput added in v5.13.0

func (i PolicyTableAssociationArray) ToPolicyTableAssociationArrayOutput() PolicyTableAssociationArrayOutput

func (PolicyTableAssociationArray) ToPolicyTableAssociationArrayOutputWithContext added in v5.13.0

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

type PolicyTableAssociationArrayInput added in v5.13.0

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 added in v5.13.0

type PolicyTableAssociationArrayOutput struct{ *pulumi.OutputState }

func (PolicyTableAssociationArrayOutput) ElementType added in v5.13.0

func (PolicyTableAssociationArrayOutput) Index added in v5.13.0

func (PolicyTableAssociationArrayOutput) ToPolicyTableAssociationArrayOutput added in v5.13.0

func (o PolicyTableAssociationArrayOutput) ToPolicyTableAssociationArrayOutput() PolicyTableAssociationArrayOutput

func (PolicyTableAssociationArrayOutput) ToPolicyTableAssociationArrayOutputWithContext added in v5.13.0

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

type PolicyTableAssociationInput added in v5.13.0

type PolicyTableAssociationInput interface {
	pulumi.Input

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

type PolicyTableAssociationMap added in v5.13.0

type PolicyTableAssociationMap map[string]PolicyTableAssociationInput

func (PolicyTableAssociationMap) ElementType added in v5.13.0

func (PolicyTableAssociationMap) ElementType() reflect.Type

func (PolicyTableAssociationMap) ToPolicyTableAssociationMapOutput added in v5.13.0

func (i PolicyTableAssociationMap) ToPolicyTableAssociationMapOutput() PolicyTableAssociationMapOutput

func (PolicyTableAssociationMap) ToPolicyTableAssociationMapOutputWithContext added in v5.13.0

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

type PolicyTableAssociationMapInput added in v5.13.0

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 added in v5.13.0

type PolicyTableAssociationMapOutput struct{ *pulumi.OutputState }

func (PolicyTableAssociationMapOutput) ElementType added in v5.13.0

func (PolicyTableAssociationMapOutput) MapIndex added in v5.13.0

func (PolicyTableAssociationMapOutput) ToPolicyTableAssociationMapOutput added in v5.13.0

func (o PolicyTableAssociationMapOutput) ToPolicyTableAssociationMapOutput() PolicyTableAssociationMapOutput

func (PolicyTableAssociationMapOutput) ToPolicyTableAssociationMapOutputWithContext added in v5.13.0

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

type PolicyTableAssociationOutput added in v5.13.0

type PolicyTableAssociationOutput struct{ *pulumi.OutputState }

func (PolicyTableAssociationOutput) ElementType added in v5.13.0

func (PolicyTableAssociationOutput) ResourceId added in v5.13.0

Identifier of the resource

func (PolicyTableAssociationOutput) ResourceType added in v5.13.0

Type of the resource

func (PolicyTableAssociationOutput) ToPolicyTableAssociationOutput added in v5.13.0

func (o PolicyTableAssociationOutput) ToPolicyTableAssociationOutput() PolicyTableAssociationOutput

func (PolicyTableAssociationOutput) ToPolicyTableAssociationOutputWithContext added in v5.13.0

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

func (PolicyTableAssociationOutput) TransitGatewayAttachmentId added in v5.13.0

func (o PolicyTableAssociationOutput) TransitGatewayAttachmentId() pulumi.StringOutput

Identifier of EC2 Transit Gateway Attachment.

func (PolicyTableAssociationOutput) TransitGatewayPolicyTableId added in v5.13.0

func (o PolicyTableAssociationOutput) TransitGatewayPolicyTableId() pulumi.StringOutput

Identifier of EC2 Transit Gateway Policy Table.

type PolicyTableAssociationState added in v5.13.0

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 added in v5.13.0

type PolicyTableInput added in v5.13.0

type PolicyTableInput interface {
	pulumi.Input

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

type PolicyTableMap added in v5.13.0

type PolicyTableMap map[string]PolicyTableInput

func (PolicyTableMap) ElementType added in v5.13.0

func (PolicyTableMap) ElementType() reflect.Type

func (PolicyTableMap) ToPolicyTableMapOutput added in v5.13.0

func (i PolicyTableMap) ToPolicyTableMapOutput() PolicyTableMapOutput

func (PolicyTableMap) ToPolicyTableMapOutputWithContext added in v5.13.0

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

type PolicyTableMapInput added in v5.13.0

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 added in v5.13.0

type PolicyTableMapOutput struct{ *pulumi.OutputState }

func (PolicyTableMapOutput) ElementType added in v5.13.0

func (PolicyTableMapOutput) ElementType() reflect.Type

func (PolicyTableMapOutput) MapIndex added in v5.13.0

func (PolicyTableMapOutput) ToPolicyTableMapOutput added in v5.13.0

func (o PolicyTableMapOutput) ToPolicyTableMapOutput() PolicyTableMapOutput

func (PolicyTableMapOutput) ToPolicyTableMapOutputWithContext added in v5.13.0

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

type PolicyTableOutput added in v5.13.0

type PolicyTableOutput struct{ *pulumi.OutputState }

func (PolicyTableOutput) Arn added in v5.13.0

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

func (PolicyTableOutput) ElementType added in v5.13.0

func (PolicyTableOutput) ElementType() reflect.Type

func (PolicyTableOutput) State added in v5.13.0

The state of the EC2 Transit Gateway Policy Table.

func (PolicyTableOutput) Tags added in v5.13.0

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 added in v5.13.0

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

func (PolicyTableOutput) ToPolicyTableOutput added in v5.13.0

func (o PolicyTableOutput) ToPolicyTableOutput() PolicyTableOutput

func (PolicyTableOutput) ToPolicyTableOutputWithContext added in v5.13.0

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

func (PolicyTableOutput) TransitGatewayId added in v5.13.0

func (o PolicyTableOutput) TransitGatewayId() pulumi.StringOutput

EC2 Transit Gateway identifier.

type PolicyTableState added in v5.13.0

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.
	TagsAll pulumi.StringMapInput
	// EC2 Transit Gateway identifier.
	TransitGatewayId pulumi.StringPtrInput
}

func (PolicyTableState) ElementType added in v5.13.0

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/v5/go/aws/ec2transitgateway"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

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

``` ### Blackhole Routing

```go package main

import (

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

)

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

```

## Import

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

```sh

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

```

func GetPrefixListReference

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

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

func NewPrefixListReference

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

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

func (*PrefixListReference) ElementType

func (*PrefixListReference) ElementType() reflect.Type

func (*PrefixListReference) ToPrefixListReferenceOutput

func (i *PrefixListReference) ToPrefixListReferenceOutput() PrefixListReferenceOutput

func (*PrefixListReference) ToPrefixListReferenceOutputWithContext

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

type PrefixListReferenceArgs

type PrefixListReferenceArgs struct {
	// Indicates whether to drop traffic that matches the Prefix List. Defaults to `false`.
	Blackhole pulumi.BoolPtrInput
	// Identifier of EC2 Prefix List.
	PrefixListId pulumi.StringInput
	// Identifier of EC2 Transit Gateway Attachment.
	TransitGatewayAttachmentId pulumi.StringPtrInput
	// Identifier of EC2 Transit Gateway Route Table.
	//
	// 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 added in v5.4.0

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

func (PrefixListReferenceOutput) ElementType

func (PrefixListReferenceOutput) ElementType() reflect.Type

func (PrefixListReferenceOutput) PrefixListId added in v5.4.0

Identifier of EC2 Prefix List.

func (PrefixListReferenceOutput) PrefixListOwnerId added in v5.4.0

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 added in v5.4.0

func (o PrefixListReferenceOutput) TransitGatewayAttachmentId() pulumi.StringPtrOutput

Identifier of EC2 Transit Gateway Attachment.

func (PrefixListReferenceOutput) TransitGatewayRouteTableId added in v5.4.0

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/v5/go/aws/ec2transitgateway"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

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

``` ### Blackhole route

```go package main

import (

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

)

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

```

## Import

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

```sh

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

```

func GetRoute

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

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

func NewRoute

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

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

func (*Route) ElementType

func (*Route) ElementType() reflect.Type

func (*Route) ToRouteOutput

func (i *Route) ToRouteOutput() RouteOutput

func (*Route) ToRouteOutputWithContext

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

type RouteArgs

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

The set of arguments for constructing a Route resource.

func (RouteArgs) ElementType

func (RouteArgs) ElementType() reflect.Type

type RouteArray

type RouteArray []RouteInput

func (RouteArray) ElementType

func (RouteArray) ElementType() reflect.Type

func (RouteArray) ToRouteArrayOutput

func (i RouteArray) ToRouteArrayOutput() RouteArrayOutput

func (RouteArray) ToRouteArrayOutputWithContext

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

type RouteArrayInput

type RouteArrayInput interface {
	pulumi.Input

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

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

RouteArray{ RouteArgs{...} }

type RouteArrayOutput

type RouteArrayOutput struct{ *pulumi.OutputState }

func (RouteArrayOutput) ElementType

func (RouteArrayOutput) ElementType() reflect.Type

func (RouteArrayOutput) Index

func (RouteArrayOutput) ToRouteArrayOutput

func (o RouteArrayOutput) ToRouteArrayOutput() RouteArrayOutput

func (RouteArrayOutput) ToRouteArrayOutputWithContext

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

type RouteInput

type RouteInput interface {
	pulumi.Input

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

type RouteMap

type RouteMap map[string]RouteInput

func (RouteMap) ElementType

func (RouteMap) ElementType() reflect.Type

func (RouteMap) ToRouteMapOutput

func (i RouteMap) ToRouteMapOutput() RouteMapOutput

func (RouteMap) ToRouteMapOutputWithContext

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

type RouteMapInput

type RouteMapInput interface {
	pulumi.Input

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

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

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

type RouteMapOutput

type RouteMapOutput struct{ *pulumi.OutputState }

func (RouteMapOutput) ElementType

func (RouteMapOutput) ElementType() reflect.Type

func (RouteMapOutput) MapIndex

func (RouteMapOutput) ToRouteMapOutput

func (o RouteMapOutput) ToRouteMapOutput() RouteMapOutput

func (RouteMapOutput) ToRouteMapOutputWithContext

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

type RouteOutput

type RouteOutput struct{ *pulumi.OutputState }

func (RouteOutput) Blackhole added in v5.4.0

func (o RouteOutput) Blackhole() pulumi.BoolPtrOutput

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

func (RouteOutput) DestinationCidrBlock added in v5.4.0

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 added in v5.4.0

func (o RouteOutput) TransitGatewayAttachmentId() pulumi.StringPtrOutput

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

func (RouteOutput) TransitGatewayRouteTableId added in v5.4.0

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.
	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/v5/go/aws/ec2transitgateway"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

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

```

## Import

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

```sh

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

```

func GetRouteTable

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

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

func NewRouteTable

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

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

func (*RouteTable) ElementType

func (*RouteTable) ElementType() reflect.Type

func (*RouteTable) ToRouteTableOutput

func (i *RouteTable) ToRouteTableOutput() RouteTableOutput

func (*RouteTable) ToRouteTableOutputWithContext

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

type RouteTableArgs

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

The set of arguments for constructing a RouteTable resource.

func (RouteTableArgs) ElementType

func (RouteTableArgs) ElementType() reflect.Type

type RouteTableArray

type RouteTableArray []RouteTableInput

func (RouteTableArray) ElementType

func (RouteTableArray) ElementType() reflect.Type

func (RouteTableArray) ToRouteTableArrayOutput

func (i RouteTableArray) ToRouteTableArrayOutput() RouteTableArrayOutput

func (RouteTableArray) ToRouteTableArrayOutputWithContext

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

type RouteTableArrayInput

type RouteTableArrayInput interface {
	pulumi.Input

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

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

RouteTableArray{ RouteTableArgs{...} }

type RouteTableArrayOutput

type RouteTableArrayOutput struct{ *pulumi.OutputState }

func (RouteTableArrayOutput) ElementType

func (RouteTableArrayOutput) ElementType() reflect.Type

func (RouteTableArrayOutput) Index

func (RouteTableArrayOutput) ToRouteTableArrayOutput

func (o RouteTableArrayOutput) ToRouteTableArrayOutput() RouteTableArrayOutput

func (RouteTableArrayOutput) ToRouteTableArrayOutputWithContext

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

type RouteTableAssociation

type RouteTableAssociation struct {
	pulumi.CustomResourceState

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

Manages an EC2 Transit Gateway Route Table association.

## Example Usage

```go package main

import (

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

)

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

```

## Import

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

```sh

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

```

func GetRouteTableAssociation

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

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

func NewRouteTableAssociation

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

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

func (*RouteTableAssociation) ElementType

func (*RouteTableAssociation) ElementType() reflect.Type

func (*RouteTableAssociation) ToRouteTableAssociationOutput

func (i *RouteTableAssociation) ToRouteTableAssociationOutput() RouteTableAssociationOutput

func (*RouteTableAssociation) ToRouteTableAssociationOutputWithContext

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

type RouteTableAssociationArgs

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

The set of arguments for constructing a RouteTableAssociation resource.

func (RouteTableAssociationArgs) ElementType

func (RouteTableAssociationArgs) ElementType() reflect.Type

type RouteTableAssociationArray

type RouteTableAssociationArray []RouteTableAssociationInput

func (RouteTableAssociationArray) ElementType

func (RouteTableAssociationArray) ElementType() reflect.Type

func (RouteTableAssociationArray) ToRouteTableAssociationArrayOutput

func (i RouteTableAssociationArray) ToRouteTableAssociationArrayOutput() RouteTableAssociationArrayOutput

func (RouteTableAssociationArray) ToRouteTableAssociationArrayOutputWithContext

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

type RouteTableAssociationArrayInput

type RouteTableAssociationArrayInput interface {
	pulumi.Input

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

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

RouteTableAssociationArray{ RouteTableAssociationArgs{...} }

type RouteTableAssociationArrayOutput

type RouteTableAssociationArrayOutput struct{ *pulumi.OutputState }

func (RouteTableAssociationArrayOutput) ElementType

func (RouteTableAssociationArrayOutput) Index

func (RouteTableAssociationArrayOutput) ToRouteTableAssociationArrayOutput

func (o RouteTableAssociationArrayOutput) ToRouteTableAssociationArrayOutput() RouteTableAssociationArrayOutput

func (RouteTableAssociationArrayOutput) ToRouteTableAssociationArrayOutputWithContext

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

type RouteTableAssociationInput

type RouteTableAssociationInput interface {
	pulumi.Input

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

type RouteTableAssociationMap

type RouteTableAssociationMap map[string]RouteTableAssociationInput

func (RouteTableAssociationMap) ElementType

func (RouteTableAssociationMap) ElementType() reflect.Type

func (RouteTableAssociationMap) ToRouteTableAssociationMapOutput

func (i RouteTableAssociationMap) ToRouteTableAssociationMapOutput() RouteTableAssociationMapOutput

func (RouteTableAssociationMap) ToRouteTableAssociationMapOutputWithContext

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

type RouteTableAssociationMapInput

type RouteTableAssociationMapInput interface {
	pulumi.Input

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

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

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

type RouteTableAssociationMapOutput

type RouteTableAssociationMapOutput struct{ *pulumi.OutputState }

func (RouteTableAssociationMapOutput) ElementType

func (RouteTableAssociationMapOutput) MapIndex

func (RouteTableAssociationMapOutput) ToRouteTableAssociationMapOutput

func (o RouteTableAssociationMapOutput) ToRouteTableAssociationMapOutput() RouteTableAssociationMapOutput

func (RouteTableAssociationMapOutput) ToRouteTableAssociationMapOutputWithContext

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

type RouteTableAssociationOutput

type RouteTableAssociationOutput struct{ *pulumi.OutputState }

func (RouteTableAssociationOutput) ElementType

func (RouteTableAssociationOutput) ResourceId added in v5.4.0

Identifier of the resource

func (RouteTableAssociationOutput) ResourceType added in v5.4.0

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 added in v5.4.0

func (o RouteTableAssociationOutput) TransitGatewayAttachmentId() pulumi.StringOutput

Identifier of EC2 Transit Gateway Attachment.

func (RouteTableAssociationOutput) TransitGatewayRouteTableId added in v5.4.0

func (o RouteTableAssociationOutput) TransitGatewayRouteTableId() pulumi.StringOutput

Identifier of EC2 Transit Gateway Route Table.

type RouteTableAssociationState

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

func (RouteTableAssociationState) ElementType

func (RouteTableAssociationState) ElementType() reflect.Type

type RouteTableInput

type RouteTableInput interface {
	pulumi.Input

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

type RouteTableMap

type RouteTableMap map[string]RouteTableInput

func (RouteTableMap) ElementType

func (RouteTableMap) ElementType() reflect.Type

func (RouteTableMap) ToRouteTableMapOutput

func (i RouteTableMap) ToRouteTableMapOutput() RouteTableMapOutput

func (RouteTableMap) ToRouteTableMapOutputWithContext

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

type RouteTableMapInput

type RouteTableMapInput interface {
	pulumi.Input

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

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

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

type RouteTableMapOutput

type RouteTableMapOutput struct{ *pulumi.OutputState }

func (RouteTableMapOutput) ElementType

func (RouteTableMapOutput) ElementType() reflect.Type

func (RouteTableMapOutput) MapIndex

func (RouteTableMapOutput) ToRouteTableMapOutput

func (o RouteTableMapOutput) ToRouteTableMapOutput() RouteTableMapOutput

func (RouteTableMapOutput) ToRouteTableMapOutputWithContext

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

type RouteTableOutput

type RouteTableOutput struct{ *pulumi.OutputState }

func (RouteTableOutput) Arn added in v5.4.0

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

func (RouteTableOutput) DefaultAssociationRouteTable added in v5.4.0

func (o RouteTableOutput) DefaultAssociationRouteTable() pulumi.BoolOutput

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

func (RouteTableOutput) DefaultPropagationRouteTable added in v5.4.0

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 added in v5.4.0

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 added in v5.4.0

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

func (RouteTableOutput) ToRouteTableOutput

func (o RouteTableOutput) ToRouteTableOutput() RouteTableOutput

func (RouteTableOutput) ToRouteTableOutputWithContext

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

func (RouteTableOutput) TransitGatewayId added in v5.4.0

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/v5/go/aws/ec2transitgateway"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

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

```

## Import

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

```sh

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

```

func GetRouteTablePropagation

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

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

func NewRouteTablePropagation

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

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

func (*RouteTablePropagation) ElementType

func (*RouteTablePropagation) ElementType() reflect.Type

func (*RouteTablePropagation) ToRouteTablePropagationOutput

func (i *RouteTablePropagation) ToRouteTablePropagationOutput() RouteTablePropagationOutput

func (*RouteTablePropagation) ToRouteTablePropagationOutputWithContext

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

type RouteTablePropagationArgs

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

The set of arguments for constructing a RouteTablePropagation resource.

func (RouteTablePropagationArgs) ElementType

func (RouteTablePropagationArgs) ElementType() reflect.Type

type RouteTablePropagationArray

type RouteTablePropagationArray []RouteTablePropagationInput

func (RouteTablePropagationArray) ElementType

func (RouteTablePropagationArray) ElementType() reflect.Type

func (RouteTablePropagationArray) ToRouteTablePropagationArrayOutput

func (i RouteTablePropagationArray) ToRouteTablePropagationArrayOutput() RouteTablePropagationArrayOutput

func (RouteTablePropagationArray) ToRouteTablePropagationArrayOutputWithContext

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

type RouteTablePropagationArrayInput

type RouteTablePropagationArrayInput interface {
	pulumi.Input

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

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

RouteTablePropagationArray{ RouteTablePropagationArgs{...} }

type RouteTablePropagationArrayOutput

type RouteTablePropagationArrayOutput struct{ *pulumi.OutputState }

func (RouteTablePropagationArrayOutput) ElementType

func (RouteTablePropagationArrayOutput) Index

func (RouteTablePropagationArrayOutput) ToRouteTablePropagationArrayOutput

func (o RouteTablePropagationArrayOutput) ToRouteTablePropagationArrayOutput() RouteTablePropagationArrayOutput

func (RouteTablePropagationArrayOutput) ToRouteTablePropagationArrayOutputWithContext

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

type RouteTablePropagationInput

type RouteTablePropagationInput interface {
	pulumi.Input

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

type RouteTablePropagationMap

type RouteTablePropagationMap map[string]RouteTablePropagationInput

func (RouteTablePropagationMap) ElementType

func (RouteTablePropagationMap) ElementType() reflect.Type

func (RouteTablePropagationMap) ToRouteTablePropagationMapOutput

func (i RouteTablePropagationMap) ToRouteTablePropagationMapOutput() RouteTablePropagationMapOutput

func (RouteTablePropagationMap) ToRouteTablePropagationMapOutputWithContext

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

type RouteTablePropagationMapInput

type RouteTablePropagationMapInput interface {
	pulumi.Input

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

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

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

type RouteTablePropagationMapOutput

type RouteTablePropagationMapOutput struct{ *pulumi.OutputState }

func (RouteTablePropagationMapOutput) ElementType

func (RouteTablePropagationMapOutput) MapIndex

func (RouteTablePropagationMapOutput) ToRouteTablePropagationMapOutput

func (o RouteTablePropagationMapOutput) ToRouteTablePropagationMapOutput() RouteTablePropagationMapOutput

func (RouteTablePropagationMapOutput) ToRouteTablePropagationMapOutputWithContext

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

type RouteTablePropagationOutput

type RouteTablePropagationOutput struct{ *pulumi.OutputState }

func (RouteTablePropagationOutput) ElementType

func (RouteTablePropagationOutput) ResourceId added in v5.4.0

Identifier of the resource

func (RouteTablePropagationOutput) ResourceType added in v5.4.0

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 added in v5.4.0

func (o RouteTablePropagationOutput) TransitGatewayAttachmentId() pulumi.StringOutput

Identifier of EC2 Transit Gateway Attachment.

func (RouteTablePropagationOutput) TransitGatewayRouteTableId added in v5.4.0

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.
	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.
	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/v5/go/aws/ec2transitgateway"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

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

```

## Import

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

```sh

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

```

func GetTransitGateway

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

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

func NewTransitGateway

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

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

func (*TransitGateway) ElementType

func (*TransitGateway) ElementType() reflect.Type

func (*TransitGateway) ToTransitGatewayOutput

func (i *TransitGateway) ToTransitGatewayOutput() TransitGatewayOutput

func (*TransitGateway) ToTransitGatewayOutputWithContext

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

type TransitGatewayArgs

type TransitGatewayArgs struct {
	// Private Autonomous System Number (ASN) for the Amazon side of a BGP session. The range is `64512` to `65534` for 16-bit ASNs and `4200000000` to `4294967294` for 32-bit ASNs. Default value: `64512`.
	//
	// > **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 added in v5.4.0

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 added in v5.4.0

EC2 Transit Gateway Amazon Resource Name (ARN)

func (TransitGatewayOutput) AssociationDefaultRouteTableId added in v5.4.0

func (o TransitGatewayOutput) AssociationDefaultRouteTableId() pulumi.StringOutput

Identifier of the default association route table

func (TransitGatewayOutput) AutoAcceptSharedAttachments added in v5.4.0

func (o TransitGatewayOutput) AutoAcceptSharedAttachments() pulumi.StringPtrOutput

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

func (TransitGatewayOutput) DefaultRouteTableAssociation added in v5.4.0

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 added in v5.4.0

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 added in v5.4.0

Description of the EC2 Transit Gateway.

func (TransitGatewayOutput) DnsSupport added in v5.4.0

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

func (TransitGatewayOutput) ElementType

func (TransitGatewayOutput) ElementType() reflect.Type

func (TransitGatewayOutput) MulticastSupport added in v5.4.0

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 added in v5.4.0

Identifier of the AWS account that owns the EC2 Transit Gateway

func (TransitGatewayOutput) PropagationDefaultRouteTableId added in v5.4.0

func (o TransitGatewayOutput) PropagationDefaultRouteTableId() pulumi.StringOutput

Identifier of the default propagation route table

func (TransitGatewayOutput) Tags added in v5.4.0

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 added in v5.4.0

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

func (TransitGatewayOutput) ToTransitGatewayOutput

func (o TransitGatewayOutput) ToTransitGatewayOutput() TransitGatewayOutput

func (TransitGatewayOutput) ToTransitGatewayOutputWithContext

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

func (TransitGatewayOutput) TransitGatewayCidrBlocks added in v5.4.0

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 added in v5.4.0

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.
	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.
	TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"`
	// Boolean whether the VPC Attachment should be associated with the EC2 Transit Gateway association default route table. This cannot be configured or perform drift detection with Resource Access Manager shared EC2 Transit Gateways. Default value: `true`.
	TransitGatewayDefaultRouteTableAssociation pulumi.BoolPtrOutput `pulumi:"transitGatewayDefaultRouteTableAssociation"`
	// Boolean whether the VPC Attachment should propagate routes with the EC2 Transit Gateway propagation default route table. This cannot be configured or perform drift detection with Resource Access Manager shared EC2 Transit Gateways. Default value: `true`.
	TransitGatewayDefaultRouteTablePropagation pulumi.BoolPtrOutput `pulumi:"transitGatewayDefaultRouteTablePropagation"`
	// Identifier of EC2 Transit Gateway.
	TransitGatewayId pulumi.StringOutput `pulumi:"transitGatewayId"`
	// Identifier of EC2 VPC.
	VpcId pulumi.StringOutput `pulumi:"vpcId"`
	// Identifier of the AWS account that owns the EC2 VPC.
	VpcOwnerId pulumi.StringOutput `pulumi:"vpcOwnerId"`
}

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

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v5/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{
				aws_subnet.Example.Id,
			},
			TransitGatewayId: pulumi.Any(aws_ec2_transit_gateway.Example.Id),
			VpcId:            pulumi.Any(aws_vpc.Example.Id),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

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

```sh

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

```

func GetVpcAttachment

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

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

func NewVpcAttachment

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

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

func (*VpcAttachment) ElementType

func (*VpcAttachment) ElementType() reflect.Type

func (*VpcAttachment) ToVpcAttachmentOutput

func (i *VpcAttachment) ToVpcAttachmentOutput() VpcAttachmentOutput

func (*VpcAttachment) ToVpcAttachmentOutputWithContext

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

type VpcAttachmentAccepter

type VpcAttachmentAccepter struct {
	pulumi.CustomResourceState

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

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

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

## Example Usage

```go package main

import (

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

)

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

```

## Import

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

```sh

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

```

func GetVpcAttachmentAccepter

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

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

func NewVpcAttachmentAccepter

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

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

func (*VpcAttachmentAccepter) ElementType

func (*VpcAttachmentAccepter) ElementType() reflect.Type

func (*VpcAttachmentAccepter) ToVpcAttachmentAccepterOutput

func (i *VpcAttachmentAccepter) ToVpcAttachmentAccepterOutput() VpcAttachmentAccepterOutput

func (*VpcAttachmentAccepter) ToVpcAttachmentAccepterOutputWithContext

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

type VpcAttachmentAccepterArgs

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

The set of arguments for constructing a VpcAttachmentAccepter resource.

func (VpcAttachmentAccepterArgs) ElementType

func (VpcAttachmentAccepterArgs) ElementType() reflect.Type

type VpcAttachmentAccepterArray

type VpcAttachmentAccepterArray []VpcAttachmentAccepterInput

func (VpcAttachmentAccepterArray) ElementType

func (VpcAttachmentAccepterArray) ElementType() reflect.Type

func (VpcAttachmentAccepterArray) ToVpcAttachmentAccepterArrayOutput

func (i VpcAttachmentAccepterArray) ToVpcAttachmentAccepterArrayOutput() VpcAttachmentAccepterArrayOutput

func (VpcAttachmentAccepterArray) ToVpcAttachmentAccepterArrayOutputWithContext

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

type VpcAttachmentAccepterArrayInput

type VpcAttachmentAccepterArrayInput interface {
	pulumi.Input

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

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

VpcAttachmentAccepterArray{ VpcAttachmentAccepterArgs{...} }

type VpcAttachmentAccepterArrayOutput

type VpcAttachmentAccepterArrayOutput struct{ *pulumi.OutputState }

func (VpcAttachmentAccepterArrayOutput) ElementType

func (VpcAttachmentAccepterArrayOutput) Index

func (VpcAttachmentAccepterArrayOutput) ToVpcAttachmentAccepterArrayOutput

func (o VpcAttachmentAccepterArrayOutput) ToVpcAttachmentAccepterArrayOutput() VpcAttachmentAccepterArrayOutput

func (VpcAttachmentAccepterArrayOutput) ToVpcAttachmentAccepterArrayOutputWithContext

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

type VpcAttachmentAccepterInput

type VpcAttachmentAccepterInput interface {
	pulumi.Input

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

type VpcAttachmentAccepterMap

type VpcAttachmentAccepterMap map[string]VpcAttachmentAccepterInput

func (VpcAttachmentAccepterMap) ElementType

func (VpcAttachmentAccepterMap) ElementType() reflect.Type

func (VpcAttachmentAccepterMap) ToVpcAttachmentAccepterMapOutput

func (i VpcAttachmentAccepterMap) ToVpcAttachmentAccepterMapOutput() VpcAttachmentAccepterMapOutput

func (VpcAttachmentAccepterMap) ToVpcAttachmentAccepterMapOutputWithContext

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

type VpcAttachmentAccepterMapInput

type VpcAttachmentAccepterMapInput interface {
	pulumi.Input

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

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

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

type VpcAttachmentAccepterMapOutput

type VpcAttachmentAccepterMapOutput struct{ *pulumi.OutputState }

func (VpcAttachmentAccepterMapOutput) ElementType

func (VpcAttachmentAccepterMapOutput) MapIndex

func (VpcAttachmentAccepterMapOutput) ToVpcAttachmentAccepterMapOutput

func (o VpcAttachmentAccepterMapOutput) ToVpcAttachmentAccepterMapOutput() VpcAttachmentAccepterMapOutput

func (VpcAttachmentAccepterMapOutput) ToVpcAttachmentAccepterMapOutputWithContext

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

type VpcAttachmentAccepterOutput

type VpcAttachmentAccepterOutput struct{ *pulumi.OutputState }

func (VpcAttachmentAccepterOutput) ApplianceModeSupport added in v5.4.0

func (o VpcAttachmentAccepterOutput) ApplianceModeSupport() pulumi.StringOutput

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

func (VpcAttachmentAccepterOutput) DnsSupport added in v5.4.0

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

func (VpcAttachmentAccepterOutput) ElementType

func (VpcAttachmentAccepterOutput) Ipv6Support added in v5.4.0

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

func (VpcAttachmentAccepterOutput) SubnetIds added in v5.4.0

Identifiers of EC2 Subnets.

func (VpcAttachmentAccepterOutput) Tags added in v5.4.0

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 added in v5.4.0

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

func (VpcAttachmentAccepterOutput) ToVpcAttachmentAccepterOutput

func (o VpcAttachmentAccepterOutput) ToVpcAttachmentAccepterOutput() VpcAttachmentAccepterOutput

func (VpcAttachmentAccepterOutput) ToVpcAttachmentAccepterOutputWithContext

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

func (VpcAttachmentAccepterOutput) TransitGatewayAttachmentId added in v5.4.0

func (o VpcAttachmentAccepterOutput) TransitGatewayAttachmentId() pulumi.StringOutput

The ID of the EC2 Transit Gateway Attachment to manage.

func (VpcAttachmentAccepterOutput) TransitGatewayDefaultRouteTableAssociation added in v5.4.0

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 added in v5.4.0

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 added in v5.4.0

func (o VpcAttachmentAccepterOutput) TransitGatewayId() pulumi.StringOutput

Identifier of EC2 Transit Gateway.

func (VpcAttachmentAccepterOutput) VpcId added in v5.4.0

Identifier of EC2 VPC.

func (VpcAttachmentAccepterOutput) VpcOwnerId added in v5.4.0

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.
	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 added in v5.4.0

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 added in v5.4.0

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

func (VpcAttachmentOutput) ElementType

func (VpcAttachmentOutput) ElementType() reflect.Type

func (VpcAttachmentOutput) Ipv6Support added in v5.4.0

func (o VpcAttachmentOutput) Ipv6Support() pulumi.StringPtrOutput

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

func (VpcAttachmentOutput) SubnetIds added in v5.4.0

Identifiers of EC2 Subnets.

func (VpcAttachmentOutput) Tags added in v5.4.0

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 added in v5.4.0

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

func (VpcAttachmentOutput) ToVpcAttachmentOutput

func (o VpcAttachmentOutput) ToVpcAttachmentOutput() VpcAttachmentOutput

func (VpcAttachmentOutput) ToVpcAttachmentOutputWithContext

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

func (VpcAttachmentOutput) TransitGatewayDefaultRouteTableAssociation added in v5.4.0

func (o VpcAttachmentOutput) TransitGatewayDefaultRouteTableAssociation() pulumi.BoolPtrOutput

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 added in v5.4.0

func (o VpcAttachmentOutput) TransitGatewayDefaultRouteTablePropagation() pulumi.BoolPtrOutput

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 added in v5.4.0

func (o VpcAttachmentOutput) TransitGatewayId() pulumi.StringOutput

Identifier of EC2 Transit Gateway.

func (VpcAttachmentOutput) VpcId added in v5.4.0

Identifier of EC2 VPC.

func (VpcAttachmentOutput) VpcOwnerId added in v5.4.0

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