Skip to content
v2.278.0

CfnChannelAssociationProps Struct ​

Properties for defining a CfnChannelAssociation.

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 notifications } from 'aws-cdk-lib';
const cfnChannelAssociationProps: notifications.CfnChannelAssociationProps = {
  arn: 'arn',
  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 import aws_notifications as notifications

cfn_channel_association_props = notifications.CfnChannelAssociationProps(
    arn="arn",
    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.services.notifications.*;

CfnChannelAssociationProps cfnChannelAssociationProps = CfnChannelAssociationProps.builder()
        .arn("arn")
        .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.AWS.Notifications;

var cfnChannelAssociationProps = new CfnChannelAssociationProps {
    Arn = "arn",
    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"

cfnChannelAssociationProps := &CfnChannelAssociationProps{
	Arn: jsii.String("arn"),
	NotificationConfigurationArn: jsii.String("notificationConfigurationArn"),
}

Properties ​

arnstringarnstrarnStringArnstringArn*string required #
The Amazon Resource Name (ARN) of the `Channel` .
notificationConfigurationArnstringnotification_configuration_arnstrnotificationConfigurationArnStringNotificationConfigurationArnstringNotificationConfigurationArn*string required #
The ARN of the `NotificationConfiguration` associated with the `Channel` .