Class CfnAnomalyDetectorProps
Properties for defining a CfnAnomalyDetector
.
Inheritance
System.Object
CfnAnomalyDetectorProps
Implements
Namespace: Amazon.CDK.AWS.LookoutMetrics
Assembly: Amazon.CDK.AWS.LookoutMetrics.dll
Syntax (csharp)
public class CfnAnomalyDetectorProps : Object, ICfnAnomalyDetectorProps
Syntax (vb)
Public Class CfnAnomalyDetectorProps
Inherits Object
Implements ICfnAnomalyDetectorProps
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 cfnAnomalyDetectorProps = new CfnAnomalyDetectorProps {
AnomalyDetectorConfig = new AnomalyDetectorConfigProperty {
AnomalyDetectorFrequency = "anomalyDetectorFrequency"
},
MetricSetList = new [] { new MetricSetProperty {
MetricList = new [] { new MetricProperty {
AggregationFunction = "aggregationFunction",
MetricName = "metricName",
// the properties below are optional
Namespace = "namespace"
} },
MetricSetName = "metricSetName",
MetricSource = 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" }
}
},
// the properties below are optional
DimensionList = new [] { "dimensionList" },
MetricSetDescription = "metricSetDescription",
MetricSetFrequency = "metricSetFrequency",
Offset = 123,
TimestampColumn = new TimestampColumnProperty {
ColumnFormat = "columnFormat",
ColumnName = "columnName"
},
Timezone = "timezone"
} },
// the properties below are optional
AnomalyDetectorDescription = "anomalyDetectorDescription",
AnomalyDetectorName = "anomalyDetectorName",
KmsKeyArn = "kmsKeyArn"
};
Synopsis
Constructors
CfnAnomalyDetectorProps() |
Properties
AnomalyDetectorConfig | Contains information about the configuration of the anomaly detector. |
AnomalyDetectorDescription | A description of the detector. |
AnomalyDetectorName | The name of the detector. |
KmsKeyArn | The ARN of the KMS key to use to encrypt your data. |
MetricSetList | The detector's dataset. |
Constructors
CfnAnomalyDetectorProps()
public CfnAnomalyDetectorProps()
Properties
AnomalyDetectorConfig
Contains information about the configuration of the anomaly detector.
public object AnomalyDetectorConfig { get; set; }
Property Value
System.Object
Remarks
AnomalyDetectorDescription
A description of the detector.
public string AnomalyDetectorDescription { get; set; }
Property Value
System.String
Remarks
AnomalyDetectorName
The name of the detector.
public string AnomalyDetectorName { get; set; }
Property Value
System.String
Remarks
KmsKeyArn
The ARN of the KMS key to use to encrypt your data.
public string KmsKeyArn { get; set; }
Property Value
System.String
Remarks
MetricSetList
The detector's dataset.
public object MetricSetList { get; set; }
Property Value
System.Object