asAwsAccountIdOrNull

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