Skip to main content

vpc_connections

Creates, updates, deletes or gets a vpc_connection resource or lists vpc_connections in a region

Overview

Namevpc_connections
TypeResource
DescriptionDefinition of the AWS::QuickSight::VPCConnection Resource Type.
Idaws.quicksight.vpc_connections

Fields

NameDatatypeDescription
arnstring

The Amazon Resource Name (ARN) of the VPC connection.

availability_statusstring
aws_account_idstring
created_timestring

The time that the VPC connection was created.

dns_resolversarray
last_updated_timestring

The time that the VPC connection was last updated.

namestring
network_interfacesarray

A list of network interfaces.

role_arnstring
security_group_idsarray
statusstring
subnet_idsarray
tagsarray
vpc_connection_idstring
vpc_idstring

The Amazon EC2 VPC ID associated with the VPC connection.

regionstringAWS region.

Methods

NameAccessible byRequired Params
create_resourceINSERTregion
delete_resourceDELETEdata__Identifier, region
update_resourceUPDATEdata__Identifier, data__PatchDocument, region
list_resourcesSELECTregion
get_resourceSELECTdata__Identifier, region

SELECT examples

Gets all vpc_connections in a region.

SELECT
region,
arn,
availability_status,
aws_account_id,
created_time,
dns_resolvers,
last_updated_time,
name,
network_interfaces,
role_arn,
security_group_ids,
status,
subnet_ids,
tags,
vpc_connection_id,
vpc_id
FROM aws.quicksight.vpc_connections
WHERE region = 'us-east-1';

Gets all properties from an individual vpc_connection.

SELECT
region,
arn,
availability_status,
aws_account_id,
created_time,
dns_resolvers,
last_updated_time,
name,
network_interfaces,
role_arn,
security_group_ids,
status,
subnet_ids,
tags,
vpc_connection_id,
vpc_id
FROM aws.quicksight.vpc_connections
WHERE region = 'us-east-1' AND data__Identifier = '<AwsAccountId>|<VPCConnectionId>';

INSERT example

Use the following StackQL query and manifest file to create a new vpc_connection resource, using stack-deploy.

/*+ create */
INSERT INTO aws.quicksight.vpc_connections (
AvailabilityStatus,
AwsAccountId,
DnsResolvers,
Name,
RoleArn,
SecurityGroupIds,
SubnetIds,
Tags,
VPCConnectionId,
region
)
SELECT
'{{ AvailabilityStatus }}',
'{{ AwsAccountId }}',
'{{ DnsResolvers }}',
'{{ Name }}',
'{{ RoleArn }}',
'{{ SecurityGroupIds }}',
'{{ SubnetIds }}',
'{{ Tags }}',
'{{ VPCConnectionId }}',
'{{ region }}';

DELETE example

/*+ delete */
DELETE FROM aws.quicksight.vpc_connections
WHERE data__Identifier = '<AwsAccountId|VPCConnectionId>'
AND region = 'us-east-1';

Permissions

To operate on the vpc_connections resource, the following permissions are required:

Create

quicksight:CreateVPCConnection,
quicksight:DescribeVPCConnection,
quicksight:ListTagsForResource,
quicksight:TagResource,
iam:PassRole

Read

quicksight:DescribeVPCConnection,
quicksight:ListTagsForResource

Update

quicksight:DescribeVPCConnection,
quicksight:UpdateVPCConnection,
quicksight:TagResource,
quicksight:UntagResource,
quicksight:ListTagsForResource,
iam:PassRole

Delete

quicksight:DescribeVPCConnection,
quicksight:DeleteVPCConnection,
quicksight:ListTagsForResource,
iam:PassRole

List

quicksight:ListVPCConnections