FileAssetMetadataEntry
Metadata Entry spec for files.
Example
entry := map[string]*string{
"packaging": jsii.String("file"),
"ossBucketParameter": jsii.String("bucket-parameter"),
"ossKeyParameter": jsii.String("key-parameter"),
"artifactHashParameter": jsii.String("hash-parameter"),
}
Initializer
import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkassemblyschema"
&alicloudroscdkassemblyschema.FileAssetMetadataEntry {
ArtifactHashParameter: *string,
Id: *string,
OssBucketParameter: *string,
OssKeyParameter: *string,
Packaging: *string,
Path: *string,
SourceHash: *string,
}
Properties
Name | Type | Description |
---|---|---|
ArtifactHashParameter |
*string |
The name of the parameter where the hash of the bundled asset should be passed in. |
Id |
*string |
Logical identifier for the asset. |
OssBucketParameter |
*string |
Name of parameter where OSS bucket should be passed in. |
OssKeyParameter |
*string |
Name of parameter where OSS object key should be passed in. |
Packaging |
*string |
Requested packaging style. |
Path |
*string |
Path on disk to the asset. |
SourceHash |
*string |
The hash of the asset source. |
ArtifactHashParameter
Required
ArtifactHashParameter *string
- Type: *string
The name of the parameter where the hash of the bundled asset should be passed in.
Id
Required
Id *string
- Type: *string
Logical identifier for the asset.
OssBucketParameter
Required
OssBucketParameter *string
- Type: *string
Name of parameter where OSS bucket should be passed in.
OssKeyParameter
Required
OssKeyParameter *string
- Type: *string
Name of parameter where OSS object key should be passed in.
Packaging
Required
Packaging *string
- Type: *string
Requested packaging style.
Path
Required
Path *string
- Type: *string
Path on disk to the asset.
SourceHash
Required
SourceHash *string
- Type: *string
The hash of the asset source.