Amazon Pinpoint · JSON Structure

Amazon Pinpoint Default Button Configuration Structure

Default button configuration.

Type: object Properties: 6 Required: 2
CampaignsCommunicationsEmailMarketingMessagingPush NotificationsSMSVoiceCustomer EngagementSegmentationJourneysAnalytics

DefaultButtonConfiguration is a JSON Structure definition published by Amazon Pinpoint, describing 6 properties, of which 2 are required. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

BackgroundColor BorderRadius ButtonAction Link Text TextColor

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/amazon-pinpoint/refs/heads/main/json-structure/amazon-pinpoint-default-button-configuration-structure.json",
  "name": "DefaultButtonConfiguration",
  "description": "Default button configuration.",
  "type": "object",
  "properties": {
    "BackgroundColor": {
      "allOf": [
        {
          "$ref": "#/components/schemas/__string"
        },
        {
          "description": "The background color of the button."
        }
      ]
    },
    "BorderRadius": {
      "allOf": [
        {
          "$ref": "#/components/schemas/__integer"
        },
        {
          "description": "The border radius of the button."
        }
      ]
    },
    "ButtonAction": {
      "allOf": [
        {
          "$ref": "#/components/schemas/ButtonAction"
        },
        {
          "description": "Action triggered by the button."
        }
      ]
    },
    "Link": {
      "allOf": [
        {
          "$ref": "#/components/schemas/__string"
        },
        {
          "description": "Button destination."
        }
      ]
    },
    "Text": {
      "allOf": [
        {
          "$ref": "#/components/schemas/__string"
        },
        {
          "description": "Button text."
        }
      ]
    },
    "TextColor": {
      "allOf": [
        {
          "$ref": "#/components/schemas/__string"
        },
        {
          "description": "The text color of the button."
        }
      ]
    }
  },
  "required": [
    "ButtonAction",
    "Text"
  ]
}