CfnContactMethodProps

class aws_cdk.aws_lightsail.CfnContactMethodProps(*, contact_endpoint, protocol)

Bases: object

Properties 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:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lightsail-contactmethod.html

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.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lightsail-contactmethod.html#cfn-lightsail-contactmethod-contactendpoint

protocol

The protocol of the contact method, such as Email or SMS (text messaging).

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lightsail-contactmethod.html#cfn-lightsail-contactmethod-protocol