Documentation ¶
Index ¶
- func CfnAlert_CFN_RESOURCE_TYPE_NAME() *string
- func CfnAlert_IsCfnElement(x interface{}) *bool
- func CfnAlert_IsCfnResource(construct constructs.IConstruct) *bool
- func CfnAlert_IsConstruct(x interface{}) *bool
- func CfnAnomalyDetector_CFN_RESOURCE_TYPE_NAME() *string
- func CfnAnomalyDetector_IsCfnElement(x interface{}) *bool
- func CfnAnomalyDetector_IsCfnResource(construct constructs.IConstruct) *bool
- func CfnAnomalyDetector_IsConstruct(x interface{}) *bool
- func NewCfnAlert_Override(c CfnAlert, scope constructs.Construct, id *string, props *CfnAlertProps)
- func NewCfnAnomalyDetector_Override(c CfnAnomalyDetector, scope constructs.Construct, id *string, ...)
- type CfnAlert
- type CfnAlertProps
- type CfnAlert_ActionProperty
- type CfnAlert_LambdaConfigurationProperty
- type CfnAlert_SNSConfigurationProperty
- type CfnAnomalyDetector
- type CfnAnomalyDetectorProps
- type CfnAnomalyDetector_AnomalyDetectorConfigProperty
- type CfnAnomalyDetector_AppFlowConfigProperty
- type CfnAnomalyDetector_CloudwatchConfigProperty
- type CfnAnomalyDetector_CsvFormatDescriptorProperty
- type CfnAnomalyDetector_FileFormatDescriptorProperty
- type CfnAnomalyDetector_JsonFormatDescriptorProperty
- type CfnAnomalyDetector_MetricProperty
- type CfnAnomalyDetector_MetricSetProperty
- type CfnAnomalyDetector_MetricSourceProperty
- type CfnAnomalyDetector_RDSSourceConfigProperty
- type CfnAnomalyDetector_RedshiftSourceConfigProperty
- type CfnAnomalyDetector_S3SourceConfigProperty
- type CfnAnomalyDetector_TimestampColumnProperty
- type CfnAnomalyDetector_VpcConfigurationProperty
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CfnAlert_CFN_RESOURCE_TYPE_NAME ¶
func CfnAlert_CFN_RESOURCE_TYPE_NAME() *string
func CfnAlert_IsCfnElement ¶
func CfnAlert_IsCfnElement(x interface{}) *bool
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.
Returns: The construct as a stack element or undefined if it is not a stack element.
func CfnAlert_IsCfnResource ¶
func CfnAlert_IsCfnResource(construct constructs.IConstruct) *bool
Check whether the given construct is a CfnResource.
func CfnAlert_IsConstruct ¶
func CfnAlert_IsConstruct(x interface{}) *bool
Checks if `x` is a construct.
Returns: true if `x` is an object created from a class which extends `Construct`. Deprecated: use `x instanceof Construct` instead.
func CfnAnomalyDetector_CFN_RESOURCE_TYPE_NAME ¶
func CfnAnomalyDetector_CFN_RESOURCE_TYPE_NAME() *string
func CfnAnomalyDetector_IsCfnElement ¶
func CfnAnomalyDetector_IsCfnElement(x interface{}) *bool
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.
Returns: The construct as a stack element or undefined if it is not a stack element.
func CfnAnomalyDetector_IsCfnResource ¶
func CfnAnomalyDetector_IsCfnResource(construct constructs.IConstruct) *bool
Check whether the given construct is a CfnResource.
func CfnAnomalyDetector_IsConstruct ¶
func CfnAnomalyDetector_IsConstruct(x interface{}) *bool
Checks if `x` is a construct.
Returns: true if `x` is an object created from a class which extends `Construct`. Deprecated: use `x instanceof Construct` instead.
func NewCfnAlert_Override ¶
func NewCfnAlert_Override(c CfnAlert, scope constructs.Construct, id *string, props *CfnAlertProps)
Create a new `AWS::LookoutMetrics::Alert`.
func NewCfnAnomalyDetector_Override ¶
func NewCfnAnomalyDetector_Override(c CfnAnomalyDetector, scope constructs.Construct, id *string, props *CfnAnomalyDetectorProps)
Create a new `AWS::LookoutMetrics::AnomalyDetector`.
Types ¶
type CfnAlert ¶
type CfnAlert interface { awscdk.CfnResource awscdk.IInspectable // Action that will be triggered when there is an alert. Action() interface{} SetAction(val interface{}) // A description of the alert. AlertDescription() *string SetAlertDescription(val *string) // The name of the alert. AlertName() *string SetAlertName(val *string) // An integer from 0 to 100 specifying the alert sensitivity threshold. AlertSensitivityThreshold() *float64 SetAlertSensitivityThreshold(val *float64) // The ARN of the detector to which the alert is attached. AnomalyDetectorArn() *string SetAnomalyDetectorArn(val *string) // The Amazon Resource Name (ARN) of the alert. // // For example, `arn:aws:lookoutmetrics:us-east-2:123456789012:Alert:my-alert`. AttrArn() *string // Options for this resource, such as condition, update policy etc. CfnOptions() awscdk.ICfnResourceOptions CfnProperties() *map[string]interface{} // AWS resource type. CfnResourceType() *string // Returns: 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. CreationStack() *[]*string // 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)`. // // Returns: the logical ID as a stringified token. This value will only get // resolved during synthesis. LogicalId() *string // The tree node. Node() constructs.Node // 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 })`. Ref() *string // The stack in which this element is defined. // // CfnElements must be defined within a stack scope (directly or indirectly). Stack() awscdk.Stack // Return properties modified after initiation. // // Resources that expose mutable properties should override this function to // collect and return the properties object for this resource. UpdatedProperites() *map[string]interface{} // Syntactic sugar for `addOverride(path, undefined)`. AddDeletionOverride(path *string) // 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. AddDependsOn(target awscdk.CfnResource) // Add a value to the CloudFormation Resource Metadata. // 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. // AddMetadata(key *string, value interface{}) // 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, // “`typescript // cfnResource.addOverride('Properties.GlobalSecondaryIndexes.0.Projection.NonKeyAttributes', ['myattribute']); // cfnResource.addOverride('Properties.GlobalSecondaryIndexes.1.ProjectionType', 'INCLUDE'); // “` // would add the overrides // “`json // "Properties": { // "GlobalSecondaryIndexes": [ // { // "Projection": { // "NonKeyAttributes": [ "myattribute" ] // ... // } // ... // }, // { // "ProjectionType": "INCLUDE" // ... // }, // ] // ... // } // “` // // The `value` argument to `addOverride` will not be processed or translated // in any way. Pass raw JSON values in here with the correct capitalization // for CloudFormation. If you pass CDK classes or structs, they will be // rendered with lowercased key names, and CloudFormation will reject the // template. AddOverride(path *string, value interface{}) // Adds an override that deletes the value of a property from the resource definition. AddPropertyDeletionOverride(propertyPath *string) // Adds an override to a resource property. // // Syntactic sugar for `addOverride("Properties.<...>", value)`. AddPropertyOverride(propertyPath *string, value interface{}) // Sets the deletion policy of the resource based on the removal policy specified. // // The Removal Policy controls what happens to this resource when it stops // being managed by CloudFormation, either because you've removed it from the // CDK application or because you've made a change that requires the resource // to be replaced. // // The resource can be deleted (`RemovalPolicy.DESTROY`), or left in your AWS // account for data recovery and cleanup later (`RemovalPolicy.RETAIN`). ApplyRemovalPolicy(policy awscdk.RemovalPolicy, options *awscdk.RemovalPolicyOptions) // 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. GetAtt(attributeName *string) awscdk.Reference // Retrieve a value value from the CloudFormation Resource Metadata. // 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. // GetMetadata(key *string) interface{} // Examines the CloudFormation resource and discloses attributes. Inspect(inspector awscdk.TreeInspector) // Overrides the auto-generated logical ID with a specific ID. OverrideLogicalId(newLogicalId *string) RenderProperties(props *map[string]interface{}) *map[string]interface{} // Can be overridden by subclasses to determine if this resource will be rendered into the cloudformation template. // // Returns: `true` if the resource should be included or `false` is the resource // should be omitted. ShouldSynthesize() *bool // Returns a string representation of this construct. // // Returns: a string representation of this resource. ToString() *string ValidateProperties(_properties interface{}) }
A CloudFormation `AWS::LookoutMetrics::Alert`.
The `AWS::LookoutMetrics::Alert` type creates an alert for an anomaly detector.
Example:
import awscdk "github.com/aws/aws-cdk-go/awscdk"import lookoutmetrics "github.com/aws/aws-cdk-go/awscdk/aws_lookoutmetrics" cfnAlert := lookoutmetrics.NewCfnAlert(this, jsii.String("MyCfnAlert"), &cfnAlertProps{ action: &actionProperty{ lambdaConfiguration: &lambdaConfigurationProperty{ lambdaArn: jsii.String("lambdaArn"), roleArn: jsii.String("roleArn"), }, snsConfiguration: &sNSConfigurationProperty{ roleArn: jsii.String("roleArn"), snsTopicArn: jsii.String("snsTopicArn"), }, }, alertSensitivityThreshold: jsii.Number(123), anomalyDetectorArn: jsii.String("anomalyDetectorArn"), // the properties below are optional alertDescription: jsii.String("alertDescription"), alertName: jsii.String("alertName"), })
func NewCfnAlert ¶
func NewCfnAlert(scope constructs.Construct, id *string, props *CfnAlertProps) CfnAlert
Create a new `AWS::LookoutMetrics::Alert`.
type CfnAlertProps ¶
type CfnAlertProps struct { // Action that will be triggered when there is an alert. Action interface{} `json:"action" yaml:"action"` // An integer from 0 to 100 specifying the alert sensitivity threshold. AlertSensitivityThreshold *float64 `json:"alertSensitivityThreshold" yaml:"alertSensitivityThreshold"` // The ARN of the detector to which the alert is attached. AnomalyDetectorArn *string `json:"anomalyDetectorArn" yaml:"anomalyDetectorArn"` // A description of the alert. AlertDescription *string `json:"alertDescription" yaml:"alertDescription"` // The name of the alert. AlertName *string `json:"alertName" yaml:"alertName"` }
Properties for defining a `CfnAlert`.
Example:
import awscdk "github.com/aws/aws-cdk-go/awscdk"import lookoutmetrics "github.com/aws/aws-cdk-go/awscdk/aws_lookoutmetrics" cfnAlertProps := &cfnAlertProps{ action: &actionProperty{ lambdaConfiguration: &lambdaConfigurationProperty{ lambdaArn: jsii.String("lambdaArn"), roleArn: jsii.String("roleArn"), }, snsConfiguration: &sNSConfigurationProperty{ roleArn: jsii.String("roleArn"), snsTopicArn: jsii.String("snsTopicArn"), }, }, alertSensitivityThreshold: jsii.Number(123), anomalyDetectorArn: jsii.String("anomalyDetectorArn"), // the properties below are optional alertDescription: jsii.String("alertDescription"), alertName: jsii.String("alertName"), }
type CfnAlert_ActionProperty ¶
type CfnAlert_ActionProperty struct { // A configuration for an AWS Lambda channel. LambdaConfiguration interface{} `json:"lambdaConfiguration" yaml:"lambdaConfiguration"` // A configuration for an Amazon SNS channel. SnsConfiguration interface{} `json:"snsConfiguration" yaml:"snsConfiguration"` }
A configuration that specifies the action to perform when anomalies are detected.
Example:
import awscdk "github.com/aws/aws-cdk-go/awscdk"import lookoutmetrics "github.com/aws/aws-cdk-go/awscdk/aws_lookoutmetrics" actionProperty := &actionProperty{ lambdaConfiguration: &lambdaConfigurationProperty{ lambdaArn: jsii.String("lambdaArn"), roleArn: jsii.String("roleArn"), }, snsConfiguration: &sNSConfigurationProperty{ roleArn: jsii.String("roleArn"), snsTopicArn: jsii.String("snsTopicArn"), }, }
type CfnAlert_LambdaConfigurationProperty ¶
type CfnAlert_LambdaConfigurationProperty struct { // The ARN of the Lambda function. LambdaArn *string `json:"lambdaArn" yaml:"lambdaArn"` // The ARN of an IAM role that has permission to invoke the Lambda function. RoleArn *string `json:"roleArn" yaml:"roleArn"` }
Contains information about a Lambda configuration.
Example:
import awscdk "github.com/aws/aws-cdk-go/awscdk"import lookoutmetrics "github.com/aws/aws-cdk-go/awscdk/aws_lookoutmetrics" lambdaConfigurationProperty := &lambdaConfigurationProperty{ lambdaArn: jsii.String("lambdaArn"), roleArn: jsii.String("roleArn"), }
type CfnAlert_SNSConfigurationProperty ¶
type CfnAlert_SNSConfigurationProperty struct { // The ARN of the IAM role that has access to the target SNS topic. RoleArn *string `json:"roleArn" yaml:"roleArn"` // The ARN of the target SNS topic. SnsTopicArn *string `json:"snsTopicArn" yaml:"snsTopicArn"` }
Contains information about the SNS topic to which you want to send your alerts and the IAM role that has access to that topic.
Example:
import awscdk "github.com/aws/aws-cdk-go/awscdk"import lookoutmetrics "github.com/aws/aws-cdk-go/awscdk/aws_lookoutmetrics" sNSConfigurationProperty := &sNSConfigurationProperty{ roleArn: jsii.String("roleArn"), snsTopicArn: jsii.String("snsTopicArn"), }
type CfnAnomalyDetector ¶
type CfnAnomalyDetector interface { awscdk.CfnResource awscdk.IInspectable // Contains information about the configuration of the anomaly detector. AnomalyDetectorConfig() interface{} SetAnomalyDetectorConfig(val interface{}) // A description of the detector. AnomalyDetectorDescription() *string SetAnomalyDetectorDescription(val *string) // The name of the detector. AnomalyDetectorName() *string SetAnomalyDetectorName(val *string) // The Amazon Resource Name (ARN) of the detector. // // For example, `arn:aws:lookoutmetrics:us-east-2:123456789012:AnomalyDetector:my-detector`. AttrArn() *string // Options for this resource, such as condition, update policy etc. CfnOptions() awscdk.ICfnResourceOptions CfnProperties() *map[string]interface{} // AWS resource type. CfnResourceType() *string // Returns: 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. CreationStack() *[]*string // The ARN of the KMS key to use to encrypt your data. KmsKeyArn() *string SetKmsKeyArn(val *string) // 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)`. // // Returns: the logical ID as a stringified token. This value will only get // resolved during synthesis. LogicalId() *string // The detector's dataset. MetricSetList() interface{} SetMetricSetList(val interface{}) // The tree node. Node() constructs.Node // 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 })`. Ref() *string // The stack in which this element is defined. // // CfnElements must be defined within a stack scope (directly or indirectly). Stack() awscdk.Stack // Return properties modified after initiation. // // Resources that expose mutable properties should override this function to // collect and return the properties object for this resource. UpdatedProperites() *map[string]interface{} // Syntactic sugar for `addOverride(path, undefined)`. AddDeletionOverride(path *string) // 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. AddDependsOn(target awscdk.CfnResource) // Add a value to the CloudFormation Resource Metadata. // 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. // AddMetadata(key *string, value interface{}) // 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, // “`typescript // cfnResource.addOverride('Properties.GlobalSecondaryIndexes.0.Projection.NonKeyAttributes', ['myattribute']); // cfnResource.addOverride('Properties.GlobalSecondaryIndexes.1.ProjectionType', 'INCLUDE'); // “` // would add the overrides // “`json // "Properties": { // "GlobalSecondaryIndexes": [ // { // "Projection": { // "NonKeyAttributes": [ "myattribute" ] // ... // } // ... // }, // { // "ProjectionType": "INCLUDE" // ... // }, // ] // ... // } // “` // // The `value` argument to `addOverride` will not be processed or translated // in any way. Pass raw JSON values in here with the correct capitalization // for CloudFormation. If you pass CDK classes or structs, they will be // rendered with lowercased key names, and CloudFormation will reject the // template. AddOverride(path *string, value interface{}) // Adds an override that deletes the value of a property from the resource definition. AddPropertyDeletionOverride(propertyPath *string) // Adds an override to a resource property. // // Syntactic sugar for `addOverride("Properties.<...>", value)`. AddPropertyOverride(propertyPath *string, value interface{}) // Sets the deletion policy of the resource based on the removal policy specified. // // The Removal Policy controls what happens to this resource when it stops // being managed by CloudFormation, either because you've removed it from the // CDK application or because you've made a change that requires the resource // to be replaced. // // The resource can be deleted (`RemovalPolicy.DESTROY`), or left in your AWS // account for data recovery and cleanup later (`RemovalPolicy.RETAIN`). ApplyRemovalPolicy(policy awscdk.RemovalPolicy, options *awscdk.RemovalPolicyOptions) // 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. GetAtt(attributeName *string) awscdk.Reference // Retrieve a value value from the CloudFormation Resource Metadata. // 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. // GetMetadata(key *string) interface{} // Examines the CloudFormation resource and discloses attributes. Inspect(inspector awscdk.TreeInspector) // Overrides the auto-generated logical ID with a specific ID. OverrideLogicalId(newLogicalId *string) RenderProperties(props *map[string]interface{}) *map[string]interface{} // Can be overridden by subclasses to determine if this resource will be rendered into the cloudformation template. // // Returns: `true` if the resource should be included or `false` is the resource // should be omitted. ShouldSynthesize() *bool // Returns a string representation of this construct. // // Returns: a string representation of this resource. ToString() *string ValidateProperties(_properties interface{}) }
A CloudFormation `AWS::LookoutMetrics::AnomalyDetector`.
The `AWS::LookoutMetrics::AnomalyDetector` type creates an anomaly detector.
Example:
import awscdk "github.com/aws/aws-cdk-go/awscdk"import lookoutmetrics "github.com/aws/aws-cdk-go/awscdk/aws_lookoutmetrics" cfnAnomalyDetector := lookoutmetrics.NewCfnAnomalyDetector(this, jsii.String("MyCfnAnomalyDetector"), &cfnAnomalyDetectorProps{ anomalyDetectorConfig: &anomalyDetectorConfigProperty{ anomalyDetectorFrequency: jsii.String("anomalyDetectorFrequency"), }, metricSetList: []interface{}{ &metricSetProperty{ metricList: []interface{}{ &metricProperty{ aggregationFunction: jsii.String("aggregationFunction"), metricName: jsii.String("metricName"), // the properties below are optional namespace: jsii.String("namespace"), }, }, metricSetName: jsii.String("metricSetName"), metricSource: &metricSourceProperty{ appFlowConfig: &appFlowConfigProperty{ flowName: jsii.String("flowName"), roleArn: jsii.String("roleArn"), }, cloudwatchConfig: &cloudwatchConfigProperty{ roleArn: jsii.String("roleArn"), }, rdsSourceConfig: &rDSSourceConfigProperty{ databaseHost: jsii.String("databaseHost"), databaseName: jsii.String("databaseName"), databasePort: jsii.Number(123), dbInstanceIdentifier: jsii.String("dbInstanceIdentifier"), roleArn: jsii.String("roleArn"), secretManagerArn: jsii.String("secretManagerArn"), tableName: jsii.String("tableName"), vpcConfiguration: &vpcConfigurationProperty{ securityGroupIdList: []*string{ jsii.String("securityGroupIdList"), }, subnetIdList: []*string{ jsii.String("subnetIdList"), }, }, }, redshiftSourceConfig: &redshiftSourceConfigProperty{ clusterIdentifier: jsii.String("clusterIdentifier"), databaseHost: jsii.String("databaseHost"), databaseName: jsii.String("databaseName"), databasePort: jsii.Number(123), roleArn: jsii.String("roleArn"), secretManagerArn: jsii.String("secretManagerArn"), tableName: jsii.String("tableName"), vpcConfiguration: &vpcConfigurationProperty{ securityGroupIdList: []*string{ jsii.String("securityGroupIdList"), }, subnetIdList: []*string{ jsii.String("subnetIdList"), }, }, }, s3SourceConfig: &s3SourceConfigProperty{ fileFormatDescriptor: &fileFormatDescriptorProperty{ csvFormatDescriptor: &csvFormatDescriptorProperty{ charset: jsii.String("charset"), containsHeader: jsii.Boolean(false), delimiter: jsii.String("delimiter"), fileCompression: jsii.String("fileCompression"), headerList: []*string{ jsii.String("headerList"), }, quoteSymbol: jsii.String("quoteSymbol"), }, jsonFormatDescriptor: &jsonFormatDescriptorProperty{ charset: jsii.String("charset"), fileCompression: jsii.String("fileCompression"), }, }, roleArn: jsii.String("roleArn"), // the properties below are optional historicalDataPathList: []*string{ jsii.String("historicalDataPathList"), }, templatedPathList: []*string{ jsii.String("templatedPathList"), }, }, }, // the properties below are optional dimensionList: []*string{ jsii.String("dimensionList"), }, metricSetDescription: jsii.String("metricSetDescription"), metricSetFrequency: jsii.String("metricSetFrequency"), offset: jsii.Number(123), timestampColumn: ×tampColumnProperty{ columnFormat: jsii.String("columnFormat"), columnName: jsii.String("columnName"), }, timezone: jsii.String("timezone"), }, }, // the properties below are optional anomalyDetectorDescription: jsii.String("anomalyDetectorDescription"), anomalyDetectorName: jsii.String("anomalyDetectorName"), kmsKeyArn: jsii.String("kmsKeyArn"), })
func NewCfnAnomalyDetector ¶
func NewCfnAnomalyDetector(scope constructs.Construct, id *string, props *CfnAnomalyDetectorProps) CfnAnomalyDetector
Create a new `AWS::LookoutMetrics::AnomalyDetector`.
type CfnAnomalyDetectorProps ¶
type CfnAnomalyDetectorProps struct { // Contains information about the configuration of the anomaly detector. AnomalyDetectorConfig interface{} `json:"anomalyDetectorConfig" yaml:"anomalyDetectorConfig"` // The detector's dataset. MetricSetList interface{} `json:"metricSetList" yaml:"metricSetList"` // A description of the detector. AnomalyDetectorDescription *string `json:"anomalyDetectorDescription" yaml:"anomalyDetectorDescription"` // The name of the detector. AnomalyDetectorName *string `json:"anomalyDetectorName" yaml:"anomalyDetectorName"` // The ARN of the KMS key to use to encrypt your data. KmsKeyArn *string `json:"kmsKeyArn" yaml:"kmsKeyArn"` }
Properties for defining a `CfnAnomalyDetector`.
Example:
import awscdk "github.com/aws/aws-cdk-go/awscdk"import lookoutmetrics "github.com/aws/aws-cdk-go/awscdk/aws_lookoutmetrics" cfnAnomalyDetectorProps := &cfnAnomalyDetectorProps{ anomalyDetectorConfig: &anomalyDetectorConfigProperty{ anomalyDetectorFrequency: jsii.String("anomalyDetectorFrequency"), }, metricSetList: []interface{}{ &metricSetProperty{ metricList: []interface{}{ &metricProperty{ aggregationFunction: jsii.String("aggregationFunction"), metricName: jsii.String("metricName"), // the properties below are optional namespace: jsii.String("namespace"), }, }, metricSetName: jsii.String("metricSetName"), metricSource: &metricSourceProperty{ appFlowConfig: &appFlowConfigProperty{ flowName: jsii.String("flowName"), roleArn: jsii.String("roleArn"), }, cloudwatchConfig: &cloudwatchConfigProperty{ roleArn: jsii.String("roleArn"), }, rdsSourceConfig: &rDSSourceConfigProperty{ databaseHost: jsii.String("databaseHost"), databaseName: jsii.String("databaseName"), databasePort: jsii.Number(123), dbInstanceIdentifier: jsii.String("dbInstanceIdentifier"), roleArn: jsii.String("roleArn"), secretManagerArn: jsii.String("secretManagerArn"), tableName: jsii.String("tableName"), vpcConfiguration: &vpcConfigurationProperty{ securityGroupIdList: []*string{ jsii.String("securityGroupIdList"), }, subnetIdList: []*string{ jsii.String("subnetIdList"), }, }, }, redshiftSourceConfig: &redshiftSourceConfigProperty{ clusterIdentifier: jsii.String("clusterIdentifier"), databaseHost: jsii.String("databaseHost"), databaseName: jsii.String("databaseName"), databasePort: jsii.Number(123), roleArn: jsii.String("roleArn"), secretManagerArn: jsii.String("secretManagerArn"), tableName: jsii.String("tableName"), vpcConfiguration: &vpcConfigurationProperty{ securityGroupIdList: []*string{ jsii.String("securityGroupIdList"), }, subnetIdList: []*string{ jsii.String("subnetIdList"), }, }, }, s3SourceConfig: &s3SourceConfigProperty{ fileFormatDescriptor: &fileFormatDescriptorProperty{ csvFormatDescriptor: &csvFormatDescriptorProperty{ charset: jsii.String("charset"), containsHeader: jsii.Boolean(false), delimiter: jsii.String("delimiter"), fileCompression: jsii.String("fileCompression"), headerList: []*string{ jsii.String("headerList"), }, quoteSymbol: jsii.String("quoteSymbol"), }, jsonFormatDescriptor: &jsonFormatDescriptorProperty{ charset: jsii.String("charset"), fileCompression: jsii.String("fileCompression"), }, }, roleArn: jsii.String("roleArn"), // the properties below are optional historicalDataPathList: []*string{ jsii.String("historicalDataPathList"), }, templatedPathList: []*string{ jsii.String("templatedPathList"), }, }, }, // the properties below are optional dimensionList: []*string{ jsii.String("dimensionList"), }, metricSetDescription: jsii.String("metricSetDescription"), metricSetFrequency: jsii.String("metricSetFrequency"), offset: jsii.Number(123), timestampColumn: ×tampColumnProperty{ columnFormat: jsii.String("columnFormat"), columnName: jsii.String("columnName"), }, timezone: jsii.String("timezone"), }, }, // the properties below are optional anomalyDetectorDescription: jsii.String("anomalyDetectorDescription"), anomalyDetectorName: jsii.String("anomalyDetectorName"), kmsKeyArn: jsii.String("kmsKeyArn"), }
type CfnAnomalyDetector_AnomalyDetectorConfigProperty ¶
type CfnAnomalyDetector_AnomalyDetectorConfigProperty struct { // The frequency at which the detector analyzes its source data. AnomalyDetectorFrequency *string `json:"anomalyDetectorFrequency" yaml:"anomalyDetectorFrequency"` }
Contains information about a detector's configuration.
Example:
import awscdk "github.com/aws/aws-cdk-go/awscdk"import lookoutmetrics "github.com/aws/aws-cdk-go/awscdk/aws_lookoutmetrics" anomalyDetectorConfigProperty := &anomalyDetectorConfigProperty{ anomalyDetectorFrequency: jsii.String("anomalyDetectorFrequency"), }
type CfnAnomalyDetector_AppFlowConfigProperty ¶
type CfnAnomalyDetector_AppFlowConfigProperty struct { // name of the flow. FlowName *string `json:"flowName" yaml:"flowName"` // An IAM role that gives Amazon Lookout for Metrics permission to access the flow. RoleArn *string `json:"roleArn" yaml:"roleArn"` }
Details about an Amazon AppFlow flow datasource.
Example:
import awscdk "github.com/aws/aws-cdk-go/awscdk"import lookoutmetrics "github.com/aws/aws-cdk-go/awscdk/aws_lookoutmetrics" appFlowConfigProperty := &appFlowConfigProperty{ flowName: jsii.String("flowName"), roleArn: jsii.String("roleArn"), }
type CfnAnomalyDetector_CloudwatchConfigProperty ¶
type CfnAnomalyDetector_CloudwatchConfigProperty struct { // An IAM role that gives Amazon Lookout for Metrics permission to access data in Amazon CloudWatch. RoleArn *string `json:"roleArn" yaml:"roleArn"` }
Details about an Amazon CloudWatch datasource.
Example:
import awscdk "github.com/aws/aws-cdk-go/awscdk"import lookoutmetrics "github.com/aws/aws-cdk-go/awscdk/aws_lookoutmetrics" cloudwatchConfigProperty := &cloudwatchConfigProperty{ roleArn: jsii.String("roleArn"), }
type CfnAnomalyDetector_CsvFormatDescriptorProperty ¶
type CfnAnomalyDetector_CsvFormatDescriptorProperty struct { // The character set in which the source CSV file is written. Charset *string `json:"charset" yaml:"charset"` // Whether or not the source CSV file contains a header. ContainsHeader interface{} `json:"containsHeader" yaml:"containsHeader"` // The character used to delimit the source CSV file. Delimiter *string `json:"delimiter" yaml:"delimiter"` // The level of compression of the source CSV file. FileCompression *string `json:"fileCompression" yaml:"fileCompression"` // A list of the source CSV file's headers, if any. HeaderList *[]*string `json:"headerList" yaml:"headerList"` // The character used as a quote character. QuoteSymbol *string `json:"quoteSymbol" yaml:"quoteSymbol"` }
Contains information about how a source CSV data file should be analyzed.
Example:
import awscdk "github.com/aws/aws-cdk-go/awscdk"import lookoutmetrics "github.com/aws/aws-cdk-go/awscdk/aws_lookoutmetrics" csvFormatDescriptorProperty := &csvFormatDescriptorProperty{ charset: jsii.String("charset"), containsHeader: jsii.Boolean(false), delimiter: jsii.String("delimiter"), fileCompression: jsii.String("fileCompression"), headerList: []*string{ jsii.String("headerList"), }, quoteSymbol: jsii.String("quoteSymbol"), }
type CfnAnomalyDetector_FileFormatDescriptorProperty ¶
type CfnAnomalyDetector_FileFormatDescriptorProperty struct { // Contains information about how a source CSV data file should be analyzed. CsvFormatDescriptor interface{} `json:"csvFormatDescriptor" yaml:"csvFormatDescriptor"` // Contains information about how a source JSON data file should be analyzed. JsonFormatDescriptor interface{} `json:"jsonFormatDescriptor" yaml:"jsonFormatDescriptor"` }
Contains information about a source file's formatting.
Example:
import awscdk "github.com/aws/aws-cdk-go/awscdk"import lookoutmetrics "github.com/aws/aws-cdk-go/awscdk/aws_lookoutmetrics" fileFormatDescriptorProperty := &fileFormatDescriptorProperty{ csvFormatDescriptor: &csvFormatDescriptorProperty{ charset: jsii.String("charset"), containsHeader: jsii.Boolean(false), delimiter: jsii.String("delimiter"), fileCompression: jsii.String("fileCompression"), headerList: []*string{ jsii.String("headerList"), }, quoteSymbol: jsii.String("quoteSymbol"), }, jsonFormatDescriptor: &jsonFormatDescriptorProperty{ charset: jsii.String("charset"), fileCompression: jsii.String("fileCompression"), }, }
type CfnAnomalyDetector_JsonFormatDescriptorProperty ¶
type CfnAnomalyDetector_JsonFormatDescriptorProperty struct { // The character set in which the source JSON file is written. Charset *string `json:"charset" yaml:"charset"` // The level of compression of the source CSV file. FileCompression *string `json:"fileCompression" yaml:"fileCompression"` }
Contains information about how a source JSON data file should be analyzed.
Example:
import awscdk "github.com/aws/aws-cdk-go/awscdk"import lookoutmetrics "github.com/aws/aws-cdk-go/awscdk/aws_lookoutmetrics" jsonFormatDescriptorProperty := &jsonFormatDescriptorProperty{ charset: jsii.String("charset"), fileCompression: jsii.String("fileCompression"), }
type CfnAnomalyDetector_MetricProperty ¶
type CfnAnomalyDetector_MetricProperty struct { // The function with which the metric is calculated. AggregationFunction *string `json:"aggregationFunction" yaml:"aggregationFunction"` // The name of the metric. MetricName *string `json:"metricName" yaml:"metricName"` // The namespace for the metric. Namespace *string `json:"namespace" yaml:"namespace"` }
A calculation made by contrasting a measure and a dimension from your source data.
Example:
import awscdk "github.com/aws/aws-cdk-go/awscdk"import lookoutmetrics "github.com/aws/aws-cdk-go/awscdk/aws_lookoutmetrics" metricProperty := &metricProperty{ aggregationFunction: jsii.String("aggregationFunction"), metricName: jsii.String("metricName"), // the properties below are optional namespace: jsii.String("namespace"), }
type CfnAnomalyDetector_MetricSetProperty ¶
type CfnAnomalyDetector_MetricSetProperty struct { // A list of metrics that the dataset will contain. MetricList interface{} `json:"metricList" yaml:"metricList"` // The name of the dataset. MetricSetName *string `json:"metricSetName" yaml:"metricSetName"` // Contains information about how the source data should be interpreted. MetricSource interface{} `json:"metricSource" yaml:"metricSource"` // A list of the fields you want to treat as dimensions. DimensionList *[]*string `json:"dimensionList" yaml:"dimensionList"` // A description of the dataset you are creating. MetricSetDescription *string `json:"metricSetDescription" yaml:"metricSetDescription"` // The frequency with which the source data will be analyzed for anomalies. MetricSetFrequency *string `json:"metricSetFrequency" yaml:"metricSetFrequency"` // After an interval ends, the amount of seconds that the detector waits before importing data. // // Offset is only supported for S3 and Redshift datasources. Offset *float64 `json:"offset" yaml:"offset"` // Contains information about the column used for tracking time in your source data. TimestampColumn interface{} `json:"timestampColumn" yaml:"timestampColumn"` // The time zone in which your source data was recorded. Timezone *string `json:"timezone" yaml:"timezone"` }
Contains information about a dataset.
Example:
import awscdk "github.com/aws/aws-cdk-go/awscdk"import lookoutmetrics "github.com/aws/aws-cdk-go/awscdk/aws_lookoutmetrics" metricSetProperty := &metricSetProperty{ metricList: []interface{}{ &metricProperty{ aggregationFunction: jsii.String("aggregationFunction"), metricName: jsii.String("metricName"), // the properties below are optional namespace: jsii.String("namespace"), }, }, metricSetName: jsii.String("metricSetName"), metricSource: &metricSourceProperty{ appFlowConfig: &appFlowConfigProperty{ flowName: jsii.String("flowName"), roleArn: jsii.String("roleArn"), }, cloudwatchConfig: &cloudwatchConfigProperty{ roleArn: jsii.String("roleArn"), }, rdsSourceConfig: &rDSSourceConfigProperty{ databaseHost: jsii.String("databaseHost"), databaseName: jsii.String("databaseName"), databasePort: jsii.Number(123), dbInstanceIdentifier: jsii.String("dbInstanceIdentifier"), roleArn: jsii.String("roleArn"), secretManagerArn: jsii.String("secretManagerArn"), tableName: jsii.String("tableName"), vpcConfiguration: &vpcConfigurationProperty{ securityGroupIdList: []*string{ jsii.String("securityGroupIdList"), }, subnetIdList: []*string{ jsii.String("subnetIdList"), }, }, }, redshiftSourceConfig: &redshiftSourceConfigProperty{ clusterIdentifier: jsii.String("clusterIdentifier"), databaseHost: jsii.String("databaseHost"), databaseName: jsii.String("databaseName"), databasePort: jsii.Number(123), roleArn: jsii.String("roleArn"), secretManagerArn: jsii.String("secretManagerArn"), tableName: jsii.String("tableName"), vpcConfiguration: &vpcConfigurationProperty{ securityGroupIdList: []*string{ jsii.String("securityGroupIdList"), }, subnetIdList: []*string{ jsii.String("subnetIdList"), }, }, }, s3SourceConfig: &s3SourceConfigProperty{ fileFormatDescriptor: &fileFormatDescriptorProperty{ csvFormatDescriptor: &csvFormatDescriptorProperty{ charset: jsii.String("charset"), containsHeader: jsii.Boolean(false), delimiter: jsii.String("delimiter"), fileCompression: jsii.String("fileCompression"), headerList: []*string{ jsii.String("headerList"), }, quoteSymbol: jsii.String("quoteSymbol"), }, jsonFormatDescriptor: &jsonFormatDescriptorProperty{ charset: jsii.String("charset"), fileCompression: jsii.String("fileCompression"), }, }, roleArn: jsii.String("roleArn"), // the properties below are optional historicalDataPathList: []*string{ jsii.String("historicalDataPathList"), }, templatedPathList: []*string{ jsii.String("templatedPathList"), }, }, }, // the properties below are optional dimensionList: []*string{ jsii.String("dimensionList"), }, metricSetDescription: jsii.String("metricSetDescription"), metricSetFrequency: jsii.String("metricSetFrequency"), offset: jsii.Number(123), timestampColumn: ×tampColumnProperty{ columnFormat: jsii.String("columnFormat"), columnName: jsii.String("columnName"), }, timezone: jsii.String("timezone"), }
type CfnAnomalyDetector_MetricSourceProperty ¶
type CfnAnomalyDetector_MetricSourceProperty struct { // An object containing information about the AppFlow configuration. AppFlowConfig interface{} `json:"appFlowConfig" yaml:"appFlowConfig"` // An object containing information about the Amazon CloudWatch monitoring configuration. CloudwatchConfig interface{} `json:"cloudwatchConfig" yaml:"cloudwatchConfig"` // An object containing information about the Amazon Relational Database Service (RDS) configuration. RdsSourceConfig interface{} `json:"rdsSourceConfig" yaml:"rdsSourceConfig"` // An object containing information about the Amazon Redshift database configuration. RedshiftSourceConfig interface{} `json:"redshiftSourceConfig" yaml:"redshiftSourceConfig"` // Contains information about the configuration of the S3 bucket that contains source files. S3SourceConfig interface{} `json:"s3SourceConfig" yaml:"s3SourceConfig"` }
Contains information about how the source data should be interpreted.
Example:
import awscdk "github.com/aws/aws-cdk-go/awscdk"import lookoutmetrics "github.com/aws/aws-cdk-go/awscdk/aws_lookoutmetrics" metricSourceProperty := &metricSourceProperty{ appFlowConfig: &appFlowConfigProperty{ flowName: jsii.String("flowName"), roleArn: jsii.String("roleArn"), }, cloudwatchConfig: &cloudwatchConfigProperty{ roleArn: jsii.String("roleArn"), }, rdsSourceConfig: &rDSSourceConfigProperty{ databaseHost: jsii.String("databaseHost"), databaseName: jsii.String("databaseName"), databasePort: jsii.Number(123), dbInstanceIdentifier: jsii.String("dbInstanceIdentifier"), roleArn: jsii.String("roleArn"), secretManagerArn: jsii.String("secretManagerArn"), tableName: jsii.String("tableName"), vpcConfiguration: &vpcConfigurationProperty{ securityGroupIdList: []*string{ jsii.String("securityGroupIdList"), }, subnetIdList: []*string{ jsii.String("subnetIdList"), }, }, }, redshiftSourceConfig: &redshiftSourceConfigProperty{ clusterIdentifier: jsii.String("clusterIdentifier"), databaseHost: jsii.String("databaseHost"), databaseName: jsii.String("databaseName"), databasePort: jsii.Number(123), roleArn: jsii.String("roleArn"), secretManagerArn: jsii.String("secretManagerArn"), tableName: jsii.String("tableName"), vpcConfiguration: &vpcConfigurationProperty{ securityGroupIdList: []*string{ jsii.String("securityGroupIdList"), }, subnetIdList: []*string{ jsii.String("subnetIdList"), }, }, }, s3SourceConfig: &s3SourceConfigProperty{ fileFormatDescriptor: &fileFormatDescriptorProperty{ csvFormatDescriptor: &csvFormatDescriptorProperty{ charset: jsii.String("charset"), containsHeader: jsii.Boolean(false), delimiter: jsii.String("delimiter"), fileCompression: jsii.String("fileCompression"), headerList: []*string{ jsii.String("headerList"), }, quoteSymbol: jsii.String("quoteSymbol"), }, jsonFormatDescriptor: &jsonFormatDescriptorProperty{ charset: jsii.String("charset"), fileCompression: jsii.String("fileCompression"), }, }, roleArn: jsii.String("roleArn"), // the properties below are optional historicalDataPathList: []*string{ jsii.String("historicalDataPathList"), }, templatedPathList: []*string{ jsii.String("templatedPathList"), }, }, }
type CfnAnomalyDetector_RDSSourceConfigProperty ¶
type CfnAnomalyDetector_RDSSourceConfigProperty struct { // The host name of the database. DatabaseHost *string `json:"databaseHost" yaml:"databaseHost"` // The name of the RDS database. DatabaseName *string `json:"databaseName" yaml:"databaseName"` // The port number where the database can be accessed. DatabasePort *float64 `json:"databasePort" yaml:"databasePort"` // A string identifying the database instance. DbInstanceIdentifier *string `json:"dbInstanceIdentifier" yaml:"dbInstanceIdentifier"` // The Amazon Resource Name (ARN) of the role. RoleArn *string `json:"roleArn" yaml:"roleArn"` // The Amazon Resource Name (ARN) of the AWS Secrets Manager role. SecretManagerArn *string `json:"secretManagerArn" yaml:"secretManagerArn"` // The name of the table in the database. TableName *string `json:"tableName" yaml:"tableName"` // An object containing information about the Amazon Virtual Private Cloud (VPC) configuration. VpcConfiguration interface{} `json:"vpcConfiguration" yaml:"vpcConfiguration"` }
Contains information about the Amazon Relational Database Service (RDS) configuration.
Example:
import awscdk "github.com/aws/aws-cdk-go/awscdk"import lookoutmetrics "github.com/aws/aws-cdk-go/awscdk/aws_lookoutmetrics" rDSSourceConfigProperty := &rDSSourceConfigProperty{ databaseHost: jsii.String("databaseHost"), databaseName: jsii.String("databaseName"), databasePort: jsii.Number(123), dbInstanceIdentifier: jsii.String("dbInstanceIdentifier"), roleArn: jsii.String("roleArn"), secretManagerArn: jsii.String("secretManagerArn"), tableName: jsii.String("tableName"), vpcConfiguration: &vpcConfigurationProperty{ securityGroupIdList: []*string{ jsii.String("securityGroupIdList"), }, subnetIdList: []*string{ jsii.String("subnetIdList"), }, }, }
type CfnAnomalyDetector_RedshiftSourceConfigProperty ¶
type CfnAnomalyDetector_RedshiftSourceConfigProperty struct { // A string identifying the Redshift cluster. ClusterIdentifier *string `json:"clusterIdentifier" yaml:"clusterIdentifier"` // The name of the database host. DatabaseHost *string `json:"databaseHost" yaml:"databaseHost"` // The Redshift database name. DatabaseName *string `json:"databaseName" yaml:"databaseName"` // The port number where the database can be accessed. DatabasePort *float64 `json:"databasePort" yaml:"databasePort"` // The Amazon Resource Name (ARN) of the role providing access to the database. RoleArn *string `json:"roleArn" yaml:"roleArn"` // The Amazon Resource Name (ARN) of the AWS Secrets Manager role. SecretManagerArn *string `json:"secretManagerArn" yaml:"secretManagerArn"` // The table name of the Redshift database. TableName *string `json:"tableName" yaml:"tableName"` // Contains information about the Amazon Virtual Private Cloud (VPC) configuration. VpcConfiguration interface{} `json:"vpcConfiguration" yaml:"vpcConfiguration"` }
Provides information about the Amazon Redshift database configuration.
Example:
import awscdk "github.com/aws/aws-cdk-go/awscdk"import lookoutmetrics "github.com/aws/aws-cdk-go/awscdk/aws_lookoutmetrics" redshiftSourceConfigProperty := &redshiftSourceConfigProperty{ clusterIdentifier: jsii.String("clusterIdentifier"), databaseHost: jsii.String("databaseHost"), databaseName: jsii.String("databaseName"), databasePort: jsii.Number(123), roleArn: jsii.String("roleArn"), secretManagerArn: jsii.String("secretManagerArn"), tableName: jsii.String("tableName"), vpcConfiguration: &vpcConfigurationProperty{ securityGroupIdList: []*string{ jsii.String("securityGroupIdList"), }, subnetIdList: []*string{ jsii.String("subnetIdList"), }, }, }
type CfnAnomalyDetector_S3SourceConfigProperty ¶
type CfnAnomalyDetector_S3SourceConfigProperty struct { // Contains information about a source file's formatting. FileFormatDescriptor interface{} `json:"fileFormatDescriptor" yaml:"fileFormatDescriptor"` // The ARN of an IAM role that has read and write access permissions to the source S3 bucket. RoleArn *string `json:"roleArn" yaml:"roleArn"` // A list of paths to the historical data files. HistoricalDataPathList *[]*string `json:"historicalDataPathList" yaml:"historicalDataPathList"` // A list of templated paths to the source files. TemplatedPathList *[]*string `json:"templatedPathList" yaml:"templatedPathList"` }
Contains information about the configuration of the S3 bucket that contains source files.
Example:
import awscdk "github.com/aws/aws-cdk-go/awscdk"import lookoutmetrics "github.com/aws/aws-cdk-go/awscdk/aws_lookoutmetrics" s3SourceConfigProperty := &s3SourceConfigProperty{ fileFormatDescriptor: &fileFormatDescriptorProperty{ csvFormatDescriptor: &csvFormatDescriptorProperty{ charset: jsii.String("charset"), containsHeader: jsii.Boolean(false), delimiter: jsii.String("delimiter"), fileCompression: jsii.String("fileCompression"), headerList: []*string{ jsii.String("headerList"), }, quoteSymbol: jsii.String("quoteSymbol"), }, jsonFormatDescriptor: &jsonFormatDescriptorProperty{ charset: jsii.String("charset"), fileCompression: jsii.String("fileCompression"), }, }, roleArn: jsii.String("roleArn"), // the properties below are optional historicalDataPathList: []*string{ jsii.String("historicalDataPathList"), }, templatedPathList: []*string{ jsii.String("templatedPathList"), }, }
type CfnAnomalyDetector_TimestampColumnProperty ¶
type CfnAnomalyDetector_TimestampColumnProperty struct { // The format of the timestamp column. ColumnFormat *string `json:"columnFormat" yaml:"columnFormat"` // The name of the timestamp column. ColumnName *string `json:"columnName" yaml:"columnName"` }
Contains information about the column used to track time in a source data file.
Example:
import awscdk "github.com/aws/aws-cdk-go/awscdk"import lookoutmetrics "github.com/aws/aws-cdk-go/awscdk/aws_lookoutmetrics" timestampColumnProperty := ×tampColumnProperty{ columnFormat: jsii.String("columnFormat"), columnName: jsii.String("columnName"), }
type CfnAnomalyDetector_VpcConfigurationProperty ¶
type CfnAnomalyDetector_VpcConfigurationProperty struct { // An array of strings containing the list of security groups. SecurityGroupIdList *[]*string `json:"securityGroupIdList" yaml:"securityGroupIdList"` // An array of strings containing the Amazon VPC subnet IDs (e.g., `subnet-0bb1c79de3EXAMPLE` . SubnetIdList *[]*string `json:"subnetIdList" yaml:"subnetIdList"` }
Contains configuration information about the Amazon Virtual Private Cloud (VPC).
Example:
import awscdk "github.com/aws/aws-cdk-go/awscdk"import lookoutmetrics "github.com/aws/aws-cdk-go/awscdk/aws_lookoutmetrics" vpcConfigurationProperty := &vpcConfigurationProperty{ securityGroupIdList: []*string{ jsii.String("securityGroupIdList"), }, subnetIdList: []*string{ jsii.String("subnetIdList"), }, }