Skip to main content

outbound_external_links

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

Overview

Nameoutbound_external_links
TypeResource
Idaws.rtbfabric.outbound_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 outbound external link was created.
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.
public_endpointstringThe public endpoint for the link. (pattern: <code>(https|http):​//.+</code>)
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 outbound external link was updated.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_outbound_external_linkselectgateway_id, link_id, regionRetrieves information about an outbound external link.
create_outbound_external_linkinsertgateway_id, region, clientToken, publicEndpoint, logSettingsCreates an outbound external link.
delete_outbound_external_linkdeletegateway_id, link_id, regionDeletes an outbound 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 outbound external link.

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

INSERT examples

Creates an outbound external link.

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

DELETE examples

Deletes an outbound external link.

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