Skip to content

xcsh_cloud_link (Data Source)

Retrieves information about new CloudLink with configured parameters in F5 Distributed Cloud. This is a read-only data source.

~> Note: For more information, see the F5 Distributed Cloud API documentation.

# CloudLink Data Source Example
terraform {
required_version = ">= 1.0"
required_providers {
xcsh = {
source = "f5-sales-demo/xcsh"
version = ">= 0.1.0"
}
}
}
# Look up an existing CloudLink by name
data "xcsh_cloud_link" "example" {
name = "example-cloud-link"
namespace = "staging"
}
output "cloud_link_id" {
value = data.xcsh_cloud_link.example.id
}

-> Syntax Rule: This provider uses OneOf groups for mutually exclusive options. Fields documented as “Optional Block” use block syntax field_name { ... }. Empty OneOf object attributes use field_name = {}; conditional selection uses condition ? {} : null. Boolean attributes (such as add_hsts and http_redirect) use = true or = false.

🔶 High Risk Operations — Some operations on this resource have high danger level. Destructive operations may require confirmation.

• name - Required String
Name of the CloudLink

• namespace - Required String
Namespace where the CloudLink exists

In addition to all arguments above, the following attributes are exported:

• annotations - Optional Map
Annotations applied to this resource

• aws - Optional String
Amazon Web Services(AWS) CloudLink Provider. CloudLink for AWS Cloud Provider

• description - Optional String
Description of the CloudLink

• disabled - Optional Object
Enable this option

• enabled - Optional String
CloudLink ADN Network Config

• gcp - Optional String
Google Cloud Platform (GCP) CloudLink Provider. CloudLink for GCP Cloud Provider

• id - Optional String
Unique identifier for the resource

• labels - Optional Map
Labels applied to this resource


An aws block supports the following:

• aws_cred - Optional String
Type establishes a direct reference from one object(the referrer) to another(the referred). Such a reference is in form of tenant/namespace/name

• byoc - Optional String
Bring Your Own Connections. List of Bring You Own Connection

• custom_asn - Optional Number
F5XC will use custom ASN to create a Direct Connect Gateway

An aws_cred block (within aws) supports the following:

• name - Optional String
When a configuration object(e.g. Virtual_host) refers to another(e.g route) then name will hold the referred object’s(e.g. Route’s) name

• namespace - Optional String
When a configuration object(e.g. Virtual_host) refers to another(e.g route) then namespace will hold the referred object’s(e.g. Route’s) namespace

• tenant - Optional String
When a configuration object(e.g. Virtual_host) refers to another(e.g route) then tenant will hold the referred object’s(e.g. Route’s) tenant

A byoc block (within aws) supports the following:

• connections - Optional List
List of Bring You Own Connections. These AWS Direct Connect connections are not managed by F5XC but will be used for connecting sites and REs

A connections block (within aws.byoc) supports the following:

• auth_key - Optional String
SecretType is used in an object to indicate a sensitive/confidential field

• bgp_asn - Optional Number
The Border Gateway Protocol (BGP) Autonomous System Number (ASN) of your on-premises router for the new virtual interface to be configured on AWS

• connection_id - Optional String
ID of the existing AWS Direct Connect Connection

• ipv4 - Optional String
Configure BGP IPv4 peering for endpoints

• metadata - Optional String
MessageMetaType is metadata (common attributes) of a message that only certain messages have. This information is propagated to the metadata of a child object that gets created from the containing message during view processing. The information in this type can be specified by user during create

• region - Optional String
Possible values are ap-northeast-1, ap-southeast-1, eu-central-1, eu-west-1, eu-west-3, sa-east-1, us-east-1, us-east-2, us-west-2, CA-central-1, af-south-1, ap-east-1, ap-south-1, ap-northeast-2, ap-southeast-2, eu-south-1, eu-north-1, eu-west-2, me-south-1, us-west-1, ap-southeast-3
[Enum: ap-northeast-1|ap-southeast-1|eu-central-1|eu-west-1|eu-west-3|sa-east-1|us-east-1|us-east-2|us-west-2|CA-central-1|af-south-1|ap-east-1|ap-south-1|ap-northeast-2|ap-southeast-2|eu-south-1|eu-north-1|eu-west-2|me-south-1|us-west-1|ap-southeast-3] Region. Region where the connection is setup

• system_generated_name - Optional Object
Enable this option

• tags - Optional Map
AWS Tags is a label consisting of a user-defined key and value. It helps to manage, identify, organize, search for, and filter resources in AWS console. Specified tags will be added to Virtual interface along with any F5XC specific tags

• user_assigned_name - Optional String
User is managing the AWS resource name

• virtual_interface_type - Optional String Defaults to PRIVATE
[Enum: PRIVATE] Defines the type of virtual interface that needs to be configured on AWS - PRIVATE: Private A private virtual interface should be used to access an Amazon VPC using private IP addresses. - TRANSIT: Transit A transit virtual interface is a VLAN that transports traffic from a Direct Connect.. The only possible value is PRIVATE

• vlan - Optional Number
Virtual Local Area Network number for the new virtual interface to be configured on the AWS. This tag is required for any traffic traversing the AWS Direct Connect connection

An auth_key block (within aws.byoc.connections) supports the following:

• blindfold_secret_info - Optional String
BlindfoldSecretInfoType specifies information about the Secret managed by F5XC Secret Management

• clear_secret_info - Optional String
ClearSecretInfoType specifies information about the Secret that is not encrypted

AWS Byoc Connections Auth Key Blindfold Secret Info

Section titled “AWS Byoc Connections Auth Key Blindfold Secret Info”

Deeply nested Info block collapsed for readability.

AWS Byoc Connections Auth Key Clear Secret Info

Section titled “AWS Byoc Connections Auth Key Clear Secret Info”

Deeply nested Info block collapsed for readability.

An ipv4 block (within aws.byoc.connections) supports the following:

• aws_router_peer_address - Optional String
The BGP peer IP configured on the AWS endpoint

• router_peer_address - Optional String
The BGP peer IP configured on your (customer) endpoint

A metadata block (within aws.byoc.connections) supports the following:

• description_spec - Optional String
Description. Human readable description

• name - Optional String
Name of the message. The value of name has to follow DNS-1035 format

AWS Byoc Connections System Generated Name

Section titled “AWS Byoc Connections System Generated Name”

A system_generated_name block (within aws.byoc.connections) supports the following:

An enabled block supports the following:

• cloudlink_network_name - Optional String
Establish private connectivity with the F5 Distributed Cloud Global Network using a Private ADN network. To provision a Private ADN network, please contact F5 Distributed Cloud support

A gcp block supports the following:

• byoc - Optional String
GCP Bring Your Own Connections. List of GCP Bring You Own Connections

• gcp_cred - Optional String
Type establishes a direct reference from one object(the referrer) to another(the referred). Such a reference is in form of tenant/namespace/name

A byoc block (within gcp) supports the following:

• connections - Optional List
Each ‘Bring Your Own Connection’ represents a virtual connection that the customer has provisioned in the Cloud (

A connections block (within gcp.byoc) supports the following:

• interconnect_attachment_name - Optional String
Name of already-existing GCP Cloud Interconnect Attachment

• metadata - Optional String
MessageMetaType is metadata (common attributes) of a message that only certain messages have. This information is propagated to the metadata of a child object that gets created from the containing message during view processing. The information in this type can be specified by user during create

• project - Optional String
Specify a GCP Project for the interconnect attachment

• region - Optional String
Possible values are asia-east1, asia-east2, asia-northeast1, asia-northeast2, asia-northeast3, asia-southeast1, asia-southeast2, europe-central2, europe-north1, europe-west1, europe-west2, europe-west3, europe-west4, europe-west6, europe-west8, europe-west9, europe-west10, europe-west12, europe-southwest1, me-west1, me-central1, me-central2, northamerica-northeast1, northamerica-northeast2, us-central1, us-east1, us-east4, us-east5, us-south1, us-west1, us-west2, us-west3, us-west4, southamerica-east1, southamerica-west1, australia-southeast1, australia-southeast2, asia-south1, asia-south2
[Enum: asia-east1|asia-east2|asia-northeast1|asia-northeast2|asia-northeast3|asia-southeast1|asia-southeast2|europe-central2|europe-north1|europe-west1|europe-west2|europe-west3|europe-west4|europe-west6|europe-west8|europe-west9|europe-west10|europe-west12|europe-southwest1|me-west1|me-central1|me-central2|northamerica-northeast1|northamerica-northeast2|us-central1|us-east1|us-east4|us-east5|us-south1|us-west1|us-west2|us-west3|us-west4|southamerica-east1|southamerica-west1|australia-southeast1|australia-southeast2|asia-south1|asia-south2] GCP Region in which the GCP Cloud Interconnect attachment is configured

• same_as_credential - Optional Object
Configuration parameter for same as credential

A metadata block (within gcp.byoc.connections) supports the following:

• description_spec - Optional String
Description. Human readable description

• name - Optional String
Name of the message. The value of name has to follow DNS-1035 format

A same_as_credential block (within gcp.byoc.connections) supports the following:

A gcp_cred block (within gcp) supports the following:

• name - Optional String
When a configuration object(e.g. Virtual_host) refers to another(e.g route) then name will hold the referred object’s(e.g. Route’s) name

• namespace - Optional String
When a configuration object(e.g. Virtual_host) refers to another(e.g route) then namespace will hold the referred object’s(e.g. Route’s) namespace

• tenant - Optional String
When a configuration object(e.g. Virtual_host) refers to another(e.g route) then tenant will hold the referred object’s(e.g. Route’s) tenant


The following type definitions are used throughout this resource. See the full definition here rather than repeated inline.

Object Reference {#common-object-reference}

Section titled “Object Reference {#common-object-reference}”

Object references establish a direct reference from one configuration object to another in F5 Distributed Cloud. References use the format tenant/namespace/name.

FieldTypeDescription
nameStringName of the referenced object
namespaceStringNamespace containing the referenced object
tenantStringTenant of the referenced object (system-managed)

Transformers apply transformations to input values before matching. Multiple transformers can be applied in order.

ValueDescription
LOWER_CASEConvert to lowercase
UPPER_CASEConvert to uppercase
BASE64_DECODEDecodebase64 content
NORMALIZE_PATHNormalize URL path
REMOVE_WHITESPACERemove whitespace characters
URL_DECODEDecode URL-encoded characters
TRIM_LEFTTrim leading whitespace
TRIM_RIGHTTrim trailing whitespace
TRIMTrim both leading and trailing whitespace

HTTP methods used for request matching.

ValueDescription
ANYMatch any HTTP method
GETHTTP GET request
HEADHTTP HEAD request
POSTHTTP POST request
PUTHTTP PUT request
DELETEHTTP DELETE request
CONNECTHTTP CONNECT request
OPTIONSHTTP OPTIONS request
TRACEHTTP TRACE request
PATCHHTTP PATCH request
COPYHTTP COPY request (WebDAV)

TLS Fingerprints {#common-tls-fingerprints}

Section titled “TLS Fingerprints {#common-tls-fingerprints}”

TLS fingerprint categories for malicious client detection.

ValueDescription
TLS_FINGERPRINT_NONENo fingerprint matching
ANY_MALICIOUS_FINGERPRINTMatch any known malicious fingerprint
ADWAREAdware-associated fingerprints
DRIDEXDridex malware fingerprints
GOOTKITGootkit malware fingerprints
RANSOMWARERansomware-associated fingerprints
TRICKBOTTrickbot malware fingerprints

IP Threat Categories {#common-ip-threat-categories}

Section titled “IP Threat Categories {#common-ip-threat-categories}”

IP address threat categories for security filtering.

ValueDescription
SPAM_SOURCESKnown spam sources
WINDOWS_EXPLOITSWindows exploit sources
WEB_ATTACKSWeb attack sources
BOTNETSKnown botnet IPs
SCANNERSNetwork scanner IPs
REPUTATIONPoor reputation IPs
PHISHINGPhishing-related IPs
PROXYAnonymous proxy IPs
MOBILE_THREATSMobile threat sources
TOR_PROXYTor exit nodes
DENIAL_OF_SERVICEDoS attack sources
NETWORKKnown bad network ranges