Interface FileAssetMetadataEntry

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

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:29:54.692Z") @Stability(Stable) public interface FileAssetMetadataEntry extends software.amazon.jsii.JsiiSerializable
Metadata Entry spec for files.

Example:

 // Example automatically generated from non-compiling source. May contain errors.
 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.cloudassembly.schema.*;
 FileAssetMetadataEntry fileAssetMetadataEntry = FileAssetMetadataEntry.builder()
         .artifactHashParameter("artifactHashParameter")
         .id("id")
         .packaging("packaging")
         .path("path")
         .s3BucketParameter("s3BucketParameter")
         .s3KeyParameter("s3KeyParameter")
         .sourceHash("sourceHash")
         .build();
 
  • 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