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

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

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

    Describes an association between a local gateway route table and a VPC.

    Using getLocalGatewayRouteTableVpcAssociation

    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 getLocalGatewayRouteTableVpcAssociation(args: GetLocalGatewayRouteTableVpcAssociationArgs, opts?: InvokeOptions): Promise<GetLocalGatewayRouteTableVpcAssociationResult>
    function getLocalGatewayRouteTableVpcAssociationOutput(args: GetLocalGatewayRouteTableVpcAssociationOutputArgs, opts?: InvokeOptions): Output<GetLocalGatewayRouteTableVpcAssociationResult>
    def get_local_gateway_route_table_vpc_association(local_gateway_route_table_vpc_association_id: Optional[str] = None,
                                                      opts: Optional[InvokeOptions] = None) -> GetLocalGatewayRouteTableVpcAssociationResult
    def get_local_gateway_route_table_vpc_association_output(local_gateway_route_table_vpc_association_id: Optional[pulumi.Input[str]] = None,
                                                      opts: Optional[InvokeOptions] = None) -> Output[GetLocalGatewayRouteTableVpcAssociationResult]
    func LookupLocalGatewayRouteTableVpcAssociation(ctx *Context, args *LookupLocalGatewayRouteTableVpcAssociationArgs, opts ...InvokeOption) (*LookupLocalGatewayRouteTableVpcAssociationResult, error)
    func LookupLocalGatewayRouteTableVpcAssociationOutput(ctx *Context, args *LookupLocalGatewayRouteTableVpcAssociationOutputArgs, opts ...InvokeOption) LookupLocalGatewayRouteTableVpcAssociationResultOutput

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

    public static class GetLocalGatewayRouteTableVpcAssociation 
    {
        public static Task<GetLocalGatewayRouteTableVpcAssociationResult> InvokeAsync(GetLocalGatewayRouteTableVpcAssociationArgs args, InvokeOptions? opts = null)
        public static Output<GetLocalGatewayRouteTableVpcAssociationResult> Invoke(GetLocalGatewayRouteTableVpcAssociationInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetLocalGatewayRouteTableVpcAssociationResult> getLocalGatewayRouteTableVpcAssociation(GetLocalGatewayRouteTableVpcAssociationArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: aws-native:ec2:getLocalGatewayRouteTableVpcAssociation
      arguments:
        # arguments dictionary

    The following arguments are supported:

    LocalGatewayRouteTableVpcAssociationId string
    The ID of the association.
    LocalGatewayRouteTableVpcAssociationId string
    The ID of the association.
    localGatewayRouteTableVpcAssociationId String
    The ID of the association.
    localGatewayRouteTableVpcAssociationId string
    The ID of the association.
    local_gateway_route_table_vpc_association_id str
    The ID of the association.
    localGatewayRouteTableVpcAssociationId String
    The ID of the association.

    getLocalGatewayRouteTableVpcAssociation Result

    The following output properties are available:

    LocalGatewayId string
    The ID of the local gateway.
    LocalGatewayRouteTableVpcAssociationId string
    The ID of the association.
    State string
    The state of the association.
    Tags List<Pulumi.AwsNative.Outputs.Tag>
    The tags for the association.
    LocalGatewayId string
    The ID of the local gateway.
    LocalGatewayRouteTableVpcAssociationId string
    The ID of the association.
    State string
    The state of the association.
    Tags Tag
    The tags for the association.
    localGatewayId String
    The ID of the local gateway.
    localGatewayRouteTableVpcAssociationId String
    The ID of the association.
    state String
    The state of the association.
    tags List<Tag>
    The tags for the association.
    localGatewayId string
    The ID of the local gateway.
    localGatewayRouteTableVpcAssociationId string
    The ID of the association.
    state string
    The state of the association.
    tags Tag[]
    The tags for the association.
    local_gateway_id str
    The ID of the local gateway.
    local_gateway_route_table_vpc_association_id str
    The ID of the association.
    state str
    The state of the association.
    tags Sequence[root_Tag]
    The tags for the association.
    localGatewayId String
    The ID of the local gateway.
    localGatewayRouteTableVpcAssociationId String
    The ID of the association.
    state String
    The state of the association.
    tags List<Property Map>
    The tags for the association.

    Supporting Types

    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