CfnAnomalyDetector

class aws_cdk.aws_lookoutmetrics.CfnAnomalyDetector(scope, id, *, anomaly_detector_config, metric_set_list, anomaly_detector_description=None, anomaly_detector_name=None, kms_key_arn=None)

Bases: aws_cdk.core.CfnResource

A CloudFormation AWS::LookoutMetrics::AnomalyDetector.

CloudformationResource

AWS::LookoutMetrics::AnomalyDetector

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lookoutmetrics-anomalydetector.html

Create a new AWS::LookoutMetrics::AnomalyDetector.

Parameters
  • scope (Construct) –

    • scope in which this resource is defined.

  • id (str) –

    • scoped id of the resource.

  • anomaly_detector_config (Any) – AWS::LookoutMetrics::AnomalyDetector.AnomalyDetectorConfig.

  • metric_set_list (Union[IResolvable, Sequence[Union[IResolvable, MetricSetProperty]]]) – AWS::LookoutMetrics::AnomalyDetector.MetricSetList.

  • anomaly_detector_description (Optional[str]) – AWS::LookoutMetrics::AnomalyDetector.AnomalyDetectorDescription.

  • anomaly_detector_name (Optional[str]) – AWS::LookoutMetrics::AnomalyDetector.AnomalyDetectorName.

  • kms_key_arn (Optional[str]) – AWS::LookoutMetrics::AnomalyDetector.KmsKeyArn.

Methods

add_deletion_override(path)

Syntactic sugar for addOverride(path, undefined).

Parameters

path (str) – The path of the value to delete.

Return type

None

add_depends_on(target)

Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned.

This can be used for resources across stacks (or nested stack) boundaries and the dependency will automatically be transferred to the relevant scope.

Parameters

target (CfnResource) –

Return type

None

add_metadata(key, value)

Add a value to the CloudFormation Resource Metadata.

Parameters
  • key (str) –

  • value (Any) –

See

https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/metadata-section-structure.html

Note that this is a different set of metadata from CDK node metadata; this metadata ends up in the stack template under the resource, whereas CDK node metadata ends up in the Cloud Assembly.

Return type

None

add_override(path, value)

Adds an override to the synthesized CloudFormation resource.

To add a property override, either use addPropertyOverride or prefix path with “Properties.” (i.e. Properties.TopicName).

If the override is nested, separate each nested level using a dot (.) in the path parameter. If there is an array as part of the nesting, specify the index in the path.

To include a literal . in the property name, prefix with a \. In most programming languages you will need to write this as "\\." because the \ itself will need to be escaped.

For example:

# Example automatically generated. See https://github.com/aws/jsii/issues/826
cfn_resource.add_override("Properties.GlobalSecondaryIndexes.0.Projection.NonKeyAttributes", ["myattribute"])
cfn_resource.add_override("Properties.GlobalSecondaryIndexes.1.ProjectionType", "INCLUDE")

would add the overrides Example:

"Properties": {
   "GlobalSecondaryIndexes": [
     {
       "Projection": {
         "NonKeyAttributes": [ "myattribute" ]
         ...
       }
       ...
     },
     {
       "ProjectionType": "INCLUDE"
       ...
     },
   ]
   ...
}
Parameters
  • path (str) –

    • The path of the property, you can use dot notation to override values in complex types. Any intermdediate keys will be created as needed.

  • value (Any) –

    • The value. Could be primitive or complex.

Return type

None

add_property_deletion_override(property_path)

Adds an override that deletes the value of a property from the resource definition.

Parameters

property_path (str) – The path to the property.

Return type

None

add_property_override(property_path, value)

Adds an override to a resource property.

Syntactic sugar for addOverride("Properties.<...>", value).

Parameters
  • property_path (str) – The path of the property.

  • value (Any) – The value.

Return type

None

apply_removal_policy(policy=None, *, apply_to_update_replace_policy=None, default=None)

Sets the deletion policy of the resource based on the removal policy specified.

Parameters
  • policy (Optional[RemovalPolicy]) –

  • apply_to_update_replace_policy (Optional[bool]) – Apply the same deletion policy to the resource’s “UpdateReplacePolicy”. Default: true

  • default (Optional[RemovalPolicy]) – The default policy to apply in case the removal policy is not defined. Default: - Default value is resource specific. To determine the default value for a resoure, please consult that specific resource’s documentation.

Return type

None

get_att(attribute_name)

Returns a token for an runtime attribute of this resource.

Ideally, use generated attribute accessors (e.g. resource.arn), but this can be used for future compatibility in case there is no generated attribute.

Parameters

attribute_name (str) – The name of the attribute.

Return type

Reference

get_metadata(key)

Retrieve a value value from the CloudFormation Resource Metadata.

Parameters

key (str) –

See

https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/metadata-section-structure.html

Note that this is a different set of metadata from CDK node metadata; this metadata ends up in the stack template under the resource, whereas CDK node metadata ends up in the Cloud Assembly.

Return type

Any

inspect(inspector)

Examines the CloudFormation resource and discloses attributes.

Parameters

inspector (TreeInspector) –

  • tree inspector to collect and process attributes.

Return type

None

override_logical_id(new_logical_id)

Overrides the auto-generated logical ID with a specific ID.

Parameters

new_logical_id (str) – The new logical ID to use for this stack element.

Return type

None

to_string()

Returns a string representation of this construct.

Return type

str

Returns

a string representation of this resource

Attributes

CFN_RESOURCE_TYPE_NAME = 'AWS::LookoutMetrics::AnomalyDetector'
anomaly_detector_config

AWS::LookoutMetrics::AnomalyDetector.AnomalyDetectorConfig.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lookoutmetrics-anomalydetector.html#cfn-lookoutmetrics-anomalydetector-anomalydetectorconfig

Return type

Any

anomaly_detector_description

AWS::LookoutMetrics::AnomalyDetector.AnomalyDetectorDescription.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lookoutmetrics-anomalydetector.html#cfn-lookoutmetrics-anomalydetector-anomalydetectordescription

Return type

Optional[str]

anomaly_detector_name

AWS::LookoutMetrics::AnomalyDetector.AnomalyDetectorName.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lookoutmetrics-anomalydetector.html#cfn-lookoutmetrics-anomalydetector-anomalydetectorname

Return type

Optional[str]

attr_arn

Arn

Type

cloudformationAttribute

Return type

str

cfn_options

Options for this resource, such as condition, update policy etc.

Return type

ICfnResourceOptions

cfn_resource_type

AWS resource type.

Return type

str

creation_stack

return:

the stack trace of the point where this Resource was created from, sourced from the +metadata+ entry typed +aws:cdk:logicalId+, and with the bottom-most node +internal+ entries filtered.

Return type

List[str]

kms_key_arn

AWS::LookoutMetrics::AnomalyDetector.KmsKeyArn.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lookoutmetrics-anomalydetector.html#cfn-lookoutmetrics-anomalydetector-kmskeyarn

Return type

Optional[str]

logical_id

The logical ID for this CloudFormation stack element.

The logical ID of the element is calculated from the path of the resource node in the construct tree.

To override this value, use overrideLogicalId(newLogicalId).

Return type

str

Returns

the logical ID as a stringified token. This value will only get resolved during synthesis.

metric_set_list

AWS::LookoutMetrics::AnomalyDetector.MetricSetList.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lookoutmetrics-anomalydetector.html#cfn-lookoutmetrics-anomalydetector-metricsetlist

Return type

Union[IResolvable, List[Union[IResolvable, MetricSetProperty]]]

node

The construct tree node associated with this construct.

Return type

ConstructNode

ref

Return a string that will be resolved to a CloudFormation { Ref } for this element.

If, by any chance, the intrinsic reference of a resource is not a string, you could coerce it to an IResolvable through Lazy.any({ produce: resource.ref }).

Return type

str

stack

The stack in which this element is defined.

CfnElements must be defined within a stack scope (directly or indirectly).

Return type

Stack

Static Methods

classmethod is_cfn_element(x)

Returns true if a construct is a stack element (i.e. part of the synthesized cloudformation template).

Uses duck-typing instead of instanceof to allow stack elements from different versions of this library to be included in the same stack.

Parameters

x (Any) –

Return type

bool

Returns

The construct as a stack element or undefined if it is not a stack element.

classmethod is_cfn_resource(construct)

Check whether the given construct is a CfnResource.

Parameters

construct (IConstruct) –

Return type

bool

classmethod is_construct(x)

Return whether the given object is a Construct.

Parameters

x (Any) –

Return type

bool

AppFlowConfigProperty

class CfnAnomalyDetector.AppFlowConfigProperty(*, flow_name, role_arn)

Bases: object

Parameters
  • flow_name (str) – CfnAnomalyDetector.AppFlowConfigProperty.FlowName.

  • role_arn (str) – CfnAnomalyDetector.AppFlowConfigProperty.RoleArn.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lookoutmetrics-anomalydetector-appflowconfig.html

Attributes

flow_name

CfnAnomalyDetector.AppFlowConfigProperty.FlowName.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lookoutmetrics-anomalydetector-appflowconfig.html#cfn-lookoutmetrics-anomalydetector-appflowconfig-flowname

Return type

str

role_arn

CfnAnomalyDetector.AppFlowConfigProperty.RoleArn.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lookoutmetrics-anomalydetector-appflowconfig.html#cfn-lookoutmetrics-anomalydetector-appflowconfig-rolearn

Return type

str

CloudwatchConfigProperty

class CfnAnomalyDetector.CloudwatchConfigProperty(*, role_arn)

Bases: object

Parameters

role_arn (str) – CfnAnomalyDetector.CloudwatchConfigProperty.RoleArn.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lookoutmetrics-anomalydetector-cloudwatchconfig.html

Attributes

role_arn

CfnAnomalyDetector.CloudwatchConfigProperty.RoleArn.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lookoutmetrics-anomalydetector-cloudwatchconfig.html#cfn-lookoutmetrics-anomalydetector-cloudwatchconfig-rolearn

Return type

str

CsvFormatDescriptorProperty

class CfnAnomalyDetector.CsvFormatDescriptorProperty(*, charset=None, contains_header=None, delimiter=None, file_compression=None, header_list=None, quote_symbol=None)

Bases: object

Parameters
  • charset (Optional[str]) – CfnAnomalyDetector.CsvFormatDescriptorProperty.Charset.

  • contains_header (Union[bool, IResolvable, None]) – CfnAnomalyDetector.CsvFormatDescriptorProperty.ContainsHeader.

  • delimiter (Optional[str]) – CfnAnomalyDetector.CsvFormatDescriptorProperty.Delimiter.

  • file_compression (Optional[str]) – CfnAnomalyDetector.CsvFormatDescriptorProperty.FileCompression.

  • header_list (Optional[Sequence[str]]) – CfnAnomalyDetector.CsvFormatDescriptorProperty.HeaderList.

  • quote_symbol (Optional[str]) – CfnAnomalyDetector.CsvFormatDescriptorProperty.QuoteSymbol.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lookoutmetrics-anomalydetector-csvformatdescriptor.html

Attributes

charset

CfnAnomalyDetector.CsvFormatDescriptorProperty.Charset.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lookoutmetrics-anomalydetector-csvformatdescriptor.html#cfn-lookoutmetrics-anomalydetector-csvformatdescriptor-charset

Return type

Optional[str]

contains_header

CfnAnomalyDetector.CsvFormatDescriptorProperty.ContainsHeader.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lookoutmetrics-anomalydetector-csvformatdescriptor.html#cfn-lookoutmetrics-anomalydetector-csvformatdescriptor-containsheader

Return type

Union[bool, IResolvable, None]

delimiter

CfnAnomalyDetector.CsvFormatDescriptorProperty.Delimiter.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lookoutmetrics-anomalydetector-csvformatdescriptor.html#cfn-lookoutmetrics-anomalydetector-csvformatdescriptor-delimiter

Return type

Optional[str]

file_compression

CfnAnomalyDetector.CsvFormatDescriptorProperty.FileCompression.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lookoutmetrics-anomalydetector-csvformatdescriptor.html#cfn-lookoutmetrics-anomalydetector-csvformatdescriptor-filecompression

Return type

Optional[str]

header_list

CfnAnomalyDetector.CsvFormatDescriptorProperty.HeaderList.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lookoutmetrics-anomalydetector-csvformatdescriptor.html#cfn-lookoutmetrics-anomalydetector-csvformatdescriptor-headerlist

Return type

Optional[List[str]]

quote_symbol

CfnAnomalyDetector.CsvFormatDescriptorProperty.QuoteSymbol.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lookoutmetrics-anomalydetector-csvformatdescriptor.html#cfn-lookoutmetrics-anomalydetector-csvformatdescriptor-quotesymbol

Return type

Optional[str]

FileFormatDescriptorProperty

class CfnAnomalyDetector.FileFormatDescriptorProperty(*, csv_format_descriptor=None, json_format_descriptor=None)

Bases: object

Parameters
Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lookoutmetrics-anomalydetector-fileformatdescriptor.html

Attributes

csv_format_descriptor

CfnAnomalyDetector.FileFormatDescriptorProperty.CsvFormatDescriptor.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lookoutmetrics-anomalydetector-fileformatdescriptor.html#cfn-lookoutmetrics-anomalydetector-fileformatdescriptor-csvformatdescriptor

Return type

Union[IResolvable, CsvFormatDescriptorProperty, None]

json_format_descriptor

CfnAnomalyDetector.FileFormatDescriptorProperty.JsonFormatDescriptor.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lookoutmetrics-anomalydetector-fileformatdescriptor.html#cfn-lookoutmetrics-anomalydetector-fileformatdescriptor-jsonformatdescriptor

Return type

Union[IResolvable, JsonFormatDescriptorProperty, None]

JsonFormatDescriptorProperty

class CfnAnomalyDetector.JsonFormatDescriptorProperty(*, charset=None, file_compression=None)

Bases: object

Parameters
  • charset (Optional[str]) – CfnAnomalyDetector.JsonFormatDescriptorProperty.Charset.

  • file_compression (Optional[str]) – CfnAnomalyDetector.JsonFormatDescriptorProperty.FileCompression.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lookoutmetrics-anomalydetector-jsonformatdescriptor.html

Attributes

charset

CfnAnomalyDetector.JsonFormatDescriptorProperty.Charset.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lookoutmetrics-anomalydetector-jsonformatdescriptor.html#cfn-lookoutmetrics-anomalydetector-jsonformatdescriptor-charset

Return type

Optional[str]

file_compression

CfnAnomalyDetector.JsonFormatDescriptorProperty.FileCompression.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lookoutmetrics-anomalydetector-jsonformatdescriptor.html#cfn-lookoutmetrics-anomalydetector-jsonformatdescriptor-filecompression

Return type

Optional[str]

MetricProperty

class CfnAnomalyDetector.MetricProperty(*, aggregation_function, metric_name, namespace=None)

Bases: object

Parameters
  • aggregation_function (str) – CfnAnomalyDetector.MetricProperty.AggregationFunction.

  • metric_name (str) – CfnAnomalyDetector.MetricProperty.MetricName.

  • namespace (Optional[str]) – CfnAnomalyDetector.MetricProperty.Namespace.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lookoutmetrics-anomalydetector-metric.html

Attributes

aggregation_function

CfnAnomalyDetector.MetricProperty.AggregationFunction.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lookoutmetrics-anomalydetector-metric.html#cfn-lookoutmetrics-anomalydetector-metric-aggregationfunction

Return type

str

metric_name

CfnAnomalyDetector.MetricProperty.MetricName.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lookoutmetrics-anomalydetector-metric.html#cfn-lookoutmetrics-anomalydetector-metric-metricname

Return type

str

namespace

CfnAnomalyDetector.MetricProperty.Namespace.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lookoutmetrics-anomalydetector-metric.html#cfn-lookoutmetrics-anomalydetector-metric-namespace

Return type

Optional[str]

MetricSetProperty

class CfnAnomalyDetector.MetricSetProperty(*, metric_list, metric_set_name, metric_source, dimension_list=None, metric_set_description=None, metric_set_frequency=None, offset=None, timestamp_column=None, timezone=None)

Bases: object

Parameters
  • metric_list (Union[IResolvable, Sequence[Union[IResolvable, MetricProperty]]]) – CfnAnomalyDetector.MetricSetProperty.MetricList.

  • metric_set_name (str) – CfnAnomalyDetector.MetricSetProperty.MetricSetName.

  • metric_source (Union[IResolvable, MetricSourceProperty]) – CfnAnomalyDetector.MetricSetProperty.MetricSource.

  • dimension_list (Optional[Sequence[str]]) – CfnAnomalyDetector.MetricSetProperty.DimensionList.

  • metric_set_description (Optional[str]) – CfnAnomalyDetector.MetricSetProperty.MetricSetDescription.

  • metric_set_frequency (Optional[str]) – CfnAnomalyDetector.MetricSetProperty.MetricSetFrequency.

  • offset (Union[int, float, None]) – CfnAnomalyDetector.MetricSetProperty.Offset.

  • timestamp_column (Union[IResolvable, TimestampColumnProperty, None]) – CfnAnomalyDetector.MetricSetProperty.TimestampColumn.

  • timezone (Optional[str]) – CfnAnomalyDetector.MetricSetProperty.Timezone.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lookoutmetrics-anomalydetector-metricset.html

Attributes

dimension_list

CfnAnomalyDetector.MetricSetProperty.DimensionList.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lookoutmetrics-anomalydetector-metricset.html#cfn-lookoutmetrics-anomalydetector-metricset-dimensionlist

Return type

Optional[List[str]]

metric_list

CfnAnomalyDetector.MetricSetProperty.MetricList.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lookoutmetrics-anomalydetector-metricset.html#cfn-lookoutmetrics-anomalydetector-metricset-metriclist

Return type

Union[IResolvable, List[Union[IResolvable, MetricProperty]]]

metric_set_description

CfnAnomalyDetector.MetricSetProperty.MetricSetDescription.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lookoutmetrics-anomalydetector-metricset.html#cfn-lookoutmetrics-anomalydetector-metricset-metricsetdescription

Return type

Optional[str]

metric_set_frequency

CfnAnomalyDetector.MetricSetProperty.MetricSetFrequency.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lookoutmetrics-anomalydetector-metricset.html#cfn-lookoutmetrics-anomalydetector-metricset-metricsetfrequency

Return type

Optional[str]

metric_set_name

CfnAnomalyDetector.MetricSetProperty.MetricSetName.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lookoutmetrics-anomalydetector-metricset.html#cfn-lookoutmetrics-anomalydetector-metricset-metricsetname

Return type

str

metric_source

CfnAnomalyDetector.MetricSetProperty.MetricSource.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lookoutmetrics-anomalydetector-metricset.html#cfn-lookoutmetrics-anomalydetector-metricset-metricsource

Return type

Union[IResolvable, MetricSourceProperty]

offset

CfnAnomalyDetector.MetricSetProperty.Offset.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lookoutmetrics-anomalydetector-metricset.html#cfn-lookoutmetrics-anomalydetector-metricset-offset

Return type

Union[int, float, None]

timestamp_column

CfnAnomalyDetector.MetricSetProperty.TimestampColumn.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lookoutmetrics-anomalydetector-metricset.html#cfn-lookoutmetrics-anomalydetector-metricset-timestampcolumn

Return type

Union[IResolvable, TimestampColumnProperty, None]

timezone

CfnAnomalyDetector.MetricSetProperty.Timezone.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lookoutmetrics-anomalydetector-metricset.html#cfn-lookoutmetrics-anomalydetector-metricset-timezone

Return type

Optional[str]

MetricSourceProperty

class CfnAnomalyDetector.MetricSourceProperty(*, app_flow_config=None, cloudwatch_config=None, rds_source_config=None, redshift_source_config=None, s3_source_config=None)

Bases: object

Parameters
Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lookoutmetrics-anomalydetector-metricsource.html

Attributes

app_flow_config

CfnAnomalyDetector.MetricSourceProperty.AppFlowConfig.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lookoutmetrics-anomalydetector-metricsource.html#cfn-lookoutmetrics-anomalydetector-metricsource-appflowconfig

Return type

Union[IResolvable, AppFlowConfigProperty, None]

cloudwatch_config

CfnAnomalyDetector.MetricSourceProperty.CloudwatchConfig.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lookoutmetrics-anomalydetector-metricsource.html#cfn-lookoutmetrics-anomalydetector-metricsource-cloudwatchconfig

Return type

Union[IResolvable, CloudwatchConfigProperty, None]

rds_source_config

CfnAnomalyDetector.MetricSourceProperty.RDSSourceConfig.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lookoutmetrics-anomalydetector-metricsource.html#cfn-lookoutmetrics-anomalydetector-metricsource-rdssourceconfig

Return type

Union[IResolvable, RDSSourceConfigProperty, None]

redshift_source_config

CfnAnomalyDetector.MetricSourceProperty.RedshiftSourceConfig.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lookoutmetrics-anomalydetector-metricsource.html#cfn-lookoutmetrics-anomalydetector-metricsource-redshiftsourceconfig

Return type

Union[IResolvable, RedshiftSourceConfigProperty, None]

s3_source_config

CfnAnomalyDetector.MetricSourceProperty.S3SourceConfig.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lookoutmetrics-anomalydetector-metricsource.html#cfn-lookoutmetrics-anomalydetector-metricsource-s3sourceconfig

Return type

Union[IResolvable, S3SourceConfigProperty, None]

RDSSourceConfigProperty

class CfnAnomalyDetector.RDSSourceConfigProperty(*, database_host, database_name, database_port, db_instance_identifier, role_arn, secret_manager_arn, table_name, vpc_configuration)

Bases: object

Parameters
  • database_host (str) – CfnAnomalyDetector.RDSSourceConfigProperty.DatabaseHost.

  • database_name (str) – CfnAnomalyDetector.RDSSourceConfigProperty.DatabaseName.

  • database_port (Union[int, float]) – CfnAnomalyDetector.RDSSourceConfigProperty.DatabasePort.

  • db_instance_identifier (str) – CfnAnomalyDetector.RDSSourceConfigProperty.DBInstanceIdentifier.

  • role_arn (str) – CfnAnomalyDetector.RDSSourceConfigProperty.RoleArn.

  • secret_manager_arn (str) – CfnAnomalyDetector.RDSSourceConfigProperty.SecretManagerArn.

  • table_name (str) – CfnAnomalyDetector.RDSSourceConfigProperty.TableName.

  • vpc_configuration (Union[IResolvable, VpcConfigurationProperty]) – CfnAnomalyDetector.RDSSourceConfigProperty.VpcConfiguration.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lookoutmetrics-anomalydetector-rdssourceconfig.html

Attributes

database_host

CfnAnomalyDetector.RDSSourceConfigProperty.DatabaseHost.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lookoutmetrics-anomalydetector-rdssourceconfig.html#cfn-lookoutmetrics-anomalydetector-rdssourceconfig-databasehost

Return type

str

database_name

CfnAnomalyDetector.RDSSourceConfigProperty.DatabaseName.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lookoutmetrics-anomalydetector-rdssourceconfig.html#cfn-lookoutmetrics-anomalydetector-rdssourceconfig-databasename

Return type

str

database_port

CfnAnomalyDetector.RDSSourceConfigProperty.DatabasePort.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lookoutmetrics-anomalydetector-rdssourceconfig.html#cfn-lookoutmetrics-anomalydetector-rdssourceconfig-databaseport

Return type

Union[int, float]

db_instance_identifier

CfnAnomalyDetector.RDSSourceConfigProperty.DBInstanceIdentifier.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lookoutmetrics-anomalydetector-rdssourceconfig.html#cfn-lookoutmetrics-anomalydetector-rdssourceconfig-dbinstanceidentifier

Return type

str

role_arn

CfnAnomalyDetector.RDSSourceConfigProperty.RoleArn.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lookoutmetrics-anomalydetector-rdssourceconfig.html#cfn-lookoutmetrics-anomalydetector-rdssourceconfig-rolearn

Return type

str

secret_manager_arn

CfnAnomalyDetector.RDSSourceConfigProperty.SecretManagerArn.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lookoutmetrics-anomalydetector-rdssourceconfig.html#cfn-lookoutmetrics-anomalydetector-rdssourceconfig-secretmanagerarn

Return type

str

table_name

CfnAnomalyDetector.RDSSourceConfigProperty.TableName.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lookoutmetrics-anomalydetector-rdssourceconfig.html#cfn-lookoutmetrics-anomalydetector-rdssourceconfig-tablename

Return type

str

vpc_configuration

CfnAnomalyDetector.RDSSourceConfigProperty.VpcConfiguration.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lookoutmetrics-anomalydetector-rdssourceconfig.html#cfn-lookoutmetrics-anomalydetector-rdssourceconfig-vpcconfiguration

Return type

Union[IResolvable, VpcConfigurationProperty]

RedshiftSourceConfigProperty

class CfnAnomalyDetector.RedshiftSourceConfigProperty(*, cluster_identifier, database_host, database_name, database_port, role_arn, secret_manager_arn, table_name, vpc_configuration)

Bases: object

Parameters
  • cluster_identifier (str) – CfnAnomalyDetector.RedshiftSourceConfigProperty.ClusterIdentifier.

  • database_host (str) – CfnAnomalyDetector.RedshiftSourceConfigProperty.DatabaseHost.

  • database_name (str) – CfnAnomalyDetector.RedshiftSourceConfigProperty.DatabaseName.

  • database_port (Union[int, float]) – CfnAnomalyDetector.RedshiftSourceConfigProperty.DatabasePort.

  • role_arn (str) – CfnAnomalyDetector.RedshiftSourceConfigProperty.RoleArn.

  • secret_manager_arn (str) – CfnAnomalyDetector.RedshiftSourceConfigProperty.SecretManagerArn.

  • table_name (str) – CfnAnomalyDetector.RedshiftSourceConfigProperty.TableName.

  • vpc_configuration (Union[IResolvable, VpcConfigurationProperty]) – CfnAnomalyDetector.RedshiftSourceConfigProperty.VpcConfiguration.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lookoutmetrics-anomalydetector-redshiftsourceconfig.html

Attributes

cluster_identifier

CfnAnomalyDetector.RedshiftSourceConfigProperty.ClusterIdentifier.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lookoutmetrics-anomalydetector-redshiftsourceconfig.html#cfn-lookoutmetrics-anomalydetector-redshiftsourceconfig-clusteridentifier

Return type

str

database_host

CfnAnomalyDetector.RedshiftSourceConfigProperty.DatabaseHost.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lookoutmetrics-anomalydetector-redshiftsourceconfig.html#cfn-lookoutmetrics-anomalydetector-redshiftsourceconfig-databasehost

Return type

str

database_name

CfnAnomalyDetector.RedshiftSourceConfigProperty.DatabaseName.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lookoutmetrics-anomalydetector-redshiftsourceconfig.html#cfn-lookoutmetrics-anomalydetector-redshiftsourceconfig-databasename

Return type

str

database_port

CfnAnomalyDetector.RedshiftSourceConfigProperty.DatabasePort.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lookoutmetrics-anomalydetector-redshiftsourceconfig.html#cfn-lookoutmetrics-anomalydetector-redshiftsourceconfig-databaseport

Return type

Union[int, float]

role_arn

CfnAnomalyDetector.RedshiftSourceConfigProperty.RoleArn.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lookoutmetrics-anomalydetector-redshiftsourceconfig.html#cfn-lookoutmetrics-anomalydetector-redshiftsourceconfig-rolearn

Return type

str

secret_manager_arn

CfnAnomalyDetector.RedshiftSourceConfigProperty.SecretManagerArn.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lookoutmetrics-anomalydetector-redshiftsourceconfig.html#cfn-lookoutmetrics-anomalydetector-redshiftsourceconfig-secretmanagerarn

Return type

str

table_name

CfnAnomalyDetector.RedshiftSourceConfigProperty.TableName.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lookoutmetrics-anomalydetector-redshiftsourceconfig.html#cfn-lookoutmetrics-anomalydetector-redshiftsourceconfig-tablename

Return type

str

vpc_configuration

CfnAnomalyDetector.RedshiftSourceConfigProperty.VpcConfiguration.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lookoutmetrics-anomalydetector-redshiftsourceconfig.html#cfn-lookoutmetrics-anomalydetector-redshiftsourceconfig-vpcconfiguration

Return type

Union[IResolvable, VpcConfigurationProperty]

S3SourceConfigProperty

class CfnAnomalyDetector.S3SourceConfigProperty(*, file_format_descriptor, role_arn, historical_data_path_list=None, templated_path_list=None)

Bases: object

Parameters
  • file_format_descriptor (Union[IResolvable, FileFormatDescriptorProperty]) – CfnAnomalyDetector.S3SourceConfigProperty.FileFormatDescriptor.

  • role_arn (str) – CfnAnomalyDetector.S3SourceConfigProperty.RoleArn.

  • historical_data_path_list (Optional[Sequence[str]]) – CfnAnomalyDetector.S3SourceConfigProperty.HistoricalDataPathList.

  • templated_path_list (Optional[Sequence[str]]) – CfnAnomalyDetector.S3SourceConfigProperty.TemplatedPathList.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lookoutmetrics-anomalydetector-s3sourceconfig.html

Attributes

file_format_descriptor

CfnAnomalyDetector.S3SourceConfigProperty.FileFormatDescriptor.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lookoutmetrics-anomalydetector-s3sourceconfig.html#cfn-lookoutmetrics-anomalydetector-s3sourceconfig-fileformatdescriptor

Return type

Union[IResolvable, FileFormatDescriptorProperty]

historical_data_path_list

CfnAnomalyDetector.S3SourceConfigProperty.HistoricalDataPathList.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lookoutmetrics-anomalydetector-s3sourceconfig.html#cfn-lookoutmetrics-anomalydetector-s3sourceconfig-historicaldatapathlist

Return type

Optional[List[str]]

role_arn

CfnAnomalyDetector.S3SourceConfigProperty.RoleArn.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lookoutmetrics-anomalydetector-s3sourceconfig.html#cfn-lookoutmetrics-anomalydetector-s3sourceconfig-rolearn

Return type

str

templated_path_list

CfnAnomalyDetector.S3SourceConfigProperty.TemplatedPathList.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lookoutmetrics-anomalydetector-s3sourceconfig.html#cfn-lookoutmetrics-anomalydetector-s3sourceconfig-templatedpathlist

Return type

Optional[List[str]]

TimestampColumnProperty

class CfnAnomalyDetector.TimestampColumnProperty(*, column_format=None, column_name=None)

Bases: object

Parameters
  • column_format (Optional[str]) – CfnAnomalyDetector.TimestampColumnProperty.ColumnFormat.

  • column_name (Optional[str]) – CfnAnomalyDetector.TimestampColumnProperty.ColumnName.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lookoutmetrics-anomalydetector-timestampcolumn.html

Attributes

column_format

CfnAnomalyDetector.TimestampColumnProperty.ColumnFormat.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lookoutmetrics-anomalydetector-timestampcolumn.html#cfn-lookoutmetrics-anomalydetector-timestampcolumn-columnformat

Return type

Optional[str]

column_name

CfnAnomalyDetector.TimestampColumnProperty.ColumnName.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lookoutmetrics-anomalydetector-timestampcolumn.html#cfn-lookoutmetrics-anomalydetector-timestampcolumn-columnname

Return type

Optional[str]

VpcConfigurationProperty

class CfnAnomalyDetector.VpcConfigurationProperty(*, security_group_id_list, subnet_id_list)

Bases: object

Parameters
  • security_group_id_list (Sequence[str]) – CfnAnomalyDetector.VpcConfigurationProperty.SecurityGroupIdList.

  • subnet_id_list (Sequence[str]) – CfnAnomalyDetector.VpcConfigurationProperty.SubnetIdList.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lookoutmetrics-anomalydetector-vpcconfiguration.html

Attributes

security_group_id_list

CfnAnomalyDetector.VpcConfigurationProperty.SecurityGroupIdList.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lookoutmetrics-anomalydetector-vpcconfiguration.html#cfn-lookoutmetrics-anomalydetector-vpcconfiguration-securitygroupidlist

Return type

List[str]

subnet_id_list

CfnAnomalyDetector.VpcConfigurationProperty.SubnetIdList.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lookoutmetrics-anomalydetector-vpcconfiguration.html#cfn-lookoutmetrics-anomalydetector-vpcconfiguration-subnetidlist

Return type

List[str]