ThingTypeReference Struct
A reference to a ThingType resource.
| Source | |
|---|---|
| Type last changed |
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 thingTypeReference: interfaces_iot.ThingTypeReference = {
thingTypeArn: 'thingTypeArn',
thingTypeName: 'thingTypeName',
};
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
thing_type_reference = interfaces_iot.ThingTypeReference(
thing_type_arn="thingTypeArn",
thing_type_name="thingTypeName"
)
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.*;
ThingTypeReference thingTypeReference = ThingTypeReference.builder()
.thingTypeArn("thingTypeArn")
.thingTypeName("thingTypeName")
.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 thingTypeReference = new ThingTypeReference {
ThingTypeArn = "thingTypeArn",
ThingTypeName = "thingTypeName"
};
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"
thingTypeReference := &ThingTypeReference{
ThingTypeArn: jsii.String("thingTypeArn"),
ThingTypeName: jsii.String("thingTypeName"),
}