LinkComponentsInput
Create a link between two components in a project's blueprint. Links connect an output field on the source component to an input field on the destination component, establishing data flow between infrastructure resources.
input LinkComponentsInput {
from: ID!
fromField: String!
fromVersion: VersionConstraint!
to: ID!
toField: String!
toVersion: VersionConstraint!
}
Fields
LinkComponentsInput.from ● ID! non-null scalar {#from}
Component that produces the artifact (e.g., 'database')
LinkComponentsInput.fromField ● String! non-null scalar {#from-field}
Output field name on the source component
LinkComponentsInput.fromVersion ● VersionConstraint! non-null scalar {#from-version}
Version constraint for the source component (e.g., '~1.0', '1.2.3', 'latest')
LinkComponentsInput.to ● ID! non-null scalar {#to}
Component that consumes the artifact (e.g., 'app')
LinkComponentsInput.toField ● String! non-null scalar {#to-field}
Input field name on the destination component
LinkComponentsInput.toVersion ● VersionConstraint! non-null scalar {#to-version}
Version constraint for the destination component (e.g., '~1.0', '1.2.3', 'latest')
Member Of
linkComponents mutation