# OpsItemReference

Struct · External

A reference to a OpsItem resource.

- Source: Generated at build time
- Type last changed: v2.264.0 · 10 Aug 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_ssm as interfaces_ssm } from 'aws-cdk-lib/interfaces';
const opsItemReference: interfaces_ssm.OpsItemReference = {
  opsItemArn: 'opsItemArn',
};
```

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_ssm as interfaces_ssm

ops_item_reference = interfaces_ssm.OpsItemReference(
    ops_item_arn="opsItemArn"
)
```

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

OpsItemReference opsItemReference = OpsItemReference.builder()
        .opsItemArn("opsItemArn")
        .build();
```

C#:

```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.SSM;

var opsItemReference = new OpsItemReference {
    OpsItemArn = "opsItemArn"
};
```

Go:

```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"

opsItemReference := &OpsItemReference{
	OpsItemArn: jsii.String("opsItemArn"),
}
```

## Properties

- `opsItemArn`: string (required) — The OpsItemArn of the OpsItem resource.
