We recommend new projects start with resources from the AWS provider.
aws-native.apigateway.getVpcLink
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
The AWS::ApiGateway::VpcLink resource creates an API Gateway VPC link for a REST API to access resources in an Amazon Virtual Private Cloud (VPC). For more information, see vpclink:create in the Amazon API Gateway REST API Reference.
Using getVpcLink
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 getVpcLink(args: GetVpcLinkArgs, opts?: InvokeOptions): Promise<GetVpcLinkResult>
function getVpcLinkOutput(args: GetVpcLinkOutputArgs, opts?: InvokeOptions): Output<GetVpcLinkResult>def get_vpc_link(vpc_link_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetVpcLinkResult
def get_vpc_link_output(vpc_link_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetVpcLinkResult]func LookupVpcLink(ctx *Context, args *LookupVpcLinkArgs, opts ...InvokeOption) (*LookupVpcLinkResult, error)
func LookupVpcLinkOutput(ctx *Context, args *LookupVpcLinkOutputArgs, opts ...InvokeOption) LookupVpcLinkResultOutput> Note: This function is named LookupVpcLink in the Go SDK.
public static class GetVpcLink
{
public static Task<GetVpcLinkResult> InvokeAsync(GetVpcLinkArgs args, InvokeOptions? opts = null)
public static Output<GetVpcLinkResult> Invoke(GetVpcLinkInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetVpcLinkResult> getVpcLink(GetVpcLinkArgs args, InvokeOptions options)
public static Output<GetVpcLinkResult> getVpcLink(GetVpcLinkArgs args, InvokeOptions options)
fn::invoke:
function: aws-native:apigateway:getVpcLink
arguments:
# arguments dictionaryThe following arguments are supported:
- Vpc
Link stringId - The ID for the VPC link. For example:
abc123.
- Vpc
Link stringId - The ID for the VPC link. For example:
abc123.
- vpc
Link StringId - The ID for the VPC link. For example:
abc123.
- vpc
Link stringId - The ID for the VPC link. For example:
abc123.
- vpc_
link_ strid - The ID for the VPC link. For example:
abc123.
- vpc
Link StringId - The ID for the VPC link. For example:
abc123.
getVpcLink Result
The following output properties are available:
- Description string
- The description of the VPC link.
- Name string
- The name used to label and identify the VPC link.
-
List<Pulumi.
Aws Native. Outputs. Tag> - An array of arbitrary tags (key-value pairs) to associate with the VPC link.
- Vpc
Link stringId - The ID for the VPC link. For example:
abc123.
- Description string
- The description of the VPC link.
- Name string
- The name used to label and identify the VPC link.
- Tag
- An array of arbitrary tags (key-value pairs) to associate with the VPC link.
- Vpc
Link stringId - The ID for the VPC link. For example:
abc123.
- description String
- The description of the VPC link.
- name String
- The name used to label and identify the VPC link.
- List<Tag>
- An array of arbitrary tags (key-value pairs) to associate with the VPC link.
- vpc
Link StringId - The ID for the VPC link. For example:
abc123.
- description string
- The description of the VPC link.
- name string
- The name used to label and identify the VPC link.
- Tag[]
- An array of arbitrary tags (key-value pairs) to associate with the VPC link.
- vpc
Link stringId - The ID for the VPC link. For example:
abc123.
- description str
- The description of the VPC link.
- name str
- The name used to label and identify the VPC link.
- Sequence[root_Tag]
- An array of arbitrary tags (key-value pairs) to associate with the VPC link.
- vpc_
link_ strid - The ID for the VPC link. For example:
abc123.
- description String
- The description of the VPC link.
- name String
- The name used to label and identify the VPC link.
- List<Property Map>
- An array of arbitrary tags (key-value pairs) to associate with the VPC link.
- vpc
Link StringId - The ID for the VPC link. For example:
abc123.
Supporting Types
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.