Skip to content
v2.276.0

OTAUpdateReference Struct Added in v2.276.0 ​

A reference to a OTAUpdate resource.

Example ​

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
# 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
// 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();
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"
};
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 ​

otaUpdateArnstringota_update_arnstrotaUpdateArnStringOtaUpdateArnstringOtaUpdateArn*stringrequired#
The OtaUpdateArn of the OTAUpdate resource.
otaUpdateIdstringota_update_idstrotaUpdateIdStringOtaUpdateIdstringOtaUpdateId*stringrequired#
The OtaUpdateId of the OTAUpdate resource.