# LogAlarmReference

A reference to a LogAlarm resource.

- Source: Generated at build time
- Type last changed: v2.260.0 · 16 Jun 2026

## 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 interfaces_cloudwatch } from 'aws-cdk-lib/interfaces';
const logAlarmReference: interfaces_cloudwatch.LogAlarmReference = {
  alarmName: 'alarmName',
  logAlarmArn: 'logAlarmArn',
};
```

Python:

```python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.interfaces import aws_cloudwatch as interfaces_cloudwatch

log_alarm_reference = interfaces_cloudwatch.LogAlarmReference(
    alarm_name="alarmName",
    log_alarm_arn="logAlarmArn"
)
```

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

LogAlarmReference logAlarmReference = LogAlarmReference.builder()
        .alarmName("alarmName")
        .logAlarmArn("logAlarmArn")
        .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.Interfaces.CloudWatch;

var logAlarmReference = new LogAlarmReference {
    AlarmName = "alarmName",
    LogAlarmArn = "logAlarmArn"
};
```

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"

logAlarmReference := &LogAlarmReference{
	AlarmName: jsii.String("alarmName"),
	LogAlarmArn: jsii.String("logAlarmArn"),
}
```

## Properties

- `alarmName`: string (required) — The AlarmName of the LogAlarm resource.

- `logAlarmArn`: string (required) — The ARN of the LogAlarm resource.
