Skip to content

Delete Service

vpclattice_delete_service R Documentation

Deletes a service

Description

Deletes a service. A service can't be deleted if it's associated with a service network. If you delete a service, all resources related to the service, such as the resource policy, auth policy, listeners, listener rules, and access log subscriptions, are also deleted. For more information, see Delete a service in the Amazon VPC Lattice User Guide.

Usage

vpclattice_delete_service(serviceIdentifier)

Arguments

serviceIdentifier

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

Value

A list with the following syntax:

list(
  arn = "string",
  id = "string",
  name = "string",
  status = "ACTIVE"|"CREATE_IN_PROGRESS"|"DELETE_IN_PROGRESS"|"CREATE_FAILED"|"DELETE_FAILED"
)

Request syntax

svc$delete_service(
  serviceIdentifier = "string"
)