Skip to content
v2.278.0

DimensionReference Struct ​

A reference to a Dimension 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 dimensionReference: interfaces_iot.DimensionReference = {
  dimensionArn: 'dimensionArn',
  dimensionName: 'dimensionName',
};
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

dimension_reference = interfaces_iot.DimensionReference(
    dimension_arn="dimensionArn",
    dimension_name="dimensionName"
)
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.*;

DimensionReference dimensionReference = DimensionReference.builder()
        .dimensionArn("dimensionArn")
        .dimensionName("dimensionName")
        .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 dimensionReference = new DimensionReference {
    DimensionArn = "dimensionArn",
    DimensionName = "dimensionName"
};
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"

dimensionReference := &DimensionReference{
	DimensionArn: jsii.String("dimensionArn"),
	DimensionName: jsii.String("dimensionName"),
}

Properties ​

dimensionArnstringdimension_arnstrdimensionArnStringDimensionArnstringDimensionArn*string required #
The ARN of the Dimension resource.
dimensionNamestringdimension_namestrdimensionNameStringDimensionNamestringDimensionName*string required #
The Name of the Dimension resource.