Skip to content
v2.276.0

SlackTransmissionTargetProperty Struct ​

Defines the Slack channels where different types of agent notifications will be sent.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_devopsagent as devopsagent } from 'aws-cdk-lib';
const slackTransmissionTargetProperty: devopsagent.CfnAssociation.SlackTransmissionTargetProperty = {
  incidentResponseTarget: {
    channelId: 'channelId',

    // the properties below are optional
    channelName: 'channelName',
  },
};
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_devopsagent as devopsagent

slack_transmission_target_property = devopsagent.CfnAssociation.SlackTransmissionTargetProperty(
    incident_response_target=devopsagent.CfnAssociation.SlackChannelProperty(
        channel_id="channelId",

        # the properties below are optional
        channel_name="channelName"
    )
)
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.devopsagent.*;

SlackTransmissionTargetProperty slackTransmissionTargetProperty = SlackTransmissionTargetProperty.builder()
        .incidentResponseTarget(SlackChannelProperty.builder()
                .channelId("channelId")

                // the properties below are optional
                .channelName("channelName")
                .build())
        .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.DevOpsAgent;

var slackTransmissionTargetProperty = new SlackTransmissionTargetProperty {
    IncidentResponseTarget = new SlackChannelProperty {
        ChannelId = "channelId",

        // the properties below are optional
        ChannelName = "channelName"
    }
};
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"

slackTransmissionTargetProperty := &SlackTransmissionTargetProperty{
	IncidentResponseTarget: &SlackChannelProperty{
		ChannelId: jsii.String("channelId"),

		// the properties below are optional
		ChannelName: jsii.String("channelName"),
	},
}

Properties ​

incidentResponseTargetIResolvable | CfnAssociation.SlackChannelPropertyincident_response_targettyping.Union[IResolvable, SlackChannelProperty]incidentResponseTargetIResolvableIncidentResponseTargetIResolvableIncidentResponseTargetinterface{}required#
Destination for AWS DevOps Agent Incident Response.