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

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

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::TransitGatewayAttachment

    Using getTransitGatewayAttachment

    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 getTransitGatewayAttachment(args: GetTransitGatewayAttachmentArgs, opts?: InvokeOptions): Promise<GetTransitGatewayAttachmentResult>
    function getTransitGatewayAttachmentOutput(args: GetTransitGatewayAttachmentOutputArgs, opts?: InvokeOptions): Output<GetTransitGatewayAttachmentResult>
    def get_transit_gateway_attachment(id: Optional[str] = None,
                                       opts: Optional[InvokeOptions] = None) -> GetTransitGatewayAttachmentResult
    def get_transit_gateway_attachment_output(id: Optional[pulumi.Input[str]] = None,
                                       opts: Optional[InvokeOptions] = None) -> Output[GetTransitGatewayAttachmentResult]
    func LookupTransitGatewayAttachment(ctx *Context, args *LookupTransitGatewayAttachmentArgs, opts ...InvokeOption) (*LookupTransitGatewayAttachmentResult, error)
    func LookupTransitGatewayAttachmentOutput(ctx *Context, args *LookupTransitGatewayAttachmentOutputArgs, opts ...InvokeOption) LookupTransitGatewayAttachmentResultOutput

    > Note: This function is named LookupTransitGatewayAttachment in the Go SDK.

    public static class GetTransitGatewayAttachment 
    {
        public static Task<GetTransitGatewayAttachmentResult> InvokeAsync(GetTransitGatewayAttachmentArgs args, InvokeOptions? opts = null)
        public static Output<GetTransitGatewayAttachmentResult> Invoke(GetTransitGatewayAttachmentInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetTransitGatewayAttachmentResult> getTransitGatewayAttachment(GetTransitGatewayAttachmentArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: aws-native:ec2:getTransitGatewayAttachment
      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.

    getTransitGatewayAttachment 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.
    SubnetIds List<string>
    The IDs of one or more subnets. You can specify only one subnet per Availability Zone. You must specify at least one subnet, but we recommend that you specify two subnets for better availability. The transit gateway uses one IP address from each specified subnet.
    Tags List<Pulumi.AwsNative.Outputs.Tag>
    The tags for the attachment.
    Id string
    The ID of the attachment.
    Options OptionsProperties
    The options for the transit gateway vpc attachment.
    SubnetIds []string
    The IDs of one or more subnets. You can specify only one subnet per Availability Zone. You must specify at least one subnet, but we recommend that you specify two subnets for better availability. The transit gateway uses one IP address from each specified subnet.
    Tags Tag
    The tags for the attachment.
    id String
    The ID of the attachment.
    options OptionsProperties
    The options for the transit gateway vpc attachment.
    subnetIds List<String>
    The IDs of one or more subnets. You can specify only one subnet per Availability Zone. You must specify at least one subnet, but we recommend that you specify two subnets for better availability. The transit gateway uses one IP address from each specified subnet.
    tags List<Tag>
    The tags for the attachment.
    id string
    The ID of the attachment.
    options OptionsProperties
    The options for the transit gateway vpc attachment.
    subnetIds string[]
    The IDs of one or more subnets. You can specify only one subnet per Availability Zone. You must specify at least one subnet, but we recommend that you specify two subnets for better availability. The transit gateway uses one IP address from each specified subnet.
    tags Tag[]
    The tags for the attachment.
    id str
    The ID of the attachment.
    options OptionsProperties
    The options for the transit gateway vpc attachment.
    subnet_ids Sequence[str]
    The IDs of one or more subnets. You can specify only one subnet per Availability Zone. You must specify at least one subnet, but we recommend that you specify two subnets for better availability. The transit gateway uses one IP address from each specified subnet.
    tags Sequence[root_Tag]
    The tags for the attachment.
    id String
    The ID of the attachment.
    options Property Map
    The options for the transit gateway vpc attachment.
    subnetIds List<String>
    The IDs of one or more subnets. You can specify only one subnet per Availability Zone. You must specify at least one subnet, but we recommend that you specify two subnets for better availability. The transit gateway uses one IP address from each specified subnet.
    tags List<Property Map>
    The tags for the 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