# OTAUpdateReference

A reference to a OTAUpdate resource.

- Source: Generated at build time
- Type last changed: v2.276.0 · 10 Nov 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_iot as interfaces_iot } from 'aws-cdk-lib/interfaces';
const oTAUpdateReference: interfaces_iot.OTAUpdateReference = {
  otaUpdateArn: 'otaUpdateArn',
  otaUpdateId: 'otaUpdateId',
};
```

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_iot as interfaces_iot

o_ta_update_reference = interfaces_iot.OTAUpdateReference(
    ota_update_arn="otaUpdateArn",
    ota_update_id="otaUpdateId"
)
```

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

OTAUpdateReference oTAUpdateReference = OTAUpdateReference.builder()
        .otaUpdateArn("otaUpdateArn")
        .otaUpdateId("otaUpdateId")
        .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.IoT;

var oTAUpdateReference = new OTAUpdateReference {
    OtaUpdateArn = "otaUpdateArn",
    OtaUpdateId = "otaUpdateId"
};
```

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"

oTAUpdateReference := &OTAUpdateReference{
	OtaUpdateArn: jsii.String("otaUpdateArn"),
	OtaUpdateId: jsii.String("otaUpdateId"),
}
```

## Properties

- `otaUpdateArn`: string (required) — The OtaUpdateArn of the OTAUpdate resource.

- `otaUpdateId`: string (required) — The OtaUpdateId of the OTAUpdate resource.
