# AlarmActionConfig

Properties for an alarm action.

Returned by: [IAlarmAction.bind](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_cloudwatch.IAlarmAction.html#bind)

- Source: [`aws-cloudwatch/lib/alarm-action.ts`](https://github.com/aws/aws-cdk/blob/v2.278.0/packages/aws-cdk-lib/aws-cloudwatch/lib/alarm-action.ts#L20)

## Example

TypeScript:

```ts
// 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',
};
```

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_cloudwatch as cloudwatch

alarm_action_config = cloudwatch.AlarmActionConfig(
    alarm_action_arn="alarmActionArn"
)
```

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

AlarmActionConfig alarmActionConfig = AlarmActionConfig.builder()
        .alarmActionArn("alarmActionArn")
        .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.CloudWatch;

var alarmActionConfig = new AlarmActionConfig {
    AlarmActionArn = "alarmActionArn"
};
```

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"

alarmActionConfig := &AlarmActionConfig{
	AlarmActionArn: jsii.String("alarmActionArn"),
}
```

## Properties

- `alarmActionArn`: string (required) — Return the ARN that should be used for a CloudWatch Alarm action.
