Interface CfnAnomalyDetectorPropsMixin.MetricSourceProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnAnomalyDetectorPropsMixin.MetricSourceProperty.Jsii$Proxy
- Enclosing class:
CfnAnomalyDetectorPropsMixin
@Stability(Stable)
public static interface CfnAnomalyDetectorPropsMixin.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.cfnpropertymixins.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())
.historicalDataPathList(List.of("historicalDataPathList"))
.roleArn("roleArn")
.templatedPathList(List.of("templatedPathList"))
.build())
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnAnomalyDetectorPropsMixin.MetricSourcePropertystatic final classAn implementation forCfnAnomalyDetectorPropsMixin.MetricSourceProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectDetails about an AppFlow datasource.default ObjectDetails about an Amazon CloudWatch monitoring datasource.default ObjectDetails about an Amazon Relational Database Service (RDS) datasource.default ObjectDetails about an Amazon Redshift database datasource.default ObjectContains information about the configuration of the S3 bucket that contains source files.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAppFlowConfig
Details about an AppFlow datasource.Returns union: either
IResolvableorCfnAnomalyDetectorPropsMixin.AppFlowConfigProperty- See Also:
-
getCloudwatchConfig
Details about an Amazon CloudWatch monitoring datasource.Returns union: either
IResolvableorCfnAnomalyDetectorPropsMixin.CloudwatchConfigProperty- See Also:
-
getRdsSourceConfig
Details about an Amazon Relational Database Service (RDS) datasource.Returns union: either
IResolvableorCfnAnomalyDetectorPropsMixin.RDSSourceConfigProperty- See Also:
-
getRedshiftSourceConfig
Details about an Amazon Redshift database datasource.Returns union: either
IResolvableorCfnAnomalyDetectorPropsMixin.RedshiftSourceConfigProperty- See Also:
-
getS3SourceConfig
Contains information about the configuration of the S3 bucket that contains source files.Returns union: either
IResolvableorCfnAnomalyDetectorPropsMixin.S3SourceConfigProperty- See Also:
-
builder
-