Properties
| Name | Type | Description |
|---|---|---|
| name | object | |
| s3Bucket | object | |
| s3Keys | object | |
| type | object | |
| destination | object |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/api-evangelist/amazon-robomaker/refs/heads/main/json-schema/amazon-robomaker-openapi-data-source-config-schema.json",
"title": "DataSourceConfig",
"description": "Information about a data source.",
"type": "object",
"properties": {
"name": {
"allOf": [
{
"$ref": "#/components/schemas/Name"
},
{
"description": "The name of the data source."
}
]
},
"s3Bucket": {
"allOf": [
{
"$ref": "#/components/schemas/S3Bucket"
},
{
"description": "The S3 bucket where the data files are located."
}
]
},
"s3Keys": {
"allOf": [
{
"$ref": "#/components/schemas/S3KeysOrPrefixes"
},
{
"description": "The list of S3 keys identifying the data source files."
}
]
},
"type": {
"allOf": [
{
"$ref": "#/components/schemas/DataSourceType"
},
{
"description": "<p>The data type for the data source that you're using for your container image or simulation job. You can use this field to specify whether your data source is an Archive, an Amazon S3 prefix, or a file.</p> <p>If you don't specify a field, the default value is <code>File</code>.</p>"
}
]
},
"destination": {
"allOf": [
{
"$ref": "#/components/schemas/Path"
},
{
"description": "<p>The location where your files are mounted in the container image.</p> <p>If you've specified the <code>type</code> of the data source as an <code>Archive</code>, you must provide an Amazon S3 object key to your archive. The object key must point to either a <code>.zip</code> or <code>.tar.gz</code> file.</p> <p>If you've specified the <code>type</code> of the data source as a <code>Prefix</code>, you provide the Amazon S3 prefix that points to the files that you are using for your data source.</p> <p>If you've specified the <code>type</code> of the data source as a <code>File</code>, you provide the Amazon S3 path to the file that you're using as your data source.</p>"
}
]
}
},
"required": [
"name",
"s3Bucket",
"s3Keys"
]
}