Skip to content

Create Service Network Resource Association

vpclattice_create_service_network_resource_association R Documentation

Associates the specified service network with the specified resource configuration

Description

Associates the specified service network with the specified resource configuration. This allows the resource configuration to receive connections through the service network, including through a service network VPC endpoint.

Usage

vpclattice_create_service_network_resource_association(clientToken,
  resourceConfigurationIdentifier, serviceNetworkIdentifier, tags)

Arguments

clientToken

A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you retry a request that completed successfully using the same client token and parameters, the retry succeeds without performing any actions. If the parameters aren't identical, the retry fails.

resourceConfigurationIdentifier

[required] The ID of the resource configuration to associate with the service network.

serviceNetworkIdentifier

[required] The ID of the service network to associate with the resource configuration.

tags

The tags for the association.

Value

A list with the following syntax:

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

Request syntax

svc$create_service_network_resource_association(
  clientToken = "string",
  resourceConfigurationIdentifier = "string",
  serviceNetworkIdentifier = "string",
  tags = list(
    "string"
  )
)