Manage associations for a VPC Lattice resource configuration - Amazon Virtual Private Cloud
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

Manage associations for a VPC Lattice resource configuration

Consumer accounts with which you share a resource configuration with and clients in your account can access the resource configuration either directly using a resource VPC endpoint or through a service-network endpoint. As a result your resource configuration will have endpoint associations and service network associations.

Manage service network associations

Create or delete a service network association.

To manage a service-network association using the console
  1. Open the Amazon VPC console at https://console.amazonaws.cn/vpc/.

  2. In the navigation pane, under PrivateLink and Lattice, choose Resource configurations.

  3. Select the name of the resource configuration to open its details page.

  4. Select Service network associations tab.

  5. Choose Create associations.

  6. Select a service network from VPC Lattice service networks. To create a service network, choose Create a VPC Lattice network.

  7. (Optional) To add a tag, expand Service association tags, choose Add new tag, and enter a tag key and tag value.

  8. Choose Save changes.

  9. To delete an association, select the check box for the association and then choose Actions, Delete. When prompted for confirmation, enter confirm and then choose Delete.

To create a service network association using the Amazon CLI

Use the create-service-network-resource-association command.

To delete a service network association using the Amazon CLI

Use the delete-service-network-resource-association command.

Manage VPC endpoint associations

Manage a VPC endpoint association.

To manage a VPC endpoint association using the console
  1. Open the Amazon VPC console at https://console.amazonaws.cn/vpc/.

  2. In the navigation pane, under PrivateLink and Lattice, choose Resource configurations.

  3. Select the name of the resource configuration to open its details page.

  4. Choose the Endpoint associations tab.

  5. Select the association ID to open its details page. From here, you can modify or delete the association.

  6. To create a new endpoint association, go to PrivateLink and Lattice in the left navigation pane and choose Endpoints.

  7. Choose Create endpoints.

  8. Select the resource configuration to connect to your VPC.

  9. Select the VPC, subnets, and security groups.

  10. (Optional) To tag you VPC endpoint, choose Add new tag, and enter a tag key and tag value.

  11. Choose Create endpoint.

To create a VPC endpoint association using the Amazon CLI

Use the create-vpc-endpoint command.

To delete a VPC endpoint association using the Amazon CLI

Use the delete-vpc-endpoint command.