1. Packages
  2. AWS Native
  3. API Docs
  4. ec2
  5. getTransitGatewayVpcAttachment

We recommend new projects start with resources from the AWS provider.

AWS Native v0.126.0 published on Monday, Sep 30, 2024 by Pulumi

aws-native.ec2.getTransitGatewayVpcAttachment

Explore with Pulumi AI

aws-native logo

We recommend new projects start with resources from the AWS provider.

AWS Native v0.126.0 published on Monday, Sep 30, 2024 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)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: aws-native:ec2:getTransitGatewayVpcAttachment
      arguments:
        # arguments dictionary

    The 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.AwsNative.Ec2.Outputs.OptionsProperties
    The options for the transit gateway vpc attachment.
    Tags List<Pulumi.AwsNative.Outputs.Tag>
    The tags for the VPC attachment.
    Id string
    The ID of the attachment.
    Options OptionsProperties
    The options for the transit gateway vpc attachment.
    Tags Tag
    The tags for the VPC attachment.
    id String
    The ID of the attachment.
    options OptionsProperties
    The options for the transit gateway vpc attachment.
    tags List<Tag>
    The tags for the VPC attachment.
    id string
    The ID of the attachment.
    options OptionsProperties
    The options for the transit gateway vpc attachment.
    tags Tag[]
    The tags for the VPC attachment.
    id str
    The ID of the attachment.
    options OptionsProperties
    The options for the transit gateway vpc attachment.
    tags 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.
    tags List<Property Map>
    The tags for the VPC attachment.

    Supporting Types

    OptionsProperties

    ApplianceModeSupport string
    Indicates whether to enable Ipv6 Support for Vpc Attachment. Valid Values: enable | disable
    DnsSupport 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
    SecurityGroupReferencingSupport string
    Indicates whether to enable Security Group referencing support for Vpc Attachment. Valid values: enable | disable
    ApplianceModeSupport string
    Indicates whether to enable Ipv6 Support for Vpc Attachment. Valid Values: enable | disable
    DnsSupport 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
    SecurityGroupReferencingSupport string
    Indicates whether to enable Security Group referencing support for Vpc Attachment. Valid values: enable | disable
    applianceModeSupport String
    Indicates whether to enable Ipv6 Support for Vpc Attachment. Valid Values: enable | disable
    dnsSupport 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
    securityGroupReferencingSupport String
    Indicates whether to enable Security Group referencing support for Vpc Attachment. Valid values: enable | disable
    applianceModeSupport string
    Indicates whether to enable Ipv6 Support for Vpc Attachment. Valid Values: enable | disable
    dnsSupport 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
    securityGroupReferencingSupport string
    Indicates whether to enable Security Group referencing support for Vpc Attachment. Valid values: enable | disable
    appliance_mode_support str
    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_referencing_support str
    Indicates whether to enable Security Group referencing support for Vpc Attachment. Valid values: enable | disable
    applianceModeSupport String
    Indicates whether to enable Ipv6 Support for Vpc Attachment. Valid Values: enable | disable
    dnsSupport 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
    securityGroupReferencingSupport String
    Indicates whether to enable Security Group referencing support for Vpc Attachment. Valid values: enable | disable

    Tag

    Key string
    The key name of the tag
    Value string
    The value of the tag
    Key string
    The key name of the tag
    Value string
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag
    key string
    The key name of the tag
    value string
    The value of the tag
    key str
    The key name of the tag
    value str
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag

    Package Details

    Repository
    AWS Native pulumi/pulumi-aws-native
    License
    Apache-2.0
    aws-native logo

    We recommend new projects start with resources from the AWS provider.

    AWS Native v0.126.0 published on Monday, Sep 30, 2024 by Pulumi