Create Resource Gateway
| vpclattice_create_resource_gateway | R Documentation |
A resource gateway is a point of ingress into the VPC where a resource resides¶
Description¶
A resource gateway is a point of ingress into the VPC where a resource resides. It spans multiple Availability Zones. For your resource to be accessible from all Availability Zones, you should create your resource gateways to span as many Availability Zones as possible. A VPC can have multiple resource gateways.
Usage¶
vpclattice_create_resource_gateway(clientToken, name, vpcIdentifier,
subnetIds, securityGroupIds, ipAddressType, ipv4AddressesPerEni,
resourceConfigDnsResolution, 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. |
name |
[required] The name of the resource gateway. |
vpcIdentifier |
The ID of the VPC for the resource gateway. |
subnetIds |
The IDs of the VPC subnets in which to create 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. |
ipAddressType |
A resource gateway can have IPv4, IPv6 or dualstack addresses. The IP address type of a resource gateway must be compatible with the subnets of the resource gateway and the IP address type of the resource, as described here:
The IP address type of the resource gateway is independent of the IP address type of the client or the VPC endpoint through which the resource is accessed. |
ipv4AddressesPerEni |
The number of IPv4 addresses in each ENI for the resource gateway. |
resourceConfigDnsResolution |
Indicates how DNS is resolved for resource configurations associated to this resource gateway. ResourceConfigDnsResolution is set at creation time and cannot be changed.
|
tags |
The tags for the resource gateway. |
Value¶
A list with the following syntax:
list(
name = "string",
id = "string",
arn = "string",
status = "ACTIVE"|"CREATE_IN_PROGRESS"|"UPDATE_IN_PROGRESS"|"DELETE_IN_PROGRESS"|"CREATE_FAILED"|"UPDATE_FAILED"|"DELETE_FAILED",
vpcIdentifier = "string",
subnetIds = list(
"string"
),
securityGroupIds = list(
"string"
),
ipAddressType = "IPV4"|"IPV6"|"DUALSTACK",
ipv4AddressesPerEni = 123,
resourceConfigDnsResolution = "IN_VPC"|"PUBLIC"
)
Request syntax¶
svc$create_resource_gateway(
clientToken = "string",
name = "string",
vpcIdentifier = "string",
subnetIds = list(
"string"
),
securityGroupIds = list(
"string"
),
ipAddressType = "IPV4"|"IPV6"|"DUALSTACK",
ipv4AddressesPerEni = 123,
resourceConfigDnsResolution = "IN_VPC"|"PUBLIC",
tags = list(
"string"
)
)