Interface CfnEmailContactProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnEmailContactProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.121.0 (build d7af9b9)",
date="2025-12-18T18:20:14.026Z")
@Stability(Stable)
public interface CfnEmailContactProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnEmailContact.
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.notificationscontacts.*;
CfnEmailContactProps cfnEmailContactProps = CfnEmailContactProps.builder()
.emailAddress("emailAddress")
.name("name")
// the properties below are optional
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnEmailContactPropsstatic final classAn implementation forCfnEmailContactProps -
Method Summary
Modifier and TypeMethodDescriptionstatic CfnEmailContactProps.Builderbuilder()The email address of the contact.getName()The name of the contact.getTags()A list of tags to apply to the email contact.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getEmailAddress
The email address of the contact.The activation and notification emails are sent here.
- See Also:
-
getName
The name of the contact.- See Also:
-
getTags
A list of tags to apply to the email contact.- See Also:
-
builder
- Returns:
- a
CfnEmailContactProps.BuilderofCfnEmailContactProps
-