CfnContactMethodProps
- class aws_cdk.aws_lightsail.CfnContactMethodProps(*, contact_endpoint, protocol)
Bases:
objectProperties for defining a
CfnContactMethod.- Parameters:
contact_endpoint (
str) – The destination of the contact method, such as an email address or a mobile phone number.protocol (
str) – The protocol of the contact method, such as Email or SMS (text messaging).
- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk import aws_lightsail as lightsail cfn_contact_method_props = lightsail.CfnContactMethodProps( contact_endpoint="contactEndpoint", protocol="protocol" )
Attributes
- contact_endpoint
The destination of the contact method, such as an email address or a mobile phone number.
- protocol
The protocol of the contact method, such as Email or SMS (text messaging).