Interface CfnAnomalyDetector.MetricSourceProperty

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnAnomalyDetector.MetricSourceProperty.Jsii$Proxy
Enclosing class:
CfnAnomalyDetector

@Stability(Stable) public static interface CfnAnomalyDetector.MetricSourceProperty extends software.amazon.jsii.JsiiSerializable
Contains information about how the source data should be interpreted.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.lookoutmetrics.*;
 MetricSourceProperty metricSourceProperty = 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())
                 .roleArn("roleArn")
                 // the properties below are optional
                 .historicalDataPathList(List.of("historicalDataPathList"))
                 .templatedPathList(List.of("templatedPathList"))
                 .build())
         .build();
 

See Also: