Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ServiceBinding

Represents the JSON object for a given service binding as obtained from the VCAP_SERVICE environment variable. To see service bindings, run cf env <app-name> in the terminal. This will produce output like this:

{
...
  "VCAP_SERVICES": {
    "s4-hana-cloud": [
      {
        "name": "...",
        "type": "...".
        ...
      }
    ]
  }
}

In this example, the key "s4-hana-cloud" refers to an array of service bindings.

Hierarchy

  • ServiceBinding

Indexable

[key: string]: any

Represents the JSON object for a given service binding as obtained from the VCAP_SERVICE environment variable. To see service bindings, run cf env <app-name> in the terminal. This will produce output like this:

{
...
  "VCAP_SERVICES": {
    "s4-hana-cloud": [
      {
        "name": "...",
        "type": "...".
        ...
      }
    ]
  }
}

In this example, the key "s4-hana-cloud" refers to an array of service bindings.

Index

Properties

Properties

name

name: string

type

type: string