Skip to main content

BundleResource

An output that a bundle produces when deployed.

Resources represent the infrastructure outputs a bundle creates. Other bundles can consume these as dependencies. For example, an Aurora Postgres bundle might produce a database resource of type aws-rds-instance that application bundles can connect to.

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

Fields

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

Handle name for this resource output (e.g., database, cluster).

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

When true, this resource is always produced on a successful deployment.

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

The resource type this output produces. null if the resource type has been removed from the catalog.

Member Of

Bundle object