aws-cdk-lib.aws_cloudwatch.AlarmActionConfig

interface AlarmActionConfig

LanguageType name
.NETAmazon.CDK.AWS.CloudWatch.AlarmActionConfig
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awscloudwatch#AlarmActionConfig
Javasoftware.amazon.awscdk.services.cloudwatch.AlarmActionConfig
Pythonaws_cdk.aws_cloudwatch.AlarmActionConfig
TypeScript (source)aws-cdk-lib » aws_cloudwatch » AlarmActionConfig

Obtainable from ApplicationScalingAction.bind(), AutoScalingAction.bind(), Ec2Action.bind(), SnsAction.bind(), SsmAction.bind(), SsmIncidentAction.bind()

Properties for an alarm action.

Example

// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_cloudwatch as cloudwatch } from 'aws-cdk-lib';
const alarmActionConfig: cloudwatch.AlarmActionConfig = {
  alarmActionArn: 'alarmActionArn',
};

Properties

NameTypeDescription
alarmActionArnstringReturn the ARN that should be used for a CloudWatch Alarm action.

alarmActionArn

Type: string

Return the ARN that should be used for a CloudWatch Alarm action.