Skip to content
v2.274.0

CfnContactMethodProps Struct ​

Properties for defining a CfnContactMethod.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_lightsail as lightsail } from 'aws-cdk-lib';
const cfnContactMethodProps: lightsail.CfnContactMethodProps = {
  contactEndpoint: 'contactEndpoint',
  protocol: 'protocol',
};

Properties ​

contactEndpointstringcontact_endpointstrcontactEndpointStringContactEndpointstringContactEndpoint*stringrequired#
The destination of the contact method, such as an email address or a mobile phone number.
protocolstringprotocolstrprotocolStringProtocolstringProtocol*stringrequired#
The protocol of the contact method, such as Email or SMS (text messaging).