AwsAccount

sealed class AwsAccount

The account ID of a project.

Inheritors

Types

Link copied to clipboard
data class AwsAccountId(val value: String) : AwsAccount

The account ID of a project.

Link copied to clipboard
data class AwsAccountIdPath(val value: String) : AwsAccount

The account ID path of a project.

Link copied to clipboard

Functions

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard

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