Skip to content

Create Resource Gateway

vpclattice_create_resource_gateway R Documentation

Creates a resource gateway

Description

Creates a resource gateway.

Usage

vpclattice_create_resource_gateway(clientToken, ipAddressType, name,
  securityGroupIds, subnetIds, tags, vpcIdentifier)

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.

ipAddressType

The type of IP address used by the resource gateway.

name

[required] The name of the resource gateway.

securityGroupIds

The IDs of the security groups to apply to the resource gateway. The security groups must be in the same VPC.

subnetIds

[required] The IDs of the VPC subnets in which to create the resource gateway.

tags

The tags for the resource gateway.

vpcIdentifier

[required] The ID of the VPC for the resource gateway.

Value

A list with the following syntax:

list(
  arn = "string",
  id = "string",
  ipAddressType = "IPV4"|"IPV6"|"DUALSTACK",
  name = "string",
  securityGroupIds = list(
    "string"
  ),
  status = "ACTIVE"|"CREATE_IN_PROGRESS"|"UPDATE_IN_PROGRESS"|"DELETE_IN_PROGRESS"|"CREATE_FAILED"|"UPDATE_FAILED"|"DELETE_FAILED",
  subnetIds = list(
    "string"
  ),
  vpcIdentifier = "string"
)

Request syntax

svc$create_resource_gateway(
  clientToken = "string",
  ipAddressType = "IPV4"|"IPV6"|"DUALSTACK",
  name = "string",
  securityGroupIds = list(
    "string"
  ),
  subnetIds = list(
    "string"
  ),
  tags = list(
    "string"
  ),
  vpcIdentifier = "string"
)