Address - AWS Outposts

Address

Information about an address.

Contents

AddressLine1

The first line of the address.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 180.

Pattern: ^\S[\S ]*$

Required: Yes

AddressLine2

The second line of the address.

Type: String

Length Constraints: Minimum length of 0. Maximum length of 60.

Pattern: ^\S[\S ]*$

Required: No

AddressLine3

The third line of the address.

Type: String

Length Constraints: Minimum length of 0. Maximum length of 60.

Pattern: ^\S[\S ]*$

Required: No

City

The city for the address.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 50.

Pattern: ^\S[\S ]*$

Required: Yes

ContactName

The name of the contact.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 255.

Pattern: ^\S[\S ]*$

Required: No

ContactPhoneNumber

The phone number of the contact.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 20.

Pattern: ^[\S ]+$

Required: No

CountryCode

The ISO-3166 two-letter country code for the address.

Type: String

Length Constraints: Fixed length of 2.

Pattern: ^[A-Z]{2}$

Required: Yes

DistrictOrCounty

The district or county for the address.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 60.

Pattern: ^\S[\S ]*

Required: No

Municipality

The municipality for the address.

Type: String

Length Constraints: Minimum length of 0. Maximum length of 180.

Pattern: ^\S[\S ]*$

Required: No

PostalCode

The postal code for the address.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 20.

Pattern: ^[a-zA-Z0-9 -]+$

Required: Yes

StateOrRegion

The state for the address.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 50.

Pattern: ^\S[\S ]*$

Required: Yes

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: