Skip to main content

vpc_endpoint_associations

Creates, updates, deletes or gets a vpc_endpoint_association resource or lists vpc_endpoint_associations in a region

Overview

Namevpc_endpoint_associations
TypeResource
DescriptionResource type definition for AWS::NetworkFirewall::VpcEndpointAssociation
Idawscc.networkfirewall.vpc_endpoint_associations

Fields

NameDatatypeDescription
vpc_endpoint_association_arnstringA resource ARN.
vpc_endpoint_association_idstring
descriptionstring
vpc_idstring
endpoint_idstringAn endpoint Id.
subnet_mappingobject
tagsarray
regionstringAWS region.

For more information, see AWS::NetworkFirewall::VpcEndpointAssociation.

Methods

NameAccessible byRequired Params
create_resourceINSERTFirewallArn, VpcId, SubnetMapping, region
delete_resourceDELETEdata__Identifier, region
update_resourceUPDATEdata__Identifier, data__PatchDocument, region
list_resourcesSELECTregion
get_resourceSELECTdata__Identifier, region

SELECT examples

Gets all properties from an individual vpc_endpoint_association.

SELECT
region,
vpc_endpoint_association_arn,
vpc_endpoint_association_id,
description,
firewall_arn,
vpc_id,
endpoint_id,
subnet_mapping,
tags
FROM awscc.networkfirewall.vpc_endpoint_associations
WHERE region = 'us-east-1' AND data__Identifier = '<VpcEndpointAssociationArn>';

INSERT example

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

/*+ create */
INSERT INTO awscc.networkfirewall.vpc_endpoint_associations (
FirewallArn,
VpcId,
SubnetMapping,
region
)
SELECT
'{{ FirewallArn }}',
'{{ VpcId }}',
'{{ SubnetMapping }}',
'{{ region }}';

DELETE example

/*+ delete */
DELETE FROM awscc.networkfirewall.vpc_endpoint_associations
WHERE data__Identifier = '<VpcEndpointAssociationArn>'
AND region = 'us-east-1';

Permissions

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

Create

network-firewall:CreateVpcEndpointAssociation,
network-firewall:DescribeVpcEndpointAssociation,
network-firewall:ListFirewalls,
network-firewall:TagResource,
ec2:CreateVpcEndpoint,
ec2:DescribeVpcEndpoints,
ec2:DescribeSubnets,
ec2:DescribeVpcs,
iam:CreateServiceLinkedRole

Read

network-firewall:DescribeVpcEndpointAssociation,
network-firewall:ListTagsForResource

Update

network-firewall:DescribeVpcEndpointAssociation,
network-firewall:TagResource,
network-firewall:UntagResource

Delete

network-firewall:DeleteVpcEndpointAssociation,
network-firewall:DescribeVpcEndpointAssociation,
network-firewall:UntagResource,
ec2:DeleteVpcEndpoints,
ec2:DescribeRouteTables

List

network-firewall:ListVpcEndpointAssociations