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.
Idawscc.quicksight.vpc_connections

Fields

NameDatatypeDescription
arnstring<p>The Amazon Resource Name (ARN) of the VPC connection.</p>
availability_statusstring
aws_account_idstring
created_timestring<p>The time that the VPC connection was created.</p>
dns_resolversarray
last_updated_timestring<p>The time that the VPC connection was last updated.</p>
namestring
network_interfacesarray<p>A list of network interfaces.</p>
role_arnstring
security_group_idsarray
statusstring
subnet_idsarray
tagsarray
vpc_connection_idstring
vpc_idstring<p>The Amazon EC2 VPC ID associated with the VPC connection.</p>
regionstringAWS region.

For more information, see AWS::QuickSight::VPCConnection.

Methods

NameResourceAccessible byRequired Params
create_resourcevpc_connectionsINSERTregion
delete_resourcevpc_connectionsDELETEIdentifier, region
update_resourcevpc_connectionsUPDATEIdentifier, PatchDocument, region
list_resourcesvpc_connections_list_onlySELECTregion
get_resourcevpc_connectionsSELECTIdentifier, region

SELECT examples

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 awscc.quicksight.vpc_connections
WHERE
region = 'us-east-1' AND
Identifier = '{{ aws_account_id }}|{{ vpc_connection_id }}';

INSERT example

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

/*+ create */
INSERT INTO awscc.quicksight.vpc_connections (
AvailabilityStatus,
AwsAccountId,
DnsResolvers,
Name,
RoleArn,
SecurityGroupIds,
SubnetIds,
Tags,
VPCConnectionId,
region
)
SELECT
'{{ availability_status }}',
'{{ aws_account_id }}',
'{{ dns_resolvers }}',
'{{ name }}',
'{{ role_arn }}',
'{{ security_group_ids }}',
'{{ subnet_ids }}',
'{{ tags }}',
'{{ vpc_connection_id }}',
'{{ region }}';

UPDATE example

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

/*+ update */
UPDATE awscc.quicksight.vpc_connections
SET PatchDocument = string('{{ {
"AvailabilityStatus": availability_status,
"DnsResolvers": dns_resolvers,
"Name": name,
"RoleArn": role_arn,
"SecurityGroupIds": security_group_ids,
"SubnetIds": subnet_ids,
"Tags": tags
} | generate_patch_document }}')
WHERE
region = '{{ region }}' AND
Identifier = '{{ aws_account_id }}|{{ vpc_connection_id }}';

DELETE example

/*+ delete */
DELETE FROM awscc.quicksight.vpc_connections
WHERE
Identifier = '{{ aws_account_id }}|{{ vpc_connection_id }}' AND
region = 'us-east-1';

Permissions

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

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