ContactMethod
import type { ContactMethod } from "https://aws-api.deno.dev/v0.3/services/lightsail.ts?docs=full";
Describes a contact method.
A contact method is a way to send you notifications. For more information, see Notifications in Amazon Lightsail.
interface ContactMethod {
arn?: string | null;
contactEndpoint?: string | null;
createdAt?: Date | number | null;
location?: ResourceLocation | null;
name?: string | null;
protocol?: ContactProtocol | null;
resourceType?: ResourceType | null;
status?: ContactMethodStatus | null;
supportCode?: string | null;
}§Properties
§
contactEndpoint?: string | null
[src]The destination of the contact method, such as an email address or a mobile phone number.
§
location?: ResourceLocation | null
[src]§
protocol?: ContactProtocol | null
[src]The protocol of the contact method, such as email or SMS (text messaging).
§
resourceType?: ResourceType | null
[src]The Lightsail resource type (e.g., ContactMethod
).
§
status?: ContactMethodStatus | null
[src]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.