CmdID / aws / aws lightsail
aws lightsail create-contact-method
Creates an email or SMS text message contact method. AWS CLI reference
3 options Its page in the AWS CLI reference
Options
--contact-endpointThe destination of the contact method, such as an email address or a mobile phone number.--protocolThe protocol of the contact method, such as Email or SMS (text messaging).--tagsThe tag keys and optional values to add to the contact method during create.