Uri

data class Uri(val value: String) : CodeArtifact

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

Constructors

Link copied to clipboard
constructor(value: String)

Properties

Link copied to clipboard

Inherited 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.