Class CfnNotification
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.CfnElement
software.amazon.awscdk.CfnRefElement
software.amazon.awscdk.CfnResource
software.amazon.awscdk.services.connect.CfnNotification
- All Implemented Interfaces:
IInspectable,INotificationRef,IEnvironmentAware,ITaggableV2,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.127.0 (build 2117ad5)",
date="2026-03-19T12:55:01.809Z")
@Stability(Stable)
public class CfnNotification
extends CfnResource
implements IInspectable, INotificationRef, ITaggableV2
Resource Type definition for AWS::Connect::Notification.
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.connect.*;
CfnNotification cfnNotification = CfnNotification.Builder.create(this, "MyCfnNotification")
.content(NotificationContentProperty.builder()
.deDe("deDe")
.enUs("enUs")
.esEs("esEs")
.frFr("frFr")
.idId("idId")
.itIt("itIt")
.jaJp("jaJp")
.koKr("koKr")
.ptBr("ptBr")
.zhCn("zhCn")
.zhTw("zhTw")
.build())
.instanceArn("instanceArn")
// the properties below are optional
.expiresAt("expiresAt")
.priority("priority")
.recipients(List.of("recipients"))
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA fluent builder forCfnNotification.static interfaceThe content of a notification.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.interfaces.connect.INotificationRef
INotificationRef.Jsii$Default, INotificationRef.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.ITaggableV2
ITaggableV2.Jsii$Default, ITaggableV2.Jsii$Proxy -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe CloudFormation resource type name for this resource class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCfnNotification(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnNotification(software.amazon.jsii.JsiiObjectRef objRef) CfnNotification(software.constructs.Construct scope, String id, CfnNotificationProps props) Create a newAWS::Connect::Notification. -
Method Summary
Modifier and TypeMethodDescriptionstatic StringarnForNotification(INotificationRef resource) The Amazon Resource Name (ARN) for the notification.The time a notification was created.The identifier of the notification.Tag Manager which manages the tags for this resource.The content of a notification.The time a notification will expire.The identifier of the Amazon Connect instance.A reference to a Notification resource.The priority of notification.The recipients of the notification.getTags()One or more tags.voidinspect(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.static BooleanChecks whether the given object is a CfnNotification.renderProperties(Map<String, Object> props) voidsetContent(IResolvable value) The content of a notification.voidThe content of a notification.voidsetExpiresAt(String value) The time a notification will expire.voidsetInstanceArn(String value) The identifier of the Amazon Connect instance.voidsetPriority(String value) The priority of notification.voidsetRecipients(List<String> value) The recipients of the notification.voidOne or more tags.Methods inherited from class software.amazon.awscdk.CfnResource
addDeletionOverride, addDependency, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getAtt, getCfnOptions, getCfnResourceType, getEnv, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, obtainDependencies, obtainResourceDependencies, removeDependency, replaceDependency, shouldSynthesize, toString, validatePropertiesMethods inherited from class software.amazon.awscdk.CfnRefElement
getRefMethods inherited from class software.amazon.awscdk.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalId, withMethods inherited from class software.constructs.Construct
getNode, isConstructMethods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface software.constructs.IConstruct
getNode, withMethods inherited from interface software.amazon.awscdk.interfaces.IEnvironmentAware
getEnvMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
-
-
Constructor Details
-
CfnNotification
protected CfnNotification(software.amazon.jsii.JsiiObjectRef objRef) -
CfnNotification
protected CfnNotification(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnNotification
@Stability(Stable) public CfnNotification(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnNotificationProps props) Create a newAWS::Connect::Notification.- Parameters:
scope- Scope in which this resource is defined. This parameter is required.id- Construct identifier for this resource (unique in its scope). This parameter is required.props- Resource properties. This parameter is required.
-
-
Method Details
-
arnForNotification
@Stability(Stable) @NotNull public static String arnForNotification(@NotNull INotificationRef resource) - Parameters:
resource- This parameter is required.
-
isCfnNotification
Checks whether the given object is a CfnNotification.- Parameters:
x- This parameter is required.
-
inspect
Examines the CloudFormation resource and discloses attributes.- Specified by:
inspectin interfaceIInspectable- Parameters:
inspector- tree inspector to collect and process attributes. This parameter is required.
-
renderProperties
@Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String, Object> props) - Overrides:
renderPropertiesin classCfnResource- Parameters:
props- This parameter is required.
-
getAttrArn
The Amazon Resource Name (ARN) for the notification. -
getAttrCreatedAt
The time a notification was created. -
getAttrId
The identifier of the notification. -
getCdkTagManager
Tag Manager which manages the tags for this resource.- Specified by:
getCdkTagManagerin interfaceITaggableV2
-
getCfnProperties
- Overrides:
getCfnPropertiesin classCfnResource
-
getNotificationRef
A reference to a Notification resource.- Specified by:
getNotificationRefin interfaceINotificationRef
-
getContent
The content of a notification.Returns union: either
IResolvableorCfnNotification.NotificationContentProperty -
setContent
The content of a notification. -
setContent
@Stability(Stable) public void setContent(@NotNull CfnNotification.NotificationContentProperty value) The content of a notification. -
getInstanceArn
The identifier of the Amazon Connect instance. -
setInstanceArn
The identifier of the Amazon Connect instance. -
getExpiresAt
The time a notification will expire. -
setExpiresAt
The time a notification will expire. -
getPriority
The priority of notification. -
setPriority
The priority of notification. -
getRecipients
The recipients of the notification. -
setRecipients
The recipients of the notification. -
getTags
One or more tags. -
setTags
One or more tags.
-