ContactMethod
¶
Source code in docs_src/capo_lightsail/types/contact_method.py
arn
instance-attribute
¶
arn: NotRequired[NonEmptyString]
The Amazon Resource Name (ARN) of the contact method.
contact_endpoint
instance-attribute
¶
contact_endpoint: NotRequired[NonEmptyString]
The destination of the contact method, such as an email address or a mobile phone number.
created_at
instance-attribute
¶
created_at: NotRequired[IsoDate]
The timestamp when the contact method was created.
location
instance-attribute
¶
location: NotRequired[ResourceLocation]
An object that describes the location of the contact method, such as the Amazon Web Services Region and Availability Zone.
protocol
instance-attribute
¶
protocol: NotRequired[ContactProtocol]
The protocol of the contact method, such as email or SMS (text messaging).
resource_type
instance-attribute
¶
resource_type: NotRequired[ResourceType]
The Lightsail resource type of the contact method.
status
instance-attribute
¶
status: NotRequired[ContactMethodStatus]
The current status of the contact method.
A contact method has the following possible status:
-
PendingVerification- The contact method has not yet been verified, and the verification has not yet expired. -
Valid- The contact method has been verified. -
InValid- An attempt was made to verify the contact method, but the verification has expired.
support_code
instance-attribute
¶
support_code: NotRequired[string]
The support code. Include this code in your email to support when you have questions about your Lightsail contact method. This code enables our support team to look up your Lightsail information more easily.
tags
instance-attribute
¶
tags: NotRequired[TagList]
The tag keys and optional values for the resource. For more information about tags in Lightsail, see the Amazon Lightsail Developer Guide.