Interface FileAssetMetadataEntry

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
FileAssetMetadataEntry.Jsii$Proxy

@Generated(value="jsii-pacmak/1.97.0 (build 729de35)", date="2024-04-24T21:00:38.693Z") @Stability(Stable) public interface FileAssetMetadataEntry extends software.amazon.jsii.JsiiSerializable
Metadata Entry spec for files.

Example:

 Map<String, String> entry = Map.of(
         "packaging", "file",
         "s3BucketParameter", "bucket-parameter",
         "s3KeyParamenter", "key-parameter",
         "artifactHashParameter", "hash-parameter");
 
  • Method Details

    • getArtifactHashParameter

      @Stability(Stable) @NotNull String getArtifactHashParameter()
      The name of the parameter where the hash of the bundled asset should be passed in.
    • getId

      @Stability(Stable) @NotNull String getId()
      Logical identifier for the asset.
    • getPackaging

      @Stability(Stable) @NotNull String getPackaging()
      Requested packaging style.
    • getPath

      @Stability(Stable) @NotNull String getPath()
      Path on disk to the asset.
    • getS3BucketParameter

      @Stability(Stable) @NotNull String getS3BucketParameter()
      Name of parameter where S3 bucket should be passed in.
    • getS3KeyParameter

      @Stability(Stable) @NotNull String getS3KeyParameter()
      Name of parameter where S3 key should be passed in.
    • getSourceHash

      @Stability(Stable) @NotNull String getSourceHash()
      The hash of the asset source.
    • builder

      @Stability(Stable) static FileAssetMetadataEntry.Builder builder()
      Returns:
      a FileAssetMetadataEntry.Builder of FileAssetMetadataEntry