Skip to content

Delete Service Network

vpclattice_delete_service_network R Documentation

Deletes a service network

Description

Deletes a service network. You can only delete the service network if there is no service or VPC associated with it. If you delete a service network, all resources related to the service network, such as the resource policy, auth policy, and access log subscriptions, are also deleted. For more information, see Delete a service network in the Amazon VPC Lattice User Guide.

Usage

vpclattice_delete_service_network(serviceNetworkIdentifier)

Arguments

serviceNetworkIdentifier

[required] The Amazon Resource Name (ARN) or ID of the service network.

Value

An empty list.

Request syntax

svc$delete_service_network(
  serviceNetworkIdentifier = "string"
)