We recommend new projects start with resources from the AWS provider.
AWS Cloud Control v1.37.0 published on Wednesday, Oct 15, 2025 by Pulumi
aws-native.ec2.getTransitGatewayVpcAttachment
We recommend new projects start with resources from the AWS provider.
AWS Cloud Control v1.37.0 published on Wednesday, Oct 15, 2025 by Pulumi
Resource Type definition for AWS::EC2::TransitGatewayVpcAttachment
Using getTransitGatewayVpcAttachment
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getTransitGatewayVpcAttachment(args: GetTransitGatewayVpcAttachmentArgs, opts?: InvokeOptions): Promise<GetTransitGatewayVpcAttachmentResult>
function getTransitGatewayVpcAttachmentOutput(args: GetTransitGatewayVpcAttachmentOutputArgs, opts?: InvokeOptions): Output<GetTransitGatewayVpcAttachmentResult>def get_transit_gateway_vpc_attachment(id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetTransitGatewayVpcAttachmentResult
def get_transit_gateway_vpc_attachment_output(id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetTransitGatewayVpcAttachmentResult]func LookupTransitGatewayVpcAttachment(ctx *Context, args *LookupTransitGatewayVpcAttachmentArgs, opts ...InvokeOption) (*LookupTransitGatewayVpcAttachmentResult, error)
func LookupTransitGatewayVpcAttachmentOutput(ctx *Context, args *LookupTransitGatewayVpcAttachmentOutputArgs, opts ...InvokeOption) LookupTransitGatewayVpcAttachmentResultOutput> Note: This function is named LookupTransitGatewayVpcAttachment in the Go SDK.
public static class GetTransitGatewayVpcAttachment
{
public static Task<GetTransitGatewayVpcAttachmentResult> InvokeAsync(GetTransitGatewayVpcAttachmentArgs args, InvokeOptions? opts = null)
public static Output<GetTransitGatewayVpcAttachmentResult> Invoke(GetTransitGatewayVpcAttachmentInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetTransitGatewayVpcAttachmentResult> getTransitGatewayVpcAttachment(GetTransitGatewayVpcAttachmentArgs args, InvokeOptions options)
public static Output<GetTransitGatewayVpcAttachmentResult> getTransitGatewayVpcAttachment(GetTransitGatewayVpcAttachmentArgs args, InvokeOptions options)
fn::invoke:
function: aws-native:ec2:getTransitGatewayVpcAttachment
arguments:
# arguments dictionaryThe following arguments are supported:
- Id string
- The ID of the attachment.
- Id string
- The ID of the attachment.
- id String
- The ID of the attachment.
- id string
- The ID of the attachment.
- id str
- The ID of the attachment.
- id String
- The ID of the attachment.
getTransitGatewayVpcAttachment Result
The following output properties are available:
- Id string
- The ID of the attachment.
- Options
Pulumi.
Aws Native. Ec2. Outputs. Options Properties - The options for the transit gateway vpc attachment.
-
List<Pulumi.
Aws Native. Outputs. Tag> - The tags for the VPC attachment.
- Id string
- The ID of the attachment.
- Options
Options
Properties - The options for the transit gateway vpc attachment.
- Tag
- The tags for the VPC attachment.
- id String
- The ID of the attachment.
- options
Options
Properties - The options for the transit gateway vpc attachment.
- List<Tag>
- The tags for the VPC attachment.
- id string
- The ID of the attachment.
- options
Options
Properties - The options for the transit gateway vpc attachment.
- Tag[]
- The tags for the VPC attachment.
- id str
- The ID of the attachment.
- options
Options
Properties - The options for the transit gateway vpc attachment.
- Sequence[root_Tag]
- The tags for the VPC attachment.
- id String
- The ID of the attachment.
- options Property Map
- The options for the transit gateway vpc attachment.
- List<Property Map>
- The tags for the VPC attachment.
Supporting Types
OptionsProperties
- Appliance
Mode stringSupport - Indicates whether to enable Ipv6 Support for Vpc Attachment. Valid Values: enable | disable
- Dns
Support string - Indicates whether to enable DNS Support for Vpc Attachment. Valid Values: enable | disable
- Ipv6Support string
- Indicates whether to enable Ipv6 Support for Vpc Attachment. Valid Values: enable | disable
- Security
Group stringReferencing Support - Indicates whether to enable Security Group referencing support for Vpc Attachment. Valid values: enable | disable
- Appliance
Mode stringSupport - Indicates whether to enable Ipv6 Support for Vpc Attachment. Valid Values: enable | disable
- Dns
Support string - Indicates whether to enable DNS Support for Vpc Attachment. Valid Values: enable | disable
- Ipv6Support string
- Indicates whether to enable Ipv6 Support for Vpc Attachment. Valid Values: enable | disable
- Security
Group stringReferencing Support - Indicates whether to enable Security Group referencing support for Vpc Attachment. Valid values: enable | disable
- appliance
Mode StringSupport - Indicates whether to enable Ipv6 Support for Vpc Attachment. Valid Values: enable | disable
- dns
Support String - Indicates whether to enable DNS Support for Vpc Attachment. Valid Values: enable | disable
- ipv6Support String
- Indicates whether to enable Ipv6 Support for Vpc Attachment. Valid Values: enable | disable
- security
Group StringReferencing Support - Indicates whether to enable Security Group referencing support for Vpc Attachment. Valid values: enable | disable
- appliance
Mode stringSupport - Indicates whether to enable Ipv6 Support for Vpc Attachment. Valid Values: enable | disable
- dns
Support string - Indicates whether to enable DNS Support for Vpc Attachment. Valid Values: enable | disable
- ipv6Support string
- Indicates whether to enable Ipv6 Support for Vpc Attachment. Valid Values: enable | disable
- security
Group stringReferencing Support - Indicates whether to enable Security Group referencing support for Vpc Attachment. Valid values: enable | disable
- appliance_
mode_ strsupport - Indicates whether to enable Ipv6 Support for Vpc Attachment. Valid Values: enable | disable
- dns_
support str - Indicates whether to enable DNS Support for Vpc Attachment. Valid Values: enable | disable
- ipv6_
support str - Indicates whether to enable Ipv6 Support for Vpc Attachment. Valid Values: enable | disable
- security_
group_ strreferencing_ support - Indicates whether to enable Security Group referencing support for Vpc Attachment. Valid values: enable | disable
- appliance
Mode StringSupport - Indicates whether to enable Ipv6 Support for Vpc Attachment. Valid Values: enable | disable
- dns
Support String - Indicates whether to enable DNS Support for Vpc Attachment. Valid Values: enable | disable
- ipv6Support String
- Indicates whether to enable Ipv6 Support for Vpc Attachment. Valid Values: enable | disable
- security
Group StringReferencing Support - Indicates whether to enable Security Group referencing support for Vpc Attachment. Valid values: enable | disable
Tag
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.
AWS Cloud Control v1.37.0 published on Wednesday, Oct 15, 2025 by Pulumi
