Skip to content
v2.277.0

NotificationChannelReference Struct ​

A reference to a NotificationChannel resource.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_devopsguru as interfaces_devopsguru } from 'aws-cdk-lib/interfaces';
const notificationChannelReference: interfaces_devopsguru.NotificationChannelReference = {
  notificationChannelId: 'notificationChannelId',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.interfaces import aws_devopsguru as interfaces_devopsguru

notification_channel_reference = interfaces_devopsguru.NotificationChannelReference(
    notification_channel_id="notificationChannelId"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.interfaces.devopsguru.*;

NotificationChannelReference notificationChannelReference = NotificationChannelReference.builder()
        .notificationChannelId("notificationChannelId")
        .build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.Interfaces.DevOpsGuru;

var notificationChannelReference = new NotificationChannelReference {
    NotificationChannelId = "notificationChannelId"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

notificationChannelReference := &NotificationChannelReference{
	NotificationChannelId: jsii.String("notificationChannelId"),
}

Properties ​

notificationChannelIdstringnotification_channel_idstrnotificationChannelIdStringNotificationChannelIdstringNotificationChannelId*string required #
The Id of the NotificationChannel resource.