# CfnContactMethodProps

Properties for defining a `CfnContactMethod`.

Extends: CfnContactMethodProps
Used as props by: CfnContactMethod

- Source: Generated code
- Type last changed: v2.268.0 · 2 Sep 2026

## 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

- `contactEndpoint`: string (required) — The destination of the contact method, such as an email address or a mobile phone number.

- `protocol`: string (required) — The protocol of the contact method, such as Email or SMS (text messaging).
