VpcConnector
Provides an AppRunner VpcConnector.
Examples
exports.createResources = () => [
{
type: "VpcConnector",
group: "AppRunner",
properties: ({}) => ({
VpcConnectorName: "connector",
VpcConnectorRevision: 1,
}),
dependencies: ({}) => ({
subnets: [
"vpc-default::subnet-default-a",
"vpc-default::subnet-default-b",
],
securityGroups: ["sg::vpc-default::default"],
}),
},
];
Source Code Examples
Properties
Dependencies
List
gc list -t AppRunner::VpcConnector
Listing resources on 1 provider: aws
✓ aws us-east-1
✓ Initialising
✓ Listing 1/1
┌──────────────────────────────────────────────────────────────────────────────────┐
│ 1 AppRunner::VpcConnector from aws │
├──────────────────────────────────────────────────────────────────────────────────┤
│ name: connector │
│ managedByUs: Yes │
│ live: │
│ CreatedAt: 2022-11-01T22:49:21.000Z │
│ SecurityGroups: │
│ - "sg-4e82a670" │
│ Status: ACTIVE │
│ Subnets: │
│ - "subnet-b80a4ff5" │
│ - "subnet-df1ea980" │
│ VpcConnectorArn: arn:aws:apprunner:us-east-1:840541460064:vpcconnector/connec… │
│ VpcConnectorName: connector │
│ VpcConnectorRevision: 1 │
│ Tags: │
│ - Key: gc-created-by-provider │
│ Value: aws │
│ - Key: gc-managed-by │
│ Value: grucloud │
│ - Key: gc-project-name │
│ Value: apprunner-leaderboard │
│ - Key: gc-stage │
│ Value: dev │
│ - Key: Name │
│ Value: connector │
│ │
└──────────────────────────────────────────────────────────────────────────────────┘
List Summary:
Provider: aws
┌─────────────────────────────────────────────────────────────────────────────────┐
│ aws │
├─────────────────────────┬───────────────────────────────────────────────────────┤
│ AppRunner::VpcConnector │ connector │
└─────────────────────────┴───────────────────────────────────────────────────────┘
1 resource, 1 type, 1 provider
Command "gc list -t AppRunner::VpcConnector" executed in 4s, 105 MB