Skip to main content

responder_gateways

Creates, updates, deletes, gets or lists a responder_gateways resource.

Overview

Nameresponder_gateways
TypeResource
Idaws.rtbfabric.responder_gateways

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
active_links_countintegerThe count of active links for the responder gateway.
created_atstring (date-time)The timestamp of when the responder gateway was created.
descriptionstringThe description of the responder gateway. (pattern: <code>[A-Za-z0-9 ]+</code>)
domain_namestringThe domain name of the responder gateway. (pattern: <code>(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?)(?:.(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?))+</code>)
external_inbound_endpointstringThe external inbound endpoint for the responder gateway. (pattern: <code>(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?)(?:.(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?))+</code>)
gateway_idstringThe unique identifier of the gateway. (pattern: <code>rtb-gw-[a-z0-9-]{1,25}</code>)
gateway_typestringThe type of gateway. (EXTERNAL, INTERNAL)
links_requested_countintegerThe count of requested links waiting for the responder gateway to accept or reject.
listener_configobjectListener configuration for the protocols (HTTP, HTTPS, or both) accepted by the gateway.
managed_endpoint_configurationobjectDescribes the configuration of a managed endpoint.
portintegerThe networking port.
protocolstringThe networking protocol. (HTTP, HTTPS)
security_group_idsarrayThe unique identifiers of the security groups.
statusstringThe status of the request. (PENDING_CREATION, ACTIVE, PENDING_DELETION, DELETED, ERROR, PENDING_UPDATE, ISOLATED, PENDING_ISOLATION, PENDING_RESTORATION)
subnet_idsarrayThe unique identifiers of the subnets.
tagsobjectA map of the key-value pairs for the tag or tags assigned to the specified resource.
total_links_countintegerThe total count of links for the responder gateway.
trust_store_configurationobjectDescribes the configuration of a trust store.
updated_atstring (date-time)The timestamp of when the responder gateway was updated.
vpc_idstringThe unique identifier of the Virtual Private Cloud (VPC). (pattern: <code>vpc-[a-f0-9]{8,17}</code>)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_responder_gatewayselectgateway_id, regionRetrieves information about a responder gateway.
list_responder_gatewaysselectregionmaxResults, nextTokenLists reponder gateways.
create_responder_gatewayinsertregion, vpcId, subnetIds, securityGroupIds, port, protocol, clientTokenCreates a responder gateway. A domain name or managed endpoint is required.
update_responder_gatewayupdategateway_id, region, port, protocol, clientTokenUpdates a responder gateway.
delete_responder_gatewaydeletegateway_id, regionDeletes a responder gateway.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
gateway_idstringThe unique identifier of the gateway.
regionstringAWS region (default: us-east-1)
maxResultsintegerThe maximum number of results that are returned per call. You can use nextToken to obtain further pages of results. This is only an upper limit. The actual number of results returned per call might be fewer than the specified maximum.
nextTokenstringIf nextToken is returned, there are more results available. The value of nextToken is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged. Each pagination token expires after 24 hours. Using an expired pagination token will return an HTTP 400 InvalidToken error.

SELECT examples

Retrieves information about a responder gateway.

SELECT
active_links_count,
created_at,
description,
domain_name,
external_inbound_endpoint,
gateway_id,
gateway_type,
links_requested_count,
listener_config,
managed_endpoint_configuration,
port,
protocol,
security_group_ids,
status,
subnet_ids,
tags,
total_links_count,
trust_store_configuration,
updated_at,
vpc_id
FROM aws.rtbfabric.responder_gateways
WHERE gateway_id = '{{ gateway_id }}' -- required
AND region = '{{ region }}' -- required
;

INSERT examples

Creates a responder gateway. A domain name or managed endpoint is required.

INSERT INTO aws.rtbfabric.responder_gateways (
vpcId,
subnetIds,
securityGroupIds,
domainName,
port,
protocol,
listenerConfig,
trustStoreConfiguration,
managedEndpointConfiguration,
clientToken,
description,
tags,
gatewayType,
region
)
SELECT
'{{ vpcId }}' /* required */,
'{{ subnetIds }}' /* required */,
'{{ securityGroupIds }}' /* required */,
'{{ domainName }}',
{{ port }} /* required */,
'{{ protocol }}' /* required */,
'{{ listenerConfig }}',
'{{ trustStoreConfiguration }}',
'{{ managedEndpointConfiguration }}',
'{{ clientToken }}' /* required */,
'{{ description }}',
'{{ tags }}',
'{{ gatewayType }}',
'{{ region }}'
RETURNING
external_inbound_endpoint,
gateway_id,
listener_config,
status
;

UPDATE examples

Updates a responder gateway.

UPDATE aws.rtbfabric.responder_gateways
SET
domainName = '{{ domainName }}',
port = {{ port }},
protocol = '{{ protocol }}',
listenerConfig = '{{ listenerConfig }}',
trustStoreConfiguration = '{{ trustStoreConfiguration }}',
managedEndpointConfiguration = '{{ managedEndpointConfiguration }}',
clientToken = '{{ clientToken }}',
description = '{{ description }}'
WHERE
gateway_id = '{{ gateway_id }}' --required
AND region = '{{ region }}' --required
AND port = '{{ port }}' --required
AND protocol = '{{ protocol }}' --required
AND clientToken = '{{ clientToken }}' --required
RETURNING
gateway_id,
status;

DELETE examples

Deletes a responder gateway.

DELETE FROM aws.rtbfabric.responder_gateways
WHERE gateway_id = '{{ gateway_id }}' --required
AND region = '{{ region }}' --required
;