We recommend new projects start with resources from the AWS provider.
aws-native.apigateway.VpcLink
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
.
Create VpcLink Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new VpcLink(name: string, args: VpcLinkArgs, opts?: CustomResourceOptions);
@overload
def VpcLink(resource_name: str,
args: VpcLinkArgs,
opts: Optional[ResourceOptions] = None)
@overload
def VpcLink(resource_name: str,
opts: Optional[ResourceOptions] = None,
target_arns: Optional[Sequence[str]] = None,
description: Optional[str] = None,
name: Optional[str] = None,
tags: Optional[Sequence[_root_inputs.TagArgs]] = None)
func NewVpcLink(ctx *Context, name string, args VpcLinkArgs, opts ...ResourceOption) (*VpcLink, error)
public VpcLink(string name, VpcLinkArgs args, CustomResourceOptions? opts = null)
public VpcLink(String name, VpcLinkArgs args)
public VpcLink(String name, VpcLinkArgs args, CustomResourceOptions options)
type: aws-native:apigateway:VpcLink
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args VpcLinkArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args VpcLinkArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args VpcLinkArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args VpcLinkArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args VpcLinkArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
VpcLink Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The VpcLink resource accepts the following input properties:
- Target
Arns List<string> - The ARN of the network load balancer of the VPC targeted by the VPC link. The network load balancer must be owned by the same AWS account of the API owner.
- Description string
- The description of the VPC link.
- Name string
- The name used to label and identify the VPC link.
- List<Pulumi.
Aws Native. Inputs. Tag> - An array of arbitrary tags (key-value pairs) to associate with the VPC link.
- Target
Arns []string - The ARN of the network load balancer of the VPC targeted by the VPC link. The network load balancer must be owned by the same AWS account of the API owner.
- Description string
- The description of the VPC link.
- Name string
- The name used to label and identify the VPC link.
- Tag
Args - An array of arbitrary tags (key-value pairs) to associate with the VPC link.
- target
Arns List<String> - The ARN of the network load balancer of the VPC targeted by the VPC link. The network load balancer must be owned by the same AWS account of the API owner.
- 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.
- target
Arns string[] - The ARN of the network load balancer of the VPC targeted by the VPC link. The network load balancer must be owned by the same AWS account of the API owner.
- 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.
- target_
arns Sequence[str] - The ARN of the network load balancer of the VPC targeted by the VPC link. The network load balancer must be owned by the same AWS account of the API owner.
- description str
- The description of the VPC link.
- name str
- The name used to label and identify the VPC link.
- Sequence[Tag
Args] - An array of arbitrary tags (key-value pairs) to associate with the VPC link.
- target
Arns List<String> - The ARN of the network load balancer of the VPC targeted by the VPC link. The network load balancer must be owned by the same AWS account of the API owner.
- 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.
Outputs
All input properties are implicitly available as output properties. Additionally, the VpcLink resource produces the following output properties:
- id str
- The provider-assigned unique ID for this managed resource.
- vpc_
link_ strid - The ID for the VPC link. For example:
abc123
.
Supporting Types
Tag, TagArgs
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.