Arn

data class Arn(val value: String) : AttachPoint

Identifies an attach point by full ARN.

Constructors

Link copied to clipboard
constructor(value: String)

Properties

Link copied to clipboard

Inherited functions

Link copied to clipboard
fun asArn(): String

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

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard

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