Class CfnAnomalyDetector.MetricSourceProperty
Contains information about how the source data should be interpreted.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.LookoutMetrics
Assembly: Amazon.CDK.AWS.LookoutMetrics.dll
Syntax (csharp)
public class MetricSourceProperty : Object, CfnAnomalyDetector.IMetricSourceProperty
Syntax (vb)
Public Class MetricSourceProperty
Inherits Object
Implements CfnAnomalyDetector.IMetricSourceProperty
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.LookoutMetrics;
var metricSourceProperty = new MetricSourceProperty {
AppFlowConfig = new AppFlowConfigProperty {
FlowName = "flowName",
RoleArn = "roleArn"
},
CloudwatchConfig = new CloudwatchConfigProperty {
RoleArn = "roleArn"
},
RdsSourceConfig = new RDSSourceConfigProperty {
DatabaseHost = "databaseHost",
DatabaseName = "databaseName",
DatabasePort = 123,
DbInstanceIdentifier = "dbInstanceIdentifier",
RoleArn = "roleArn",
SecretManagerArn = "secretManagerArn",
TableName = "tableName",
VpcConfiguration = new VpcConfigurationProperty {
SecurityGroupIdList = new [] { "securityGroupIdList" },
SubnetIdList = new [] { "subnetIdList" }
}
},
RedshiftSourceConfig = new RedshiftSourceConfigProperty {
ClusterIdentifier = "clusterIdentifier",
DatabaseHost = "databaseHost",
DatabaseName = "databaseName",
DatabasePort = 123,
RoleArn = "roleArn",
SecretManagerArn = "secretManagerArn",
TableName = "tableName",
VpcConfiguration = new VpcConfigurationProperty {
SecurityGroupIdList = new [] { "securityGroupIdList" },
SubnetIdList = new [] { "subnetIdList" }
}
},
S3SourceConfig = new S3SourceConfigProperty {
FileFormatDescriptor = new FileFormatDescriptorProperty {
CsvFormatDescriptor = new CsvFormatDescriptorProperty {
Charset = "charset",
ContainsHeader = false,
Delimiter = "delimiter",
FileCompression = "fileCompression",
HeaderList = new [] { "headerList" },
QuoteSymbol = "quoteSymbol"
},
JsonFormatDescriptor = new JsonFormatDescriptorProperty {
Charset = "charset",
FileCompression = "fileCompression"
}
},
RoleArn = "roleArn",
// the properties below are optional
HistoricalDataPathList = new [] { "historicalDataPathList" },
TemplatedPathList = new [] { "templatedPathList" }
}
};
Synopsis
Constructors
MetricSourceProperty() |
Properties
AppFlowConfig | Details about an AppFlow datasource. |
CloudwatchConfig | Details about an Amazon CloudWatch monitoring datasource. |
RdsSourceConfig | Details about an Amazon Relational Database Service (RDS) datasource. |
RedshiftSourceConfig | Details about an Amazon Redshift database datasource. |
S3SourceConfig | Contains information about the configuration of the S3 bucket that contains source files. |
Constructors
MetricSourceProperty()
public MetricSourceProperty()
Properties
AppFlowConfig
Details about an AppFlow datasource.
public object AppFlowConfig { get; set; }
Property Value
System.Object
Remarks
CloudwatchConfig
Details about an Amazon CloudWatch monitoring datasource.
public object CloudwatchConfig { get; set; }
Property Value
System.Object
Remarks
RdsSourceConfig
Details about an Amazon Relational Database Service (RDS) datasource.
public object RdsSourceConfig { get; set; }
Property Value
System.Object
Remarks
RedshiftSourceConfig
Details about an Amazon Redshift database datasource.
public object RedshiftSourceConfig { get; set; }
Property Value
System.Object
Remarks
S3SourceConfig
Contains information about the configuration of the S3 bucket that contains source files.
public object S3SourceConfig { get; set; }
Property Value
System.Object