Element <object-storage>¶
Zweck: Deklariert einen benannten S3-kompatiblen Object-Storage-Client für Projekt-Reads und -Writes.
Warum: Verwende dieses Element, wenn Projektquellen oder generierte Dateiartefakte in S3-kompatiblem Storage liegen.
Beispiel¶
1 | |
Entscheidungshilfe¶
Fachlicher Nutzen: Hält Projekteingaben und generierte Dateiartefakte in einem benannten S3-kompatiblen Storage-Vertrag.
-
Verwenden, wenn
- Wenn Quellen oder Datei-Exportziele in S3, MinIO oder einem unterstützten Object Store liegen.
-
Anderen Ansatz wählen, wenn
- Wenn die Daten in Datenbank, Message Broker oder descriptorlokales Dateisystem gehören.
-
Voraussetzungen
- Liefere Provider, Authentifizierungsmodus, Bucket oder Container und erlaubte Objektpfade.
Vollständige Beispiele¶
Projektartefakte über S3-kompatiblen Storage lesen und schreiben
Verwende object-storage, wenn Quelldateien und erzeugte Artefakte in einem S3- oder MinIO-Bucket statt im lokalen Projektdateisystem liegen.
| object-storage-artifact/datamimic.xml | |
|---|---|
1 2 3 4 5 6 7 8 9 10 11 | |
Regeln und ungültige Kombinationen¶
Keine zusätzlichen elementspezifischen Regeln. Pflichtattribute, Typen und unterstützte Werte stehen unten.
Erlaubte Elternelemente / Erlaubte Kindelemente¶
Erlaubte Elternelemente: else, else-if, if, setup, while
Erlaubte Kindelemente:
Keine
Zugehörige Konzepte und Anwendungsfälle¶
- Source und Target wählen — Guides users and agents from an input ownership boundary and intended side effect to one bounded source and target contract.
Attribute¶
Alle 16 Attribute anzeigen
accessKey
Access key / client id.
optional; string; Standardwert: null.
authMode
Authentifizierungsmodus für AWS-Object-Storage.
optional; string; Standardwert: null; Werte: static, default_chain, iam, iam_env.
bucket
Default bucket name for this storage.
optional; string; Standardwert: null.
connString
Connection string / URI for the storage service.
optional; string; Standardwert: null.
container
Default container name (e.g., Azure Blob).
optional; string; Standardwert: null.
endpointUrl
Optional custom S3 endpoint URL (S3-compatible or VPC endpoint).
optional; string; Standardwert: null.
environment
Optional environment label for this storage config.
optional; string; Standardwert: null.
host
Hostname or endpoint for the storage service.
optional; string; Standardwert: null.
id
Object storage ID for accessing the object storage environment configuration.
erforderlich; string.
port
Port for the storage service.
optional; integer; Standardwert: null.
region
Region for cloud object storage.
optional; string; Standardwert: null.
secretKey
Secret key / client secret.
optional; string; Standardwert: null.
secure
Use HTTPS for this storage endpoint. Defaults to false for MinIO, which is commonly reached over plain HTTP inside a cluster, and true for AWS.
optional; boolean; Standardwert: null.
sessionToken
Optional AWS session token for temporary credentials.
optional; string; Standardwert: null.
system
Optional platform system identifier used to resolve environment properties.
optional; string; Standardwert: null.
type
Object storage type/adapter.
optional; string; Werte: minio, aws, azure.