# CfnChannelAssociationProps

Struct · External

Properties for defining a `CfnChannelAssociation`.

Used as props by: [CfnChannelAssociation](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_notifications.CfnChannelAssociation.html)

- Source: Generated at build time
- Type last changed: v2.177.0 · 25 Jan 2025

## Example

TypeScript:

```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:

```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:

```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();
```

C#:

```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:

```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

- `arn`: string (required) — The Amazon Resource Name (ARN) of the `Channel` .

- `notificationConfigurationArn`: string (required) — The ARN of the `NotificationConfiguration` associated with the `Channel` .
