We recommend new projects start with resources from the AWS provider.
aws-native.ec2.getGatewayRouteTableAssociation
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
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:
- Gateway
Id string - The ID of the gateway.
- Gateway
Id string - The ID of the gateway.
- gateway
Id String - The ID of the gateway.
- gateway
Id string - The ID of the gateway.
- gateway_
id str - The ID of the gateway.
- gateway
Id String - The ID of the gateway.
getGatewayRouteTableAssociation Result
The following output properties are available:
- Association
Id string - The route table association ID.
- Route
Table stringId - The ID of the route table.
- Association
Id string - The route table association ID.
- Route
Table stringId - The ID of the route table.
- association
Id String - The route table association ID.
- route
Table StringId - The ID of the route table.
- association
Id string - The route table association ID.
- route
Table stringId - The ID of the route table.
- association_
id str - The route table association ID.
- route_
table_ strid - The ID of the route table.
- association
Id String - The route table association ID.
- route
Table StringId - The ID of the route table.
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.