asUri

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.