Skip to content

Update Service Network Vpc Association

vpclattice_update_service_network_vpc_association R Documentation

Updates the service network and VPC association

Description

Updates the service network and VPC association. If you add a security group to the service network and VPC association, the association must continue to always have at least one security group. You can add or edit security groups at any time. However, to remove all security groups, you must first delete the association and recreate it without security groups.

Usage

vpclattice_update_service_network_vpc_association(securityGroupIds,
  serviceNetworkVpcAssociationIdentifier)

Arguments

securityGroupIds

[required] The IDs of the security groups.

serviceNetworkVpcAssociationIdentifier

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

Value

A list with the following syntax:

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

Request syntax

svc$update_service_network_vpc_association(
  securityGroupIds = list(
    "string"
  ),
  serviceNetworkVpcAssociationIdentifier = "string"
)