Skip to main content

URL

URL is an input used to save links to websites.

💡 Common url usage

The URL input type can be used to store a link to any web resource, for example:

  • Link to Datadog dashboard
  • Link to configuration file
  • Link to pull request

API definition

{
"myUrlInput": {
"title": "My url input",
"icon": "My icon",
"description": "My url input",
"type": "string",
"format": "url",
"default": "https://example.com"
}
}

Check out Port's API reference to learn more.

Terraform definition

resource "port_action" "myAction" {
# ...action properties
user_properties = {
string_props = {
"myUrlInput" = {
title = "My url input"
icon = "My icon"
description = "My url input"
format = "url"
default = "https://example.com"
}
}
}
}