# ChannelProperty

Notification medium for users to get alerted for events that occur in application profile.

We support SNS topic as a notification channel.

- Source: Generated at build time
- Type last changed: v2.93.0 · 23 Aug 2023

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_codeguruprofiler as codeguruprofiler } from 'aws-cdk-lib';
const channelProperty: codeguruprofiler.CfnProfilingGroup.ChannelProperty = {
  channelUri: 'channelUri',

  // the properties below are optional
  channelId: 'channelId',
};
```

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_codeguruprofiler as codeguruprofiler

channel_property = codeguruprofiler.CfnProfilingGroup.ChannelProperty(
    channel_uri="channelUri",

    # the properties below are optional
    channel_id="channelId"
)
```

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.codeguruprofiler.*;

ChannelProperty channelProperty = ChannelProperty.builder()
        .channelUri("channelUri")

        // the properties below are optional
        .channelId("channelId")
        .build();
```

C# / .NET:

```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.CodeGuruProfiler;

var channelProperty = new ChannelProperty {
    ChannelUri = "channelUri",

    // the properties below are optional
    ChannelId = "channelId"
};
```

Golang:

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

channelProperty := &ChannelProperty{
	ChannelUri: jsii.String("channelUri"),

	// the properties below are optional
	ChannelId: jsii.String("channelId"),
}
```

## Properties

- `channelId`: string — The channel ID.

- `channelUri`: string (required) — The channel URI.
