FileAssetMetadataEntry
Metadata Entry spec for files.
Example
entry = {
"packaging": "file",
"oss_bucket_parameter": "bucket-parameter",
"oss_key_parameter": "key-parameter",
"artifact_hash_parameter": "hash-parameter"
}
Initializer
import ros_cdk_assembly_schema
ros_cdk_assembly_schema.FileAssetMetadataEntry(
artifact_hash_parameter: str,
id: str,
oss_bucket_parameter: str,
oss_key_parameter: str,
packaging: str,
path: str,
source_hash: str
)
Properties
Name | Type | Description |
---|---|---|
artifact_hash_parameter |
str |
The name of the parameter where the hash of the bundled asset should be passed in. |
id |
str |
Logical identifier for the asset. |
oss_bucket_parameter |
str |
Name of parameter where OSS bucket should be passed in. |
oss_key_parameter |
str |
Name of parameter where OSS object key should be passed in. |
packaging |
str |
Requested packaging style. |
path |
str |
Path on disk to the asset. |
source_hash |
str |
The hash of the asset source. |
artifact_hash_parameter
Required
artifact_hash_parameter: str
- Type: str
The name of the parameter where the hash of the bundled asset should be passed in.
id
Required
id: str
- Type: str
Logical identifier for the asset.
oss_bucket_parameter
Required
oss_bucket_parameter: str
- Type: str
Name of parameter where OSS bucket should be passed in.
oss_key_parameter
Required
oss_key_parameter: str
- Type: str
Name of parameter where OSS object key should be passed in.
packaging
Required
packaging: str
- Type: str
Requested packaging style.
path
Required
path: str
- Type: str
Path on disk to the asset.
source_hash
Required
source_hash: str
- Type: str
The hash of the asset source.