pub struct StackImportRequest {Show 18 fields
pub setup_import_format_version: u32,
pub deployment_group_token: String,
pub deployment_name: String,
pub resource_prefix: String,
pub source_kind: Option<ImportSourceKind>,
pub setup_metadata: Option<Value>,
pub release_id: Option<String>,
pub platform: Platform,
pub base_platform: Option<Platform>,
pub region: String,
pub setup_target: String,
pub setup_fingerprint: String,
pub setup_fingerprint_version: u32,
pub stack_settings: StackSettings,
pub management_config: Option<ManagementConfig>,
pub input_values: HashMap<String, Value>,
pub accepts_short_lived_deployment_token: bool,
pub resources: Vec<ImportedResource>,
}Expand description
Request body for manager-side stack import.
Fields§
§setup_import_format_version: u32Wire-format version for the setup import payload.
deployment_group_token: StringDeployment-group token authorizing the import.
deployment_name: StringUser-chosen deployment name. Must be unique within the deployment
group; the manager returns 409 on collision rather than silently
resolving to an existing deployment. Each setup adapter picks
the natural source: CloudFormation defaults to the CFN stack name,
Helm to {namespace}/{release}, Terraform requires an explicit
name attribute on the alien_deployment resource.
resource_prefix: StringStable physical-name prefix used by the setup package for generated resources. Runtime controllers use it when addressing imported resources.
source_kind: Option<ImportSourceKind>Optional source label for observability. Does not affect import
behavior — the manager dispatches the same ImporterRegistry
regardless of which setup package emitted the payload.
setup_metadata: Option<Value>Setup source metadata needed by the control plane to guide privileged teardown. The manager treats this as opaque JSON.
release_id: Option<String>Optional release id that produced the setup package. When omitted, the manager imports against the latest release.
platform: PlatformPlatform being imported.
base_platform: Option<Platform>Optional base cloud platform for Kubernetes setup targets such as EKS/GKE/AKS. The runtime platform remains Kubernetes.
region: StringRegion or location reported by the setup artifact.
setup_target: StringSetup target this package was generated for.
setup_fingerprint: StringSetup compatibility fingerprint embedded in the package.
setup_fingerprint_version: u32Setup fingerprint algorithm version embedded in the package.
stack_settings: StackSettingsResolved stack settings supplied by the setup artifact.
management_config: Option<ManagementConfig>Platform-derived management configuration, when this setup creates a cross-account/cross-tenant management identity.
input_values: HashMap<String, Value>Deployer-provided stack input values collected by generated setup surfaces. Platform-backed managers resolve these into runtime environment variables before deployment creation; standalone managers accept the field for setup package compatibility.
accepts_short_lived_deployment_token: boolSet by a client that can use a short-lived deployment token for this run only and will not store it. Without it, the response carries no new token for an installation whose Operator already holds its own key.
resources: Vec<ImportedResource>Imported resources with typed per-resource payloads.