DeviceDefinitionReference Struct
A reference to a DeviceDefinition 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_greengrass as interfaces_greengrass } from 'aws-cdk-lib/interfaces';
const deviceDefinitionReference: interfaces_greengrass.DeviceDefinitionReference = {
deviceDefinitionArn: 'deviceDefinitionArn',
deviceDefinitionId: 'deviceDefinitionId',
};
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_greengrass as interfaces_greengrass
device_definition_reference = interfaces_greengrass.DeviceDefinitionReference(
device_definition_arn="deviceDefinitionArn",
device_definition_id="deviceDefinitionId"
)
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.greengrass.*;
DeviceDefinitionReference deviceDefinitionReference = DeviceDefinitionReference.builder()
.deviceDefinitionArn("deviceDefinitionArn")
.deviceDefinitionId("deviceDefinitionId")
.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.Greengrass;
var deviceDefinitionReference = new DeviceDefinitionReference {
DeviceDefinitionArn = "deviceDefinitionArn",
DeviceDefinitionId = "deviceDefinitionId"
};
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"
deviceDefinitionReference := &DeviceDefinitionReference{
DeviceDefinitionArn: jsii.String("deviceDefinitionArn"),
DeviceDefinitionId: jsii.String("deviceDefinitionId"),
}
Properties
deviceDefinitionArnstringdevice_definition_arnstrdeviceDefinitionArnStringDeviceDefinitionArnstringDeviceDefinitionArn*string required #The ARN of the DeviceDefinition resource.
deviceDefinitionIdstringdevice_definition_idstrdeviceDefinitionIdStringDeviceDefinitionIdstringDeviceDefinitionId*string required #The Id of the DeviceDefinition resource.