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
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.
Aws Native. Ec2. Outputs. Options Properties - The options for the transit gateway vpc attachment.
- Subnet
Ids 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.
- List<Pulumi.
Aws Native. Outputs. Tag> - The tags for the attachment.
- Id string
- The ID of the attachment.
- Options
Options
Properties - The options for the transit gateway vpc attachment.
- Subnet
Ids []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.
- Tag
- The tags for the attachment.
- id String
- The ID of the attachment.
- options
Options
Properties - The options for the transit gateway vpc attachment.
- subnet
Ids 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.
- List<Tag>
- The tags for the attachment.
- id string
- The ID of the attachment.
- options
Options
Properties - The options for the transit gateway vpc attachment.
- subnet
Ids 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.
- Tag[]
- The tags for the attachment.
- id str
- The ID of the attachment.
- options
Options
Properties - 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.
- 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.
- subnet
Ids 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.
- List<Property Map>
- The tags for the 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 Native v0.126.0 published on Monday, Sep 30, 2024 by Pulumi