Skip to main content

BundleDependency

An input that a bundle requires from another bundle's output.

Each dependency declares a named slot that must (or may) be satisfied by connecting it to a resource of the matching type. For example, a database bundle might declare an aws_authentication dependency of type aws-iam-role.

Dependencies are satisfied at deploy time by linking an instance that produces the required resource type, or by an environment-level default if the resource type's connection orientation is ENVIRONMENT_DEFAULT.

type BundleDependency {
name: String!
required: Boolean!
resourceType: ResourceType
}

Fields

BundleDependency.name ● String! non-null scalar {#name}

Handle name for this dependency slot (e.g., aws_authentication, vpc).

BundleDependency.required ● Boolean! non-null scalar {#required}

When true, this dependency must be connected before the bundle can be deployed.

BundleDependency.resourceType ● ResourceType object {#resource-type}

The resource type this dependency accepts. null if the resource type has been removed from the catalog.

Member Of

Bundle object