Interface CfnContactMethodProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnContactMethodProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.139.0 (build 26a6b54)",
date="2026-09-02T11:03:13.262Z")
@Stability(Stable)
public interface CfnContactMethodProps
extends software.amazon.jsii.JsiiSerializable
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 software.amazon.awscdk.services.lightsail.*;
CfnContactMethodProps cfnContactMethodProps = CfnContactMethodProps.builder()
.contactEndpoint("contactEndpoint")
.protocol("protocol")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnContactMethodPropsstatic final classAn implementation forCfnContactMethodProps -
Method Summary
Modifier and TypeMethodDescriptionbuilder()The destination of the contact method, such as an email address or a mobile phone number.The protocol of the contact method, such as Email or SMS (text messaging).Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getContactEndpoint
The destination of the contact method, such as an email address or a mobile phone number.- See Also:
-
getProtocol
The protocol of the contact method, such as Email or SMS (text messaging).- See Also:
-
builder
- Returns:
- a
CfnContactMethodProps.BuilderofCfnContactMethodProps
-