Skip to content

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.

ArtifactHashParameterRequired

ArtifactHashParameter *string
  • Type: *string

The name of the parameter where the hash of the bundled asset should be passed in.


IdRequired

Id *string
  • Type: *string

Logical identifier for the asset.


OssBucketParameterRequired

OssBucketParameter *string
  • Type: *string

Name of parameter where OSS bucket should be passed in.


OssKeyParameterRequired

OssKeyParameter *string
  • Type: *string

Name of parameter where OSS object key should be passed in.


PackagingRequired

Packaging *string
  • Type: *string

Requested packaging style.


PathRequired

Path *string
  • Type: *string

Path on disk to the asset.


SourceHashRequired

SourceHash *string
  • Type: *string

The hash of the asset source.