class Aws::Lightsail::Types::ContactMethod
Describes a contact method.
A contact method is a way to send you notifications. For more information, see [Notifications in Amazon Lightsail].
[1]: lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-notifications
@!attribute [rw] contact_endpoint
The destination of the contact method, such as an email address or a mobile phone number. @return [String]
@!attribute [rw] status
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. @return [String]
@!attribute [rw] protocol
The protocol of the contact method, such as email or SMS (text messaging). @return [String]
@!attribute [rw] name
The name of the contact method. @return [String]
@!attribute [rw] arn
The Amazon Resource Name (ARN) of the contact method. @return [String]
@!attribute [rw] created_at
The timestamp when the contact method was created. @return [Time]
@!attribute [rw] location
Describes the resource location. @return [Types::ResourceLocation]
@!attribute [rw] resource_type
The Lightsail resource type (e.g., `ContactMethod`). @return [String]
@!attribute [rw] support_code
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. @return [String]
@see docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/ContactMethod AWS API Documentation
Constants
- SENSITIVE