Resource

data class Resource(val value: String) : EventReference

The Amazon Resource Name (ARN) of an Amazon Web Services resource referenced in a TimelineEvent.

Constructors

Link copied to clipboard
constructor(value: String)

Properties

Link copied to clipboard

Inherited functions

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard

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