Skip to content
v2.278.0

ChannelAssociationReference Struct ​

A reference to a ChannelAssociation resource.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_notifications as interfaces_notifications } from 'aws-cdk-lib/interfaces';
const channelAssociationReference: interfaces_notifications.ChannelAssociationReference = {
  channelAssociationArn: 'channelAssociationArn',
  notificationConfigurationArn: 'notificationConfigurationArn',
};
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_notifications as interfaces_notifications

channel_association_reference = interfaces_notifications.ChannelAssociationReference(
    channel_association_arn="channelAssociationArn",
    notification_configuration_arn="notificationConfigurationArn"
)
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.notifications.*;

ChannelAssociationReference channelAssociationReference = ChannelAssociationReference.builder()
        .channelAssociationArn("channelAssociationArn")
        .notificationConfigurationArn("notificationConfigurationArn")
        .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.Notifications;

var channelAssociationReference = new ChannelAssociationReference {
    ChannelAssociationArn = "channelAssociationArn",
    NotificationConfigurationArn = "notificationConfigurationArn"
};
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"

channelAssociationReference := &ChannelAssociationReference{
	ChannelAssociationArn: jsii.String("channelAssociationArn"),
	NotificationConfigurationArn: jsii.String("notificationConfigurationArn"),
}

Properties ​

channelAssociationArnstringchannel_association_arnstrchannelAssociationArnStringChannelAssociationArnstringChannelAssociationArn*string required #
The Arn of the ChannelAssociation resource.
notificationConfigurationArnstringnotification_configuration_arnstrnotificationConfigurationArnStringNotificationConfigurationArnstringNotificationConfigurationArn*string required #
The NotificationConfigurationArn of the ChannelAssociation resource.