We recommend new projects start with resources from the AWS provider.
aws-native.apprunner.VpcConnector
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
The AWS::AppRunner::VpcConnector resource specifies an App Runner VpcConnector.
Create VpcConnector Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new VpcConnector(name: string, args: VpcConnectorArgs, opts?: CustomResourceOptions);
@overload
def VpcConnector(resource_name: str,
args: VpcConnectorArgs,
opts: Optional[ResourceOptions] = None)
@overload
def VpcConnector(resource_name: str,
opts: Optional[ResourceOptions] = None,
subnets: Optional[Sequence[str]] = None,
security_groups: Optional[Sequence[str]] = None,
tags: Optional[Sequence[_root_inputs.CreateOnlyTagArgs]] = None,
vpc_connector_name: Optional[str] = None)
func NewVpcConnector(ctx *Context, name string, args VpcConnectorArgs, opts ...ResourceOption) (*VpcConnector, error)
public VpcConnector(string name, VpcConnectorArgs args, CustomResourceOptions? opts = null)
public VpcConnector(String name, VpcConnectorArgs args)
public VpcConnector(String name, VpcConnectorArgs args, CustomResourceOptions options)
type: aws-native:apprunner:VpcConnector
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 VpcConnectorArgs
- 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 VpcConnectorArgs
- 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 VpcConnectorArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args VpcConnectorArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args VpcConnectorArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
VpcConnector 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 VpcConnector resource accepts the following input properties:
- Subnets List<string>
- A list of IDs of subnets that App Runner should use when it associates your service with a custom Amazon VPC. Specify IDs of subnets of a single Amazon VPC. App Runner determines the Amazon VPC from the subnets you specify.
- Security
Groups List<string> - A list of IDs of security groups that App Runner should use for access to AWS resources under the specified subnets. If not specified, App Runner uses the default security group of the Amazon VPC. The default security group allows all outbound traffic.
- List<Pulumi.
Aws Native. Inputs. Create Only Tag> - A list of metadata items that you can associate with your VPC connector resource. A tag is a key-value pair.
- Vpc
Connector stringName - A name for the VPC connector. If you don't specify a name, AWS CloudFormation generates a name for your VPC connector.
- Subnets []string
- A list of IDs of subnets that App Runner should use when it associates your service with a custom Amazon VPC. Specify IDs of subnets of a single Amazon VPC. App Runner determines the Amazon VPC from the subnets you specify.
- Security
Groups []string - A list of IDs of security groups that App Runner should use for access to AWS resources under the specified subnets. If not specified, App Runner uses the default security group of the Amazon VPC. The default security group allows all outbound traffic.
- Create
Only Tag Args - A list of metadata items that you can associate with your VPC connector resource. A tag is a key-value pair.
- Vpc
Connector stringName - A name for the VPC connector. If you don't specify a name, AWS CloudFormation generates a name for your VPC connector.
- subnets List<String>
- A list of IDs of subnets that App Runner should use when it associates your service with a custom Amazon VPC. Specify IDs of subnets of a single Amazon VPC. App Runner determines the Amazon VPC from the subnets you specify.
- security
Groups List<String> - A list of IDs of security groups that App Runner should use for access to AWS resources under the specified subnets. If not specified, App Runner uses the default security group of the Amazon VPC. The default security group allows all outbound traffic.
- List<Create
Only Tag> - A list of metadata items that you can associate with your VPC connector resource. A tag is a key-value pair.
- vpc
Connector StringName - A name for the VPC connector. If you don't specify a name, AWS CloudFormation generates a name for your VPC connector.
- subnets string[]
- A list of IDs of subnets that App Runner should use when it associates your service with a custom Amazon VPC. Specify IDs of subnets of a single Amazon VPC. App Runner determines the Amazon VPC from the subnets you specify.
- security
Groups string[] - A list of IDs of security groups that App Runner should use for access to AWS resources under the specified subnets. If not specified, App Runner uses the default security group of the Amazon VPC. The default security group allows all outbound traffic.
- Create
Only Tag[] - A list of metadata items that you can associate with your VPC connector resource. A tag is a key-value pair.
- vpc
Connector stringName - A name for the VPC connector. If you don't specify a name, AWS CloudFormation generates a name for your VPC connector.
- subnets Sequence[str]
- A list of IDs of subnets that App Runner should use when it associates your service with a custom Amazon VPC. Specify IDs of subnets of a single Amazon VPC. App Runner determines the Amazon VPC from the subnets you specify.
- security_
groups Sequence[str] - A list of IDs of security groups that App Runner should use for access to AWS resources under the specified subnets. If not specified, App Runner uses the default security group of the Amazon VPC. The default security group allows all outbound traffic.
- Sequence[Create
Only Tag Args] - A list of metadata items that you can associate with your VPC connector resource. A tag is a key-value pair.
- vpc_
connector_ strname - A name for the VPC connector. If you don't specify a name, AWS CloudFormation generates a name for your VPC connector.
- subnets List<String>
- A list of IDs of subnets that App Runner should use when it associates your service with a custom Amazon VPC. Specify IDs of subnets of a single Amazon VPC. App Runner determines the Amazon VPC from the subnets you specify.
- security
Groups List<String> - A list of IDs of security groups that App Runner should use for access to AWS resources under the specified subnets. If not specified, App Runner uses the default security group of the Amazon VPC. The default security group allows all outbound traffic.
- List<Property Map>
- A list of metadata items that you can associate with your VPC connector resource. A tag is a key-value pair.
- vpc
Connector StringName - A name for the VPC connector. If you don't specify a name, AWS CloudFormation generates a name for your VPC connector.
Outputs
All input properties are implicitly available as output properties. Additionally, the VpcConnector resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Vpc
Connector stringArn - The Amazon Resource Name (ARN) of this VPC connector.
- Vpc
Connector intRevision - The revision of this VPC connector. It's unique among all the active connectors ("Status": "ACTIVE") that share the same Name.
- Id string
- The provider-assigned unique ID for this managed resource.
- Vpc
Connector stringArn - The Amazon Resource Name (ARN) of this VPC connector.
- Vpc
Connector intRevision - The revision of this VPC connector. It's unique among all the active connectors ("Status": "ACTIVE") that share the same Name.
- id String
- The provider-assigned unique ID for this managed resource.
- vpc
Connector StringArn - The Amazon Resource Name (ARN) of this VPC connector.
- vpc
Connector IntegerRevision - The revision of this VPC connector. It's unique among all the active connectors ("Status": "ACTIVE") that share the same Name.
- id string
- The provider-assigned unique ID for this managed resource.
- vpc
Connector stringArn - The Amazon Resource Name (ARN) of this VPC connector.
- vpc
Connector numberRevision - The revision of this VPC connector. It's unique among all the active connectors ("Status": "ACTIVE") that share the same Name.
- id str
- The provider-assigned unique ID for this managed resource.
- vpc_
connector_ strarn - The Amazon Resource Name (ARN) of this VPC connector.
- vpc_
connector_ intrevision - The revision of this VPC connector. It's unique among all the active connectors ("Status": "ACTIVE") that share the same Name.
- id String
- The provider-assigned unique ID for this managed resource.
- vpc
Connector StringArn - The Amazon Resource Name (ARN) of this VPC connector.
- vpc
Connector NumberRevision - The revision of this VPC connector. It's unique among all the active connectors ("Status": "ACTIVE") that share the same Name.
Supporting Types
CreateOnlyTag, CreateOnlyTagArgs
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.