interface CfnContactMethodProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.Lightsail.CfnContactMethodProps |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awslightsail#CfnContactMethodProps |
Java | software.amazon.awscdk.services.lightsail.CfnContactMethodProps |
Python | aws_cdk.aws_lightsail.CfnContactMethodProps |
TypeScript | aws-cdk-lib » aws_lightsail » CfnContactMethodProps |
Properties for defining a CfnContactMethod.
Example
// 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
| Name | Type | Description |
|---|---|---|
| contact | string | The destination of the contact method, such as an email address or a mobile phone number. |
| protocol | string | The protocol of the contact method, such as Email or SMS (text messaging). |
contactEndpoint
Type:
string
The destination of the contact method, such as an email address or a mobile phone number.
protocol
Type:
string
The protocol of the contact method, such as Email or SMS (text messaging).

.NET
Go
Java
Python
TypeScript