CodeArtifact

sealed class CodeArtifact

Contains the location of the code artifact for a MicroVM image.

Inheritors

Types

Link copied to clipboard
Link copied to clipboard
data class Uri(val value: String) : CodeArtifact

The URI of the code artifact, such as an Amazon S3 path or Amazon ECR image URI.

Functions

Link copied to clipboard
fun asUri(): String

Casts this CodeArtifact as a Uri and retrieves its kotlin.String value. Throws an exception if the CodeArtifact is not a Uri.

Link copied to clipboard

Casts this CodeArtifact as a Uri and retrieves its kotlin.String value. Returns null if the CodeArtifact is not a Uri.