Create Service Network
| vpclattice_create_service_network | R Documentation | 
Creates a service network¶
Description¶
Creates a service network. A service network is a logical boundary for a collection of services. You can associate services and VPCs with a service network.
For more information, see Service networks in the Amazon VPC Lattice User Guide.
Usage¶
vpclattice_create_service_network(authType, clientToken, name,
  sharingConfig, tags)
Arguments¶
authType | 
The type of IAM policy. 
  | 
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.  | 
name | 
[required] The name of the service network. The name must be unique to the account. The valid characters are a-z, 0-9, and hyphens (-). You can't use a hyphen as the first or last character, or immediately after another hyphen.  | 
sharingConfig | 
Specify if the service network should be enabled for sharing.  | 
tags | 
The tags for the service network.  | 
Value¶
A list with the following syntax:
list(
  arn = "string",
  authType = "NONE"|"AWS_IAM",
  id = "string",
  name = "string",
  sharingConfig = list(
    enabled = TRUE|FALSE
  )
)
Request syntax¶
svc$create_service_network(
  authType = "NONE"|"AWS_IAM",
  clientToken = "string",
  name = "string",
  sharingConfig = list(
    enabled = TRUE|FALSE
  ),
  tags = list(
    "string"
  )
)