diff --git a/API.md b/API.md index aa31aa87..1e104104 100644 --- a/API.md +++ b/API.md @@ -4524,6 +4524,8 @@ const apiGatewayMetricFactoryProps: ApiGatewayMetricFactoryProps = { ... } | **Name** | **Type** | **Description** | | --- | --- | --- | +| account | string | Account where the metrics exist. | +| region | string | Region where the metrics exist. | | api | aws-cdk-lib.aws_apigateway.IRestApi | API to monitor. | | apiMethod | string | On undefined value is not set in dimensions. | | apiResource | string | On undefined value is not set in dimensions. | @@ -4533,6 +4535,36 @@ const apiGatewayMetricFactoryProps: ApiGatewayMetricFactoryProps = { ... } --- +##### `account`Optional + +```typescript +public readonly account: string; +``` + +- *Type:* string +- *Default:* The account configured by the construct holding the Monitoring construct + +Account where the metrics exist. + +> [https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html) + +--- + +##### `region`Optional + +```typescript +public readonly region: string; +``` + +- *Type:* string +- *Default:* The region configured by the construct holding the Monitoring construct + +Region where the metrics exist. + +> [https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html) + +--- + ##### `api`Required ```typescript @@ -4616,6 +4648,8 @@ const apiGatewayMonitoringOptions: ApiGatewayMonitoringOptions = { ... } | **Name** | **Type** | **Description** | | --- | --- | --- | +| account | string | Account where the metrics exist. | +| region | string | Region where the metrics exist. | | alarmFriendlyName | string | Plain name, used in naming alarms. | | humanReadableName | string | Human-readable name is a freeform string, used as a caption or description. | | localAlarmNamePrefixOverride | string | If this is defined, the local alarm name prefix used in naming alarms for the construct will be set to this value. | @@ -4653,6 +4687,36 @@ const apiGatewayMonitoringOptions: ApiGatewayMonitoringOptions = { ... } --- +##### `account`Optional + +```typescript +public readonly account: string; +``` + +- *Type:* string +- *Default:* The account configured by the construct holding the Monitoring construct + +Account where the metrics exist. + +> [https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html) + +--- + +##### `region`Optional + +```typescript +public readonly region: string; +``` + +- *Type:* string +- *Default:* The region configured by the construct holding the Monitoring construct + +Region where the metrics exist. + +> [https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html) + +--- + ##### `alarmFriendlyName`Optional ```typescript @@ -5044,6 +5108,8 @@ const apiGatewayMonitoringProps: ApiGatewayMonitoringProps = { ... } | **Name** | **Type** | **Description** | | --- | --- | --- | +| account | string | Account where the metrics exist. | +| region | string | Region where the metrics exist. | | api | aws-cdk-lib.aws_apigateway.IRestApi | API to monitor. | | apiMethod | string | On undefined value is not set in dimensions. | | apiResource | string | On undefined value is not set in dimensions. | @@ -5087,6 +5153,36 @@ const apiGatewayMonitoringProps: ApiGatewayMonitoringProps = { ... } --- +##### `account`Optional + +```typescript +public readonly account: string; +``` + +- *Type:* string +- *Default:* The account configured by the construct holding the Monitoring construct + +Account where the metrics exist. + +> [https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html) + +--- + +##### `region`Optional + +```typescript +public readonly region: string; +``` + +- *Type:* string +- *Default:* The region configured by the construct holding the Monitoring construct + +Region where the metrics exist. + +> [https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html) + +--- + ##### `api`Required ```typescript @@ -5547,6 +5643,8 @@ const apiGatewayV2HttpApiMetricFactoryProps: ApiGatewayV2HttpApiMetricFactoryPro | **Name** | **Type** | **Description** | | --- | --- | --- | +| account | string | Account where the metrics exist. | +| region | string | Region where the metrics exist. | | api | aws-cdk-lib.aws_apigatewayv2.IHttpApi | *No description.* | | apiMethod | string | On undefined value is not set in dimensions. | | apiResource | string | On undefined value is not set in dimensions. | @@ -5556,6 +5654,36 @@ const apiGatewayV2HttpApiMetricFactoryProps: ApiGatewayV2HttpApiMetricFactoryPro --- +##### `account`Optional + +```typescript +public readonly account: string; +``` + +- *Type:* string +- *Default:* The account configured by the construct holding the Monitoring construct + +Account where the metrics exist. + +> [https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html) + +--- + +##### `region`Optional + +```typescript +public readonly region: string; +``` + +- *Type:* string +- *Default:* The region configured by the construct holding the Monitoring construct + +Region where the metrics exist. + +> [https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html) + +--- + ##### `api`Required ```typescript @@ -5637,6 +5765,8 @@ const apiGatewayV2HttpApiMonitoringProps: ApiGatewayV2HttpApiMonitoringProps = { | **Name** | **Type** | **Description** | | --- | --- | --- | +| account | string | Account where the metrics exist. | +| region | string | Region where the metrics exist. | | api | aws-cdk-lib.aws_apigatewayv2.IHttpApi | *No description.* | | apiMethod | string | On undefined value is not set in dimensions. | | apiResource | string | On undefined value is not set in dimensions. | @@ -5700,6 +5830,36 @@ const apiGatewayV2HttpApiMonitoringProps: ApiGatewayV2HttpApiMonitoringProps = { --- +##### `account`Optional + +```typescript +public readonly account: string; +``` + +- *Type:* string +- *Default:* The account configured by the construct holding the Monitoring construct + +Account where the metrics exist. + +> [https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html) + +--- + +##### `region`Optional + +```typescript +public readonly region: string; +``` + +- *Type:* string +- *Default:* The region configured by the construct holding the Monitoring construct + +Region where the metrics exist. + +> [https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html) + +--- + ##### `api`Required ```typescript @@ -6358,6 +6518,8 @@ const apiGatewayV2MonitoringOptions: ApiGatewayV2MonitoringOptions = { ... } | **Name** | **Type** | **Description** | | --- | --- | --- | +| account | string | Account where the metrics exist. | +| region | string | Region where the metrics exist. | | alarmFriendlyName | string | Plain name, used in naming alarms. | | humanReadableName | string | Human-readable name is a freeform string, used as a caption or description. | | localAlarmNamePrefixOverride | string | If this is defined, the local alarm name prefix used in naming alarms for the construct will be set to this value. | @@ -6415,6 +6577,36 @@ const apiGatewayV2MonitoringOptions: ApiGatewayV2MonitoringOptions = { ... } --- +##### `account`Optional + +```typescript +public readonly account: string; +``` + +- *Type:* string +- *Default:* The account configured by the construct holding the Monitoring construct + +Account where the metrics exist. + +> [https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html) + +--- + +##### `region`Optional + +```typescript +public readonly region: string; +``` + +- *Type:* string +- *Default:* The region configured by the construct holding the Monitoring construct + +Region where the metrics exist. + +> [https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html) + +--- + ##### `alarmFriendlyName`Optional ```typescript @@ -7009,6 +7201,8 @@ const applicationLoadBalancerMetricFactoryProps: ApplicationLoadBalancerMetricFa | **Name** | **Type** | **Description** | | --- | --- | --- | | invertStatisticsOfTaskCountEnabled | boolean | Invert the statistics of `HealthyHostCount` and `UnHealthyHostCount`. | +| account | string | Account where the metrics exist. | +| region | string | Region where the metrics exist. | | applicationLoadBalancer | aws-cdk-lib.aws_elasticloadbalancingv2.IApplicationLoadBalancer | *No description.* | | applicationTargetGroup | aws-cdk-lib.aws_elasticloadbalancingv2.IApplicationTargetGroup | *No description.* | @@ -7033,6 +7227,36 @@ https://docs.aws.amazon.com/elasticloadbalancing/latest/network/load-balancer-cl --- +##### `account`Optional + +```typescript +public readonly account: string; +``` + +- *Type:* string +- *Default:* The account configured by the construct holding the Monitoring construct + +Account where the metrics exist. + +> [https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html) + +--- + +##### `region`Optional + +```typescript +public readonly region: string; +``` + +- *Type:* string +- *Default:* The region configured by the construct holding the Monitoring construct + +Region where the metrics exist. + +> [https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html) + +--- + ##### `applicationLoadBalancer`Required ```typescript @@ -7067,12 +7291,44 @@ const appSyncMetricFactoryProps: AppSyncMetricFactoryProps = { ... } | **Name** | **Type** | **Description** | | --- | --- | --- | +| account | string | Account where the metrics exist. | +| region | string | Region where the metrics exist. | | api | aws-cdk-lib.aws_appsync.IGraphqlApi | the GraphQL API to monitor. | | fillTpsWithZeroes | boolean | whether the TPS should be filled with zeroes. | | rateComputationMethod | RateComputationMethod | method to compute TPS. | --- +##### `account`Optional + +```typescript +public readonly account: string; +``` + +- *Type:* string +- *Default:* The account configured by the construct holding the Monitoring construct + +Account where the metrics exist. + +> [https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html) + +--- + +##### `region`Optional + +```typescript +public readonly region: string; +``` + +- *Type:* string +- *Default:* The region configured by the construct holding the Monitoring construct + +Region where the metrics exist. + +> [https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html) + +--- + ##### `api`Required ```typescript @@ -7125,6 +7381,8 @@ const appSyncMonitoringOptions: AppSyncMonitoringOptions = { ... } | **Name** | **Type** | **Description** | | --- | --- | --- | +| account | string | Account where the metrics exist. | +| region | string | Region where the metrics exist. | | alarmFriendlyName | string | Plain name, used in naming alarms. | | humanReadableName | string | Human-readable name is a freeform string, used as a caption or description. | | localAlarmNamePrefixOverride | string | If this is defined, the local alarm name prefix used in naming alarms for the construct will be set to this value. | @@ -7144,6 +7402,36 @@ const appSyncMonitoringOptions: AppSyncMonitoringOptions = { ... } --- +##### `account`Optional + +```typescript +public readonly account: string; +``` + +- *Type:* string +- *Default:* The account configured by the construct holding the Monitoring construct + +Account where the metrics exist. + +> [https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html) + +--- + +##### `region`Optional + +```typescript +public readonly region: string; +``` + +- *Type:* string +- *Default:* The region configured by the construct holding the Monitoring construct + +Region where the metrics exist. + +> [https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html) + +--- + ##### `alarmFriendlyName`Optional ```typescript @@ -7346,6 +7634,8 @@ const appSyncMonitoringProps: AppSyncMonitoringProps = { ... } | **Name** | **Type** | **Description** | | --- | --- | --- | +| account | string | Account where the metrics exist. | +| region | string | Region where the metrics exist. | | alarmFriendlyName | string | Plain name, used in naming alarms. | | humanReadableName | string | Human-readable name is a freeform string, used as a caption or description. | | localAlarmNamePrefixOverride | string | If this is defined, the local alarm name prefix used in naming alarms for the construct will be set to this value. | @@ -7368,6 +7658,36 @@ const appSyncMonitoringProps: AppSyncMonitoringProps = { ... } --- +##### `account`Optional + +```typescript +public readonly account: string; +``` + +- *Type:* string +- *Default:* The account configured by the construct holding the Monitoring construct + +Account where the metrics exist. + +> [https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html) + +--- + +##### `region`Optional + +```typescript +public readonly region: string; +``` + +- *Type:* string +- *Default:* The region configured by the construct holding the Monitoring construct + +Region where the metrics exist. + +> [https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html) + +--- + ##### `alarmFriendlyName`Optional ```typescript @@ -7608,6 +7928,8 @@ const auroraClusterMonitoringOptions: AuroraClusterMonitoringOptions = { ... } | **Name** | **Type** | **Description** | | --- | --- | --- | +| account | string | Account where the metrics exist. | +| region | string | Region where the metrics exist. | | alarmFriendlyName | string | Plain name, used in naming alarms. | | humanReadableName | string | Human-readable name is a freeform string, used as a caption or description. | | localAlarmNamePrefixOverride | string | If this is defined, the local alarm name prefix used in naming alarms for the construct will be set to this value. | @@ -7622,6 +7944,36 @@ const auroraClusterMonitoringOptions: AuroraClusterMonitoringOptions = { ... } --- +##### `account`Optional + +```typescript +public readonly account: string; +``` + +- *Type:* string +- *Default:* The account configured by the construct holding the Monitoring construct + +Account where the metrics exist. + +> [https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html) + +--- + +##### `region`Optional + +```typescript +public readonly region: string; +``` + +- *Type:* string +- *Default:* The region configured by the construct holding the Monitoring construct + +Region where the metrics exist. + +> [https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html) + +--- + ##### `alarmFriendlyName`Optional ```typescript @@ -7774,6 +8126,8 @@ const auroraClusterMonitoringProps: AuroraClusterMonitoringProps = { ... } | **Name** | **Type** | **Description** | | --- | --- | --- | +| account | string | Account where the metrics exist. | +| region | string | Region where the metrics exist. | | cluster | aws-cdk-lib.aws_rds.IDatabaseCluster \| aws-cdk-lib.aws_rds.ServerlessCluster | database cluster (either this or `clusterIdentifier` need to be specified). | | clusterIdentifier | string | database cluster identifier (either this or `cluster` need to be specified). | | alarmFriendlyName | string | Plain name, used in naming alarms. | @@ -7790,6 +8144,36 @@ const auroraClusterMonitoringProps: AuroraClusterMonitoringProps = { ... } --- +##### `account`Optional + +```typescript +public readonly account: string; +``` + +- *Type:* string +- *Default:* The account configured by the construct holding the Monitoring construct + +Account where the metrics exist. + +> [https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html) + +--- + +##### `region`Optional + +```typescript +public readonly region: string; +``` + +- *Type:* string +- *Default:* The region configured by the construct holding the Monitoring construct + +Region where the metrics exist. + +> [https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html) + +--- + ##### `cluster`Optional ```typescript @@ -7968,10 +8352,42 @@ const autoScalingGroupMetricFactoryProps: AutoScalingGroupMetricFactoryProps = { | **Name** | **Type** | **Description** | | --- | --- | --- | +| account | string | Account where the metrics exist. | +| region | string | Region where the metrics exist. | | autoScalingGroup | aws-cdk-lib.aws_autoscaling.IAutoScalingGroup | *No description.* | --- +##### `account`Optional + +```typescript +public readonly account: string; +``` + +- *Type:* string +- *Default:* The account configured by the construct holding the Monitoring construct + +Account where the metrics exist. + +> [https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html) + +--- + +##### `region`Optional + +```typescript +public readonly region: string; +``` + +- *Type:* string +- *Default:* The region configured by the construct holding the Monitoring construct + +Region where the metrics exist. + +> [https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html) + +--- + ##### `autoScalingGroup`Required ```typescript @@ -7996,6 +8412,8 @@ const autoScalingGroupMonitoringOptions: AutoScalingGroupMonitoringOptions = { . | **Name** | **Type** | **Description** | | --- | --- | --- | +| account | string | Account where the metrics exist. | +| region | string | Region where the metrics exist. | | alarmFriendlyName | string | Plain name, used in naming alarms. | | humanReadableName | string | Human-readable name is a freeform string, used as a caption or description. | | localAlarmNamePrefixOverride | string | If this is defined, the local alarm name prefix used in naming alarms for the construct will be set to this value. | @@ -8006,6 +8424,36 @@ const autoScalingGroupMonitoringOptions: AutoScalingGroupMonitoringOptions = { . --- +##### `account`Optional + +```typescript +public readonly account: string; +``` + +- *Type:* string +- *Default:* The account configured by the construct holding the Monitoring construct + +Account where the metrics exist. + +> [https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html) + +--- + +##### `region`Optional + +```typescript +public readonly region: string; +``` + +- *Type:* string +- *Default:* The region configured by the construct holding the Monitoring construct + +Region where the metrics exist. + +> [https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html) + +--- + ##### `alarmFriendlyName`Optional ```typescript @@ -8118,6 +8566,8 @@ const autoScalingGroupMonitoringProps: AutoScalingGroupMonitoringProps = { ... } | **Name** | **Type** | **Description** | | --- | --- | --- | +| account | string | Account where the metrics exist. | +| region | string | Region where the metrics exist. | | autoScalingGroup | aws-cdk-lib.aws_autoscaling.IAutoScalingGroup | *No description.* | | alarmFriendlyName | string | Plain name, used in naming alarms. | | humanReadableName | string | Human-readable name is a freeform string, used as a caption or description. | @@ -8129,6 +8579,36 @@ const autoScalingGroupMonitoringProps: AutoScalingGroupMonitoringProps = { ... } --- +##### `account`Optional + +```typescript +public readonly account: string; +``` + +- *Type:* string +- *Default:* The account configured by the construct holding the Monitoring construct + +Account where the metrics exist. + +> [https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html) + +--- + +##### `region`Optional + +```typescript +public readonly region: string; +``` + +- *Type:* string +- *Default:* The region configured by the construct holding the Monitoring construct + +Region where the metrics exist. + +> [https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html) + +--- + ##### `autoScalingGroup`Required ```typescript @@ -8923,6 +9403,44 @@ import { BaseMetricFactoryProps } from 'cdk-monitoring-constructs' const baseMetricFactoryProps: BaseMetricFactoryProps = { ... } ``` +#### Properties + +| **Name** | **Type** | **Description** | +| --- | --- | --- | +| account | string | Account where the metrics exist. | +| region | string | Region where the metrics exist. | + +--- + +##### `account`Optional + +```typescript +public readonly account: string; +``` + +- *Type:* string +- *Default:* The account configured by the construct holding the Monitoring construct + +Account where the metrics exist. + +> [https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html) + +--- + +##### `region`Optional + +```typescript +public readonly region: string; +``` + +- *Type:* string +- *Default:* The region configured by the construct holding the Monitoring construct + +Region where the metrics exist. + +> [https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html) + +--- ### BaseMonitoringProps @@ -8942,6 +9460,8 @@ const baseMonitoringProps: BaseMonitoringProps = { ... } | **Name** | **Type** | **Description** | | --- | --- | --- | +| account | string | Account where the metrics exist. | +| region | string | Region where the metrics exist. | | alarmFriendlyName | string | Plain name, used in naming alarms. | | humanReadableName | string | Human-readable name is a freeform string, used as a caption or description. | | localAlarmNamePrefixOverride | string | If this is defined, the local alarm name prefix used in naming alarms for the construct will be set to this value. | @@ -8952,6 +9472,36 @@ const baseMonitoringProps: BaseMonitoringProps = { ... } --- +##### `account`Optional + +```typescript +public readonly account: string; +``` + +- *Type:* string +- *Default:* The account configured by the construct holding the Monitoring construct + +Account where the metrics exist. + +> [https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html) + +--- + +##### `region`Optional + +```typescript +public readonly region: string; +``` + +- *Type:* string +- *Default:* The region configured by the construct holding the Monitoring construct + +Region where the metrics exist. + +> [https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html) + +--- + ##### `alarmFriendlyName`Optional ```typescript @@ -9066,10 +9616,42 @@ const baseServiceMetricFactoryProps: BaseServiceMetricFactoryProps = { ... } | **Name** | **Type** | **Description** | | --- | --- | --- | +| account | string | Account where the metrics exist. | +| region | string | Region where the metrics exist. | | service | aws-cdk-lib.aws_ecs.IBaseService | *No description.* | --- +##### `account`Optional + +```typescript +public readonly account: string; +``` + +- *Type:* string +- *Default:* The account configured by the construct holding the Monitoring construct + +Account where the metrics exist. + +> [https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html) + +--- + +##### `region`Optional + +```typescript +public readonly region: string; +``` + +- *Type:* string +- *Default:* The region configured by the construct holding the Monitoring construct + +Region where the metrics exist. + +> [https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html) + +--- + ##### `service`Required ```typescript @@ -9177,6 +9759,8 @@ const billingMonitoringOptions: BillingMonitoringOptions = { ... } | **Name** | **Type** | **Description** | | --- | --- | --- | +| account | string | Account where the metrics exist. | +| region | string | Region where the metrics exist. | | alarmFriendlyName | string | Plain name, used in naming alarms. | | humanReadableName | string | Human-readable name is a freeform string, used as a caption or description. | | localAlarmNamePrefixOverride | string | If this is defined, the local alarm name prefix used in naming alarms for the construct will be set to this value. | @@ -9188,6 +9772,36 @@ const billingMonitoringOptions: BillingMonitoringOptions = { ... } --- +##### `account`Optional + +```typescript +public readonly account: string; +``` + +- *Type:* string +- *Default:* The account configured by the construct holding the Monitoring construct + +Account where the metrics exist. + +> [https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html) + +--- + +##### `region`Optional + +```typescript +public readonly region: string; +``` + +- *Type:* string +- *Default:* The region configured by the construct holding the Monitoring construct + +Region where the metrics exist. + +> [https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html) + +--- + ##### `alarmFriendlyName`Optional ```typescript @@ -9310,6 +9924,8 @@ const billingMonitoringProps: BillingMonitoringProps = { ... } | **Name** | **Type** | **Description** | | --- | --- | --- | +| account | string | Account where the metrics exist. | +| region | string | Region where the metrics exist. | | alarmFriendlyName | string | Plain name, used in naming alarms. | | humanReadableName | string | Human-readable name is a freeform string, used as a caption or description. | | localAlarmNamePrefixOverride | string | If this is defined, the local alarm name prefix used in naming alarms for the construct will be set to this value. | @@ -9321,6 +9937,36 @@ const billingMonitoringProps: BillingMonitoringProps = { ... } --- +##### `account`Optional + +```typescript +public readonly account: string; +``` + +- *Type:* string +- *Default:* The account configured by the construct holding the Monitoring construct + +Account where the metrics exist. + +> [https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html) + +--- + +##### `region`Optional + +```typescript +public readonly region: string; +``` + +- *Type:* string +- *Default:* The region configured by the construct holding the Monitoring construct + +Region where the metrics exist. + +> [https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html) + +--- + ##### `alarmFriendlyName`Optional ```typescript @@ -9443,10 +10089,42 @@ const certificateManagerMetricFactoryProps: CertificateManagerMetricFactoryProps | **Name** | **Type** | **Description** | | --- | --- | --- | +| account | string | Account where the metrics exist. | +| region | string | Region where the metrics exist. | | certificate | aws-cdk-lib.aws_certificatemanager.ICertificate | *No description.* | --- +##### `account`Optional + +```typescript +public readonly account: string; +``` + +- *Type:* string +- *Default:* The account configured by the construct holding the Monitoring construct + +Account where the metrics exist. + +> [https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html) + +--- + +##### `region`Optional + +```typescript +public readonly region: string; +``` + +- *Type:* string +- *Default:* The region configured by the construct holding the Monitoring construct + +Region where the metrics exist. + +> [https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html) + +--- + ##### `certificate`Required ```typescript @@ -9471,6 +10149,8 @@ const certificateManagerMonitoringOptions: CertificateManagerMonitoringOptions = | **Name** | **Type** | **Description** | | --- | --- | --- | +| account | string | Account where the metrics exist. | +| region | string | Region where the metrics exist. | | alarmFriendlyName | string | Plain name, used in naming alarms. | | humanReadableName | string | Human-readable name is a freeform string, used as a caption or description. | | localAlarmNamePrefixOverride | string | If this is defined, the local alarm name prefix used in naming alarms for the construct will be set to this value. | @@ -9482,6 +10162,36 @@ const certificateManagerMonitoringOptions: CertificateManagerMonitoringOptions = --- +##### `account`Optional + +```typescript +public readonly account: string; +``` + +- *Type:* string +- *Default:* The account configured by the construct holding the Monitoring construct + +Account where the metrics exist. + +> [https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html) + +--- + +##### `region`Optional + +```typescript +public readonly region: string; +``` + +- *Type:* string +- *Default:* The region configured by the construct holding the Monitoring construct + +Region where the metrics exist. + +> [https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html) + +--- + ##### `alarmFriendlyName`Optional ```typescript @@ -9604,6 +10314,8 @@ const certificateManagerMonitoringProps: CertificateManagerMonitoringProps = { . | **Name** | **Type** | **Description** | | --- | --- | --- | +| account | string | Account where the metrics exist. | +| region | string | Region where the metrics exist. | | alarmFriendlyName | string | Plain name, used in naming alarms. | | humanReadableName | string | Human-readable name is a freeform string, used as a caption or description. | | localAlarmNamePrefixOverride | string | If this is defined, the local alarm name prefix used in naming alarms for the construct will be set to this value. | @@ -9616,6 +10328,36 @@ const certificateManagerMonitoringProps: CertificateManagerMonitoringProps = { . --- +##### `account`Optional + +```typescript +public readonly account: string; +``` + +- *Type:* string +- *Default:* The account configured by the construct holding the Monitoring construct + +Account where the metrics exist. + +> [https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html) + +--- + +##### `region`Optional + +```typescript +public readonly region: string; +``` + +- *Type:* string +- *Default:* The region configured by the construct holding the Monitoring construct + +Region where the metrics exist. + +> [https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html) + +--- + ##### `alarmFriendlyName`Optional ```typescript @@ -10140,6 +10882,8 @@ const cloudFrontDistributionMetricFactoryProps: CloudFrontDistributionMetricFact | **Name** | **Type** | **Description** | | --- | --- | --- | +| account | string | Account where the metrics exist. | +| region | string | Region where the metrics exist. | | distribution | aws-cdk-lib.aws_cloudfront.IDistribution | *No description.* | | additionalMetricsEnabled | boolean | Generate dashboard charts for additional CloudFront distribution metrics. | | fillTpsWithZeroes | boolean | *No description.* | @@ -10147,6 +10891,36 @@ const cloudFrontDistributionMetricFactoryProps: CloudFrontDistributionMetricFact --- +##### `account`Optional + +```typescript +public readonly account: string; +``` + +- *Type:* string +- *Default:* The account configured by the construct holding the Monitoring construct + +Account where the metrics exist. + +> [https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html) + +--- + +##### `region`Optional + +```typescript +public readonly region: string; +``` + +- *Type:* string +- *Default:* The region configured by the construct holding the Monitoring construct + +Region where the metrics exist. + +> [https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html) + +--- + ##### `distribution`Required ```typescript @@ -10209,6 +10983,8 @@ const cloudFrontDistributionMonitoringOptions: CloudFrontDistributionMonitoringO | **Name** | **Type** | **Description** | | --- | --- | --- | +| account | string | Account where the metrics exist. | +| region | string | Region where the metrics exist. | | alarmFriendlyName | string | Plain name, used in naming alarms. | | humanReadableName | string | Human-readable name is a freeform string, used as a caption or description. | | localAlarmNamePrefixOverride | string | If this is defined, the local alarm name prefix used in naming alarms for the construct will be set to this value. | @@ -10219,6 +10995,36 @@ const cloudFrontDistributionMonitoringOptions: CloudFrontDistributionMonitoringO --- +##### `account`Optional + +```typescript +public readonly account: string; +``` + +- *Type:* string +- *Default:* The account configured by the construct holding the Monitoring construct + +Account where the metrics exist. + +> [https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html) + +--- + +##### `region`Optional + +```typescript +public readonly region: string; +``` + +- *Type:* string +- *Default:* The region configured by the construct holding the Monitoring construct + +Region where the metrics exist. + +> [https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html) + +--- + ##### `alarmFriendlyName`Optional ```typescript @@ -10331,6 +11137,8 @@ const cloudFrontDistributionMonitoringProps: CloudFrontDistributionMonitoringPro | **Name** | **Type** | **Description** | | --- | --- | --- | +| account | string | Account where the metrics exist. | +| region | string | Region where the metrics exist. | | distribution | aws-cdk-lib.aws_cloudfront.IDistribution | *No description.* | | additionalMetricsEnabled | boolean | Generate dashboard charts for additional CloudFront distribution metrics. | | fillTpsWithZeroes | boolean | *No description.* | @@ -10349,6 +11157,36 @@ const cloudFrontDistributionMonitoringProps: CloudFrontDistributionMonitoringPro --- +##### `account`Optional + +```typescript +public readonly account: string; +``` + +- *Type:* string +- *Default:* The account configured by the construct holding the Monitoring construct + +Account where the metrics exist. + +> [https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html) + +--- + +##### `region`Optional + +```typescript +public readonly region: string; +``` + +- *Type:* string +- *Default:* The region configured by the construct holding the Monitoring construct + +Region where the metrics exist. + +> [https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html) + +--- + ##### `distribution`Required ```typescript @@ -10549,10 +11387,42 @@ const cloudWatchLogsMetricFactoryProps: CloudWatchLogsMetricFactoryProps = { ... | **Name** | **Type** | **Description** | | --- | --- | --- | +| account | string | Account where the metrics exist. | +| region | string | Region where the metrics exist. | | logGroupName | string | Name of the log group to monitor. | --- +##### `account`Optional + +```typescript +public readonly account: string; +``` + +- *Type:* string +- *Default:* The account configured by the construct holding the Monitoring construct + +Account where the metrics exist. + +> [https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html) + +--- + +##### `region`Optional + +```typescript +public readonly region: string; +``` + +- *Type:* string +- *Default:* The region configured by the construct holding the Monitoring construct + +Region where the metrics exist. + +> [https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html) + +--- + ##### `logGroupName`Required ```typescript @@ -10579,10 +11449,42 @@ const codeBuildProjectMetricFactoryProps: CodeBuildProjectMetricFactoryProps = { | **Name** | **Type** | **Description** | | --- | --- | --- | +| account | string | Account where the metrics exist. | +| region | string | Region where the metrics exist. | | project | aws-cdk-lib.aws_codebuild.IProject | *No description.* | --- +##### `account`Optional + +```typescript +public readonly account: string; +``` + +- *Type:* string +- *Default:* The account configured by the construct holding the Monitoring construct + +Account where the metrics exist. + +> [https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html) + +--- + +##### `region`Optional + +```typescript +public readonly region: string; +``` + +- *Type:* string +- *Default:* The region configured by the construct holding the Monitoring construct + +Region where the metrics exist. + +> [https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html) + +--- + ##### `project`Required ```typescript @@ -10607,6 +11509,8 @@ const codeBuildProjectMonitoringOptions: CodeBuildProjectMonitoringOptions = { . | **Name** | **Type** | **Description** | | --- | --- | --- | +| account | string | Account where the metrics exist. | +| region | string | Region where the metrics exist. | | alarmFriendlyName | string | Plain name, used in naming alarms. | | humanReadableName | string | Human-readable name is a freeform string, used as a caption or description. | | localAlarmNamePrefixOverride | string | If this is defined, the local alarm name prefix used in naming alarms for the construct will be set to this value. | @@ -10622,6 +11526,36 @@ const codeBuildProjectMonitoringOptions: CodeBuildProjectMonitoringOptions = { . --- +##### `account`Optional + +```typescript +public readonly account: string; +``` + +- *Type:* string +- *Default:* The account configured by the construct holding the Monitoring construct + +Account where the metrics exist. + +> [https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html) + +--- + +##### `region`Optional + +```typescript +public readonly region: string; +``` + +- *Type:* string +- *Default:* The region configured by the construct holding the Monitoring construct + +Region where the metrics exist. + +> [https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html) + +--- + ##### `alarmFriendlyName`Optional ```typescript @@ -10786,6 +11720,8 @@ const codeBuildProjectMonitoringProps: CodeBuildProjectMonitoringProps = { ... } | **Name** | **Type** | **Description** | | --- | --- | --- | +| account | string | Account where the metrics exist. | +| region | string | Region where the metrics exist. | | project | aws-cdk-lib.aws_codebuild.IProject | *No description.* | | alarmFriendlyName | string | Plain name, used in naming alarms. | | humanReadableName | string | Human-readable name is a freeform string, used as a caption or description. | @@ -10802,6 +11738,36 @@ const codeBuildProjectMonitoringProps: CodeBuildProjectMonitoringProps = { ... } --- +##### `account`Optional + +```typescript +public readonly account: string; +``` + +- *Type:* string +- *Default:* The account configured by the construct holding the Monitoring construct + +Account where the metrics exist. + +> [https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html) + +--- + +##### `region`Optional + +```typescript +public readonly region: string; +``` + +- *Type:* string +- *Default:* The region configured by the construct holding the Monitoring construct + +Region where the metrics exist. + +> [https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html) + +--- + ##### `project`Required ```typescript @@ -11683,6 +12649,8 @@ const customEc2ServiceMonitoringProps: CustomEc2ServiceMonitoringProps = { ... } | **Name** | **Type** | **Description** | | --- | --- | --- | +| account | string | Account where the metrics exist. | +| region | string | Region where the metrics exist. | | alarmFriendlyName | string | Plain name, used in naming alarms. | | humanReadableName | string | Human-readable name is a freeform string, used as a caption or description. | | localAlarmNamePrefixOverride | string | If this is defined, the local alarm name prefix used in naming alarms for the construct will be set to this value. | @@ -11707,6 +12675,36 @@ const customEc2ServiceMonitoringProps: CustomEc2ServiceMonitoringProps = { ... } --- +##### `account`Optional + +```typescript +public readonly account: string; +``` + +- *Type:* string +- *Default:* The account configured by the construct holding the Monitoring construct + +Account where the metrics exist. + +> [https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html) + +--- + +##### `region`Optional + +```typescript +public readonly region: string; +``` + +- *Type:* string +- *Default:* The region configured by the construct holding the Monitoring construct + +Region where the metrics exist. + +> [https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html) + +--- + ##### `alarmFriendlyName`Optional ```typescript @@ -11976,6 +12974,8 @@ const customFargateServiceMonitoringProps: CustomFargateServiceMonitoringProps = | **Name** | **Type** | **Description** | | --- | --- | --- | +| account | string | Account where the metrics exist. | +| region | string | Region where the metrics exist. | | alarmFriendlyName | string | Plain name, used in naming alarms. | | humanReadableName | string | Human-readable name is a freeform string, used as a caption or description. | | localAlarmNamePrefixOverride | string | If this is defined, the local alarm name prefix used in naming alarms for the construct will be set to this value. | @@ -12000,6 +13000,36 @@ const customFargateServiceMonitoringProps: CustomFargateServiceMonitoringProps = --- +##### `account`Optional + +```typescript +public readonly account: string; +``` + +- *Type:* string +- *Default:* The account configured by the construct holding the Monitoring construct + +Account where the metrics exist. + +> [https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html) + +--- + +##### `region`Optional + +```typescript +public readonly region: string; +``` + +- *Type:* string +- *Default:* The region configured by the construct holding the Monitoring construct + +Region where the metrics exist. + +> [https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html) + +--- + ##### `alarmFriendlyName`Optional ```typescript @@ -12820,6 +13850,8 @@ const customMonitoringProps: CustomMonitoringProps = { ... } | **Name** | **Type** | **Description** | | --- | --- | --- | +| account | string | Account where the metrics exist. | +| region | string | Region where the metrics exist. | | alarmFriendlyName | string | Plain name, used in naming alarms. | | humanReadableName | string | Human-readable name is a freeform string, used as a caption or description. | | localAlarmNamePrefixOverride | string | If this is defined, the local alarm name prefix used in naming alarms for the construct will be set to this value. | @@ -12834,6 +13866,36 @@ const customMonitoringProps: CustomMonitoringProps = { ... } --- +##### `account`Optional + +```typescript +public readonly account: string; +``` + +- *Type:* string +- *Default:* The account configured by the construct holding the Monitoring construct + +Account where the metrics exist. + +> [https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html) + +--- + +##### `region`Optional + +```typescript +public readonly region: string; +``` + +- *Type:* string +- *Default:* The region configured by the construct holding the Monitoring construct + +Region where the metrics exist. + +> [https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html) + +--- + ##### `alarmFriendlyName`Optional ```typescript @@ -14245,10 +15307,42 @@ const documentDbMetricFactoryProps: DocumentDbMetricFactoryProps = { ... } | **Name** | **Type** | **Description** | | --- | --- | --- | +| account | string | Account where the metrics exist. | +| region | string | Region where the metrics exist. | | cluster | aws-cdk-lib.aws_docdb.IDatabaseCluster | database cluster. | --- +##### `account`Optional + +```typescript +public readonly account: string; +``` + +- *Type:* string +- *Default:* The account configured by the construct holding the Monitoring construct + +Account where the metrics exist. + +> [https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html) + +--- + +##### `region`Optional + +```typescript +public readonly region: string; +``` + +- *Type:* string +- *Default:* The region configured by the construct holding the Monitoring construct + +Region where the metrics exist. + +> [https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html) + +--- + ##### `cluster`Required ```typescript @@ -14275,6 +15369,8 @@ const documentDbMonitoringOptions: DocumentDbMonitoringOptions = { ... } | **Name** | **Type** | **Description** | | --- | --- | --- | +| account | string | Account where the metrics exist. | +| region | string | Region where the metrics exist. | | alarmFriendlyName | string | Plain name, used in naming alarms. | | humanReadableName | string | Human-readable name is a freeform string, used as a caption or description. | | localAlarmNamePrefixOverride | string | If this is defined, the local alarm name prefix used in naming alarms for the construct will be set to this value. | @@ -14286,6 +15382,36 @@ const documentDbMonitoringOptions: DocumentDbMonitoringOptions = { ... } --- +##### `account`Optional + +```typescript +public readonly account: string; +``` + +- *Type:* string +- *Default:* The account configured by the construct holding the Monitoring construct + +Account where the metrics exist. + +> [https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html) + +--- + +##### `region`Optional + +```typescript +public readonly region: string; +``` + +- *Type:* string +- *Default:* The region configured by the construct holding the Monitoring construct + +Region where the metrics exist. + +> [https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html) + +--- + ##### `alarmFriendlyName`Optional ```typescript @@ -14408,6 +15534,8 @@ const documentDbMonitoringProps: DocumentDbMonitoringProps = { ... } | **Name** | **Type** | **Description** | | --- | --- | --- | +| account | string | Account where the metrics exist. | +| region | string | Region where the metrics exist. | | cluster | aws-cdk-lib.aws_docdb.IDatabaseCluster | database cluster. | | alarmFriendlyName | string | Plain name, used in naming alarms. | | humanReadableName | string | Human-readable name is a freeform string, used as a caption or description. | @@ -14420,6 +15548,36 @@ const documentDbMonitoringProps: DocumentDbMonitoringProps = { ... } --- +##### `account`Optional + +```typescript +public readonly account: string; +``` + +- *Type:* string +- *Default:* The account configured by the construct holding the Monitoring construct + +Account where the metrics exist. + +> [https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html) + +--- + +##### `region`Optional + +```typescript +public readonly region: string; +``` + +- *Type:* string +- *Default:* The region configured by the construct holding the Monitoring construct + +Region where the metrics exist. + +> [https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html) + +--- + ##### `cluster`Required ```typescript @@ -15115,11 +16273,43 @@ const dynamoTableGlobalSecondaryIndexMetricFactoryProps: DynamoTableGlobalSecond | **Name** | **Type** | **Description** | | --- | --- | --- | +| account | string | Account where the metrics exist. | +| region | string | Region where the metrics exist. | | globalSecondaryIndexName | string | *No description.* | | table | aws-cdk-lib.aws_dynamodb.ITable | *No description.* | --- +##### `account`Optional + +```typescript +public readonly account: string; +``` + +- *Type:* string +- *Default:* The account configured by the construct holding the Monitoring construct + +Account where the metrics exist. + +> [https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html) + +--- + +##### `region`Optional + +```typescript +public readonly region: string; +``` + +- *Type:* string +- *Default:* The region configured by the construct holding the Monitoring construct + +Region where the metrics exist. + +> [https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html) + +--- + ##### `globalSecondaryIndexName`Required ```typescript @@ -15154,6 +16344,8 @@ const dynamoTableGlobalSecondaryIndexMonitoringProps: DynamoTableGlobalSecondary | **Name** | **Type** | **Description** | | --- | --- | --- | +| account | string | Account where the metrics exist. | +| region | string | Region where the metrics exist. | | globalSecondaryIndexName | string | *No description.* | | table | aws-cdk-lib.aws_dynamodb.ITable | *No description.* | | alarmFriendlyName | string | Plain name, used in naming alarms. | @@ -15168,6 +16360,36 @@ const dynamoTableGlobalSecondaryIndexMonitoringProps: DynamoTableGlobalSecondary --- +##### `account`Optional + +```typescript +public readonly account: string; +``` + +- *Type:* string +- *Default:* The account configured by the construct holding the Monitoring construct + +Account where the metrics exist. + +> [https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html) + +--- + +##### `region`Optional + +```typescript +public readonly region: string; +``` + +- *Type:* string +- *Default:* The region configured by the construct holding the Monitoring construct + +Region where the metrics exist. + +> [https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html) + +--- + ##### `globalSecondaryIndexName`Required ```typescript @@ -15320,11 +16542,43 @@ const dynamoTableMetricFactoryProps: DynamoTableMetricFactoryProps = { ... } | **Name** | **Type** | **Description** | | --- | --- | --- | +| account | string | Account where the metrics exist. | +| region | string | Region where the metrics exist. | | table | aws-cdk-lib.aws_dynamodb.ITable | table to monitor. | | billingMode | aws-cdk-lib.aws_dynamodb.BillingMode | table billing mode. | --- +##### `account`Optional + +```typescript +public readonly account: string; +``` + +- *Type:* string +- *Default:* The account configured by the construct holding the Monitoring construct + +Account where the metrics exist. + +> [https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html) + +--- + +##### `region`Optional + +```typescript +public readonly region: string; +``` + +- *Type:* string +- *Default:* The region configured by the construct holding the Monitoring construct + +Region where the metrics exist. + +> [https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html) + +--- + ##### `table`Required ```typescript @@ -15364,6 +16618,8 @@ const dynamoTableMonitoringOptions: DynamoTableMonitoringOptions = { ... } | **Name** | **Type** | **Description** | | --- | --- | --- | +| account | string | Account where the metrics exist. | +| region | string | Region where the metrics exist. | | alarmFriendlyName | string | Plain name, used in naming alarms. | | humanReadableName | string | Human-readable name is a freeform string, used as a caption or description. | | localAlarmNamePrefixOverride | string | If this is defined, the local alarm name prefix used in naming alarms for the construct will be set to this value. | @@ -15389,6 +16645,36 @@ const dynamoTableMonitoringOptions: DynamoTableMonitoringOptions = { ... } --- +##### `account`Optional + +```typescript +public readonly account: string; +``` + +- *Type:* string +- *Default:* The account configured by the construct holding the Monitoring construct + +Account where the metrics exist. + +> [https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html) + +--- + +##### `region`Optional + +```typescript +public readonly region: string; +``` + +- *Type:* string +- *Default:* The region configured by the construct holding the Monitoring construct + +Region where the metrics exist. + +> [https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html) + +--- + ##### `alarmFriendlyName`Optional ```typescript @@ -15651,6 +16937,8 @@ const dynamoTableMonitoringProps: DynamoTableMonitoringProps = { ... } | **Name** | **Type** | **Description** | | --- | --- | --- | +| account | string | Account where the metrics exist. | +| region | string | Region where the metrics exist. | | table | aws-cdk-lib.aws_dynamodb.ITable | table to monitor. | | billingMode | aws-cdk-lib.aws_dynamodb.BillingMode | table billing mode. | | alarmFriendlyName | string | Plain name, used in naming alarms. | @@ -15678,6 +16966,36 @@ const dynamoTableMonitoringProps: DynamoTableMonitoringProps = { ... } --- +##### `account`Optional + +```typescript +public readonly account: string; +``` + +- *Type:* string +- *Default:* The account configured by the construct holding the Monitoring construct + +Account where the metrics exist. + +> [https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html) + +--- + +##### `region`Optional + +```typescript +public readonly region: string; +``` + +- *Type:* string +- *Default:* The region configured by the construct holding the Monitoring construct + +Region where the metrics exist. + +> [https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html) + +--- + ##### `table`Required ```typescript @@ -15968,6 +17286,8 @@ const ec2ApplicationLoadBalancerMonitoringProps: Ec2ApplicationLoadBalancerMonit | **Name** | **Type** | **Description** | | --- | --- | --- | | invertStatisticsOfTaskCountEnabled | boolean | Invert the statistics of `HealthyHostCount` and `UnHealthyHostCount`. | +| account | string | Account where the metrics exist. | +| region | string | Region where the metrics exist. | | applicationLoadBalancer | aws-cdk-lib.aws_elasticloadbalancingv2.IApplicationLoadBalancer | *No description.* | | applicationTargetGroup | aws-cdk-lib.aws_elasticloadbalancingv2.IApplicationTargetGroup | *No description.* | | alarmFriendlyName | string | Plain name, used in naming alarms. | @@ -16011,6 +17331,36 @@ https://docs.aws.amazon.com/elasticloadbalancing/latest/network/load-balancer-cl --- +##### `account`Optional + +```typescript +public readonly account: string; +``` + +- *Type:* string +- *Default:* The account configured by the construct holding the Monitoring construct + +Account where the metrics exist. + +> [https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html) + +--- + +##### `region`Optional + +```typescript +public readonly region: string; +``` + +- *Type:* string +- *Default:* The region configured by the construct holding the Monitoring construct + +Region where the metrics exist. + +> [https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html) + +--- + ##### `applicationLoadBalancer`Required ```typescript @@ -16280,11 +17630,43 @@ const eC2MetricFactoryProps: EC2MetricFactoryProps = { ... } | **Name** | **Type** | **Description** | | --- | --- | --- | +| account | string | Account where the metrics exist. | +| region | string | Region where the metrics exist. | | autoScalingGroup | aws-cdk-lib.aws_autoscaling.IAutoScalingGroup | Auto-Scaling Group to monitor. | | instanceIds | string[] | Selected IDs of EC2 instances to monitor. | --- +##### `account`Optional + +```typescript +public readonly account: string; +``` + +- *Type:* string +- *Default:* The account configured by the construct holding the Monitoring construct + +Account where the metrics exist. + +> [https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html) + +--- + +##### `region`Optional + +```typescript +public readonly region: string; +``` + +- *Type:* string +- *Default:* The region configured by the construct holding the Monitoring construct + +Region where the metrics exist. + +> [https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html) + +--- + ##### `autoScalingGroup`Optional ```typescript @@ -16325,6 +17707,8 @@ const eC2MonitoringOptions: EC2MonitoringOptions = { ... } | **Name** | **Type** | **Description** | | --- | --- | --- | +| account | string | Account where the metrics exist. | +| region | string | Region where the metrics exist. | | autoScalingGroup | aws-cdk-lib.aws_autoscaling.IAutoScalingGroup | Auto-Scaling Group to monitor. | | instanceIds | string[] | Selected IDs of EC2 instances to monitor. | | alarmFriendlyName | string | Plain name, used in naming alarms. | @@ -16337,6 +17721,36 @@ const eC2MonitoringOptions: EC2MonitoringOptions = { ... } --- +##### `account`Optional + +```typescript +public readonly account: string; +``` + +- *Type:* string +- *Default:* The account configured by the construct holding the Monitoring construct + +Account where the metrics exist. + +> [https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html) + +--- + +##### `region`Optional + +```typescript +public readonly region: string; +``` + +- *Type:* string +- *Default:* The region configured by the construct holding the Monitoring construct + +Region where the metrics exist. + +> [https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html) + +--- + ##### `autoScalingGroup`Optional ```typescript @@ -16475,6 +17889,8 @@ const eC2MonitoringProps: EC2MonitoringProps = { ... } | **Name** | **Type** | **Description** | | --- | --- | --- | +| account | string | Account where the metrics exist. | +| region | string | Region where the metrics exist. | | autoScalingGroup | aws-cdk-lib.aws_autoscaling.IAutoScalingGroup | Auto-Scaling Group to monitor. | | instanceIds | string[] | Selected IDs of EC2 instances to monitor. | | alarmFriendlyName | string | Plain name, used in naming alarms. | @@ -16487,6 +17903,36 @@ const eC2MonitoringProps: EC2MonitoringProps = { ... } --- +##### `account`Optional + +```typescript +public readonly account: string; +``` + +- *Type:* string +- *Default:* The account configured by the construct holding the Monitoring construct + +Account where the metrics exist. + +> [https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html) + +--- + +##### `region`Optional + +```typescript +public readonly region: string; +``` + +- *Type:* string +- *Default:* The region configured by the construct holding the Monitoring construct + +Region where the metrics exist. + +> [https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html) + +--- + ##### `autoScalingGroup`Optional ```typescript @@ -16628,6 +18074,8 @@ const ec2NetworkLoadBalancerMonitoringProps: Ec2NetworkLoadBalancerMonitoringPro | **Name** | **Type** | **Description** | | --- | --- | --- | | invertStatisticsOfTaskCountEnabled | boolean | Invert the statistics of `HealthyHostCount` and `UnHealthyHostCount`. | +| account | string | Account where the metrics exist. | +| region | string | Region where the metrics exist. | | networkLoadBalancer | aws-cdk-lib.aws_elasticloadbalancingv2.INetworkLoadBalancer | *No description.* | | networkTargetGroup | aws-cdk-lib.aws_elasticloadbalancingv2.INetworkTargetGroup | *No description.* | | alarmFriendlyName | string | Plain name, used in naming alarms. | @@ -16671,6 +18119,36 @@ https://docs.aws.amazon.com/elasticloadbalancing/latest/network/load-balancer-cl --- +##### `account`Optional + +```typescript +public readonly account: string; +``` + +- *Type:* string +- *Default:* The account configured by the construct holding the Monitoring construct + +Account where the metrics exist. + +> [https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html) + +--- + +##### `region`Optional + +```typescript +public readonly region: string; +``` + +- *Type:* string +- *Default:* The region configured by the construct holding the Monitoring construct + +Region where the metrics exist. + +> [https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html) + +--- + ##### `networkLoadBalancer`Required ```typescript @@ -16942,6 +18420,8 @@ const ec2ServiceMonitoringProps: Ec2ServiceMonitoringProps = { ... } | **Name** | **Type** | **Description** | | --- | --- | --- | +| account | string | Account where the metrics exist. | +| region | string | Region where the metrics exist. | | alarmFriendlyName | string | Plain name, used in naming alarms. | | humanReadableName | string | Human-readable name is a freeform string, used as a caption or description. | | localAlarmNamePrefixOverride | string | If this is defined, the local alarm name prefix used in naming alarms for the construct will be set to this value. | @@ -16964,6 +18444,36 @@ const ec2ServiceMonitoringProps: Ec2ServiceMonitoringProps = { ... } --- +##### `account`Optional + +```typescript +public readonly account: string; +``` + +- *Type:* string +- *Default:* The account configured by the construct holding the Monitoring construct + +Account where the metrics exist. + +> [https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html) + +--- + +##### `region`Optional + +```typescript +public readonly region: string; +``` + +- *Type:* string +- *Default:* The region configured by the construct holding the Monitoring construct + +Region where the metrics exist. + +> [https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html) + +--- + ##### `alarmFriendlyName`Optional ```typescript @@ -17213,10 +18723,42 @@ const elastiCacheClusterMetricFactoryProps: ElastiCacheClusterMetricFactoryProps | **Name** | **Type** | **Description** | | --- | --- | --- | +| account | string | Account where the metrics exist. | +| region | string | Region where the metrics exist. | | clusterId | string | Cluster to monitor. | --- +##### `account`Optional + +```typescript +public readonly account: string; +``` + +- *Type:* string +- *Default:* The account configured by the construct holding the Monitoring construct + +Account where the metrics exist. + +> [https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html) + +--- + +##### `region`Optional + +```typescript +public readonly region: string; +``` + +- *Type:* string +- *Default:* The region configured by the construct holding the Monitoring construct + +Region where the metrics exist. + +> [https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html) + +--- + ##### `clusterId`Optional ```typescript @@ -17244,6 +18786,8 @@ const elastiCacheClusterMonitoringOptions: ElastiCacheClusterMonitoringOptions = | **Name** | **Type** | **Description** | | --- | --- | --- | +| account | string | Account where the metrics exist. | +| region | string | Region where the metrics exist. | | alarmFriendlyName | string | Plain name, used in naming alarms. | | humanReadableName | string | Human-readable name is a freeform string, used as a caption or description. | | localAlarmNamePrefixOverride | string | If this is defined, the local alarm name prefix used in naming alarms for the construct will be set to this value. | @@ -17261,6 +18805,36 @@ const elastiCacheClusterMonitoringOptions: ElastiCacheClusterMonitoringOptions = --- +##### `account`Optional + +```typescript +public readonly account: string; +``` + +- *Type:* string +- *Default:* The account configured by the construct holding the Monitoring construct + +Account where the metrics exist. + +> [https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html) + +--- + +##### `region`Optional + +```typescript +public readonly region: string; +``` + +- *Type:* string +- *Default:* The region configured by the construct holding the Monitoring construct + +Region where the metrics exist. + +> [https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html) + +--- + ##### `alarmFriendlyName`Optional ```typescript @@ -17460,6 +19034,8 @@ const elastiCacheClusterMonitoringProps: ElastiCacheClusterMonitoringProps = { . | **Name** | **Type** | **Description** | | --- | --- | --- | +| account | string | Account where the metrics exist. | +| region | string | Region where the metrics exist. | | clusterId | string | Cluster to monitor. | | alarmFriendlyName | string | Plain name, used in naming alarms. | | humanReadableName | string | Human-readable name is a freeform string, used as a caption or description. | @@ -17478,6 +19054,36 @@ const elastiCacheClusterMonitoringProps: ElastiCacheClusterMonitoringProps = { . --- +##### `account`Optional + +```typescript +public readonly account: string; +``` + +- *Type:* string +- *Default:* The account configured by the construct holding the Monitoring construct + +Account where the metrics exist. + +> [https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html) + +--- + +##### `region`Optional + +```typescript +public readonly region: string; +``` + +- *Type:* string +- *Default:* The region configured by the construct holding the Monitoring construct + +Region where the metrics exist. + +> [https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html) + +--- + ##### `clusterId`Optional ```typescript @@ -18411,6 +20017,8 @@ const fargateApplicationLoadBalancerMonitoringProps: FargateApplicationLoadBalan | **Name** | **Type** | **Description** | | --- | --- | --- | | invertStatisticsOfTaskCountEnabled | boolean | Invert the statistics of `HealthyHostCount` and `UnHealthyHostCount`. | +| account | string | Account where the metrics exist. | +| region | string | Region where the metrics exist. | | applicationLoadBalancer | aws-cdk-lib.aws_elasticloadbalancingv2.IApplicationLoadBalancer | *No description.* | | applicationTargetGroup | aws-cdk-lib.aws_elasticloadbalancingv2.IApplicationTargetGroup | *No description.* | | alarmFriendlyName | string | Plain name, used in naming alarms. | @@ -18454,6 +20062,36 @@ https://docs.aws.amazon.com/elasticloadbalancing/latest/network/load-balancer-cl --- +##### `account`Optional + +```typescript +public readonly account: string; +``` + +- *Type:* string +- *Default:* The account configured by the construct holding the Monitoring construct + +Account where the metrics exist. + +> [https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html) + +--- + +##### `region`Optional + +```typescript +public readonly region: string; +``` + +- *Type:* string +- *Default:* The region configured by the construct holding the Monitoring construct + +Region where the metrics exist. + +> [https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html) + +--- + ##### `applicationLoadBalancer`Required ```typescript @@ -18726,6 +20364,8 @@ const fargateNetworkLoadBalancerMonitoringProps: FargateNetworkLoadBalancerMonit | **Name** | **Type** | **Description** | | --- | --- | --- | | invertStatisticsOfTaskCountEnabled | boolean | Invert the statistics of `HealthyHostCount` and `UnHealthyHostCount`. | +| account | string | Account where the metrics exist. | +| region | string | Region where the metrics exist. | | networkLoadBalancer | aws-cdk-lib.aws_elasticloadbalancingv2.INetworkLoadBalancer | *No description.* | | networkTargetGroup | aws-cdk-lib.aws_elasticloadbalancingv2.INetworkTargetGroup | *No description.* | | alarmFriendlyName | string | Plain name, used in naming alarms. | @@ -18769,6 +20409,36 @@ https://docs.aws.amazon.com/elasticloadbalancing/latest/network/load-balancer-cl --- +##### `account`Optional + +```typescript +public readonly account: string; +``` + +- *Type:* string +- *Default:* The account configured by the construct holding the Monitoring construct + +Account where the metrics exist. + +> [https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html) + +--- + +##### `region`Optional + +```typescript +public readonly region: string; +``` + +- *Type:* string +- *Default:* The region configured by the construct holding the Monitoring construct + +Region where the metrics exist. + +> [https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html) + +--- + ##### `networkLoadBalancer`Required ```typescript @@ -19040,6 +20710,8 @@ const fargateServiceMonitoringProps: FargateServiceMonitoringProps = { ... } | **Name** | **Type** | **Description** | | --- | --- | --- | +| account | string | Account where the metrics exist. | +| region | string | Region where the metrics exist. | | alarmFriendlyName | string | Plain name, used in naming alarms. | | humanReadableName | string | Human-readable name is a freeform string, used as a caption or description. | | localAlarmNamePrefixOverride | string | If this is defined, the local alarm name prefix used in naming alarms for the construct will be set to this value. | @@ -19062,6 +20734,36 @@ const fargateServiceMonitoringProps: FargateServiceMonitoringProps = { ... } --- +##### `account`Optional + +```typescript +public readonly account: string; +``` + +- *Type:* string +- *Default:* The account configured by the construct holding the Monitoring construct + +Account where the metrics exist. + +> [https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html) + +--- + +##### `region`Optional + +```typescript +public readonly region: string; +``` + +- *Type:* string +- *Default:* The region configured by the construct holding the Monitoring construct + +Region where the metrics exist. + +> [https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html) + +--- + ##### `alarmFriendlyName`Optional ```typescript @@ -19672,10 +21374,42 @@ const fluentBitMetricFactoryProps: FluentBitMetricFactoryProps = { ... } | **Name** | **Type** | **Description** | | --- | --- | --- | +| account | string | Account where the metrics exist. | +| region | string | Region where the metrics exist. | | namespace | string | Namespace that metrics will be emitted to. | --- +##### `account`Optional + +```typescript +public readonly account: string; +``` + +- *Type:* string +- *Default:* The account configured by the construct holding the Monitoring construct + +Account where the metrics exist. + +> [https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html) + +--- + +##### `region`Optional + +```typescript +public readonly region: string; +``` + +- *Type:* string +- *Default:* The region configured by the construct holding the Monitoring construct + +Region where the metrics exist. + +> [https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html) + +--- + ##### `namespace`Optional ```typescript @@ -19703,6 +21437,8 @@ const fluentBitMonitoringProps: FluentBitMonitoringProps = { ... } | **Name** | **Type** | **Description** | | --- | --- | --- | +| account | string | Account where the metrics exist. | +| region | string | Region where the metrics exist. | | namespace | string | Namespace that metrics will be emitted to. | | alarmFriendlyName | string | Plain name, used in naming alarms. | | humanReadableName | string | Human-readable name is a freeform string, used as a caption or description. | @@ -19716,6 +21452,36 @@ const fluentBitMonitoringProps: FluentBitMonitoringProps = { ... } --- +##### `account`Optional + +```typescript +public readonly account: string; +``` + +- *Type:* string +- *Default:* The account configured by the construct holding the Monitoring construct + +Account where the metrics exist. + +> [https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html) + +--- + +##### `region`Optional + +```typescript +public readonly region: string; +``` + +- *Type:* string +- *Default:* The region configured by the construct holding the Monitoring construct + +Region where the metrics exist. + +> [https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html) + +--- + ##### `namespace`Optional ```typescript @@ -20227,11 +21993,43 @@ const glueJobMetricFactoryProps: GlueJobMetricFactoryProps = { ... } | **Name** | **Type** | **Description** | | --- | --- | --- | +| account | string | Account where the metrics exist. | +| region | string | Region where the metrics exist. | | jobName | string | *No description.* | | rateComputationMethod | RateComputationMethod | *No description.* | --- +##### `account`Optional + +```typescript +public readonly account: string; +``` + +- *Type:* string +- *Default:* The account configured by the construct holding the Monitoring construct + +Account where the metrics exist. + +> [https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html) + +--- + +##### `region`Optional + +```typescript +public readonly region: string; +``` + +- *Type:* string +- *Default:* The region configured by the construct holding the Monitoring construct + +Region where the metrics exist. + +> [https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html) + +--- + ##### `jobName`Required ```typescript @@ -20267,6 +22065,8 @@ const glueJobMonitoringOptions: GlueJobMonitoringOptions = { ... } | **Name** | **Type** | **Description** | | --- | --- | --- | +| account | string | Account where the metrics exist. | +| region | string | Region where the metrics exist. | | jobName | string | *No description.* | | rateComputationMethod | RateComputationMethod | *No description.* | | alarmFriendlyName | string | Plain name, used in naming alarms. | @@ -20283,6 +22083,36 @@ const glueJobMonitoringOptions: GlueJobMonitoringOptions = { ... } --- +##### `account`Optional + +```typescript +public readonly account: string; +``` + +- *Type:* string +- *Default:* The account configured by the construct holding the Monitoring construct + +Account where the metrics exist. + +> [https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html) + +--- + +##### `region`Optional + +```typescript +public readonly region: string; +``` + +- *Type:* string +- *Default:* The region configured by the construct holding the Monitoring construct + +Region where the metrics exist. + +> [https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html) + +--- + ##### `jobName`Required ```typescript @@ -20456,6 +22286,8 @@ const glueJobMonitoringProps: GlueJobMonitoringProps = { ... } | **Name** | **Type** | **Description** | | --- | --- | --- | +| account | string | Account where the metrics exist. | +| region | string | Region where the metrics exist. | | jobName | string | *No description.* | | rateComputationMethod | RateComputationMethod | *No description.* | | alarmFriendlyName | string | Plain name, used in naming alarms. | @@ -20472,6 +22304,36 @@ const glueJobMonitoringProps: GlueJobMonitoringProps = { ... } --- +##### `account`Optional + +```typescript +public readonly account: string; +``` + +- *Type:* string +- *Default:* The account configured by the construct holding the Monitoring construct + +Account where the metrics exist. + +> [https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html) + +--- + +##### `region`Optional + +```typescript +public readonly region: string; +``` + +- *Type:* string +- *Default:* The region configured by the construct holding the Monitoring construct + +Region where the metrics exist. + +> [https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html) + +--- + ##### `jobName`Required ```typescript @@ -22799,10 +24661,42 @@ const kinesisDataAnalyticsMetricFactoryProps: KinesisDataAnalyticsMetricFactoryP | **Name** | **Type** | **Description** | | --- | --- | --- | +| account | string | Account where the metrics exist. | +| region | string | Region where the metrics exist. | | application | string | *No description.* | --- +##### `account`Optional + +```typescript +public readonly account: string; +``` + +- *Type:* string +- *Default:* The account configured by the construct holding the Monitoring construct + +Account where the metrics exist. + +> [https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html) + +--- + +##### `region`Optional + +```typescript +public readonly region: string; +``` + +- *Type:* string +- *Default:* The region configured by the construct holding the Monitoring construct + +Region where the metrics exist. + +> [https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html) + +--- + ##### `application`Required ```typescript @@ -22827,6 +24721,8 @@ const kinesisDataAnalyticsMonitoringOptions: KinesisDataAnalyticsMonitoringOptio | **Name** | **Type** | **Description** | | --- | --- | --- | +| account | string | Account where the metrics exist. | +| region | string | Region where the metrics exist. | | alarmFriendlyName | string | Plain name, used in naming alarms. | | humanReadableName | string | Human-readable name is a freeform string, used as a caption or description. | | localAlarmNamePrefixOverride | string | If this is defined, the local alarm name prefix used in naming alarms for the construct will be set to this value. | @@ -22839,6 +24735,36 @@ const kinesisDataAnalyticsMonitoringOptions: KinesisDataAnalyticsMonitoringOptio --- +##### `account`Optional + +```typescript +public readonly account: string; +``` + +- *Type:* string +- *Default:* The account configured by the construct holding the Monitoring construct + +Account where the metrics exist. + +> [https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html) + +--- + +##### `region`Optional + +```typescript +public readonly region: string; +``` + +- *Type:* string +- *Default:* The region configured by the construct holding the Monitoring construct + +Region where the metrics exist. + +> [https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html) + +--- + ##### `alarmFriendlyName`Optional ```typescript @@ -22971,6 +24897,8 @@ const kinesisDataAnalyticsMonitoringProps: KinesisDataAnalyticsMonitoringProps = | **Name** | **Type** | **Description** | | --- | --- | --- | +| account | string | Account where the metrics exist. | +| region | string | Region where the metrics exist. | | application | string | *No description.* | | alarmFriendlyName | string | Plain name, used in naming alarms. | | humanReadableName | string | Human-readable name is a freeform string, used as a caption or description. | @@ -22984,6 +24912,36 @@ const kinesisDataAnalyticsMonitoringProps: KinesisDataAnalyticsMonitoringProps = --- +##### `account`Optional + +```typescript +public readonly account: string; +``` + +- *Type:* string +- *Default:* The account configured by the construct holding the Monitoring construct + +Account where the metrics exist. + +> [https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html) + +--- + +##### `region`Optional + +```typescript +public readonly region: string; +``` + +- *Type:* string +- *Default:* The region configured by the construct holding the Monitoring construct + +Region where the metrics exist. + +> [https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html) + +--- + ##### `application`Required ```typescript @@ -23126,10 +25084,42 @@ const kinesisDataStreamMetricFactoryProps: KinesisDataStreamMetricFactoryProps = | **Name** | **Type** | **Description** | | --- | --- | --- | +| account | string | Account where the metrics exist. | +| region | string | Region where the metrics exist. | | streamName | string | *No description.* | --- +##### `account`Optional + +```typescript +public readonly account: string; +``` + +- *Type:* string +- *Default:* The account configured by the construct holding the Monitoring construct + +Account where the metrics exist. + +> [https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html) + +--- + +##### `region`Optional + +```typescript +public readonly region: string; +``` + +- *Type:* string +- *Default:* The region configured by the construct holding the Monitoring construct + +Region where the metrics exist. + +> [https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html) + +--- + ##### `streamName`Required ```typescript @@ -23154,6 +25144,8 @@ const kinesisDataStreamMonitoringOptions: KinesisDataStreamMonitoringOptions = { | **Name** | **Type** | **Description** | | --- | --- | --- | +| account | string | Account where the metrics exist. | +| region | string | Region where the metrics exist. | | alarmFriendlyName | string | Plain name, used in naming alarms. | | humanReadableName | string | Human-readable name is a freeform string, used as a caption or description. | | localAlarmNamePrefixOverride | string | If this is defined, the local alarm name prefix used in naming alarms for the construct will be set to this value. | @@ -23170,6 +25162,36 @@ const kinesisDataStreamMonitoringOptions: KinesisDataStreamMonitoringOptions = { --- +##### `account`Optional + +```typescript +public readonly account: string; +``` + +- *Type:* string +- *Default:* The account configured by the construct holding the Monitoring construct + +Account where the metrics exist. + +> [https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html) + +--- + +##### `region`Optional + +```typescript +public readonly region: string; +``` + +- *Type:* string +- *Default:* The region configured by the construct holding the Monitoring construct + +Region where the metrics exist. + +> [https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html) + +--- + ##### `alarmFriendlyName`Optional ```typescript @@ -23342,6 +25364,8 @@ const kinesisDataStreamMonitoringProps: KinesisDataStreamMonitoringProps = { ... | **Name** | **Type** | **Description** | | --- | --- | --- | +| account | string | Account where the metrics exist. | +| region | string | Region where the metrics exist. | | streamName | string | *No description.* | | alarmFriendlyName | string | Plain name, used in naming alarms. | | humanReadableName | string | Human-readable name is a freeform string, used as a caption or description. | @@ -23359,6 +25383,36 @@ const kinesisDataStreamMonitoringProps: KinesisDataStreamMonitoringProps = { ... --- +##### `account`Optional + +```typescript +public readonly account: string; +``` + +- *Type:* string +- *Default:* The account configured by the construct holding the Monitoring construct + +Account where the metrics exist. + +> [https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html) + +--- + +##### `region`Optional + +```typescript +public readonly region: string; +``` + +- *Type:* string +- *Default:* The region configured by the construct holding the Monitoring construct + +Region where the metrics exist. + +> [https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html) + +--- + ##### `streamName`Required ```typescript @@ -23541,10 +25595,42 @@ const kinesisFirehoseMetricFactoryProps: KinesisFirehoseMetricFactoryProps = { . | **Name** | **Type** | **Description** | | --- | --- | --- | +| account | string | Account where the metrics exist. | +| region | string | Region where the metrics exist. | | deliveryStreamName | string | *No description.* | --- +##### `account`Optional + +```typescript +public readonly account: string; +``` + +- *Type:* string +- *Default:* The account configured by the construct holding the Monitoring construct + +Account where the metrics exist. + +> [https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html) + +--- + +##### `region`Optional + +```typescript +public readonly region: string; +``` + +- *Type:* string +- *Default:* The region configured by the construct holding the Monitoring construct + +Region where the metrics exist. + +> [https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html) + +--- + ##### `deliveryStreamName`Required ```typescript @@ -23569,6 +25655,8 @@ const kinesisFirehoseMonitoringOptions: KinesisFirehoseMonitoringOptions = { ... | **Name** | **Type** | **Description** | | --- | --- | --- | +| account | string | Account where the metrics exist. | +| region | string | Region where the metrics exist. | | alarmFriendlyName | string | Plain name, used in naming alarms. | | humanReadableName | string | Human-readable name is a freeform string, used as a caption or description. | | localAlarmNamePrefixOverride | string | If this is defined, the local alarm name prefix used in naming alarms for the construct will be set to this value. | @@ -23583,6 +25671,36 @@ const kinesisFirehoseMonitoringOptions: KinesisFirehoseMonitoringOptions = { ... --- +##### `account`Optional + +```typescript +public readonly account: string; +``` + +- *Type:* string +- *Default:* The account configured by the construct holding the Monitoring construct + +Account where the metrics exist. + +> [https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html) + +--- + +##### `region`Optional + +```typescript +public readonly region: string; +``` + +- *Type:* string +- *Default:* The region configured by the construct holding the Monitoring construct + +Region where the metrics exist. + +> [https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html) + +--- + ##### `alarmFriendlyName`Optional ```typescript @@ -23735,6 +25853,8 @@ const kinesisFirehoseMonitoringProps: KinesisFirehoseMonitoringProps = { ... } | **Name** | **Type** | **Description** | | --- | --- | --- | +| account | string | Account where the metrics exist. | +| region | string | Region where the metrics exist. | | deliveryStreamName | string | *No description.* | | alarmFriendlyName | string | Plain name, used in naming alarms. | | humanReadableName | string | Human-readable name is a freeform string, used as a caption or description. | @@ -23750,6 +25870,36 @@ const kinesisFirehoseMonitoringProps: KinesisFirehoseMonitoringProps = { ... } --- +##### `account`Optional + +```typescript +public readonly account: string; +``` + +- *Type:* string +- *Default:* The account configured by the construct holding the Monitoring construct + +Account where the metrics exist. + +> [https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html) + +--- + +##### `region`Optional + +```typescript +public readonly region: string; +``` + +- *Type:* string +- *Default:* The region configured by the construct holding the Monitoring construct + +Region where the metrics exist. + +> [https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html) + +--- + ##### `deliveryStreamName`Required ```typescript @@ -23912,10 +26062,42 @@ const lambdaFunctionEnhancedMetricFactoryProps: LambdaFunctionEnhancedMetricFact | **Name** | **Type** | **Description** | | --- | --- | --- | +| account | string | Account where the metrics exist. | +| region | string | Region where the metrics exist. | | lambdaFunction | aws-cdk-lib.aws_lambda.IFunction | *No description.* | --- +##### `account`Optional + +```typescript +public readonly account: string; +``` + +- *Type:* string +- *Default:* The account configured by the construct holding the Monitoring construct + +Account where the metrics exist. + +> [https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html) + +--- + +##### `region`Optional + +```typescript +public readonly region: string; +``` + +- *Type:* string +- *Default:* The region configured by the construct holding the Monitoring construct + +Region where the metrics exist. + +> [https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html) + +--- + ##### `lambdaFunction`Required ```typescript @@ -23940,6 +26122,8 @@ const lambdaFunctionMetricFactoryProps: LambdaFunctionMetricFactoryProps = { ... | **Name** | **Type** | **Description** | | --- | --- | --- | +| account | string | Account where the metrics exist. | +| region | string | Region where the metrics exist. | | lambdaFunction | aws-cdk-lib.aws_lambda.IFunction | *No description.* | | fillTpsWithZeroes | boolean | *No description.* | | lambdaInsightsEnabled | boolean | Generate dashboard charts for Lambda Insights metrics. | @@ -23947,6 +26131,36 @@ const lambdaFunctionMetricFactoryProps: LambdaFunctionMetricFactoryProps = { ... --- +##### `account`Optional + +```typescript +public readonly account: string; +``` + +- *Type:* string +- *Default:* The account configured by the construct holding the Monitoring construct + +Account where the metrics exist. + +> [https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html) + +--- + +##### `region`Optional + +```typescript +public readonly region: string; +``` + +- *Type:* string +- *Default:* The region configured by the construct holding the Monitoring construct + +Region where the metrics exist. + +> [https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html) + +--- + ##### `lambdaFunction`Required ```typescript @@ -24009,6 +26223,8 @@ const lambdaFunctionMonitoringOptions: LambdaFunctionMonitoringOptions = { ... } | **Name** | **Type** | **Description** | | --- | --- | --- | +| account | string | Account where the metrics exist. | +| region | string | Region where the metrics exist. | | alarmFriendlyName | string | Plain name, used in naming alarms. | | humanReadableName | string | Human-readable name is a freeform string, used as a caption or description. | | localAlarmNamePrefixOverride | string | If this is defined, the local alarm name prefix used in naming alarms for the construct will be set to this value. | @@ -24040,6 +26256,36 @@ const lambdaFunctionMonitoringOptions: LambdaFunctionMonitoringOptions = { ... } --- +##### `account`Optional + +```typescript +public readonly account: string; +``` + +- *Type:* string +- *Default:* The account configured by the construct holding the Monitoring construct + +Account where the metrics exist. + +> [https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html) + +--- + +##### `region`Optional + +```typescript +public readonly region: string; +``` + +- *Type:* string +- *Default:* The region configured by the construct holding the Monitoring construct + +Region where the metrics exist. + +> [https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html) + +--- + ##### `alarmFriendlyName`Optional ```typescript @@ -24362,6 +26608,8 @@ const lambdaFunctionMonitoringProps: LambdaFunctionMonitoringProps = { ... } | **Name** | **Type** | **Description** | | --- | --- | --- | +| account | string | Account where the metrics exist. | +| region | string | Region where the metrics exist. | | lambdaFunction | aws-cdk-lib.aws_lambda.IFunction | *No description.* | | fillTpsWithZeroes | boolean | *No description.* | | lambdaInsightsEnabled | boolean | Generate dashboard charts for Lambda Insights metrics. | @@ -24397,6 +26645,36 @@ const lambdaFunctionMonitoringProps: LambdaFunctionMonitoringProps = { ... } --- +##### `account`Optional + +```typescript +public readonly account: string; +``` + +- *Type:* string +- *Default:* The account configured by the construct holding the Monitoring construct + +Account where the metrics exist. + +> [https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html) + +--- + +##### `region`Optional + +```typescript +public readonly region: string; +``` + +- *Type:* string +- *Default:* The region configured by the construct holding the Monitoring construct + +Region where the metrics exist. + +> [https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html) + +--- + ##### `lambdaFunction`Required ```typescript @@ -25487,6 +27765,8 @@ const logMonitoringProps: LogMonitoringProps = { ... } | **Name** | **Type** | **Description** | | --- | --- | --- | +| account | string | Account where the metrics exist. | +| region | string | Region where the metrics exist. | | alarmFriendlyName | string | Plain name, used in naming alarms. | | humanReadableName | string | Human-readable name is a freeform string, used as a caption or description. | | localAlarmNamePrefixOverride | string | If this is defined, the local alarm name prefix used in naming alarms for the construct will be set to this value. | @@ -25503,6 +27783,36 @@ const logMonitoringProps: LogMonitoringProps = { ... } --- +##### `account`Optional + +```typescript +public readonly account: string; +``` + +- *Type:* string +- *Default:* The account configured by the construct holding the Monitoring construct + +Account where the metrics exist. + +> [https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html) + +--- + +##### `region`Optional + +```typescript +public readonly region: string; +``` + +- *Type:* string +- *Default:* The region configured by the construct holding the Monitoring construct + +Region where the metrics exist. + +> [https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html) + +--- + ##### `alarmFriendlyName`Optional ```typescript @@ -30714,9 +33024,9 @@ const metricFactoryDefaults: MetricFactoryDefaults = { ... } | **Name** | **Type** | **Description** | | --- | --- | --- | | account | string | Account where the metrics exist. | +| region | string | Region where the metrics exist. | | namespace | string | Each metric exists in a namespace. | | period | aws-cdk-lib.Duration | Metric period. | -| region | string | Region where the metrics exist. | --- @@ -30735,6 +33045,21 @@ Account where the metrics exist. --- +##### `region`Optional + +```typescript +public readonly region: string; +``` + +- *Type:* string +- *Default:* The region configured by the construct holding the Monitoring construct + +Region where the metrics exist. + +> [https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html) + +--- + ##### `namespace`Optional ```typescript @@ -30764,21 +33089,6 @@ Default value is used if not defined. --- -##### `region`Optional - -```typescript -public readonly region: string; -``` - -- *Type:* string -- *Default:* The region configured by the construct holding the Monitoring construct - -Region where the metrics exist. - -> [https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html) - ---- - ### MetricFactoryProps #### Initializer @@ -34220,6 +36530,8 @@ const networkLoadBalancerMetricFactoryProps: NetworkLoadBalancerMetricFactoryPro | **Name** | **Type** | **Description** | | --- | --- | --- | | invertStatisticsOfTaskCountEnabled | boolean | Invert the statistics of `HealthyHostCount` and `UnHealthyHostCount`. | +| account | string | Account where the metrics exist. | +| region | string | Region where the metrics exist. | | networkLoadBalancer | aws-cdk-lib.aws_elasticloadbalancingv2.INetworkLoadBalancer | *No description.* | | networkTargetGroup | aws-cdk-lib.aws_elasticloadbalancingv2.INetworkTargetGroup | *No description.* | @@ -34244,6 +36556,36 @@ https://docs.aws.amazon.com/elasticloadbalancing/latest/network/load-balancer-cl --- +##### `account`Optional + +```typescript +public readonly account: string; +``` + +- *Type:* string +- *Default:* The account configured by the construct holding the Monitoring construct + +Account where the metrics exist. + +> [https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html) + +--- + +##### `region`Optional + +```typescript +public readonly region: string; +``` + +- *Type:* string +- *Default:* The region configured by the construct holding the Monitoring construct + +Region where the metrics exist. + +> [https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html) + +--- + ##### `networkLoadBalancer`Required ```typescript @@ -34279,6 +36621,8 @@ const networkLoadBalancerMonitoringProps: NetworkLoadBalancerMonitoringProps = { | **Name** | **Type** | **Description** | | --- | --- | --- | | invertStatisticsOfTaskCountEnabled | boolean | Invert the statistics of `HealthyHostCount` and `UnHealthyHostCount`. | +| account | string | Account where the metrics exist. | +| region | string | Region where the metrics exist. | | networkLoadBalancer | aws-cdk-lib.aws_elasticloadbalancingv2.INetworkLoadBalancer | *No description.* | | networkTargetGroup | aws-cdk-lib.aws_elasticloadbalancingv2.INetworkTargetGroup | *No description.* | | alarmFriendlyName | string | Plain name, used in naming alarms. | @@ -34314,6 +36658,36 @@ https://docs.aws.amazon.com/elasticloadbalancing/latest/network/load-balancer-cl --- +##### `account`Optional + +```typescript +public readonly account: string; +``` + +- *Type:* string +- *Default:* The account configured by the construct holding the Monitoring construct + +Account where the metrics exist. + +> [https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html) + +--- + +##### `region`Optional + +```typescript +public readonly region: string; +``` + +- *Type:* string +- *Default:* The region configured by the construct holding the Monitoring construct + +Region where the metrics exist. + +> [https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html) + +--- + ##### `networkLoadBalancer`Required ```typescript @@ -35563,12 +37937,44 @@ const openSearchClusterMetricFactoryProps: OpenSearchClusterMetricFactoryProps = | **Name** | **Type** | **Description** | | --- | --- | --- | +| account | string | Account where the metrics exist. | +| region | string | Region where the metrics exist. | | domain | aws-cdk-lib.aws_elasticsearch.IDomain \| aws-cdk-lib.aws_elasticsearch.CfnDomain \| aws-cdk-lib.aws_opensearchservice.IDomain \| aws-cdk-lib.aws_opensearchservice.CfnDomain | *No description.* | | fillTpsWithZeroes | boolean | *No description.* | | rateComputationMethod | RateComputationMethod | *No description.* | --- +##### `account`Optional + +```typescript +public readonly account: string; +``` + +- *Type:* string +- *Default:* The account configured by the construct holding the Monitoring construct + +Account where the metrics exist. + +> [https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html) + +--- + +##### `region`Optional + +```typescript +public readonly region: string; +``` + +- *Type:* string +- *Default:* The region configured by the construct holding the Monitoring construct + +Region where the metrics exist. + +> [https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html) + +--- + ##### `domain`Required ```typescript @@ -35615,6 +38021,8 @@ const openSearchClusterMonitoringOptions: OpenSearchClusterMonitoringOptions = { | **Name** | **Type** | **Description** | | --- | --- | --- | +| account | string | Account where the metrics exist. | +| region | string | Region where the metrics exist. | | alarmFriendlyName | string | Plain name, used in naming alarms. | | humanReadableName | string | Human-readable name is a freeform string, used as a caption or description. | | localAlarmNamePrefixOverride | string | If this is defined, the local alarm name prefix used in naming alarms for the construct will be set to this value. | @@ -35642,6 +38050,36 @@ const openSearchClusterMonitoringOptions: OpenSearchClusterMonitoringOptions = { --- +##### `account`Optional + +```typescript +public readonly account: string; +``` + +- *Type:* string +- *Default:* The account configured by the construct holding the Monitoring construct + +Account where the metrics exist. + +> [https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html) + +--- + +##### `region`Optional + +```typescript +public readonly region: string; +``` + +- *Type:* string +- *Default:* The region configured by the construct holding the Monitoring construct + +Region where the metrics exist. + +> [https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html) + +--- + ##### `alarmFriendlyName`Optional ```typescript @@ -35924,6 +38362,8 @@ const openSearchClusterMonitoringProps: OpenSearchClusterMonitoringProps = { ... | **Name** | **Type** | **Description** | | --- | --- | --- | +| account | string | Account where the metrics exist. | +| region | string | Region where the metrics exist. | | domain | aws-cdk-lib.aws_elasticsearch.IDomain \| aws-cdk-lib.aws_elasticsearch.CfnDomain \| aws-cdk-lib.aws_opensearchservice.IDomain \| aws-cdk-lib.aws_opensearchservice.CfnDomain | *No description.* | | fillTpsWithZeroes | boolean | *No description.* | | rateComputationMethod | RateComputationMethod | *No description.* | @@ -35954,6 +38394,36 @@ const openSearchClusterMonitoringProps: OpenSearchClusterMonitoringProps = { ... --- +##### `account`Optional + +```typescript +public readonly account: string; +``` + +- *Type:* string +- *Default:* The account configured by the construct holding the Monitoring construct + +Account where the metrics exist. + +> [https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html) + +--- + +##### `region`Optional + +```typescript +public readonly region: string; +``` + +- *Type:* string +- *Default:* The region configured by the construct holding the Monitoring construct + +Region where the metrics exist. + +> [https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html) + +--- + ##### `domain`Required ```typescript @@ -37704,6 +40174,8 @@ const queueProcessingEc2ServiceMonitoringProps: QueueProcessingEc2ServiceMonitor | **Name** | **Type** | **Description** | | --- | --- | --- | +| account | string | Account where the metrics exist. | +| region | string | Region where the metrics exist. | | alarmFriendlyName | string | Plain name, used in naming alarms. | | humanReadableName | string | Human-readable name is a freeform string, used as a caption or description. | | localAlarmNamePrefixOverride | string | If this is defined, the local alarm name prefix used in naming alarms for the construct will be set to this value. | @@ -37718,6 +40190,36 @@ const queueProcessingEc2ServiceMonitoringProps: QueueProcessingEc2ServiceMonitor --- +##### `account`Optional + +```typescript +public readonly account: string; +``` + +- *Type:* string +- *Default:* The account configured by the construct holding the Monitoring construct + +Account where the metrics exist. + +> [https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html) + +--- + +##### `region`Optional + +```typescript +public readonly region: string; +``` + +- *Type:* string +- *Default:* The region configured by the construct holding the Monitoring construct + +Region where the metrics exist. + +> [https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html) + +--- + ##### `alarmFriendlyName`Optional ```typescript @@ -37870,6 +40372,8 @@ const queueProcessingFargateServiceMonitoringProps: QueueProcessingFargateServic | **Name** | **Type** | **Description** | | --- | --- | --- | +| account | string | Account where the metrics exist. | +| region | string | Region where the metrics exist. | | alarmFriendlyName | string | Plain name, used in naming alarms. | | humanReadableName | string | Human-readable name is a freeform string, used as a caption or description. | | localAlarmNamePrefixOverride | string | If this is defined, the local alarm name prefix used in naming alarms for the construct will be set to this value. | @@ -37884,6 +40388,36 @@ const queueProcessingFargateServiceMonitoringProps: QueueProcessingFargateServic --- +##### `account`Optional + +```typescript +public readonly account: string; +``` + +- *Type:* string +- *Default:* The account configured by the construct holding the Monitoring construct + +Account where the metrics exist. + +> [https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html) + +--- + +##### `region`Optional + +```typescript +public readonly region: string; +``` + +- *Type:* string +- *Default:* The region configured by the construct holding the Monitoring construct + +Region where the metrics exist. + +> [https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html) + +--- + ##### `alarmFriendlyName`Optional ```typescript @@ -38036,11 +40570,43 @@ const rdsClusterMetricFactoryProps: RdsClusterMetricFactoryProps = { ... } | **Name** | **Type** | **Description** | | --- | --- | --- | +| account | string | Account where the metrics exist. | +| region | string | Region where the metrics exist. | | cluster | aws-cdk-lib.aws_rds.IDatabaseCluster \| aws-cdk-lib.aws_rds.ServerlessCluster | database cluster (either this or `clusterIdentifier` need to be specified). | | clusterIdentifier | string | database cluster identifier (either this or `cluster` need to be specified). | --- +##### `account`Optional + +```typescript +public readonly account: string; +``` + +- *Type:* string +- *Default:* The account configured by the construct holding the Monitoring construct + +Account where the metrics exist. + +> [https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html) + +--- + +##### `region`Optional + +```typescript +public readonly region: string; +``` + +- *Type:* string +- *Default:* The region configured by the construct holding the Monitoring construct + +Region where the metrics exist. + +> [https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html) + +--- + ##### `cluster`Optional ```typescript @@ -38081,6 +40647,8 @@ const rdsClusterMonitoringOptions: RdsClusterMonitoringOptions = { ... } | **Name** | **Type** | **Description** | | --- | --- | --- | +| account | string | Account where the metrics exist. | +| region | string | Region where the metrics exist. | | alarmFriendlyName | string | Plain name, used in naming alarms. | | humanReadableName | string | Human-readable name is a freeform string, used as a caption or description. | | localAlarmNamePrefixOverride | string | If this is defined, the local alarm name prefix used in naming alarms for the construct will be set to this value. | @@ -38095,6 +40663,36 @@ const rdsClusterMonitoringOptions: RdsClusterMonitoringOptions = { ... } --- +##### `account`Optional + +```typescript +public readonly account: string; +``` + +- *Type:* string +- *Default:* The account configured by the construct holding the Monitoring construct + +Account where the metrics exist. + +> [https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html) + +--- + +##### `region`Optional + +```typescript +public readonly region: string; +``` + +- *Type:* string +- *Default:* The region configured by the construct holding the Monitoring construct + +Region where the metrics exist. + +> [https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html) + +--- + ##### `alarmFriendlyName`Optional ```typescript @@ -38247,6 +40845,8 @@ const rdsClusterMonitoringProps: RdsClusterMonitoringProps = { ... } | **Name** | **Type** | **Description** | | --- | --- | --- | +| account | string | Account where the metrics exist. | +| region | string | Region where the metrics exist. | | cluster | aws-cdk-lib.aws_rds.IDatabaseCluster \| aws-cdk-lib.aws_rds.ServerlessCluster | database cluster (either this or `clusterIdentifier` need to be specified). | | clusterIdentifier | string | database cluster identifier (either this or `cluster` need to be specified). | | alarmFriendlyName | string | Plain name, used in naming alarms. | @@ -38263,6 +40863,36 @@ const rdsClusterMonitoringProps: RdsClusterMonitoringProps = { ... } --- +##### `account`Optional + +```typescript +public readonly account: string; +``` + +- *Type:* string +- *Default:* The account configured by the construct holding the Monitoring construct + +Account where the metrics exist. + +> [https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html) + +--- + +##### `region`Optional + +```typescript +public readonly region: string; +``` + +- *Type:* string +- *Default:* The region configured by the construct holding the Monitoring construct + +Region where the metrics exist. + +> [https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html) + +--- + ##### `cluster`Optional ```typescript @@ -38441,10 +41071,42 @@ const rdsInstanceMetricFactoryProps: RdsInstanceMetricFactoryProps = { ... } | **Name** | **Type** | **Description** | | --- | --- | --- | +| account | string | Account where the metrics exist. | +| region | string | Region where the metrics exist. | | instance | aws-cdk-lib.aws_rds.IDatabaseInstance | database instance. | --- +##### `account`Optional + +```typescript +public readonly account: string; +``` + +- *Type:* string +- *Default:* The account configured by the construct holding the Monitoring construct + +Account where the metrics exist. + +> [https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html) + +--- + +##### `region`Optional + +```typescript +public readonly region: string; +``` + +- *Type:* string +- *Default:* The region configured by the construct holding the Monitoring construct + +Region where the metrics exist. + +> [https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html) + +--- + ##### `instance`Required ```typescript @@ -38471,6 +41133,8 @@ const rdsInstanceMonitoringOptions: RdsInstanceMonitoringOptions = { ... } | **Name** | **Type** | **Description** | | --- | --- | --- | +| account | string | Account where the metrics exist. | +| region | string | Region where the metrics exist. | | alarmFriendlyName | string | Plain name, used in naming alarms. | | humanReadableName | string | Human-readable name is a freeform string, used as a caption or description. | | localAlarmNamePrefixOverride | string | If this is defined, the local alarm name prefix used in naming alarms for the construct will be set to this value. | @@ -38485,6 +41149,36 @@ const rdsInstanceMonitoringOptions: RdsInstanceMonitoringOptions = { ... } --- +##### `account`Optional + +```typescript +public readonly account: string; +``` + +- *Type:* string +- *Default:* The account configured by the construct holding the Monitoring construct + +Account where the metrics exist. + +> [https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html) + +--- + +##### `region`Optional + +```typescript +public readonly region: string; +``` + +- *Type:* string +- *Default:* The region configured by the construct holding the Monitoring construct + +Region where the metrics exist. + +> [https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html) + +--- + ##### `alarmFriendlyName`Optional ```typescript @@ -38637,6 +41331,8 @@ const rdsInstanceMonitoringProps: RdsInstanceMonitoringProps = { ... } | **Name** | **Type** | **Description** | | --- | --- | --- | +| account | string | Account where the metrics exist. | +| region | string | Region where the metrics exist. | | instance | aws-cdk-lib.aws_rds.IDatabaseInstance | database instance. | | alarmFriendlyName | string | Plain name, used in naming alarms. | | humanReadableName | string | Human-readable name is a freeform string, used as a caption or description. | @@ -38652,6 +41348,36 @@ const rdsInstanceMonitoringProps: RdsInstanceMonitoringProps = { ... } --- +##### `account`Optional + +```typescript +public readonly account: string; +``` + +- *Type:* string +- *Default:* The account configured by the construct holding the Monitoring construct + +Account where the metrics exist. + +> [https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html) + +--- + +##### `region`Optional + +```typescript +public readonly region: string; +``` + +- *Type:* string +- *Default:* The region configured by the construct holding the Monitoring construct + +Region where the metrics exist. + +> [https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html) + +--- + ##### `instance`Required ```typescript @@ -39534,10 +42260,42 @@ const redshiftClusterMetricFactoryProps: RedshiftClusterMetricFactoryProps = { . | **Name** | **Type** | **Description** | | --- | --- | --- | +| account | string | Account where the metrics exist. | +| region | string | Region where the metrics exist. | | clusterIdentifier | string | *No description.* | --- +##### `account`Optional + +```typescript +public readonly account: string; +``` + +- *Type:* string +- *Default:* The account configured by the construct holding the Monitoring construct + +Account where the metrics exist. + +> [https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html) + +--- + +##### `region`Optional + +```typescript +public readonly region: string; +``` + +- *Type:* string +- *Default:* The region configured by the construct holding the Monitoring construct + +Region where the metrics exist. + +> [https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html) + +--- + ##### `clusterIdentifier`Required ```typescript @@ -39562,6 +42320,8 @@ const redshiftClusterMonitoringOptions: RedshiftClusterMonitoringOptions = { ... | **Name** | **Type** | **Description** | | --- | --- | --- | +| account | string | Account where the metrics exist. | +| region | string | Region where the metrics exist. | | alarmFriendlyName | string | Plain name, used in naming alarms. | | humanReadableName | string | Human-readable name is a freeform string, used as a caption or description. | | localAlarmNamePrefixOverride | string | If this is defined, the local alarm name prefix used in naming alarms for the construct will be set to this value. | @@ -39577,6 +42337,36 @@ const redshiftClusterMonitoringOptions: RedshiftClusterMonitoringOptions = { ... --- +##### `account`Optional + +```typescript +public readonly account: string; +``` + +- *Type:* string +- *Default:* The account configured by the construct holding the Monitoring construct + +Account where the metrics exist. + +> [https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html) + +--- + +##### `region`Optional + +```typescript +public readonly region: string; +``` + +- *Type:* string +- *Default:* The region configured by the construct holding the Monitoring construct + +Region where the metrics exist. + +> [https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html) + +--- + ##### `alarmFriendlyName`Optional ```typescript @@ -39739,6 +42529,8 @@ const redshiftClusterMonitoringProps: RedshiftClusterMonitoringProps = { ... } | **Name** | **Type** | **Description** | | --- | --- | --- | +| account | string | Account where the metrics exist. | +| region | string | Region where the metrics exist. | | clusterIdentifier | string | *No description.* | | alarmFriendlyName | string | Plain name, used in naming alarms. | | humanReadableName | string | Human-readable name is a freeform string, used as a caption or description. | @@ -39755,6 +42547,36 @@ const redshiftClusterMonitoringProps: RedshiftClusterMonitoringProps = { ... } --- +##### `account`Optional + +```typescript +public readonly account: string; +``` + +- *Type:* string +- *Default:* The account configured by the construct holding the Monitoring construct + +Account where the metrics exist. + +> [https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html) + +--- + +##### `region`Optional + +```typescript +public readonly region: string; +``` + +- *Type:* string +- *Default:* The region configured by the construct holding the Monitoring construct + +Region where the metrics exist. + +> [https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html) + +--- + ##### `clusterIdentifier`Required ```typescript @@ -40645,11 +43467,43 @@ const s3BucketMetricFactoryProps: S3BucketMetricFactoryProps = { ... } | **Name** | **Type** | **Description** | | --- | --- | --- | +| account | string | Account where the metrics exist. | +| region | string | Region where the metrics exist. | | bucket | aws-cdk-lib.aws_s3.IBucket | *No description.* | | storageType | StorageType | *No description.* | --- +##### `account`Optional + +```typescript +public readonly account: string; +``` + +- *Type:* string +- *Default:* The account configured by the construct holding the Monitoring construct + +Account where the metrics exist. + +> [https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html) + +--- + +##### `region`Optional + +```typescript +public readonly region: string; +``` + +- *Type:* string +- *Default:* The region configured by the construct holding the Monitoring construct + +Region where the metrics exist. + +> [https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html) + +--- + ##### `bucket`Required ```typescript @@ -40684,6 +43538,8 @@ const s3BucketMonitoringOptions: S3BucketMonitoringOptions = { ... } | **Name** | **Type** | **Description** | | --- | --- | --- | +| account | string | Account where the metrics exist. | +| region | string | Region where the metrics exist. | | alarmFriendlyName | string | Plain name, used in naming alarms. | | humanReadableName | string | Human-readable name is a freeform string, used as a caption or description. | | localAlarmNamePrefixOverride | string | If this is defined, the local alarm name prefix used in naming alarms for the construct will be set to this value. | @@ -40694,6 +43550,36 @@ const s3BucketMonitoringOptions: S3BucketMonitoringOptions = { ... } --- +##### `account`Optional + +```typescript +public readonly account: string; +``` + +- *Type:* string +- *Default:* The account configured by the construct holding the Monitoring construct + +Account where the metrics exist. + +> [https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html) + +--- + +##### `region`Optional + +```typescript +public readonly region: string; +``` + +- *Type:* string +- *Default:* The region configured by the construct holding the Monitoring construct + +Region where the metrics exist. + +> [https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html) + +--- + ##### `alarmFriendlyName`Optional ```typescript @@ -40806,6 +43692,8 @@ const s3BucketMonitoringProps: S3BucketMonitoringProps = { ... } | **Name** | **Type** | **Description** | | --- | --- | --- | +| account | string | Account where the metrics exist. | +| region | string | Region where the metrics exist. | | bucket | aws-cdk-lib.aws_s3.IBucket | *No description.* | | storageType | StorageType | *No description.* | | alarmFriendlyName | string | Plain name, used in naming alarms. | @@ -40818,6 +43706,36 @@ const s3BucketMonitoringProps: S3BucketMonitoringProps = { ... } --- +##### `account`Optional + +```typescript +public readonly account: string; +``` + +- *Type:* string +- *Default:* The account configured by the construct holding the Monitoring construct + +Account where the metrics exist. + +> [https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html) + +--- + +##### `region`Optional + +```typescript +public readonly region: string; +``` + +- *Type:* string +- *Default:* The region configured by the construct holding the Monitoring construct + +Region where the metrics exist. + +> [https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html) + +--- + ##### `bucket`Required ```typescript @@ -40950,6 +43868,8 @@ const secretsManagerMonitoringOptions: SecretsManagerMonitoringOptions = { ... } | **Name** | **Type** | **Description** | | --- | --- | --- | +| account | string | Account where the metrics exist. | +| region | string | Region where the metrics exist. | | alarmFriendlyName | string | Plain name, used in naming alarms. | | humanReadableName | string | Human-readable name is a freeform string, used as a caption or description. | | localAlarmNamePrefixOverride | string | If this is defined, the local alarm name prefix used in naming alarms for the construct will be set to this value. | @@ -40963,6 +43883,36 @@ const secretsManagerMonitoringOptions: SecretsManagerMonitoringOptions = { ... } --- +##### `account`Optional + +```typescript +public readonly account: string; +``` + +- *Type:* string +- *Default:* The account configured by the construct holding the Monitoring construct + +Account where the metrics exist. + +> [https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html) + +--- + +##### `region`Optional + +```typescript +public readonly region: string; +``` + +- *Type:* string +- *Default:* The region configured by the construct holding the Monitoring construct + +Region where the metrics exist. + +> [https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html) + +--- + ##### `alarmFriendlyName`Optional ```typescript @@ -41105,6 +44055,8 @@ const secretsManagerMonitoringProps: SecretsManagerMonitoringProps = { ... } | **Name** | **Type** | **Description** | | --- | --- | --- | +| account | string | Account where the metrics exist. | +| region | string | Region where the metrics exist. | | alarmFriendlyName | string | Plain name, used in naming alarms. | | humanReadableName | string | Human-readable name is a freeform string, used as a caption or description. | | localAlarmNamePrefixOverride | string | If this is defined, the local alarm name prefix used in naming alarms for the construct will be set to this value. | @@ -41118,6 +44070,36 @@ const secretsManagerMonitoringProps: SecretsManagerMonitoringProps = { ... } --- +##### `account`Optional + +```typescript +public readonly account: string; +``` + +- *Type:* string +- *Default:* The account configured by the construct holding the Monitoring construct + +Account where the metrics exist. + +> [https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html) + +--- + +##### `region`Optional + +```typescript +public readonly region: string; +``` + +- *Type:* string +- *Default:* The region configured by the construct holding the Monitoring construct + +Region where the metrics exist. + +> [https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html) + +--- + ##### `alarmFriendlyName`Optional ```typescript @@ -41260,10 +44242,42 @@ const secretsManagerSecretMetricFactoryProps: SecretsManagerSecretMetricFactoryP | **Name** | **Type** | **Description** | | --- | --- | --- | +| account | string | Account where the metrics exist. | +| region | string | Region where the metrics exist. | | secret | aws-cdk-lib.aws_secretsmanager.ISecret | *No description.* | --- +##### `account`Optional + +```typescript +public readonly account: string; +``` + +- *Type:* string +- *Default:* The account configured by the construct holding the Monitoring construct + +Account where the metrics exist. + +> [https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html) + +--- + +##### `region`Optional + +```typescript +public readonly region: string; +``` + +- *Type:* string +- *Default:* The region configured by the construct holding the Monitoring construct + +Region where the metrics exist. + +> [https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html) + +--- + ##### `secret`Required ```typescript @@ -41288,6 +44302,8 @@ const secretsManagerSecretMonitoringOptions: SecretsManagerSecretMonitoringOptio | **Name** | **Type** | **Description** | | --- | --- | --- | +| account | string | Account where the metrics exist. | +| region | string | Region where the metrics exist. | | alarmFriendlyName | string | Plain name, used in naming alarms. | | humanReadableName | string | Human-readable name is a freeform string, used as a caption or description. | | localAlarmNamePrefixOverride | string | If this is defined, the local alarm name prefix used in naming alarms for the construct will be set to this value. | @@ -41302,6 +44318,36 @@ const secretsManagerSecretMonitoringOptions: SecretsManagerSecretMonitoringOptio --- +##### `account`Optional + +```typescript +public readonly account: string; +``` + +- *Type:* string +- *Default:* The account configured by the construct holding the Monitoring construct + +Account where the metrics exist. + +> [https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html) + +--- + +##### `region`Optional + +```typescript +public readonly region: string; +``` + +- *Type:* string +- *Default:* The region configured by the construct holding the Monitoring construct + +Region where the metrics exist. + +> [https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html) + +--- + ##### `alarmFriendlyName`Optional ```typescript @@ -41461,6 +44507,8 @@ const secretsManagerSecretMonitoringProps: SecretsManagerSecretMonitoringProps = | **Name** | **Type** | **Description** | | --- | --- | --- | +| account | string | Account where the metrics exist. | +| region | string | Region where the metrics exist. | | secret | aws-cdk-lib.aws_secretsmanager.ISecret | *No description.* | | alarmFriendlyName | string | Plain name, used in naming alarms. | | humanReadableName | string | Human-readable name is a freeform string, used as a caption or description. | @@ -41476,6 +44524,36 @@ const secretsManagerSecretMonitoringProps: SecretsManagerSecretMonitoringProps = --- +##### `account`Optional + +```typescript +public readonly account: string; +``` + +- *Type:* string +- *Default:* The account configured by the construct holding the Monitoring construct + +Account where the metrics exist. + +> [https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html) + +--- + +##### `region`Optional + +```typescript +public readonly region: string; +``` + +- *Type:* string +- *Default:* The region configured by the construct holding the Monitoring construct + +Region where the metrics exist. + +> [https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html) + +--- + ##### `secret`Required ```typescript @@ -41645,6 +44723,8 @@ const simpleEc2ServiceMonitoringProps: SimpleEc2ServiceMonitoringProps = { ... } | **Name** | **Type** | **Description** | | --- | --- | --- | +| account | string | Account where the metrics exist. | +| region | string | Region where the metrics exist. | | alarmFriendlyName | string | Plain name, used in naming alarms. | | humanReadableName | string | Human-readable name is a freeform string, used as a caption or description. | | localAlarmNamePrefixOverride | string | If this is defined, the local alarm name prefix used in naming alarms for the construct will be set to this value. | @@ -41662,6 +44742,36 @@ const simpleEc2ServiceMonitoringProps: SimpleEc2ServiceMonitoringProps = { ... } --- +##### `account`Optional + +```typescript +public readonly account: string; +``` + +- *Type:* string +- *Default:* The account configured by the construct holding the Monitoring construct + +Account where the metrics exist. + +> [https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html) + +--- + +##### `region`Optional + +```typescript +public readonly region: string; +``` + +- *Type:* string +- *Default:* The region configured by the construct holding the Monitoring construct + +Region where the metrics exist. + +> [https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html) + +--- + ##### `alarmFriendlyName`Optional ```typescript @@ -41854,6 +44964,8 @@ const simpleFargateServiceMonitoringProps: SimpleFargateServiceMonitoringProps = | **Name** | **Type** | **Description** | | --- | --- | --- | +| account | string | Account where the metrics exist. | +| region | string | Region where the metrics exist. | | alarmFriendlyName | string | Plain name, used in naming alarms. | | humanReadableName | string | Human-readable name is a freeform string, used as a caption or description. | | localAlarmNamePrefixOverride | string | If this is defined, the local alarm name prefix used in naming alarms for the construct will be set to this value. | @@ -41871,6 +44983,36 @@ const simpleFargateServiceMonitoringProps: SimpleFargateServiceMonitoringProps = --- +##### `account`Optional + +```typescript +public readonly account: string; +``` + +- *Type:* string +- *Default:* The account configured by the construct holding the Monitoring construct + +Account where the metrics exist. + +> [https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html) + +--- + +##### `region`Optional + +```typescript +public readonly region: string; +``` + +- *Type:* string +- *Default:* The region configured by the construct holding the Monitoring construct + +Region where the metrics exist. + +> [https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html) + +--- + ##### `alarmFriendlyName`Optional ```typescript @@ -42213,10 +45355,42 @@ const snsTopicMetricFactoryProps: SnsTopicMetricFactoryProps = { ... } | **Name** | **Type** | **Description** | | --- | --- | --- | +| account | string | Account where the metrics exist. | +| region | string | Region where the metrics exist. | | topic | aws-cdk-lib.aws_sns.ITopic | *No description.* | --- +##### `account`Optional + +```typescript +public readonly account: string; +``` + +- *Type:* string +- *Default:* The account configured by the construct holding the Monitoring construct + +Account where the metrics exist. + +> [https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html) + +--- + +##### `region`Optional + +```typescript +public readonly region: string; +``` + +- *Type:* string +- *Default:* The region configured by the construct holding the Monitoring construct + +Region where the metrics exist. + +> [https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html) + +--- + ##### `topic`Required ```typescript @@ -42241,6 +45415,8 @@ const snsTopicMonitoringOptions: SnsTopicMonitoringOptions = { ... } | **Name** | **Type** | **Description** | | --- | --- | --- | +| account | string | Account where the metrics exist. | +| region | string | Region where the metrics exist. | | alarmFriendlyName | string | Plain name, used in naming alarms. | | humanReadableName | string | Human-readable name is a freeform string, used as a caption or description. | | localAlarmNamePrefixOverride | string | If this is defined, the local alarm name prefix used in naming alarms for the construct will be set to this value. | @@ -42254,6 +45430,36 @@ const snsTopicMonitoringOptions: SnsTopicMonitoringOptions = { ... } --- +##### `account`Optional + +```typescript +public readonly account: string; +``` + +- *Type:* string +- *Default:* The account configured by the construct holding the Monitoring construct + +Account where the metrics exist. + +> [https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html) + +--- + +##### `region`Optional + +```typescript +public readonly region: string; +``` + +- *Type:* string +- *Default:* The region configured by the construct holding the Monitoring construct + +Region where the metrics exist. + +> [https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html) + +--- + ##### `alarmFriendlyName`Optional ```typescript @@ -42396,6 +45602,8 @@ const snsTopicMonitoringProps: SnsTopicMonitoringProps = { ... } | **Name** | **Type** | **Description** | | --- | --- | --- | +| account | string | Account where the metrics exist. | +| region | string | Region where the metrics exist. | | topic | aws-cdk-lib.aws_sns.ITopic | *No description.* | | alarmFriendlyName | string | Plain name, used in naming alarms. | | humanReadableName | string | Human-readable name is a freeform string, used as a caption or description. | @@ -42410,6 +45618,36 @@ const snsTopicMonitoringProps: SnsTopicMonitoringProps = { ... } --- +##### `account`Optional + +```typescript +public readonly account: string; +``` + +- *Type:* string +- *Default:* The account configured by the construct holding the Monitoring construct + +Account where the metrics exist. + +> [https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html) + +--- + +##### `region`Optional + +```typescript +public readonly region: string; +``` + +- *Type:* string +- *Default:* The region configured by the construct holding the Monitoring construct + +Region where the metrics exist. + +> [https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html) + +--- + ##### `topic`Required ```typescript @@ -42562,10 +45800,42 @@ const sqsQueueMetricFactoryProps: SqsQueueMetricFactoryProps = { ... } | **Name** | **Type** | **Description** | | --- | --- | --- | +| account | string | Account where the metrics exist. | +| region | string | Region where the metrics exist. | | queue | aws-cdk-lib.aws_sqs.IQueue | *No description.* | --- +##### `account`Optional + +```typescript +public readonly account: string; +``` + +- *Type:* string +- *Default:* The account configured by the construct holding the Monitoring construct + +Account where the metrics exist. + +> [https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html) + +--- + +##### `region`Optional + +```typescript +public readonly region: string; +``` + +- *Type:* string +- *Default:* The region configured by the construct holding the Monitoring construct + +Region where the metrics exist. + +> [https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html) + +--- + ##### `queue`Required ```typescript @@ -42596,6 +45866,8 @@ const sqsQueueMonitoringOptions: SqsQueueMonitoringOptions = { ... } | addQueueMaxTimeToDrainMessagesAlarm | {[ key: string ]: MaxTimeToDrainThreshold} | *No description.* | | addQueueMinIncomingMessagesAlarm | {[ key: string ]: MinIncomingMessagesCountThreshold} | *No description.* | | addQueueMinSizeAlarm | {[ key: string ]: MinMessageCountThreshold} | *No description.* | +| account | string | Account where the metrics exist. | +| region | string | Region where the metrics exist. | | alarmFriendlyName | string | Plain name, used in naming alarms. | | humanReadableName | string | Human-readable name is a freeform string, used as a caption or description. | | localAlarmNamePrefixOverride | string | If this is defined, the local alarm name prefix used in naming alarms for the construct will be set to this value. | @@ -42666,6 +45938,36 @@ public readonly addQueueMinSizeAlarm: {[ key: string ]: MinMessageCountThreshold --- +##### `account`Optional + +```typescript +public readonly account: string; +``` + +- *Type:* string +- *Default:* The account configured by the construct holding the Monitoring construct + +Account where the metrics exist. + +> [https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html) + +--- + +##### `region`Optional + +```typescript +public readonly region: string; +``` + +- *Type:* string +- *Default:* The region configured by the construct holding the Monitoring construct + +Region where the metrics exist. + +> [https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html) + +--- + ##### `alarmFriendlyName`Optional ```typescript @@ -42778,6 +46080,8 @@ const sqsQueueMonitoringProps: SqsQueueMonitoringProps = { ... } | **Name** | **Type** | **Description** | | --- | --- | --- | +| account | string | Account where the metrics exist. | +| region | string | Region where the metrics exist. | | queue | aws-cdk-lib.aws_sqs.IQueue | *No description.* | | addQueueMaxIncomingMessagesAlarm | {[ key: string ]: MaxIncomingMessagesCountThreshold} | *No description.* | | addQueueMaxMessageAgeAlarm | {[ key: string ]: MaxMessageAgeThreshold} | *No description.* | @@ -42795,6 +46099,36 @@ const sqsQueueMonitoringProps: SqsQueueMonitoringProps = { ... } --- +##### `account`Optional + +```typescript +public readonly account: string; +``` + +- *Type:* string +- *Default:* The account configured by the construct holding the Monitoring construct + +Account where the metrics exist. + +> [https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html) + +--- + +##### `region`Optional + +```typescript +public readonly region: string; +``` + +- *Type:* string +- *Default:* The region configured by the construct holding the Monitoring construct + +Region where the metrics exist. + +> [https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html) + +--- + ##### `queue`Required ```typescript @@ -42977,6 +46311,8 @@ const sqsQueueMonitoringWithDlqProps: SqsQueueMonitoringWithDlqProps = { ... } | **Name** | **Type** | **Description** | | --- | --- | --- | +| account | string | Account where the metrics exist. | +| region | string | Region where the metrics exist. | | queue | aws-cdk-lib.aws_sqs.IQueue | *No description.* | | addQueueMaxIncomingMessagesAlarm | {[ key: string ]: MaxIncomingMessagesCountThreshold} | *No description.* | | addQueueMaxMessageAgeAlarm | {[ key: string ]: MaxMessageAgeThreshold} | *No description.* | @@ -42999,6 +46335,36 @@ const sqsQueueMonitoringWithDlqProps: SqsQueueMonitoringWithDlqProps = { ... } --- +##### `account`Optional + +```typescript +public readonly account: string; +``` + +- *Type:* string +- *Default:* The account configured by the construct holding the Monitoring construct + +Account where the metrics exist. + +> [https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html) + +--- + +##### `region`Optional + +```typescript +public readonly region: string; +``` + +- *Type:* string +- *Default:* The region configured by the construct holding the Monitoring construct + +Region where the metrics exist. + +> [https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html) + +--- + ##### `queue`Required ```typescript @@ -43241,11 +46607,43 @@ const stepFunctionActivityMetricFactoryProps: StepFunctionActivityMetricFactoryP | **Name** | **Type** | **Description** | | --- | --- | --- | +| account | string | Account where the metrics exist. | +| region | string | Region where the metrics exist. | | activity | aws-cdk-lib.aws_stepfunctions.IActivity | *No description.* | | rateComputationMethod | RateComputationMethod | *No description.* | --- +##### `account`Optional + +```typescript +public readonly account: string; +``` + +- *Type:* string +- *Default:* The account configured by the construct holding the Monitoring construct + +Account where the metrics exist. + +> [https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html) + +--- + +##### `region`Optional + +```typescript +public readonly region: string; +``` + +- *Type:* string +- *Default:* The region configured by the construct holding the Monitoring construct + +Region where the metrics exist. + +> [https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html) + +--- + ##### `activity`Required ```typescript @@ -43281,6 +46679,8 @@ const stepFunctionActivityMonitoringProps: StepFunctionActivityMonitoringProps = | **Name** | **Type** | **Description** | | --- | --- | --- | +| account | string | Account where the metrics exist. | +| region | string | Region where the metrics exist. | | activity | aws-cdk-lib.aws_stepfunctions.IActivity | *No description.* | | rateComputationMethod | RateComputationMethod | *No description.* | | alarmFriendlyName | string | Plain name, used in naming alarms. | @@ -43299,6 +46699,36 @@ const stepFunctionActivityMonitoringProps: StepFunctionActivityMonitoringProps = --- +##### `account`Optional + +```typescript +public readonly account: string; +``` + +- *Type:* string +- *Default:* The account configured by the construct holding the Monitoring construct + +Account where the metrics exist. + +> [https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html) + +--- + +##### `region`Optional + +```typescript +public readonly region: string; +``` + +- *Type:* string +- *Default:* The region configured by the construct holding the Monitoring construct + +Region where the metrics exist. + +> [https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html) + +--- + ##### `activity`Required ```typescript @@ -43492,11 +46922,43 @@ const stepFunctionLambdaIntegrationMetricFactoryProps: StepFunctionLambdaIntegra | **Name** | **Type** | **Description** | | --- | --- | --- | +| account | string | Account where the metrics exist. | +| region | string | Region where the metrics exist. | | lambdaFunction | aws-cdk-lib.aws_lambda.IFunction | *No description.* | | rateComputationMethod | RateComputationMethod | *No description.* | --- +##### `account`Optional + +```typescript +public readonly account: string; +``` + +- *Type:* string +- *Default:* The account configured by the construct holding the Monitoring construct + +Account where the metrics exist. + +> [https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html) + +--- + +##### `region`Optional + +```typescript +public readonly region: string; +``` + +- *Type:* string +- *Default:* The region configured by the construct holding the Monitoring construct + +Region where the metrics exist. + +> [https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html) + +--- + ##### `lambdaFunction`Required ```typescript @@ -43532,6 +46994,8 @@ const stepFunctionLambdaIntegrationMonitoringProps: StepFunctionLambdaIntegratio | **Name** | **Type** | **Description** | | --- | --- | --- | +| account | string | Account where the metrics exist. | +| region | string | Region where the metrics exist. | | lambdaFunction | aws-cdk-lib.aws_lambda.IFunction | *No description.* | | rateComputationMethod | RateComputationMethod | *No description.* | | alarmFriendlyName | string | Plain name, used in naming alarms. | @@ -43550,6 +47014,36 @@ const stepFunctionLambdaIntegrationMonitoringProps: StepFunctionLambdaIntegratio --- +##### `account`Optional + +```typescript +public readonly account: string; +``` + +- *Type:* string +- *Default:* The account configured by the construct holding the Monitoring construct + +Account where the metrics exist. + +> [https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html) + +--- + +##### `region`Optional + +```typescript +public readonly region: string; +``` + +- *Type:* string +- *Default:* The region configured by the construct holding the Monitoring construct + +Region where the metrics exist. + +> [https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html) + +--- + ##### `lambdaFunction`Required ```typescript @@ -43743,11 +47237,43 @@ const stepFunctionMetricFactoryProps: StepFunctionMetricFactoryProps = { ... } | **Name** | **Type** | **Description** | | --- | --- | --- | +| account | string | Account where the metrics exist. | +| region | string | Region where the metrics exist. | | stateMachine | aws-cdk-lib.aws_stepfunctions.IStateMachine | *No description.* | | rateComputationMethod | RateComputationMethod | *No description.* | --- +##### `account`Optional + +```typescript +public readonly account: string; +``` + +- *Type:* string +- *Default:* The account configured by the construct holding the Monitoring construct + +Account where the metrics exist. + +> [https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html) + +--- + +##### `region`Optional + +```typescript +public readonly region: string; +``` + +- *Type:* string +- *Default:* The region configured by the construct holding the Monitoring construct + +Region where the metrics exist. + +> [https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html) + +--- + ##### `stateMachine`Required ```typescript @@ -43783,6 +47309,8 @@ const stepFunctionMonitoringOptions: StepFunctionMonitoringOptions = { ... } | **Name** | **Type** | **Description** | | --- | --- | --- | +| account | string | Account where the metrics exist. | +| region | string | Region where the metrics exist. | | alarmFriendlyName | string | Plain name, used in naming alarms. | | humanReadableName | string | Human-readable name is a freeform string, used as a caption or description. | | localAlarmNamePrefixOverride | string | If this is defined, the local alarm name prefix used in naming alarms for the construct will be set to this value. | @@ -43802,6 +47330,36 @@ const stepFunctionMonitoringOptions: StepFunctionMonitoringOptions = { ... } --- +##### `account`Optional + +```typescript +public readonly account: string; +``` + +- *Type:* string +- *Default:* The account configured by the construct holding the Monitoring construct + +Account where the metrics exist. + +> [https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html) + +--- + +##### `region`Optional + +```typescript +public readonly region: string; +``` + +- *Type:* string +- *Default:* The region configured by the construct holding the Monitoring construct + +Region where the metrics exist. + +> [https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html) + +--- + ##### `alarmFriendlyName`Optional ```typescript @@ -44006,6 +47564,8 @@ const stepFunctionMonitoringProps: StepFunctionMonitoringProps = { ... } | **Name** | **Type** | **Description** | | --- | --- | --- | +| account | string | Account where the metrics exist. | +| region | string | Region where the metrics exist. | | stateMachine | aws-cdk-lib.aws_stepfunctions.IStateMachine | *No description.* | | rateComputationMethod | RateComputationMethod | *No description.* | | alarmFriendlyName | string | Plain name, used in naming alarms. | @@ -44027,6 +47587,36 @@ const stepFunctionMonitoringProps: StepFunctionMonitoringProps = { ... } --- +##### `account`Optional + +```typescript +public readonly account: string; +``` + +- *Type:* string +- *Default:* The account configured by the construct holding the Monitoring construct + +Account where the metrics exist. + +> [https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html) + +--- + +##### `region`Optional + +```typescript +public readonly region: string; +``` + +- *Type:* string +- *Default:* The region configured by the construct holding the Monitoring construct + +Region where the metrics exist. + +> [https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html) + +--- + ##### `stateMachine`Required ```typescript @@ -44252,11 +47842,43 @@ const stepFunctionServiceIntegrationMetricFactoryProps: StepFunctionServiceInteg | **Name** | **Type** | **Description** | | --- | --- | --- | +| account | string | Account where the metrics exist. | +| region | string | Region where the metrics exist. | | serviceIntegrationResourceArn | string | *No description.* | | rateComputationMethod | RateComputationMethod | *No description.* | --- +##### `account`Optional + +```typescript +public readonly account: string; +``` + +- *Type:* string +- *Default:* The account configured by the construct holding the Monitoring construct + +Account where the metrics exist. + +> [https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html) + +--- + +##### `region`Optional + +```typescript +public readonly region: string; +``` + +- *Type:* string +- *Default:* The region configured by the construct holding the Monitoring construct + +Region where the metrics exist. + +> [https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html) + +--- + ##### `serviceIntegrationResourceArn`Required ```typescript @@ -44292,6 +47914,8 @@ const stepFunctionServiceIntegrationMonitoringProps: StepFunctionServiceIntegrat | **Name** | **Type** | **Description** | | --- | --- | --- | +| account | string | Account where the metrics exist. | +| region | string | Region where the metrics exist. | | serviceIntegrationResourceArn | string | *No description.* | | rateComputationMethod | RateComputationMethod | *No description.* | | alarmFriendlyName | string | Plain name, used in naming alarms. | @@ -44310,6 +47934,36 @@ const stepFunctionServiceIntegrationMonitoringProps: StepFunctionServiceIntegrat --- +##### `account`Optional + +```typescript +public readonly account: string; +``` + +- *Type:* string +- *Default:* The account configured by the construct holding the Monitoring construct + +Account where the metrics exist. + +> [https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html) + +--- + +##### `region`Optional + +```typescript +public readonly region: string; +``` + +- *Type:* string +- *Default:* The region configured by the construct holding the Monitoring construct + +Region where the metrics exist. + +> [https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html) + +--- + ##### `serviceIntegrationResourceArn`Required ```typescript @@ -44503,11 +48157,43 @@ const syntheticsCanaryMetricFactoryProps: SyntheticsCanaryMetricFactoryProps = { | **Name** | **Type** | **Description** | | --- | --- | --- | +| account | string | Account where the metrics exist. | +| region | string | Region where the metrics exist. | | canary | aws-cdk-lib.aws_synthetics.Canary | CloudWatch Canary to monitor. | | rateComputationMethod | RateComputationMethod | Method used to calculate relative rates. | --- +##### `account`Optional + +```typescript +public readonly account: string; +``` + +- *Type:* string +- *Default:* The account configured by the construct holding the Monitoring construct + +Account where the metrics exist. + +> [https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html) + +--- + +##### `region`Optional + +```typescript +public readonly region: string; +``` + +- *Type:* string +- *Default:* The region configured by the construct holding the Monitoring construct + +Region where the metrics exist. + +> [https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html) + +--- + ##### `canary`Required ```typescript @@ -44547,6 +48233,8 @@ const syntheticsCanaryMonitoringOptions: SyntheticsCanaryMonitoringOptions = { . | **Name** | **Type** | **Description** | | --- | --- | --- | +| account | string | Account where the metrics exist. | +| region | string | Region where the metrics exist. | | alarmFriendlyName | string | Plain name, used in naming alarms. | | humanReadableName | string | Human-readable name is a freeform string, used as a caption or description. | | localAlarmNamePrefixOverride | string | If this is defined, the local alarm name prefix used in naming alarms for the construct will be set to this value. | @@ -44562,6 +48250,36 @@ const syntheticsCanaryMonitoringOptions: SyntheticsCanaryMonitoringOptions = { . --- +##### `account`Optional + +```typescript +public readonly account: string; +``` + +- *Type:* string +- *Default:* The account configured by the construct holding the Monitoring construct + +Account where the metrics exist. + +> [https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html) + +--- + +##### `region`Optional + +```typescript +public readonly region: string; +``` + +- *Type:* string +- *Default:* The region configured by the construct holding the Monitoring construct + +Region where the metrics exist. + +> [https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html) + +--- + ##### `alarmFriendlyName`Optional ```typescript @@ -44724,6 +48442,8 @@ const syntheticsCanaryMonitoringProps: SyntheticsCanaryMonitoringProps = { ... } | **Name** | **Type** | **Description** | | --- | --- | --- | +| account | string | Account where the metrics exist. | +| region | string | Region where the metrics exist. | | canary | aws-cdk-lib.aws_synthetics.Canary | CloudWatch Canary to monitor. | | rateComputationMethod | RateComputationMethod | Method used to calculate relative rates. | | alarmFriendlyName | string | Plain name, used in naming alarms. | @@ -44741,6 +48461,36 @@ const syntheticsCanaryMonitoringProps: SyntheticsCanaryMonitoringProps = { ... } --- +##### `account`Optional + +```typescript +public readonly account: string; +``` + +- *Type:* string +- *Default:* The account configured by the construct holding the Monitoring construct + +Account where the metrics exist. + +> [https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html) + +--- + +##### `region`Optional + +```typescript +public readonly region: string; +``` + +- *Type:* string +- *Default:* The region configured by the construct holding the Monitoring construct + +Region where the metrics exist. + +> [https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html) + +--- + ##### `canary`Required ```typescript @@ -46475,18 +50225,24 @@ const wafV2MetricFactoryProps: WafV2MetricFactoryProps = { ... } | **Name** | **Type** | **Description** | | --- | --- | --- | -| acl | aws-cdk-lib.aws_wafv2.CfnWebACL | *No description.* | -| region | string | Required if acl has a "REGIONAL" scope. | +| account | string | Account where the metrics exist. | +| region | string | Region where the metrics exist. | +| acl | aws-cdk-lib.aws_wafv2.CfnWebACL | Note that the "region" prop is required if this has a "REGIONAL" scope. | --- -##### `acl`Required +##### `account`Optional ```typescript -public readonly acl: CfnWebACL; +public readonly account: string; ``` -- *Type:* aws-cdk-lib.aws_wafv2.CfnWebACL +- *Type:* string +- *Default:* The account configured by the construct holding the Monitoring construct + +Account where the metrics exist. + +> [https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html) --- @@ -46497,8 +50253,23 @@ public readonly region: string; ``` - *Type:* string +- *Default:* The region configured by the construct holding the Monitoring construct + +Region where the metrics exist. + +> [https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html) + +--- + +##### `acl`Required + +```typescript +public readonly acl: CfnWebACL; +``` + +- *Type:* aws-cdk-lib.aws_wafv2.CfnWebACL -Required if acl has a "REGIONAL" scope. +Note that the "region" prop is required if this has a "REGIONAL" scope. --- @@ -46516,6 +50287,8 @@ const wafV2MonitoringOptions: WafV2MonitoringOptions = { ... } | **Name** | **Type** | **Description** | | --- | --- | --- | +| account | string | Account where the metrics exist. | +| region | string | Region where the metrics exist. | | alarmFriendlyName | string | Plain name, used in naming alarms. | | humanReadableName | string | Human-readable name is a freeform string, used as a caption or description. | | localAlarmNamePrefixOverride | string | If this is defined, the local alarm name prefix used in naming alarms for the construct will be set to this value. | @@ -46526,6 +50299,36 @@ const wafV2MonitoringOptions: WafV2MonitoringOptions = { ... } --- +##### `account`Optional + +```typescript +public readonly account: string; +``` + +- *Type:* string +- *Default:* The account configured by the construct holding the Monitoring construct + +Account where the metrics exist. + +> [https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html) + +--- + +##### `region`Optional + +```typescript +public readonly region: string; +``` + +- *Type:* string +- *Default:* The region configured by the construct holding the Monitoring construct + +Region where the metrics exist. + +> [https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html) + +--- + ##### `alarmFriendlyName`Optional ```typescript @@ -46638,8 +50441,9 @@ const wafV2MonitoringProps: WafV2MonitoringProps = { ... } | **Name** | **Type** | **Description** | | --- | --- | --- | -| acl | aws-cdk-lib.aws_wafv2.CfnWebACL | *No description.* | -| region | string | Required if acl has a "REGIONAL" scope. | +| account | string | Account where the metrics exist. | +| region | string | Region where the metrics exist. | +| acl | aws-cdk-lib.aws_wafv2.CfnWebACL | Note that the "region" prop is required if this has a "REGIONAL" scope. | | alarmFriendlyName | string | Plain name, used in naming alarms. | | humanReadableName | string | Human-readable name is a freeform string, used as a caption or description. | | localAlarmNamePrefixOverride | string | If this is defined, the local alarm name prefix used in naming alarms for the construct will be set to this value. | @@ -46652,13 +50456,18 @@ const wafV2MonitoringProps: WafV2MonitoringProps = { ... } --- -##### `acl`Required +##### `account`Optional ```typescript -public readonly acl: CfnWebACL; +public readonly account: string; ``` -- *Type:* aws-cdk-lib.aws_wafv2.CfnWebACL +- *Type:* string +- *Default:* The account configured by the construct holding the Monitoring construct + +Account where the metrics exist. + +> [https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html) --- @@ -46669,8 +50478,23 @@ public readonly region: string; ``` - *Type:* string +- *Default:* The region configured by the construct holding the Monitoring construct + +Region where the metrics exist. + +> [https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html) + +--- + +##### `acl`Required + +```typescript +public readonly acl: CfnWebACL; +``` + +- *Type:* aws-cdk-lib.aws_wafv2.CfnWebACL -Required if acl has a "REGIONAL" scope. +Note that the "region" prop is required if this has a "REGIONAL" scope. --- @@ -50762,13 +54586,13 @@ public getStateMachineUrl(stateMachineArn: string): string ```typescript import { BaseMetricFactory } from 'cdk-monitoring-constructs' -new BaseMetricFactory(metricFactory: MetricFactory, _props: BaseMetricFactoryProps) +new BaseMetricFactory(metricFactory: MetricFactory, props: BaseMetricFactoryProps) ``` | **Name** | **Type** | **Description** | | --- | --- | --- | | metricFactory | MetricFactory | *No description.* | -| _props | BaseMetricFactoryProps | *No description.* | +| props | BaseMetricFactoryProps | *No description.* | --- @@ -50778,7 +54602,7 @@ new BaseMetricFactory(metricFactory: MetricFactory, _props: BaseMetricFactoryPro --- -##### `_props`Required +##### `props`Required - *Type:* BaseMetricFactoryProps @@ -73085,7 +76909,7 @@ name of dashboard for which widgets are generated. ##### `createMetrics` ```typescript -public createMetrics(metricFactory: MetricFactory, metricName: string, statistic: MetricStatistic): IMetric[] +public createMetrics(metricFactory: MetricFactory, metricName: string, statistic: MetricStatistic, region?: string, account?: string): IMetric[] ``` ###### `metricFactory`Required @@ -73106,6 +76930,18 @@ public createMetrics(metricFactory: MetricFactory, metricName: string, statistic --- +###### `region`Optional + +- *Type:* string + +--- + +###### `account`Optional + +- *Type:* string + +--- + ### ILoadBalancerMetricFactory diff --git a/README.md b/README.md index 88077b67..d9f39d62 100644 --- a/README.md +++ b/README.md @@ -417,6 +417,48 @@ Now, this widget will be added to both dashboards and will show different conten * Dashboard Name: "ExampleDashboards-Infrastructure" * Content: "This shows metrics for the AWS Infrastructure supporting your hosted service" +### Cross-account cross-Region Dashboards + +Facades can be configured for different regions/accounts as a whole: + +```ts +new MonitoringFacade(stack, "Monitoring", { + metricFactoryDefaults: { + // Different region/account than what you're deploying to + region: "us-west-2", + account: "01234567890", + } +}); +``` + +Or at a more granular level: + +```ts +monitoring + .monitorDynamoTable({ + // Table from the same account/region + table: Table.fromTableName(stack, "ImportedTable", "MyTableName"), + }) + .monitorDynamoTable({ + // Table from another account/region + table: Table.fromTableArn( + stack, + "XaXrImportedTable", + "arn:aws:dynamodb:us-west-2:01234567890:table/my-other-table", + ), + region: "us-west-2", + account: "01234567890", + }); +``` + +The order of precedence of the region/account values is: + +1. The individual metric factory's props (e.g. via the `monitorDynamoTable` props). +1. The facade's `metricFactoryDefaults` props. +1. The region/account that the stack is deployed to. + +Note that certain metrics are based on [math expressions](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/using-metric-math.html) and cannot be alarmed upon in a cross-account cross-Region context, and you will see an error at synthesis time. + ### Monitoring scopes You can monitor complete CDK construct scopes using an aspect. It will automatically discover all monitorable resources within the scope recursively and add them to your dashboard. diff --git a/lib/common/metric/BaseMetricFactory.ts b/lib/common/metric/BaseMetricFactory.ts index b3c2bec2..3dc32a6c 100644 --- a/lib/common/metric/BaseMetricFactory.ts +++ b/lib/common/metric/BaseMetricFactory.ts @@ -1,15 +1,33 @@ import { MetricFactory } from "./MetricFactory"; export interface BaseMetricFactoryProps { - // TODO: this will eventually include other common things like account/region + /** + * Region where the metrics exist. + * + * @default The region configured by the construct holding the Monitoring construct + * @see https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html + */ + readonly region?: string; + + /** + * Account where the metrics exist. + * + * @default The account configured by the construct holding the Monitoring construct + * @see https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html + */ + readonly account?: string; } export abstract class BaseMetricFactory< PropsType extends BaseMetricFactoryProps, > { protected readonly metricFactory: MetricFactory; + protected readonly account?: string; + protected readonly region?: string; - constructor(metricFactory: MetricFactory, _props: PropsType) { + constructor(metricFactory: MetricFactory, props: PropsType) { this.metricFactory = metricFactory; + this.account = props.account; + this.region = props.region; } } diff --git a/lib/common/metric/MetricFactory.ts b/lib/common/metric/MetricFactory.ts index 4e3fabac..2cfebb65 100644 --- a/lib/common/metric/MetricFactory.ts +++ b/lib/common/metric/MetricFactory.ts @@ -31,21 +31,6 @@ export interface MetricFactoryDefaults extends BaseMetricFactoryProps { * @default - DefaultMetricPeriod */ readonly period?: Duration; - - /** - * Region where the metrics exist. - * - * @default The region configured by the construct holding the Monitoring construct - * @see https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html - */ - readonly region?: string; - /** - * Account where the metrics exist. - * - * @default The account configured by the construct holding the Monitoring construct - * @see https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html - */ - readonly account?: string; } export interface MetricFactoryProps { diff --git a/lib/monitoring/aws-acm/CertificateManagerMetricFactory.ts b/lib/monitoring/aws-acm/CertificateManagerMetricFactory.ts index 9422ce1f..fb728700 100644 --- a/lib/monitoring/aws-acm/CertificateManagerMetricFactory.ts +++ b/lib/monitoring/aws-acm/CertificateManagerMetricFactory.ts @@ -38,6 +38,9 @@ export class CertificateManagerMetricFactory extends BaseMetricFactory { return metricFactory.createMetric( @@ -71,6 +80,9 @@ class SelectedInstancesStrategy implements IEC2MetricFactoryStrategy { resolveDimensions(this.autoScalingGroup, instanceId), undefined, EC2Namespace, + undefined, + region, + account, ); }); } @@ -84,6 +96,8 @@ class AllInstancesStrategy implements IEC2MetricFactoryStrategy { metricFactory: MetricFactory, metricName: string, statistic: MetricStatistic, + region?: string, + account?: string, ) { return [ metricFactory.createMetricSearch( @@ -91,6 +105,10 @@ class AllInstancesStrategy implements IEC2MetricFactoryStrategy { { InstanceId: undefined as unknown as string }, statistic, EC2Namespace, + undefined, + undefined, + region, + account, ), ]; } diff --git a/lib/monitoring/aws-ecs-patterns/BaseServiceMetricFactory.ts b/lib/monitoring/aws-ecs-patterns/BaseServiceMetricFactory.ts index b9b4f031..944eaaf2 100644 --- a/lib/monitoring/aws-ecs-patterns/BaseServiceMetricFactory.ts +++ b/lib/monitoring/aws-ecs-patterns/BaseServiceMetricFactory.ts @@ -49,6 +49,9 @@ export class BaseServiceMetricFactory extends BaseMetricFactory { const stack = new Stack(); new MonitoringFacade(stack, "Test1"); new MonitoringFacade(stack, "Test2"); + new MonitoringFacade(stack, "Test3", { + metricFactoryDefaults: { + region: "us-west-2", + account: "01234567890", + }, + }); const result = Template.fromStack(stack); - result.resourceCountIs("AWS::CloudWatch::Dashboard", 2); + result.resourceCountIs("AWS::CloudWatch::Dashboard", 3); result.hasResourceProperties("AWS::CloudWatch::Dashboard", { DashboardName: "Test1", @@ -38,6 +44,9 @@ describe("test of defaults", () => { result.hasResourceProperties("AWS::CloudWatch::Dashboard", { DashboardName: "Test2", }); + result.hasResourceProperties("AWS::CloudWatch::Dashboard", { + DashboardName: "Test3", + }); }); test("handles dynamic dashboards", () => { @@ -83,14 +92,30 @@ describe("test of defaults", () => { action: notifySns(onAlarmTopic), }, }); - facade.addLargeHeader("My App Dashboard").monitorDynamoTable({ - table: Table.fromTableName(stack, "ImportedTable", "MyTableName"), - addAverageSuccessfulGetItemLatencyAlarm: { - Critical: { - maxLatency: Duration.seconds(10), + facade + .addLargeHeader("My App Dashboard") + .monitorDynamoTable({ + table: Table.fromTableName(stack, "ImportedTable", "MyTableName"), + addAverageSuccessfulGetItemLatencyAlarm: { + Critical: { + maxLatency: Duration.seconds(10), + }, }, - }, - }); + }) + .monitorDynamoTable({ + table: Table.fromTableArn( + stack, + "XaXrImportedTable", + "arn:aws:dynamodb:us-west-2:01234567890:table/my-other-table", + ), + region: "us-west-2", + account: "01234567890", + addAverageSuccessfulGetItemLatencyAlarm: { + Critical: { + maxLatency: Duration.seconds(10), + }, + }, + }); expect(Template.fromStack(stack)).toMatchSnapshot(); }); diff --git a/test/facade/__snapshots__/MonitoringAspect.test.ts.snap b/test/facade/__snapshots__/MonitoringAspect.test.ts.snap index 646447c2..cfa5c01f 100644 --- a/test/facade/__snapshots__/MonitoringAspect.test.ts.snap +++ b/test/facade/__snapshots__/MonitoringAspect.test.ts.snap @@ -9216,7 +9216,11 @@ Object { Object { "Ref": "AWS::Region", }, - "\\",\\"Rule\\",\\"ALL\\",{\\"label\\":\\"Allowed\\",\\"stat\\":\\"Sum\\"}]],\\"yAxis\\":{\\"left\\":{\\"min\\":0,\\"label\\":\\"Count\\",\\"showUnits\\":false}}}},{\\"type\\":\\"metric\\",\\"width\\":8,\\"height\\":5,\\"x\\":8,\\"y\\":1,\\"properties\\":{\\"view\\":\\"timeSeries\\",\\"title\\":\\"Blocked Requests\\",\\"region\\":\\"", + "\\",\\"Rule\\",\\"ALL\\",{\\"label\\":\\"Allowed\\",\\"region\\":\\"", + Object { + "Ref": "AWS::Region", + }, + "\\",\\"stat\\":\\"Sum\\"}]],\\"yAxis\\":{\\"left\\":{\\"min\\":0,\\"label\\":\\"Count\\",\\"showUnits\\":false}}}},{\\"type\\":\\"metric\\",\\"width\\":8,\\"height\\":5,\\"x\\":8,\\"y\\":1,\\"properties\\":{\\"view\\":\\"timeSeries\\",\\"title\\":\\"Blocked Requests\\",\\"region\\":\\"", Object { "Ref": "AWS::Region", }, @@ -9224,7 +9228,11 @@ Object { Object { "Ref": "AWS::Region", }, - "\\",\\"Rule\\",\\"ALL\\",{\\"label\\":\\"Blocked\\",\\"stat\\":\\"Sum\\"}]],\\"yAxis\\":{\\"left\\":{\\"min\\":0,\\"label\\":\\"Count\\",\\"showUnits\\":false}}}},{\\"type\\":\\"metric\\",\\"width\\":8,\\"height\\":5,\\"x\\":16,\\"y\\":1,\\"properties\\":{\\"view\\":\\"timeSeries\\",\\"title\\":\\"Blocked Requests (rate)\\",\\"region\\":\\"", + "\\",\\"Rule\\",\\"ALL\\",{\\"label\\":\\"Blocked\\",\\"region\\":\\"", + Object { + "Ref": "AWS::Region", + }, + "\\",\\"stat\\":\\"Sum\\"}]],\\"yAxis\\":{\\"left\\":{\\"min\\":0,\\"label\\":\\"Count\\",\\"showUnits\\":false}}}},{\\"type\\":\\"metric\\",\\"width\\":8,\\"height\\":5,\\"x\\":16,\\"y\\":1,\\"properties\\":{\\"view\\":\\"timeSeries\\",\\"title\\":\\"Blocked Requests (rate)\\",\\"region\\":\\"", Object { "Ref": "AWS::Region", }, @@ -9232,11 +9240,19 @@ Object { Object { "Ref": "AWS::Region", }, - "\\",\\"Rule\\",\\"ALL\\",{\\"label\\":\\"Allowed\\",\\"stat\\":\\"Sum\\",\\"visible\\":false,\\"id\\":\\"allowed\\"}],[\\"AWS/WAFV2\\",\\"BlockedRequests\\",\\"Region\\",\\"", + "\\",\\"Rule\\",\\"ALL\\",{\\"label\\":\\"Allowed\\",\\"region\\":\\"", + Object { + "Ref": "AWS::Region", + }, + "\\",\\"stat\\":\\"Sum\\",\\"visible\\":false,\\"id\\":\\"allowed\\"}],[\\"AWS/WAFV2\\",\\"BlockedRequests\\",\\"Region\\",\\"", + Object { + "Ref": "AWS::Region", + }, + "\\",\\"Rule\\",\\"ALL\\",{\\"label\\":\\"Blocked\\",\\"region\\":\\"", Object { "Ref": "AWS::Region", }, - "\\",\\"Rule\\",\\"ALL\\",{\\"label\\":\\"Blocked\\",\\"stat\\":\\"Sum\\",\\"visible\\":false,\\"id\\":\\"blocked\\"}]],\\"yAxis\\":{\\"left\\":{\\"min\\":0,\\"label\\":\\"Rate\\",\\"showUnits\\":false}}}}]}", + "\\",\\"stat\\":\\"Sum\\",\\"visible\\":false,\\"id\\":\\"blocked\\"}]],\\"yAxis\\":{\\"left\\":{\\"min\\":0,\\"label\\":\\"Rate\\",\\"showUnits\\":false}}}}]}", ], ], }, @@ -9258,7 +9274,11 @@ Object { Object { "Ref": "AWS::Region", }, - "\\",\\"Rule\\",\\"ALL\\",{\\"label\\":\\"Allowed\\",\\"stat\\":\\"Sum\\"}]],\\"yAxis\\":{\\"left\\":{\\"min\\":0,\\"label\\":\\"Count\\",\\"showUnits\\":false}}}},{\\"type\\":\\"metric\\",\\"width\\":8,\\"height\\":6,\\"x\\":8,\\"y\\":1,\\"properties\\":{\\"view\\":\\"timeSeries\\",\\"title\\":\\"Blocked Requests\\",\\"region\\":\\"", + "\\",\\"Rule\\",\\"ALL\\",{\\"label\\":\\"Allowed\\",\\"region\\":\\"", + Object { + "Ref": "AWS::Region", + }, + "\\",\\"stat\\":\\"Sum\\"}]],\\"yAxis\\":{\\"left\\":{\\"min\\":0,\\"label\\":\\"Count\\",\\"showUnits\\":false}}}},{\\"type\\":\\"metric\\",\\"width\\":8,\\"height\\":6,\\"x\\":8,\\"y\\":1,\\"properties\\":{\\"view\\":\\"timeSeries\\",\\"title\\":\\"Blocked Requests\\",\\"region\\":\\"", Object { "Ref": "AWS::Region", }, @@ -9266,7 +9286,11 @@ Object { Object { "Ref": "AWS::Region", }, - "\\",\\"Rule\\",\\"ALL\\",{\\"label\\":\\"Blocked\\",\\"stat\\":\\"Sum\\"}]],\\"yAxis\\":{\\"left\\":{\\"min\\":0,\\"label\\":\\"Count\\",\\"showUnits\\":false}}}},{\\"type\\":\\"metric\\",\\"width\\":8,\\"height\\":6,\\"x\\":16,\\"y\\":1,\\"properties\\":{\\"view\\":\\"timeSeries\\",\\"title\\":\\"Blocked Requests (rate)\\",\\"region\\":\\"", + "\\",\\"Rule\\",\\"ALL\\",{\\"label\\":\\"Blocked\\",\\"region\\":\\"", + Object { + "Ref": "AWS::Region", + }, + "\\",\\"stat\\":\\"Sum\\"}]],\\"yAxis\\":{\\"left\\":{\\"min\\":0,\\"label\\":\\"Count\\",\\"showUnits\\":false}}}},{\\"type\\":\\"metric\\",\\"width\\":8,\\"height\\":6,\\"x\\":16,\\"y\\":1,\\"properties\\":{\\"view\\":\\"timeSeries\\",\\"title\\":\\"Blocked Requests (rate)\\",\\"region\\":\\"", Object { "Ref": "AWS::Region", }, @@ -9274,11 +9298,19 @@ Object { Object { "Ref": "AWS::Region", }, - "\\",\\"Rule\\",\\"ALL\\",{\\"label\\":\\"Allowed\\",\\"stat\\":\\"Sum\\",\\"visible\\":false,\\"id\\":\\"allowed\\"}],[\\"AWS/WAFV2\\",\\"BlockedRequests\\",\\"Region\\",\\"", + "\\",\\"Rule\\",\\"ALL\\",{\\"label\\":\\"Allowed\\",\\"region\\":\\"", + Object { + "Ref": "AWS::Region", + }, + "\\",\\"stat\\":\\"Sum\\",\\"visible\\":false,\\"id\\":\\"allowed\\"}],[\\"AWS/WAFV2\\",\\"BlockedRequests\\",\\"Region\\",\\"", + Object { + "Ref": "AWS::Region", + }, + "\\",\\"Rule\\",\\"ALL\\",{\\"label\\":\\"Blocked\\",\\"region\\":\\"", Object { "Ref": "AWS::Region", }, - "\\",\\"Rule\\",\\"ALL\\",{\\"label\\":\\"Blocked\\",\\"stat\\":\\"Sum\\",\\"visible\\":false,\\"id\\":\\"blocked\\"}]],\\"yAxis\\":{\\"left\\":{\\"min\\":0,\\"label\\":\\"Rate\\",\\"showUnits\\":false}}}}]}", + "\\",\\"stat\\":\\"Sum\\",\\"visible\\":false,\\"id\\":\\"blocked\\"}]],\\"yAxis\\":{\\"left\\":{\\"min\\":0,\\"label\\":\\"Rate\\",\\"showUnits\\":false}}}}]}", ], ], }, diff --git a/test/facade/__snapshots__/MonitoringFacade.test.ts.snap b/test/facade/__snapshots__/MonitoringFacade.test.ts.snap index 373c2ccb..065dec82 100644 --- a/test/facade/__snapshots__/MonitoringFacade.test.ts.snap +++ b/test/facade/__snapshots__/MonitoringFacade.test.ts.snap @@ -36,7 +36,27 @@ Object { Object { "Ref": "AWS::Region", }, - "\\",\\"metrics\\":[[{\\"label\\":\\"System Errors\\",\\"expression\\":\\"systemErrorGetItem+systemErrorBatchGetItem+systemErrorScan+systemErrorQuery+systemErrorGetRecords+systemErrorPutItem+systemErrorDeleteItem+systemErrorUpdateItem+systemErrorBatchWriteItem\\",\\"accountId\\":\\"09876543210\\",\\"region\\":\\"us-east-1\\"}],[\\"AWS/DynamoDB\\",\\"SystemErrors\\",\\"Operation\\",\\"GetItem\\",\\"TableName\\",\\"MyTableName\\",{\\"stat\\":\\"Sum\\",\\"visible\\":false,\\"id\\":\\"systemErrorGetItem\\"}],[\\"AWS/DynamoDB\\",\\"SystemErrors\\",\\"Operation\\",\\"BatchGetItem\\",\\"TableName\\",\\"MyTableName\\",{\\"stat\\":\\"Sum\\",\\"visible\\":false,\\"id\\":\\"systemErrorBatchGetItem\\"}],[\\"AWS/DynamoDB\\",\\"SystemErrors\\",\\"Operation\\",\\"Scan\\",\\"TableName\\",\\"MyTableName\\",{\\"stat\\":\\"Sum\\",\\"visible\\":false,\\"id\\":\\"systemErrorScan\\"}],[\\"AWS/DynamoDB\\",\\"SystemErrors\\",\\"Operation\\",\\"Query\\",\\"TableName\\",\\"MyTableName\\",{\\"stat\\":\\"Sum\\",\\"visible\\":false,\\"id\\":\\"systemErrorQuery\\"}],[\\"AWS/DynamoDB\\",\\"SystemErrors\\",\\"Operation\\",\\"GetRecords\\",\\"TableName\\",\\"MyTableName\\",{\\"stat\\":\\"Sum\\",\\"visible\\":false,\\"id\\":\\"systemErrorGetRecords\\"}],[\\"AWS/DynamoDB\\",\\"SystemErrors\\",\\"Operation\\",\\"PutItem\\",\\"TableName\\",\\"MyTableName\\",{\\"stat\\":\\"Sum\\",\\"visible\\":false,\\"id\\":\\"systemErrorPutItem\\"}],[\\"AWS/DynamoDB\\",\\"SystemErrors\\",\\"Operation\\",\\"DeleteItem\\",\\"TableName\\",\\"MyTableName\\",{\\"stat\\":\\"Sum\\",\\"visible\\":false,\\"id\\":\\"systemErrorDeleteItem\\"}],[\\"AWS/DynamoDB\\",\\"SystemErrors\\",\\"Operation\\",\\"UpdateItem\\",\\"TableName\\",\\"MyTableName\\",{\\"stat\\":\\"Sum\\",\\"visible\\":false,\\"id\\":\\"systemErrorUpdateItem\\"}],[\\"AWS/DynamoDB\\",\\"SystemErrors\\",\\"Operation\\",\\"BatchWriteItem\\",\\"TableName\\",\\"MyTableName\\",{\\"stat\\":\\"Sum\\",\\"visible\\":false,\\"id\\":\\"systemErrorBatchWriteItem\\"}]],\\"yAxis\\":{\\"left\\":{\\"min\\":0,\\"label\\":\\"Count\\",\\"showUnits\\":false}}}}]}", + "\\",\\"metrics\\":[[{\\"label\\":\\"System Errors\\",\\"expression\\":\\"systemErrorGetItem+systemErrorBatchGetItem+systemErrorScan+systemErrorQuery+systemErrorGetRecords+systemErrorPutItem+systemErrorDeleteItem+systemErrorUpdateItem+systemErrorBatchWriteItem\\",\\"accountId\\":\\"09876543210\\",\\"region\\":\\"us-east-1\\"}],[\\"AWS/DynamoDB\\",\\"SystemErrors\\",\\"Operation\\",\\"GetItem\\",\\"TableName\\",\\"MyTableName\\",{\\"stat\\":\\"Sum\\",\\"visible\\":false,\\"id\\":\\"systemErrorGetItem\\"}],[\\"AWS/DynamoDB\\",\\"SystemErrors\\",\\"Operation\\",\\"BatchGetItem\\",\\"TableName\\",\\"MyTableName\\",{\\"stat\\":\\"Sum\\",\\"visible\\":false,\\"id\\":\\"systemErrorBatchGetItem\\"}],[\\"AWS/DynamoDB\\",\\"SystemErrors\\",\\"Operation\\",\\"Scan\\",\\"TableName\\",\\"MyTableName\\",{\\"stat\\":\\"Sum\\",\\"visible\\":false,\\"id\\":\\"systemErrorScan\\"}],[\\"AWS/DynamoDB\\",\\"SystemErrors\\",\\"Operation\\",\\"Query\\",\\"TableName\\",\\"MyTableName\\",{\\"stat\\":\\"Sum\\",\\"visible\\":false,\\"id\\":\\"systemErrorQuery\\"}],[\\"AWS/DynamoDB\\",\\"SystemErrors\\",\\"Operation\\",\\"GetRecords\\",\\"TableName\\",\\"MyTableName\\",{\\"stat\\":\\"Sum\\",\\"visible\\":false,\\"id\\":\\"systemErrorGetRecords\\"}],[\\"AWS/DynamoDB\\",\\"SystemErrors\\",\\"Operation\\",\\"PutItem\\",\\"TableName\\",\\"MyTableName\\",{\\"stat\\":\\"Sum\\",\\"visible\\":false,\\"id\\":\\"systemErrorPutItem\\"}],[\\"AWS/DynamoDB\\",\\"SystemErrors\\",\\"Operation\\",\\"DeleteItem\\",\\"TableName\\",\\"MyTableName\\",{\\"stat\\":\\"Sum\\",\\"visible\\":false,\\"id\\":\\"systemErrorDeleteItem\\"}],[\\"AWS/DynamoDB\\",\\"SystemErrors\\",\\"Operation\\",\\"UpdateItem\\",\\"TableName\\",\\"MyTableName\\",{\\"stat\\":\\"Sum\\",\\"visible\\":false,\\"id\\":\\"systemErrorUpdateItem\\"}],[\\"AWS/DynamoDB\\",\\"SystemErrors\\",\\"Operation\\",\\"BatchWriteItem\\",\\"TableName\\",\\"MyTableName\\",{\\"stat\\":\\"Sum\\",\\"visible\\":false,\\"id\\":\\"systemErrorBatchWriteItem\\"}]],\\"yAxis\\":{\\"left\\":{\\"min\\":0,\\"label\\":\\"Count\\",\\"showUnits\\":false}}}},{\\"type\\":\\"text\\",\\"width\\":24,\\"height\\":1,\\"x\\":0,\\"y\\":8,\\"properties\\":{\\"markdown\\":\\"### Dynamo Table **[XaXrImportedTable](https://us-east-1.console.aws.amazon.com/dynamodb/home?region=us-east-1#tables:selected=my-other-table)**\\"}},{\\"type\\":\\"metric\\",\\"width\\":6,\\"height\\":3,\\"x\\":0,\\"y\\":9,\\"properties\\":{\\"view\\":\\"timeSeries\\",\\"title\\":\\"Read Usage\\",\\"region\\":\\"", + Object { + "Ref": "AWS::Region", + }, + "\\",\\"metrics\\":[[{\\"label\\":\\"Consumed\\",\\"expression\\":\\"consumed_rcu_sum/PERIOD(consumed_rcu_sum)\\",\\"accountId\\":\\"09876543210\\",\\"region\\":\\"us-east-1\\",\\"id\\":\\"consumed_read_cap\\"}],[\\"AWS/DynamoDB\\",\\"ConsumedReadCapacityUnits\\",\\"TableName\\",\\"my-other-table\\",{\\"accountId\\":\\"01234567890\\",\\"region\\":\\"us-west-2\\",\\"stat\\":\\"Sum\\",\\"visible\\":false,\\"id\\":\\"consumed_rcu_sum\\"}],[\\"AWS/DynamoDB\\",\\"ProvisionedReadCapacityUnits\\",\\"TableName\\",\\"my-other-table\\",{\\"label\\":\\"Provisioned\\",\\"accountId\\":\\"01234567890\\",\\"region\\":\\"us-west-2\\",\\"id\\":\\"provisioned_read_cap\\"}],[{\\"label\\":\\"Utilization\\",\\"expression\\":\\"100*(consumed_read_cap/provisioned_read_cap)\\",\\"accountId\\":\\"09876543210\\",\\"region\\":\\"us-east-1\\",\\"yAxis\\":\\"right\\"}]],\\"yAxis\\":{\\"left\\":{\\"min\\":0,\\"label\\":\\"Count\\",\\"showUnits\\":false},\\"right\\":{\\"min\\":0,\\"max\\":100,\\"label\\":\\"%\\",\\"showUnits\\":false}},\\"legend\\":{\\"position\\":\\"right\\"}}},{\\"type\\":\\"metric\\",\\"width\\":6,\\"height\\":3,\\"x\\":0,\\"y\\":12,\\"properties\\":{\\"view\\":\\"timeSeries\\",\\"title\\":\\"Write Usage\\",\\"region\\":\\"", + Object { + "Ref": "AWS::Region", + }, + "\\",\\"metrics\\":[[{\\"label\\":\\"Consumed\\",\\"expression\\":\\"consumed_wcu_sum/PERIOD(consumed_wcu_sum)\\",\\"accountId\\":\\"09876543210\\",\\"region\\":\\"us-east-1\\",\\"id\\":\\"consumed_write_cap\\"}],[\\"AWS/DynamoDB\\",\\"ConsumedWriteCapacityUnits\\",\\"TableName\\",\\"my-other-table\\",{\\"accountId\\":\\"01234567890\\",\\"region\\":\\"us-west-2\\",\\"stat\\":\\"Sum\\",\\"visible\\":false,\\"id\\":\\"consumed_wcu_sum\\"}],[\\"AWS/DynamoDB\\",\\"ProvisionedWriteCapacityUnits\\",\\"TableName\\",\\"my-other-table\\",{\\"label\\":\\"Provisioned\\",\\"accountId\\":\\"01234567890\\",\\"region\\":\\"us-west-2\\",\\"id\\":\\"provisioned_write_cap\\"}],[{\\"label\\":\\"Utilization\\",\\"expression\\":\\"100*(consumed_write_cap/provisioned_write_cap)\\",\\"accountId\\":\\"09876543210\\",\\"region\\":\\"us-east-1\\",\\"yAxis\\":\\"right\\"}]],\\"yAxis\\":{\\"left\\":{\\"min\\":0,\\"label\\":\\"Count\\",\\"showUnits\\":false},\\"right\\":{\\"min\\":0,\\"max\\":100,\\"label\\":\\"%\\",\\"showUnits\\":false}},\\"legend\\":{\\"position\\":\\"right\\"}}},{\\"type\\":\\"metric\\",\\"width\\":9,\\"height\\":6,\\"x\\":6,\\"y\\":9,\\"properties\\":{\\"view\\":\\"timeSeries\\",\\"title\\":\\"Latency (Average)\\",\\"region\\":\\"", + Object { + "Ref": "AWS::Region", + }, + "\\",\\"metrics\\":[[{\\"label\\":\\" \\",\\"expression\\":\\"SEARCH('{AWS/DynamoDB,TableName,Operation} TableName=\\\\\\"my-other-table\\\\\\" MetricName=\\\\\\"SuccessfulRequestLatency\\\\\\"', 'Average', 300)\\",\\"accountId\\":\\"09876543210\\",\\"region\\":\\"us-east-1\\"}]],\\"annotations\\":{\\"horizontal\\":[{\\"label\\":\\"GetItem > 10000 for 3 datapoints within 15 minutes\\",\\"value\\":10000,\\"yAxis\\":\\"left\\"}]},\\"yAxis\\":{\\"left\\":{\\"min\\":0,\\"label\\":\\"ms\\",\\"showUnits\\":false}},\\"legend\\":{\\"position\\":\\"right\\"}}},{\\"type\\":\\"metric\\",\\"width\\":3,\\"height\\":6,\\"x\\":15,\\"y\\":9,\\"properties\\":{\\"view\\":\\"timeSeries\\",\\"title\\":\\"Throttles\\",\\"region\\":\\"", + Object { + "Ref": "AWS::Region", + }, + "\\",\\"metrics\\":[[{\\"label\\":\\"Read\\",\\"expression\\":\\"FILL(readThrottles,0)\\",\\"accountId\\":\\"09876543210\\",\\"region\\":\\"us-east-1\\"}],[\\"AWS/DynamoDB\\",\\"ReadThrottleEvents\\",\\"TableName\\",\\"my-other-table\\",{\\"label\\":\\"Read\\",\\"accountId\\":\\"01234567890\\",\\"region\\":\\"us-west-2\\",\\"stat\\":\\"Sum\\",\\"visible\\":false,\\"id\\":\\"readThrottles\\"}],[{\\"label\\":\\"Write\\",\\"expression\\":\\"FILL(writeThrottles,0)\\",\\"accountId\\":\\"09876543210\\",\\"region\\":\\"us-east-1\\"}],[\\"AWS/DynamoDB\\",\\"WriteThrottleEvents\\",\\"TableName\\",\\"my-other-table\\",{\\"label\\":\\"Write\\",\\"accountId\\":\\"01234567890\\",\\"region\\":\\"us-west-2\\",\\"stat\\":\\"Sum\\",\\"visible\\":false,\\"id\\":\\"writeThrottles\\"}]],\\"yAxis\\":{\\"left\\":{\\"min\\":0,\\"label\\":\\"Count\\",\\"showUnits\\":false}}}},{\\"type\\":\\"metric\\",\\"width\\":6,\\"height\\":6,\\"x\\":18,\\"y\\":9,\\"properties\\":{\\"view\\":\\"timeSeries\\",\\"title\\":\\"Errors\\",\\"region\\":\\"", + Object { + "Ref": "AWS::Region", + }, + "\\",\\"metrics\\":[[{\\"label\\":\\"System Errors\\",\\"expression\\":\\"systemErrorGetItem+systemErrorBatchGetItem+systemErrorScan+systemErrorQuery+systemErrorGetRecords+systemErrorPutItem+systemErrorDeleteItem+systemErrorUpdateItem+systemErrorBatchWriteItem\\",\\"accountId\\":\\"09876543210\\",\\"region\\":\\"us-east-1\\"}],[\\"AWS/DynamoDB\\",\\"SystemErrors\\",\\"Operation\\",\\"GetItem\\",\\"TableName\\",\\"my-other-table\\",{\\"accountId\\":\\"01234567890\\",\\"region\\":\\"us-west-2\\",\\"stat\\":\\"Sum\\",\\"visible\\":false,\\"id\\":\\"systemErrorGetItem\\"}],[\\"AWS/DynamoDB\\",\\"SystemErrors\\",\\"Operation\\",\\"BatchGetItem\\",\\"TableName\\",\\"my-other-table\\",{\\"accountId\\":\\"01234567890\\",\\"region\\":\\"us-west-2\\",\\"stat\\":\\"Sum\\",\\"visible\\":false,\\"id\\":\\"systemErrorBatchGetItem\\"}],[\\"AWS/DynamoDB\\",\\"SystemErrors\\",\\"Operation\\",\\"Scan\\",\\"TableName\\",\\"my-other-table\\",{\\"accountId\\":\\"01234567890\\",\\"region\\":\\"us-west-2\\",\\"stat\\":\\"Sum\\",\\"visible\\":false,\\"id\\":\\"systemErrorScan\\"}],[\\"AWS/DynamoDB\\",\\"SystemErrors\\",\\"Operation\\",\\"Query\\",\\"TableName\\",\\"my-other-table\\",{\\"accountId\\":\\"01234567890\\",\\"region\\":\\"us-west-2\\",\\"stat\\":\\"Sum\\",\\"visible\\":false,\\"id\\":\\"systemErrorQuery\\"}],[\\"AWS/DynamoDB\\",\\"SystemErrors\\",\\"Operation\\",\\"GetRecords\\",\\"TableName\\",\\"my-other-table\\",{\\"accountId\\":\\"01234567890\\",\\"region\\":\\"us-west-2\\",\\"stat\\":\\"Sum\\",\\"visible\\":false,\\"id\\":\\"systemErrorGetRecords\\"}],[\\"AWS/DynamoDB\\",\\"SystemErrors\\",\\"Operation\\",\\"PutItem\\",\\"TableName\\",\\"my-other-table\\",{\\"accountId\\":\\"01234567890\\",\\"region\\":\\"us-west-2\\",\\"stat\\":\\"Sum\\",\\"visible\\":false,\\"id\\":\\"systemErrorPutItem\\"}],[\\"AWS/DynamoDB\\",\\"SystemErrors\\",\\"Operation\\",\\"DeleteItem\\",\\"TableName\\",\\"my-other-table\\",{\\"accountId\\":\\"01234567890\\",\\"region\\":\\"us-west-2\\",\\"stat\\":\\"Sum\\",\\"visible\\":false,\\"id\\":\\"systemErrorDeleteItem\\"}],[\\"AWS/DynamoDB\\",\\"SystemErrors\\",\\"Operation\\",\\"UpdateItem\\",\\"TableName\\",\\"my-other-table\\",{\\"accountId\\":\\"01234567890\\",\\"region\\":\\"us-west-2\\",\\"stat\\":\\"Sum\\",\\"visible\\":false,\\"id\\":\\"systemErrorUpdateItem\\"}],[\\"AWS/DynamoDB\\",\\"SystemErrors\\",\\"Operation\\",\\"BatchWriteItem\\",\\"TableName\\",\\"my-other-table\\",{\\"accountId\\":\\"01234567890\\",\\"region\\":\\"us-west-2\\",\\"stat\\":\\"Sum\\",\\"visible\\":false,\\"id\\":\\"systemErrorBatchWriteItem\\"}]],\\"yAxis\\":{\\"left\\":{\\"min\\":0,\\"label\\":\\"Count\\",\\"showUnits\\":false}}}}]}", ], ], }, @@ -87,6 +107,50 @@ Object { }, "Type": "AWS::CloudWatch::Alarm", }, + "MyAppFacadeMyAppXaXrImportedTableLatencyAverageGetItemCritical3480F8E9": Object { + "Properties": Object { + "ActionsEnabled": true, + "AlarmActions": Array [ + Object { + "Ref": "OnAlarmTopicF22649A2", + }, + ], + "AlarmDescription": "Average latency is too high.", + "AlarmName": "MyApp-XaXrImportedTable-Latency-Average-GetItem-Critical", + "ComparisonOperator": "GreaterThanThreshold", + "DatapointsToAlarm": 3, + "EvaluationPeriods": 3, + "Metrics": Array [ + Object { + "AccountId": "01234567890", + "Id": "m1", + "Label": "GetItem", + "MetricStat": Object { + "Metric": Object { + "Dimensions": Array [ + Object { + "Name": "Operation", + "Value": "GetItem", + }, + Object { + "Name": "TableName", + "Value": "my-other-table", + }, + ], + "MetricName": "SuccessfulRequestLatency", + "Namespace": "AWS/DynamoDB", + }, + "Period": 300, + "Stat": "Average", + }, + "ReturnData": true, + }, + ], + "Threshold": 10000, + "TreatMissingData": "notBreaching", + }, + "Type": "AWS::CloudWatch::Alarm", + }, "OnAlarmTopicF22649A2": Object { "Properties": Object { "TopicName": "Alarm", diff --git a/test/monitoring/aws-wafv2/__snapshots__/WafV2Monitoring.test.ts.snap b/test/monitoring/aws-wafv2/__snapshots__/WafV2Monitoring.test.ts.snap index c6f61ac5..99d0db60 100644 --- a/test/monitoring/aws-wafv2/__snapshots__/WafV2Monitoring.test.ts.snap +++ b/test/monitoring/aws-wafv2/__snapshots__/WafV2Monitoring.test.ts.snap @@ -286,15 +286,15 @@ Object { Object { "Ref": "AWS::Region", }, - "\\",\\"metrics\\":[[\\"AWS/WAFV2\\",\\"AllowedRequests\\",\\"Region\\",\\"us-east-1\\",\\"Rule\\",\\"ALL\\",\\"WebACL\\",\\"DummyAclName\\",{\\"label\\":\\"Allowed\\",\\"stat\\":\\"Sum\\"}]],\\"yAxis\\":{\\"left\\":{\\"min\\":0,\\"label\\":\\"Count\\",\\"showUnits\\":false}}}},{\\"type\\":\\"metric\\",\\"width\\":8,\\"height\\":5,\\"x\\":8,\\"y\\":1,\\"properties\\":{\\"view\\":\\"timeSeries\\",\\"title\\":\\"Blocked Requests\\",\\"region\\":\\"", + "\\",\\"metrics\\":[[\\"AWS/WAFV2\\",\\"AllowedRequests\\",\\"Region\\",\\"us-east-1\\",\\"Rule\\",\\"ALL\\",\\"WebACL\\",\\"DummyAclName\\",{\\"label\\":\\"Allowed\\",\\"region\\":\\"us-east-1\\",\\"stat\\":\\"Sum\\"}]],\\"yAxis\\":{\\"left\\":{\\"min\\":0,\\"label\\":\\"Count\\",\\"showUnits\\":false}}}},{\\"type\\":\\"metric\\",\\"width\\":8,\\"height\\":5,\\"x\\":8,\\"y\\":1,\\"properties\\":{\\"view\\":\\"timeSeries\\",\\"title\\":\\"Blocked Requests\\",\\"region\\":\\"", Object { "Ref": "AWS::Region", }, - "\\",\\"metrics\\":[[\\"AWS/WAFV2\\",\\"BlockedRequests\\",\\"Region\\",\\"us-east-1\\",\\"Rule\\",\\"ALL\\",\\"WebACL\\",\\"DummyAclName\\",{\\"label\\":\\"Blocked\\",\\"stat\\":\\"Sum\\"}]],\\"yAxis\\":{\\"left\\":{\\"min\\":0,\\"label\\":\\"Count\\",\\"showUnits\\":false}}}},{\\"type\\":\\"metric\\",\\"width\\":8,\\"height\\":5,\\"x\\":16,\\"y\\":1,\\"properties\\":{\\"view\\":\\"timeSeries\\",\\"title\\":\\"Blocked Requests (rate)\\",\\"region\\":\\"", + "\\",\\"metrics\\":[[\\"AWS/WAFV2\\",\\"BlockedRequests\\",\\"Region\\",\\"us-east-1\\",\\"Rule\\",\\"ALL\\",\\"WebACL\\",\\"DummyAclName\\",{\\"label\\":\\"Blocked\\",\\"region\\":\\"us-east-1\\",\\"stat\\":\\"Sum\\"}]],\\"yAxis\\":{\\"left\\":{\\"min\\":0,\\"label\\":\\"Count\\",\\"showUnits\\":false}}}},{\\"type\\":\\"metric\\",\\"width\\":8,\\"height\\":5,\\"x\\":16,\\"y\\":1,\\"properties\\":{\\"view\\":\\"timeSeries\\",\\"title\\":\\"Blocked Requests (rate)\\",\\"region\\":\\"", Object { "Ref": "AWS::Region", }, - "\\",\\"metrics\\":[[{\\"label\\":\\"Blocked (rate)\\",\\"expression\\":\\"100 * (blocked / (allowed + blocked))\\"}],[\\"AWS/WAFV2\\",\\"AllowedRequests\\",\\"Region\\",\\"us-east-1\\",\\"Rule\\",\\"ALL\\",\\"WebACL\\",\\"DummyAclName\\",{\\"label\\":\\"Allowed\\",\\"stat\\":\\"Sum\\",\\"visible\\":false,\\"id\\":\\"allowed\\"}],[\\"AWS/WAFV2\\",\\"BlockedRequests\\",\\"Region\\",\\"us-east-1\\",\\"Rule\\",\\"ALL\\",\\"WebACL\\",\\"DummyAclName\\",{\\"label\\":\\"Blocked\\",\\"stat\\":\\"Sum\\",\\"visible\\":false,\\"id\\":\\"blocked\\"}]],\\"yAxis\\":{\\"left\\":{\\"min\\":0,\\"label\\":\\"Rate\\",\\"showUnits\\":false}}}}]}", + "\\",\\"metrics\\":[[{\\"label\\":\\"Blocked (rate)\\",\\"expression\\":\\"100 * (blocked / (allowed + blocked))\\"}],[\\"AWS/WAFV2\\",\\"AllowedRequests\\",\\"Region\\",\\"us-east-1\\",\\"Rule\\",\\"ALL\\",\\"WebACL\\",\\"DummyAclName\\",{\\"label\\":\\"Allowed\\",\\"region\\":\\"us-east-1\\",\\"stat\\":\\"Sum\\",\\"visible\\":false,\\"id\\":\\"allowed\\"}],[\\"AWS/WAFV2\\",\\"BlockedRequests\\",\\"Region\\",\\"us-east-1\\",\\"Rule\\",\\"ALL\\",\\"WebACL\\",\\"DummyAclName\\",{\\"label\\":\\"Blocked\\",\\"region\\":\\"us-east-1\\",\\"stat\\":\\"Sum\\",\\"visible\\":false,\\"id\\":\\"blocked\\"}]],\\"yAxis\\":{\\"left\\":{\\"min\\":0,\\"label\\":\\"Rate\\",\\"showUnits\\":false}}}}]}", ], ], }, @@ -311,15 +311,15 @@ Object { Object { "Ref": "AWS::Region", }, - "\\",\\"metrics\\":[[\\"AWS/WAFV2\\",\\"AllowedRequests\\",\\"Region\\",\\"us-east-1\\",\\"Rule\\",\\"ALL\\",\\"WebACL\\",\\"DummyAclName\\",{\\"label\\":\\"Allowed\\",\\"stat\\":\\"Sum\\"}]],\\"yAxis\\":{\\"left\\":{\\"min\\":0,\\"label\\":\\"Count\\",\\"showUnits\\":false}}}},{\\"type\\":\\"metric\\",\\"width\\":8,\\"height\\":6,\\"x\\":8,\\"y\\":1,\\"properties\\":{\\"view\\":\\"timeSeries\\",\\"title\\":\\"Blocked Requests\\",\\"region\\":\\"", + "\\",\\"metrics\\":[[\\"AWS/WAFV2\\",\\"AllowedRequests\\",\\"Region\\",\\"us-east-1\\",\\"Rule\\",\\"ALL\\",\\"WebACL\\",\\"DummyAclName\\",{\\"label\\":\\"Allowed\\",\\"region\\":\\"us-east-1\\",\\"stat\\":\\"Sum\\"}]],\\"yAxis\\":{\\"left\\":{\\"min\\":0,\\"label\\":\\"Count\\",\\"showUnits\\":false}}}},{\\"type\\":\\"metric\\",\\"width\\":8,\\"height\\":6,\\"x\\":8,\\"y\\":1,\\"properties\\":{\\"view\\":\\"timeSeries\\",\\"title\\":\\"Blocked Requests\\",\\"region\\":\\"", Object { "Ref": "AWS::Region", }, - "\\",\\"metrics\\":[[\\"AWS/WAFV2\\",\\"BlockedRequests\\",\\"Region\\",\\"us-east-1\\",\\"Rule\\",\\"ALL\\",\\"WebACL\\",\\"DummyAclName\\",{\\"label\\":\\"Blocked\\",\\"stat\\":\\"Sum\\"}]],\\"yAxis\\":{\\"left\\":{\\"min\\":0,\\"label\\":\\"Count\\",\\"showUnits\\":false}}}},{\\"type\\":\\"metric\\",\\"width\\":8,\\"height\\":6,\\"x\\":16,\\"y\\":1,\\"properties\\":{\\"view\\":\\"timeSeries\\",\\"title\\":\\"Blocked Requests (rate)\\",\\"region\\":\\"", + "\\",\\"metrics\\":[[\\"AWS/WAFV2\\",\\"BlockedRequests\\",\\"Region\\",\\"us-east-1\\",\\"Rule\\",\\"ALL\\",\\"WebACL\\",\\"DummyAclName\\",{\\"label\\":\\"Blocked\\",\\"region\\":\\"us-east-1\\",\\"stat\\":\\"Sum\\"}]],\\"yAxis\\":{\\"left\\":{\\"min\\":0,\\"label\\":\\"Count\\",\\"showUnits\\":false}}}},{\\"type\\":\\"metric\\",\\"width\\":8,\\"height\\":6,\\"x\\":16,\\"y\\":1,\\"properties\\":{\\"view\\":\\"timeSeries\\",\\"title\\":\\"Blocked Requests (rate)\\",\\"region\\":\\"", Object { "Ref": "AWS::Region", }, - "\\",\\"metrics\\":[[{\\"label\\":\\"Blocked (rate)\\",\\"expression\\":\\"100 * (blocked / (allowed + blocked))\\"}],[\\"AWS/WAFV2\\",\\"AllowedRequests\\",\\"Region\\",\\"us-east-1\\",\\"Rule\\",\\"ALL\\",\\"WebACL\\",\\"DummyAclName\\",{\\"label\\":\\"Allowed\\",\\"stat\\":\\"Sum\\",\\"visible\\":false,\\"id\\":\\"allowed\\"}],[\\"AWS/WAFV2\\",\\"BlockedRequests\\",\\"Region\\",\\"us-east-1\\",\\"Rule\\",\\"ALL\\",\\"WebACL\\",\\"DummyAclName\\",{\\"label\\":\\"Blocked\\",\\"stat\\":\\"Sum\\",\\"visible\\":false,\\"id\\":\\"blocked\\"}]],\\"yAxis\\":{\\"left\\":{\\"min\\":0,\\"label\\":\\"Rate\\",\\"showUnits\\":false}}}}]}", + "\\",\\"metrics\\":[[{\\"label\\":\\"Blocked (rate)\\",\\"expression\\":\\"100 * (blocked / (allowed + blocked))\\"}],[\\"AWS/WAFV2\\",\\"AllowedRequests\\",\\"Region\\",\\"us-east-1\\",\\"Rule\\",\\"ALL\\",\\"WebACL\\",\\"DummyAclName\\",{\\"label\\":\\"Allowed\\",\\"region\\":\\"us-east-1\\",\\"stat\\":\\"Sum\\",\\"visible\\":false,\\"id\\":\\"allowed\\"}],[\\"AWS/WAFV2\\",\\"BlockedRequests\\",\\"Region\\",\\"us-east-1\\",\\"Rule\\",\\"ALL\\",\\"WebACL\\",\\"DummyAclName\\",{\\"label\\":\\"Blocked\\",\\"region\\":\\"us-east-1\\",\\"stat\\":\\"Sum\\",\\"visible\\":false,\\"id\\":\\"blocked\\"}]],\\"yAxis\\":{\\"left\\":{\\"min\\":0,\\"label\\":\\"Rate\\",\\"showUnits\\":false}}}}]}", ], ], },