Class CfnAnomalyDetectorPropsMixin
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.Mixin
software.amazon.awscdk.cfnpropertymixins.services.lookoutmetrics.CfnAnomalyDetectorPropsMixin
- All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable,software.constructs.IMixin
@Generated(value="jsii-pacmak/1.127.0 (build 2117ad5)",
date="2026-04-14T18:32:14.638Z")
@Stability(Stable)
public class CfnAnomalyDetectorPropsMixin
extends Mixin
implements software.constructs.IMixin
End of support notice: On Oct 9, 2025, AWS will end support for Amazon Lookout for Metrics.
After Oct 9, 2025, you will no longer be able to access the Amazon Lookout for Metrics console or Amazon Lookout for Metrics resources. For more information, see Amazon Lookout for Metrics end of support .
The AWS::LookoutMetrics::AnomalyDetector type creates an anomaly detector.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.cfnpropertymixins.services.lookoutmetrics.*;
import software.amazon.awscdk.*;
IMergeStrategy mergeStrategy;
CfnAnomalyDetectorPropsMixin cfnAnomalyDetectorPropsMixin = CfnAnomalyDetectorPropsMixin.Builder.create(CfnAnomalyDetectorMixinProps.builder()
.anomalyDetectorConfig(AnomalyDetectorConfigProperty.builder()
.anomalyDetectorFrequency("anomalyDetectorFrequency")
.build())
.anomalyDetectorDescription("anomalyDetectorDescription")
.anomalyDetectorName("anomalyDetectorName")
.kmsKeyArn("kmsKeyArn")
.metricSetList(List.of(MetricSetProperty.builder()
.dimensionList(List.of("dimensionList"))
.metricList(List.of(MetricProperty.builder()
.aggregationFunction("aggregationFunction")
.metricName("metricName")
.namespace("namespace")
.build()))
.metricSetDescription("metricSetDescription")
.metricSetFrequency("metricSetFrequency")
.metricSetName("metricSetName")
.metricSource(MetricSourceProperty.builder()
.appFlowConfig(AppFlowConfigProperty.builder()
.flowName("flowName")
.roleArn("roleArn")
.build())
.cloudwatchConfig(CloudwatchConfigProperty.builder()
.roleArn("roleArn")
.build())
.rdsSourceConfig(RDSSourceConfigProperty.builder()
.databaseHost("databaseHost")
.databaseName("databaseName")
.databasePort(123)
.dbInstanceIdentifier("dbInstanceIdentifier")
.roleArn("roleArn")
.secretManagerArn("secretManagerArn")
.tableName("tableName")
.vpcConfiguration(VpcConfigurationProperty.builder()
.securityGroupIdList(List.of("securityGroupIdList"))
.subnetIdList(List.of("subnetIdList"))
.build())
.build())
.redshiftSourceConfig(RedshiftSourceConfigProperty.builder()
.clusterIdentifier("clusterIdentifier")
.databaseHost("databaseHost")
.databaseName("databaseName")
.databasePort(123)
.roleArn("roleArn")
.secretManagerArn("secretManagerArn")
.tableName("tableName")
.vpcConfiguration(VpcConfigurationProperty.builder()
.securityGroupIdList(List.of("securityGroupIdList"))
.subnetIdList(List.of("subnetIdList"))
.build())
.build())
.s3SourceConfig(S3SourceConfigProperty.builder()
.fileFormatDescriptor(FileFormatDescriptorProperty.builder()
.csvFormatDescriptor(CsvFormatDescriptorProperty.builder()
.charset("charset")
.containsHeader(false)
.delimiter("delimiter")
.fileCompression("fileCompression")
.headerList(List.of("headerList"))
.quoteSymbol("quoteSymbol")
.build())
.jsonFormatDescriptor(JsonFormatDescriptorProperty.builder()
.charset("charset")
.fileCompression("fileCompression")
.build())
.build())
.historicalDataPathList(List.of("historicalDataPathList"))
.roleArn("roleArn")
.templatedPathList(List.of("templatedPathList"))
.build())
.build())
.offset(123)
.timestampColumn(TimestampColumnProperty.builder()
.columnFormat("columnFormat")
.columnName("columnName")
.build())
.timezone("timezone")
.build()))
.build())
.strategy(mergeStrategy)
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceContains information about a detector's configuration.static interfaceDetails about an Amazon AppFlow flow datasource.static final classA fluent builder forCfnAnomalyDetectorPropsMixin.static interfaceDetails about an Amazon CloudWatch datasource.static interfaceContains information about how a source CSV data file should be analyzed.static interfaceContains information about a source file's formatting.static interfaceContains information about how a source JSON data file should be analyzed.static interfaceA calculation made by contrasting a measure and a dimension from your source data.static interfaceContains information about a dataset.static interfaceContains information about how the source data should be interpreted.static interfaceContains information about the Amazon Relational Database Service (RDS) configuration.static interfaceProvides information about the Amazon Redshift database configuration.static interfaceContains information about the configuration of the S3 bucket that contains source files.static interfaceContains information about the column used to track time in a source data file.static interfaceContains configuration information about the Amazon Virtual Private Cloud (VPC).Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.constructs.IMixin
software.constructs.IMixin.Jsii$Default, software.constructs.IMixin.Jsii$Proxy -
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionCreate a mixin to apply properties toAWS::LookoutMetrics::AnomalyDetector.Create a mixin to apply properties toAWS::LookoutMetrics::AnomalyDetector.protectedCfnAnomalyDetectorPropsMixin(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnAnomalyDetectorPropsMixin(software.amazon.jsii.JsiiObjectRef objRef) -
Method Summary
Modifier and TypeMethodDescriptionvoidapplyTo(software.constructs.IConstruct construct) Apply the mixin properties to the construct.protected CfnAnomalyDetectorMixinPropsgetProps()protected IMergeStrategysupports(software.constructs.IConstruct construct) Check if this mixin supports the given construct.Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
CFN_PROPERTY_KEYS
-
-
Constructor Details
-
CfnAnomalyDetectorPropsMixin
protected CfnAnomalyDetectorPropsMixin(software.amazon.jsii.JsiiObjectRef objRef) -
CfnAnomalyDetectorPropsMixin
protected CfnAnomalyDetectorPropsMixin(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnAnomalyDetectorPropsMixin
@Stability(Stable) public CfnAnomalyDetectorPropsMixin(@NotNull CfnAnomalyDetectorMixinProps props, @Nullable CfnPropertyMixinOptions options) Create a mixin to apply properties toAWS::LookoutMetrics::AnomalyDetector.- Parameters:
props- L1 properties to apply. This parameter is required.options- Mixin options.
-
CfnAnomalyDetectorPropsMixin
Create a mixin to apply properties toAWS::LookoutMetrics::AnomalyDetector.- Parameters:
props- L1 properties to apply. This parameter is required.
-
-
Method Details
-
applyTo
@Stability(Stable) public void applyTo(@NotNull software.constructs.IConstruct construct) Apply the mixin properties to the construct. -
supports
@Stability(Stable) @NotNull public Boolean supports(@NotNull software.constructs.IConstruct construct) Check if this mixin supports the given construct. -
getProps
-
getStrategy
-