AnomalyDetectorReference Struct
A reference to a AnomalyDetector 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_cloudwatch as interfaces_cloudwatch } from 'aws-cdk-lib/interfaces';
const anomalyDetectorReference: interfaces_cloudwatch.AnomalyDetectorReference = {
anomalyDetectorId: 'anomalyDetectorId',
};
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_cloudwatch as interfaces_cloudwatch
anomaly_detector_reference = interfaces_cloudwatch.AnomalyDetectorReference(
anomaly_detector_id="anomalyDetectorId"
)
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.cloudwatch.*;
AnomalyDetectorReference anomalyDetectorReference = AnomalyDetectorReference.builder()
.anomalyDetectorId("anomalyDetectorId")
.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.CloudWatch;
var anomalyDetectorReference = new AnomalyDetectorReference {
AnomalyDetectorId = "anomalyDetectorId"
};
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"
anomalyDetectorReference := &AnomalyDetectorReference{
AnomalyDetectorId: jsii.String("anomalyDetectorId"),
}
Properties
anomalyDetectorIdstringanomaly_detector_idstranomalyDetectorIdStringAnomalyDetectorIdstringAnomalyDetectorId*string required #The Id of the AnomalyDetector resource.