ChannelProperty Struct
Notification medium for users to get alerted for events that occur in application profile.
We support SNS topic as a notification channel.
| Source | |
|---|---|
| Type last changed |
Example
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
# 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
// 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();
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"
};
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"),
}