ResourceType constructor

const ResourceType({
  1. Input<Hash>? contentHash,
  2. Input<String>? name,
  3. Input<String>? uri,
})

Creates a new ResourceType. contentHash The hash of the resource content. E.g., the Docker digest. name The name of the resource. E.g., the name of a Docker image - "Debian". uri The unique URI of the resource. E.g., "https://gcr.io/project/image@sha256:foo" for a Docker image.

Implementation

const ResourceType({
  this.contentHash,
  this.name,
  this.uri,
});