Skip to main content

inbound_external_links

Creates, updates, deletes, gets or lists an inbound_external_links resource.

Overview

Nameinbound_external_links
TypeResource
Idaws.rtbfabric.inbound_external_links

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
attributesobjectDescribes the attributes of a link.
connectivity_typestringThe connectivity type of the link. (DEFAULT, PUBLIC_INGRESS, PUBLIC_EGRESS, EXTERNAL_INBOUND)
created_atstring (date-time)The timestamp of when the inbound external link was created.
domain_namestringThe domain name. (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>)
flow_modulesarrayThe configuration of flow modules.
gateway_idstringThe unique identifier of the gateway. (pattern: <code>rtb-gw-[a-z0-9-]{1,25}</code>)
link_idstringThe unique identifier of the link. (pattern: <code>link-[a-z0-9-]{1,25}</code>)
log_settingsobjectDescribes the settings for a link log.
pending_flow_modulesarrayThe configuration of pending flow modules.
statusstringThe status of the request. (PENDING_CREATION, PENDING_REQUEST, REQUESTED, ACCEPTED, ACTIVE, REJECTED, FAILED, PENDING_DELETION, DELETED, PENDING_UPDATE, PENDING_ISOLATION, ISOLATED, PENDING_RESTORATION)
tagsobjectA map of the key-value pairs for the tag or tags assigned to the specified resource.
updated_atstring (date-time)The timestamp of when the inbound external link was updated.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_inbound_external_linkselectgateway_id, link_id, regionRetrieves information about an inbound external link.
create_inbound_external_linkinsertgateway_id, region, clientToken, logSettingsCreates an inbound external link.
delete_inbound_external_linkdeletegateway_id, link_id, regionDeletes an inbound external link.

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)

SELECT examples

Retrieves information about an inbound external link.

SELECT
attributes,
connectivity_type,
created_at,
domain_name,
flow_modules,
gateway_id,
link_id,
log_settings,
pending_flow_modules,
status,
tags,
updated_at
FROM aws.rtbfabric.inbound_external_links
WHERE gateway_id = '{{ gateway_id }}' -- required
AND link_id = '{{ link_id }}' -- required
AND region = '{{ region }}' -- required
;

INSERT examples

Creates an inbound external link.

INSERT INTO aws.rtbfabric.inbound_external_links (
clientToken,
attributes,
logSettings,
tags,
gateway_id,
region
)
SELECT
'{{ clientToken }}' /* required */,
'{{ attributes }}',
'{{ logSettings }}' /* required */,
'{{ tags }}',
'{{ gateway_id }}',
'{{ region }}'
RETURNING
domain_name,
gateway_id,
link_id,
status
;

DELETE examples

Deletes an inbound external link.

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