@Stability(value=Stable)
public static interface CfnAnomalyDetector.MetricSourceProperty
extends software.amazon.jsii.JsiiSerializable
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();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnAnomalyDetector.MetricSourceProperty.Builder
A builder for
CfnAnomalyDetector.MetricSourceProperty |
static class |
CfnAnomalyDetector.MetricSourceProperty.Jsii$Proxy
An implementation for
CfnAnomalyDetector.MetricSourceProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnAnomalyDetector.MetricSourceProperty.Builder |
builder() |
default Object |
getAppFlowConfig()
Details about an AppFlow datasource.
|
default Object |
getCloudwatchConfig()
Details about an Amazon CloudWatch monitoring datasource.
|
default Object |
getRdsSourceConfig()
Details about an Amazon Relational Database Service (RDS) datasource.
|
default Object |
getRedshiftSourceConfig()
Details about an Amazon Redshift database datasource.
|
default Object |
getS3SourceConfig()
Contains information about the configuration of the S3 bucket that contains source files.
|
@Stability(value=Stable) @Nullable default Object getAppFlowConfig()
@Stability(value=Stable) @Nullable default Object getCloudwatchConfig()
@Stability(value=Stable) @Nullable default Object getRdsSourceConfig()
@Stability(value=Stable) @Nullable default Object getRedshiftSourceConfig()
@Stability(value=Stable) @Nullable default Object getS3SourceConfig()
@Stability(value=Stable) static CfnAnomalyDetector.MetricSourceProperty.Builder builder()
Copyright © 2022. All rights reserved.