AWS Native

Pulumi Official
Package maintained by Pulumi
v0.19.0 published on Wednesday, Jun 8, 2022 by Pulumi

getGatewayRouteTableAssociation

Associates a gateway with a route table. The gateway and route table must be in the same VPC. This association causes the incoming traffic to the gateway to be routed according to the routes in the route table.

Using getGatewayRouteTableAssociation

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 getGatewayRouteTableAssociation(args: GetGatewayRouteTableAssociationArgs, opts?: InvokeOptions): Promise<GetGatewayRouteTableAssociationResult>
function getGatewayRouteTableAssociationOutput(args: GetGatewayRouteTableAssociationOutputArgs, opts?: InvokeOptions): Output<GetGatewayRouteTableAssociationResult>
def get_gateway_route_table_association(gateway_id: Optional[str] = None,
                                        opts: Optional[InvokeOptions] = None) -> GetGatewayRouteTableAssociationResult
def get_gateway_route_table_association_output(gateway_id: Optional[pulumi.Input[str]] = None,
                                        opts: Optional[InvokeOptions] = None) -> Output[GetGatewayRouteTableAssociationResult]
func LookupGatewayRouteTableAssociation(ctx *Context, args *LookupGatewayRouteTableAssociationArgs, opts ...InvokeOption) (*LookupGatewayRouteTableAssociationResult, error)
func LookupGatewayRouteTableAssociationOutput(ctx *Context, args *LookupGatewayRouteTableAssociationOutputArgs, opts ...InvokeOption) LookupGatewayRouteTableAssociationResultOutput

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

public static class GetGatewayRouteTableAssociation 
{
    public static Task<GetGatewayRouteTableAssociationResult> InvokeAsync(GetGatewayRouteTableAssociationArgs args, InvokeOptions? opts = null)
    public static Output<GetGatewayRouteTableAssociationResult> Invoke(GetGatewayRouteTableAssociationInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetGatewayRouteTableAssociationResult> getGatewayRouteTableAssociation(GetGatewayRouteTableAssociationArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
Fn::Invoke:
  Function: aws-native:ec2:getGatewayRouteTableAssociation
  Arguments:
    # Arguments dictionary

The following arguments are supported:

GatewayId string

The ID of the gateway.

GatewayId string

The ID of the gateway.

gatewayId String

The ID of the gateway.

gatewayId string

The ID of the gateway.

gateway_id str

The ID of the gateway.

gatewayId String

The ID of the gateway.

getGatewayRouteTableAssociation Result

The following output properties are available:

AssociationId string

The route table association ID.

RouteTableId string

The ID of the route table.

AssociationId string

The route table association ID.

RouteTableId string

The ID of the route table.

associationId String

The route table association ID.

routeTableId String

The ID of the route table.

associationId string

The route table association ID.

routeTableId string

The ID of the route table.

association_id str

The route table association ID.

route_table_id str

The ID of the route table.

associationId String

The route table association ID.

routeTableId String

The ID of the route table.

Package Details

Repository
https://github.com/pulumi/pulumi-aws-native
License
Apache-2.0