TargetId

sealed class TargetId

A target ID is an internally-generated identifier for a target. A target allows you to identify all the resources in a Network Flow Monitor scope. Currently, a target is always an Amazon Web Services account.

Inheritors

Types

Link copied to clipboard
data class AccountId(val value: String) : TargetId

The identifier for the account for a target.

Link copied to clipboard

Functions

Link copied to clipboard

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

Link copied to clipboard

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