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 {
fromComponentId: ID!
fromField: String!
fromVersion: VersionConstraint!
toComponentId: ID!
toField: String!
toVersion: VersionConstraint!
}
Fields
LinkComponentsInput.fromComponentId ● ID! non-null scalar {#from-component-id}
ID of the component that produces the resource (e.g., 'myproj-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.toComponentId ● ID! non-null scalar {#to-component-id}
ID of the component that consumes the resource (e.g., 'myproj-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