addComponent
Add a component to a project's blueprint.
Creates a new slot in the blueprint for the specified bundle. The component does not deploy anything on its own -- it defines what can be deployed. Instances are created in each environment when you deploy.
mutation {
addComponent(
organizationId: "my-org"
projectId: "my-project"
ociRepoName: "aws-aurora-postgres"
input: { id: "database", name: "Primary Database" }
) {
result { id name }
successful
}
}
addComponent(
organizationId: ID!
projectId: ID!
ociRepoName: OciRepoName!
input: AddComponentInput!
): ComponentPayload
Form Schema
This mutation supports dynamic form generation using JSON Schema.
Loading schema...
Arguments
addComponent.organizationId ● ID! non-null scalar {#organization-id}
Your organization's unique identifier.
addComponent.projectId ● ID! non-null scalar {#project-id}
The project to add the component to.
addComponent.ociRepoName ● OciRepoName! non-null scalar {#oci-repo-name}
The bundle's OCI repository name (e.g., aws-aurora-postgres).
addComponent.input ● AddComponentInput! non-null input {#input}
Add an infrastructure component to a project's blueprint. Each component is a specific instance of a bundle (like a Redis cache or PostgreSQL database) that composes with other components to form your application.