AWS Native is in preview. AWS Classic is fully supported.
AWS Native v0.109.0 published on Wednesday, Jun 26, 2024 by Pulumi
aws-native.ec2.getTransitGateway
Explore with Pulumi AI
AWS Native is in preview. AWS Classic is fully supported.
AWS Native v0.109.0 published on Wednesday, Jun 26, 2024 by Pulumi
Resource Type definition for AWS::EC2::TransitGateway
Using getTransitGateway
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 getTransitGateway(args: GetTransitGatewayArgs, opts?: InvokeOptions): Promise<GetTransitGatewayResult>
function getTransitGatewayOutput(args: GetTransitGatewayOutputArgs, opts?: InvokeOptions): Output<GetTransitGatewayResult>
def get_transit_gateway(id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetTransitGatewayResult
def get_transit_gateway_output(id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetTransitGatewayResult]
func LookupTransitGateway(ctx *Context, args *LookupTransitGatewayArgs, opts ...InvokeOption) (*LookupTransitGatewayResult, error)
func LookupTransitGatewayOutput(ctx *Context, args *LookupTransitGatewayOutputArgs, opts ...InvokeOption) LookupTransitGatewayResultOutput
> Note: This function is named LookupTransitGateway
in the Go SDK.
public static class GetTransitGateway
{
public static Task<GetTransitGatewayResult> InvokeAsync(GetTransitGatewayArgs args, InvokeOptions? opts = null)
public static Output<GetTransitGatewayResult> Invoke(GetTransitGatewayInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetTransitGatewayResult> getTransitGateway(GetTransitGatewayArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: aws-native:ec2:getTransitGateway
arguments:
# arguments dictionary
The following arguments are supported:
- Id string
- The ID of the transit gateway.
- Id string
- The ID of the transit gateway.
- id String
- The ID of the transit gateway.
- id string
- The ID of the transit gateway.
- id str
- The ID of the transit gateway.
- id String
- The ID of the transit gateway.
getTransitGateway Result
The following output properties are available:
- Association
Default stringRoute Table Id - The ID of the default association route table.
- string
- Enable or disable automatic acceptance of attachment requests. Disabled by default.
- Default
Route stringTable Association - Enable or disable automatic association with the default association route table. Enabled by default.
- Default
Route stringTable Propagation - Enable or disable automatic propagation of routes to the default propagation route table. Enabled by default.
- Description string
- The description of the transit gateway.
- Dns
Support string - Enable or disable DNS support. Enabled by default.
- Id string
- The ID of the transit gateway.
- Propagation
Default stringRoute Table Id - The ID of the default propagation route table.
- List<Pulumi.
Aws Native. Outputs. Tag> - The tags for the transit gateway.
- Transit
Gateway stringArn - Transit
Gateway List<string>Cidr Blocks - The transit gateway CIDR blocks.
- Vpn
Ecmp stringSupport - Enable or disable Equal Cost Multipath Protocol support. Enabled by default.
- Association
Default stringRoute Table Id - The ID of the default association route table.
- string
- Enable or disable automatic acceptance of attachment requests. Disabled by default.
- Default
Route stringTable Association - Enable or disable automatic association with the default association route table. Enabled by default.
- Default
Route stringTable Propagation - Enable or disable automatic propagation of routes to the default propagation route table. Enabled by default.
- Description string
- The description of the transit gateway.
- Dns
Support string - Enable or disable DNS support. Enabled by default.
- Id string
- The ID of the transit gateway.
- Propagation
Default stringRoute Table Id - The ID of the default propagation route table.
- Tag
- The tags for the transit gateway.
- Transit
Gateway stringArn - Transit
Gateway []stringCidr Blocks - The transit gateway CIDR blocks.
- Vpn
Ecmp stringSupport - Enable or disable Equal Cost Multipath Protocol support. Enabled by default.
- association
Default StringRoute Table Id - The ID of the default association route table.
- String
- Enable or disable automatic acceptance of attachment requests. Disabled by default.
- default
Route StringTable Association - Enable or disable automatic association with the default association route table. Enabled by default.
- default
Route StringTable Propagation - Enable or disable automatic propagation of routes to the default propagation route table. Enabled by default.
- description String
- The description of the transit gateway.
- dns
Support String - Enable or disable DNS support. Enabled by default.
- id String
- The ID of the transit gateway.
- propagation
Default StringRoute Table Id - The ID of the default propagation route table.
- List<Tag>
- The tags for the transit gateway.
- transit
Gateway StringArn - transit
Gateway List<String>Cidr Blocks - The transit gateway CIDR blocks.
- vpn
Ecmp StringSupport - Enable or disable Equal Cost Multipath Protocol support. Enabled by default.
- association
Default stringRoute Table Id - The ID of the default association route table.
- string
- Enable or disable automatic acceptance of attachment requests. Disabled by default.
- default
Route stringTable Association - Enable or disable automatic association with the default association route table. Enabled by default.
- default
Route stringTable Propagation - Enable or disable automatic propagation of routes to the default propagation route table. Enabled by default.
- description string
- The description of the transit gateway.
- dns
Support string - Enable or disable DNS support. Enabled by default.
- id string
- The ID of the transit gateway.
- propagation
Default stringRoute Table Id - The ID of the default propagation route table.
- Tag[]
- The tags for the transit gateway.
- transit
Gateway stringArn - transit
Gateway string[]Cidr Blocks - The transit gateway CIDR blocks.
- vpn
Ecmp stringSupport - Enable or disable Equal Cost Multipath Protocol support. Enabled by default.
- association_
default_ strroute_ table_ id - The ID of the default association route table.
- str
- Enable or disable automatic acceptance of attachment requests. Disabled by default.
- default_
route_ strtable_ association - Enable or disable automatic association with the default association route table. Enabled by default.
- default_
route_ strtable_ propagation - Enable or disable automatic propagation of routes to the default propagation route table. Enabled by default.
- description str
- The description of the transit gateway.
- dns_
support str - Enable or disable DNS support. Enabled by default.
- id str
- The ID of the transit gateway.
- propagation_
default_ strroute_ table_ id - The ID of the default propagation route table.
- Sequence[root_Tag]
- The tags for the transit gateway.
- transit_
gateway_ strarn - transit_
gateway_ Sequence[str]cidr_ blocks - The transit gateway CIDR blocks.
- vpn_
ecmp_ strsupport - Enable or disable Equal Cost Multipath Protocol support. Enabled by default.
- association
Default StringRoute Table Id - The ID of the default association route table.
- String
- Enable or disable automatic acceptance of attachment requests. Disabled by default.
- default
Route StringTable Association - Enable or disable automatic association with the default association route table. Enabled by default.
- default
Route StringTable Propagation - Enable or disable automatic propagation of routes to the default propagation route table. Enabled by default.
- description String
- The description of the transit gateway.
- dns
Support String - Enable or disable DNS support. Enabled by default.
- id String
- The ID of the transit gateway.
- propagation
Default StringRoute Table Id - The ID of the default propagation route table.
- List<Property Map>
- The tags for the transit gateway.
- transit
Gateway StringArn - transit
Gateway List<String>Cidr Blocks - The transit gateway CIDR blocks.
- vpn
Ecmp StringSupport - Enable or disable Equal Cost Multipath Protocol support. Enabled by default.
Supporting Types
Tag
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
AWS Native is in preview. AWS Classic is fully supported.
AWS Native v0.109.0 published on Wednesday, Jun 26, 2024 by Pulumi