aws-cdk-lib 2.203.1__py3-none-any.whl → 2.205.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of aws-cdk-lib might be problematic. Click here for more details.
- aws_cdk/__init__.py +208 -92
- aws_cdk/_jsii/__init__.py +1 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.203.1.jsii.tgz → aws-cdk-lib@2.205.0.jsii.tgz} +0 -0
- aws_cdk/aws_aiops/__init__.py +89 -39
- aws_cdk/aws_apigateway/__init__.py +164 -0
- aws_cdk/aws_apigatewayv2/__init__.py +412 -0
- aws_cdk/aws_applicationautoscaling/__init__.py +2 -2
- aws_cdk/aws_arczonalshift/__init__.py +4 -1
- aws_cdk/aws_b2bi/__init__.py +32 -16
- aws_cdk/aws_bedrock/__init__.py +198 -10
- aws_cdk/aws_cassandra/__init__.py +156 -0
- aws_cdk/aws_certificatemanager/__init__.py +28 -0
- aws_cdk/aws_chatbot/__init__.py +28 -0
- aws_cdk/aws_cloudformation/__init__.py +74 -72
- aws_cdk/aws_cloudfront/__init__.py +1273 -485
- aws_cdk/aws_cloudfront/experimental/__init__.py +32 -0
- aws_cdk/aws_cloudfront_origins/__init__.py +26 -21
- aws_cdk/aws_cloudwatch/__init__.py +278 -23
- aws_cdk/aws_codebuild/__init__.py +300 -36
- aws_cdk/aws_datasync/__init__.py +2 -2
- aws_cdk/aws_docdb/__init__.py +78 -0
- aws_cdk/aws_dynamodb/__init__.py +523 -37
- aws_cdk/aws_ec2/__init__.py +126 -30
- aws_cdk/aws_ecs/__init__.py +64 -19
- aws_cdk/aws_elasticloadbalancingv2/__init__.py +724 -0
- aws_cdk/aws_elasticsearch/__init__.py +260 -0
- aws_cdk/aws_emrserverless/__init__.py +5 -5
- aws_cdk/aws_events/__init__.py +58 -3
- aws_cdk/aws_events_targets/__init__.py +7 -2
- aws_cdk/aws_evs/__init__.py +7 -7
- aws_cdk/aws_fsx/__init__.py +138 -78
- aws_cdk/aws_gamelift/__init__.py +19 -0
- aws_cdk/aws_glue/__init__.py +3 -3
- aws_cdk/aws_iot/__init__.py +1 -1
- aws_cdk/aws_kinesis/__init__.py +391 -13
- aws_cdk/aws_kinesisfirehose/__init__.py +128 -1
- aws_cdk/aws_lambda/__init__.py +144 -0
- aws_cdk/aws_lex/__init__.py +36 -19
- aws_cdk/aws_logs/__init__.py +58 -0
- aws_cdk/aws_neptune/__init__.py +12 -12
- aws_cdk/aws_odb/__init__.py +4049 -0
- aws_cdk/aws_omics/__init__.py +1 -1
- aws_cdk/aws_opensearchservice/__init__.py +260 -0
- aws_cdk/aws_qbusiness/__init__.py +471 -4
- aws_cdk/aws_quicksight/__init__.py +185 -16
- aws_cdk/aws_rds/__init__.py +553 -17
- aws_cdk/aws_redshiftserverless/__init__.py +72 -45
- aws_cdk/aws_route53/__init__.py +41 -19
- aws_cdk/aws_s3tables/__init__.py +1005 -0
- aws_cdk/aws_sagemaker/__init__.py +20 -0
- aws_cdk/aws_scheduler/__init__.py +210 -0
- aws_cdk/aws_sns/__init__.py +164 -0
- aws_cdk/aws_sqs/__init__.py +164 -0
- aws_cdk/aws_stepfunctions/__init__.py +288 -0
- aws_cdk/aws_synthetics/__init__.py +159 -37
- aws_cdk/aws_transfer/__init__.py +23 -1
- {aws_cdk_lib-2.203.1.dist-info → aws_cdk_lib-2.205.0.dist-info}/METADATA +2 -2
- {aws_cdk_lib-2.203.1.dist-info → aws_cdk_lib-2.205.0.dist-info}/RECORD +62 -61
- {aws_cdk_lib-2.203.1.dist-info → aws_cdk_lib-2.205.0.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.203.1.dist-info → aws_cdk_lib-2.205.0.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.203.1.dist-info → aws_cdk_lib-2.205.0.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.203.1.dist-info → aws_cdk_lib-2.205.0.dist-info}/top_level.txt +0 -0
aws_cdk/aws_dynamodb/__init__.py
CHANGED
|
@@ -1452,45 +1452,46 @@ class CfnGlobalTable(
|
|
|
1452
1452
|
You should be aware of the following behaviors when working with DynamoDB global tables.
|
|
1453
1453
|
|
|
1454
1454
|
- The IAM Principal executing the stack operation must have the permissions listed below in all regions where you plan to have a global table replica. The IAM Principal's permissions should not have restrictions based on IP source address. Some global tables operations (for example, adding a replica) are asynchronous, and require that the IAM Principal is valid until they complete. You should not delete the Principal (user or IAM role) until CloudFormation has finished updating your stack.
|
|
1455
|
+
- ``application-autoscaling:DeleteScalingPolicy``
|
|
1456
|
+
- ``application-autoscaling:DeleteScheduledAction``
|
|
1457
|
+
- ``application-autoscaling:DeregisterScalableTarget``
|
|
1458
|
+
- ``application-autoscaling:DescribeScalableTargets``
|
|
1459
|
+
- ``application-autoscaling:DescribeScalingPolicies``
|
|
1460
|
+
- ``application-autoscaling:PutScalingPolicy``
|
|
1461
|
+
- ``application-autoscaling:PutScheduledAction``
|
|
1462
|
+
- ``application-autoscaling:RegisterScalableTarget``
|
|
1463
|
+
- ``dynamodb:BatchWriteItem``
|
|
1464
|
+
- ``dynamodb:CreateGlobalTableWitness``
|
|
1455
1465
|
- ``dynamodb:CreateTable``
|
|
1456
|
-
- ``dynamodb:
|
|
1466
|
+
- ``dynamodb:CreateTableReplica``
|
|
1467
|
+
- ``dynamodb:DeleteGlobalTableWitness``
|
|
1468
|
+
- ``dynamodb:DeleteItem``
|
|
1457
1469
|
- ``dynamodb:DeleteTable``
|
|
1470
|
+
- ``dynamodb:DeleteTableReplica``
|
|
1458
1471
|
- ``dynamodb:DescribeContinuousBackups``
|
|
1459
1472
|
- ``dynamodb:DescribeContributorInsights``
|
|
1460
1473
|
- ``dynamodb:DescribeTable``
|
|
1461
1474
|
- ``dynamodb:DescribeTableReplicaAutoScaling``
|
|
1462
1475
|
- ``dynamodb:DescribeTimeToLive``
|
|
1463
|
-
- ``dynamodb:ListTables``
|
|
1464
|
-
- ``dynamodb:UpdateTimeToLive``
|
|
1465
|
-
- ``dynamodb:UpdateContributorInsights``
|
|
1466
|
-
- ``dynamodb:UpdateContinuousBackups``
|
|
1467
|
-
- ``dynamodb:ListTagsOfResource``
|
|
1468
|
-
- ``dynamodb:TagResource``
|
|
1469
|
-
- ``dynamodb:UntagResource``
|
|
1470
|
-
- ``dynamodb:BatchWriteItem``
|
|
1471
|
-
- ``dynamodb:CreateTableReplica``
|
|
1472
|
-
- ``dynamodb:DeleteItem``
|
|
1473
|
-
- ``dynamodb:DeleteTableReplica``
|
|
1474
1476
|
- ``dynamodb:DisableKinesisStreamingDestination``
|
|
1475
1477
|
- ``dynamodb:EnableKinesisStreamingDestination``
|
|
1476
1478
|
- ``dynamodb:GetItem``
|
|
1479
|
+
- ``dynamodb:ListTables``
|
|
1480
|
+
- ``dynamodb:ListTagsOfResource``
|
|
1477
1481
|
- ``dynamodb:PutItem``
|
|
1478
1482
|
- ``dynamodb:Query``
|
|
1479
1483
|
- ``dynamodb:Scan``
|
|
1484
|
+
- ``dynamodb:TagResource``
|
|
1485
|
+
- ``dynamodb:UntagResource``
|
|
1486
|
+
- ``dynamodb:UpdateContinuousBackups``
|
|
1487
|
+
- ``dynamodb:UpdateContributorInsights``
|
|
1480
1488
|
- ``dynamodb:UpdateItem``
|
|
1481
|
-
- ``dynamodb:
|
|
1489
|
+
- ``dynamodb:UpdateTable``
|
|
1482
1490
|
- ``dynamodb:UpdateTableReplicaAutoScaling``
|
|
1491
|
+
- ``dynamodb:UpdateTimeToLive``
|
|
1483
1492
|
- ``iam:CreateServiceLinkedRole``
|
|
1484
1493
|
- ``kms:CreateGrant``
|
|
1485
1494
|
- ``kms:DescribeKey``
|
|
1486
|
-
- ``application-autoscaling:DeleteScalingPolicy``
|
|
1487
|
-
- ``application-autoscaling:DeleteScheduledAction``
|
|
1488
|
-
- ``application-autoscaling:DeregisterScalableTarget``
|
|
1489
|
-
- ``application-autoscaling:DescribeScalingPolicies``
|
|
1490
|
-
- ``application-autoscaling:DescribeScalableTargets``
|
|
1491
|
-
- ``application-autoscaling:PutScalingPolicy``
|
|
1492
|
-
- ``application-autoscaling:PutScheduledAction``
|
|
1493
|
-
- ``application-autoscaling:RegisterScalableTarget``
|
|
1494
1495
|
- When using provisioned billing mode, CloudFormation will create an auto scaling policy on each of your replicas to control their write capacities. You must configure this policy using the ``WriteProvisionedThroughputSettings`` property. CloudFormation will ensure that all replicas have the same write capacity auto scaling property. You cannot directly specify a value for write capacity for a global table.
|
|
1495
1496
|
- If your table uses provisioned capacity, you must configure auto scaling directly in the ``AWS::DynamoDB::GlobalTable`` resource. You should not configure additional auto scaling policies on any of the table replicas or global secondary indexes, either via API or via ``AWS::ApplicationAutoScaling::ScalableTarget`` or ``AWS::ApplicationAutoScaling::ScalingPolicy`` . Doing so might result in unexpected behavior and is unsupported.
|
|
1496
1497
|
- In AWS CloudFormation , each global table is controlled by a single stack, in a single region, regardless of the number of replicas. When you deploy your template, CloudFormation will create/update all replicas as part of a single stack operation. You should not deploy the same ``AWS::DynamoDB::GlobalTable`` resource in multiple regions. Doing so will result in errors, and is unsupported. If you deploy your application template in multiple regions, you can use conditions to only create the resource in a single region. Alternatively, you can choose to define your ``AWS::DynamoDB::GlobalTable`` resources in a stack separate from your application stack, and make sure it is only deployed to a single region.
|
|
@@ -1641,6 +1642,9 @@ class CfnGlobalTable(
|
|
|
1641
1642
|
)
|
|
1642
1643
|
)
|
|
1643
1644
|
)],
|
|
1645
|
+
global_table_witnesses=[dynamodb.CfnGlobalTable.GlobalTableWitnessProperty(
|
|
1646
|
+
region="region"
|
|
1647
|
+
)],
|
|
1644
1648
|
local_secondary_indexes=[dynamodb.CfnGlobalTable.LocalSecondaryIndexProperty(
|
|
1645
1649
|
index_name="indexName",
|
|
1646
1650
|
key_schema=[dynamodb.CfnGlobalTable.KeySchemaProperty(
|
|
@@ -1652,6 +1656,7 @@ class CfnGlobalTable(
|
|
|
1652
1656
|
projection_type="projectionType"
|
|
1653
1657
|
)
|
|
1654
1658
|
)],
|
|
1659
|
+
multi_region_consistency="multiRegionConsistency",
|
|
1655
1660
|
sse_specification=dynamodb.CfnGlobalTable.SSESpecificationProperty(
|
|
1656
1661
|
sse_enabled=False,
|
|
1657
1662
|
|
|
@@ -1705,7 +1710,9 @@ class CfnGlobalTable(
|
|
|
1705
1710
|
replicas: typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnGlobalTable.ReplicaSpecificationProperty", typing.Dict[builtins.str, typing.Any]]]]],
|
|
1706
1711
|
billing_mode: typing.Optional[builtins.str] = None,
|
|
1707
1712
|
global_secondary_indexes: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnGlobalTable.GlobalSecondaryIndexProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
1713
|
+
global_table_witnesses: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnGlobalTable.GlobalTableWitnessProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
1708
1714
|
local_secondary_indexes: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnGlobalTable.LocalSecondaryIndexProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
1715
|
+
multi_region_consistency: typing.Optional[builtins.str] = None,
|
|
1709
1716
|
sse_specification: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnGlobalTable.SSESpecificationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
1710
1717
|
stream_specification: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnGlobalTable.StreamSpecificationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
1711
1718
|
table_name: typing.Optional[builtins.str] = None,
|
|
@@ -1719,12 +1726,14 @@ class CfnGlobalTable(
|
|
|
1719
1726
|
:param id: Construct identifier for this resource (unique in its scope).
|
|
1720
1727
|
:param attribute_definitions: A list of attributes that describe the key schema for the global table and indexes.
|
|
1721
1728
|
:param key_schema: Specifies the attributes that make up the primary key for the table. The attributes in the ``KeySchema`` property must also be defined in the ``AttributeDefinitions`` property.
|
|
1722
|
-
:param replicas: Specifies the list of replicas for your global table. The list must contain at least one element, the region where the stack defining the global table is deployed. For example, if you define your table in a stack deployed to us-east-1, you must have an entry in ``Replicas`` with the region us-east-1. You cannot remove the replica in the stack region. .. epigraph:: Adding a replica might take a few minutes for an empty table, or up to several hours for large tables. If you want to add or remove a replica, we recommend submitting an ``UpdateStack`` operation containing only that change. If you add or delete a replica during an update, we recommend that you don't update any other resources. If your stack fails to update and is rolled back while adding a new replica, you might need to manually delete the replica. You can create a new global table with as many replicas as needed. You can add or remove replicas after table creation, but you can only add or remove a single replica in each update.
|
|
1729
|
+
:param replicas: Specifies the list of replicas for your global table. The list must contain at least one element, the region where the stack defining the global table is deployed. For example, if you define your table in a stack deployed to us-east-1, you must have an entry in ``Replicas`` with the region us-east-1. You cannot remove the replica in the stack region. .. epigraph:: Adding a replica might take a few minutes for an empty table, or up to several hours for large tables. If you want to add or remove a replica, we recommend submitting an ``UpdateStack`` operation containing only that change. If you add or delete a replica during an update, we recommend that you don't update any other resources. If your stack fails to update and is rolled back while adding a new replica, you might need to manually delete the replica. You can create a new global table with as many replicas as needed. You can add or remove replicas after table creation, but you can only add or remove a single replica in each update. For Multi-Region Strong Consistency (MRSC), you can add or remove up to 3 replicas, or 2 replicas plus a witness Region.
|
|
1723
1730
|
:param billing_mode: Specifies how you are charged for read and write throughput and how you manage capacity. Valid values are:. - ``PAY_PER_REQUEST`` - ``PROVISIONED`` All replicas in your global table will have the same billing mode. If you use ``PROVISIONED`` billing mode, you must provide an auto scaling configuration via the ``WriteProvisionedThroughputSettings`` property. The default value of this property is ``PROVISIONED`` .
|
|
1724
1731
|
:param global_secondary_indexes: Global secondary indexes to be created on the global table. You can create up to 20 global secondary indexes. Each replica in your global table will have the same global secondary index settings. You can only create or delete one global secondary index in a single stack operation. Since the backfilling of an index could take a long time, CloudFormation does not wait for the index to become active. If a stack operation rolls back, CloudFormation might not delete an index that has been added. In that case, you will need to delete the index manually.
|
|
1732
|
+
:param global_table_witnesses: The list of witnesses of the MRSC global table. Only one witness Region can be configured per MRSC global table.
|
|
1725
1733
|
:param local_secondary_indexes: Local secondary indexes to be created on the table. You can create up to five local secondary indexes. Each index is scoped to a given hash key value. The size of each hash key can be up to 10 gigabytes. Each replica in your global table will have the same local secondary index settings.
|
|
1734
|
+
:param multi_region_consistency: Specifies the consistency mode for a new global table. You can specify one of the following consistency modes: - ``EVENTUAL`` : Configures a new global table for multi-Region eventual consistency (MREC). - ``STRONG`` : Configures a new global table for multi-Region strong consistency (MRSC). If you don't specify this field, the global table consistency mode defaults to ``EVENTUAL`` . For more information about global tables consistency modes, see `Consistency modes <https://docs.aws.amazon.com/V2globaltables_HowItWorks.html#V2globaltables_HowItWorks.consistency-modes>`_ in DynamoDB developer guide.
|
|
1726
1735
|
:param sse_specification: Specifies the settings to enable server-side encryption. These settings will be applied to all replicas. If you plan to use customer-managed KMS keys, you must provide a key for each replica using the ``ReplicaSpecification.ReplicaSSESpecification`` property.
|
|
1727
|
-
:param stream_specification: Specifies the streams settings on your global table. You must provide a value for this property if your global table contains more than one replica. You can only change the streams settings if your global table has only one replica.
|
|
1736
|
+
:param stream_specification: Specifies the streams settings on your global table. You must provide a value for this property if your global table contains more than one replica. You can only change the streams settings if your global table has only one replica. For Multi-Region Strong Consistency (MRSC), you do not need to provide a value for this property and can change the settings at any time.
|
|
1728
1737
|
:param table_name: A name for the global table. If you don't specify a name, AWS CloudFormation generates a unique ID and uses that ID as the table name. For more information, see `Name type <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-name.html>`_ . .. epigraph:: If you specify a name, you cannot perform updates that require replacement of this resource. You can perform updates that require no or some interruption. If you must replace the resource, specify a new name.
|
|
1729
1738
|
:param time_to_live_specification: Specifies the time to live (TTL) settings for the table. This setting will be applied to all replicas.
|
|
1730
1739
|
:param warm_throughput: Provides visibility into the number of read and write operations your table or secondary index can instantaneously support. The settings can be modified using the ``UpdateTable`` operation to meet the throughput requirements of an upcoming peak event.
|
|
@@ -1741,7 +1750,9 @@ class CfnGlobalTable(
|
|
|
1741
1750
|
replicas=replicas,
|
|
1742
1751
|
billing_mode=billing_mode,
|
|
1743
1752
|
global_secondary_indexes=global_secondary_indexes,
|
|
1753
|
+
global_table_witnesses=global_table_witnesses,
|
|
1744
1754
|
local_secondary_indexes=local_secondary_indexes,
|
|
1755
|
+
multi_region_consistency=multi_region_consistency,
|
|
1745
1756
|
sse_specification=sse_specification,
|
|
1746
1757
|
stream_specification=stream_specification,
|
|
1747
1758
|
table_name=table_name,
|
|
@@ -1911,6 +1922,24 @@ class CfnGlobalTable(
|
|
|
1911
1922
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1912
1923
|
jsii.set(self, "globalSecondaryIndexes", value) # pyright: ignore[reportArgumentType]
|
|
1913
1924
|
|
|
1925
|
+
@builtins.property
|
|
1926
|
+
@jsii.member(jsii_name="globalTableWitnesses")
|
|
1927
|
+
def global_table_witnesses(
|
|
1928
|
+
self,
|
|
1929
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnGlobalTable.GlobalTableWitnessProperty"]]]]:
|
|
1930
|
+
'''The list of witnesses of the MRSC global table.'''
|
|
1931
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnGlobalTable.GlobalTableWitnessProperty"]]]], jsii.get(self, "globalTableWitnesses"))
|
|
1932
|
+
|
|
1933
|
+
@global_table_witnesses.setter
|
|
1934
|
+
def global_table_witnesses(
|
|
1935
|
+
self,
|
|
1936
|
+
value: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnGlobalTable.GlobalTableWitnessProperty"]]]],
|
|
1937
|
+
) -> None:
|
|
1938
|
+
if __debug__:
|
|
1939
|
+
type_hints = typing.get_type_hints(_typecheckingstub__12c424a307d05c5f02c5d3df3ad420cd4151741010ad7531cd1fdc24fa467f2a)
|
|
1940
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1941
|
+
jsii.set(self, "globalTableWitnesses", value) # pyright: ignore[reportArgumentType]
|
|
1942
|
+
|
|
1914
1943
|
@builtins.property
|
|
1915
1944
|
@jsii.member(jsii_name="localSecondaryIndexes")
|
|
1916
1945
|
def local_secondary_indexes(
|
|
@@ -1929,6 +1958,19 @@ class CfnGlobalTable(
|
|
|
1929
1958
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1930
1959
|
jsii.set(self, "localSecondaryIndexes", value) # pyright: ignore[reportArgumentType]
|
|
1931
1960
|
|
|
1961
|
+
@builtins.property
|
|
1962
|
+
@jsii.member(jsii_name="multiRegionConsistency")
|
|
1963
|
+
def multi_region_consistency(self) -> typing.Optional[builtins.str]:
|
|
1964
|
+
'''Specifies the consistency mode for a new global table.'''
|
|
1965
|
+
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "multiRegionConsistency"))
|
|
1966
|
+
|
|
1967
|
+
@multi_region_consistency.setter
|
|
1968
|
+
def multi_region_consistency(self, value: typing.Optional[builtins.str]) -> None:
|
|
1969
|
+
if __debug__:
|
|
1970
|
+
type_hints = typing.get_type_hints(_typecheckingstub__9fa800c2b80560454a211edac5215563ba994d97da2fc12e542c8f064daf753d)
|
|
1971
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1972
|
+
jsii.set(self, "multiRegionConsistency", value) # pyright: ignore[reportArgumentType]
|
|
1973
|
+
|
|
1932
1974
|
@builtins.property
|
|
1933
1975
|
@jsii.member(jsii_name="sseSpecification")
|
|
1934
1976
|
def sse_specification(
|
|
@@ -2501,6 +2543,65 @@ class CfnGlobalTable(
|
|
|
2501
2543
|
k + "=" + repr(v) for k, v in self._values.items()
|
|
2502
2544
|
)
|
|
2503
2545
|
|
|
2546
|
+
@jsii.data_type(
|
|
2547
|
+
jsii_type="aws-cdk-lib.aws_dynamodb.CfnGlobalTable.GlobalTableWitnessProperty",
|
|
2548
|
+
jsii_struct_bases=[],
|
|
2549
|
+
name_mapping={"region": "region"},
|
|
2550
|
+
)
|
|
2551
|
+
class GlobalTableWitnessProperty:
|
|
2552
|
+
def __init__(self, *, region: typing.Optional[builtins.str] = None) -> None:
|
|
2553
|
+
'''The witness Region for the MRSC global table.
|
|
2554
|
+
|
|
2555
|
+
A MRSC global table can be configured with either three replicas, or with two replicas and one witness.
|
|
2556
|
+
|
|
2557
|
+
The witness must be in a different Region than the replicas and within the same Region set:
|
|
2558
|
+
|
|
2559
|
+
- US Region set: US East (N. Virginia), US East (Ohio), US West (Oregon)
|
|
2560
|
+
- EU Region set: Europe (Ireland), Europe (London), Europe (Paris), Europe (Frankfurt)
|
|
2561
|
+
- AP Region set: Asia Pacific (Tokyo), Asia Pacific (Seoul), Asia Pacific (Osaka)
|
|
2562
|
+
|
|
2563
|
+
:param region: The name of the AWS Region that serves as a witness for the MRSC global table.
|
|
2564
|
+
|
|
2565
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dynamodb-globaltable-globaltablewitness.html
|
|
2566
|
+
:exampleMetadata: fixture=_generated
|
|
2567
|
+
|
|
2568
|
+
Example::
|
|
2569
|
+
|
|
2570
|
+
# The code below shows an example of how to instantiate this type.
|
|
2571
|
+
# The values are placeholders you should change.
|
|
2572
|
+
from aws_cdk import aws_dynamodb as dynamodb
|
|
2573
|
+
|
|
2574
|
+
global_table_witness_property = dynamodb.CfnGlobalTable.GlobalTableWitnessProperty(
|
|
2575
|
+
region="region"
|
|
2576
|
+
)
|
|
2577
|
+
'''
|
|
2578
|
+
if __debug__:
|
|
2579
|
+
type_hints = typing.get_type_hints(_typecheckingstub__b7628b4fa51cd4a5f8c1253b45a920f7c03001298e758a5d6592641047f1b8e9)
|
|
2580
|
+
check_type(argname="argument region", value=region, expected_type=type_hints["region"])
|
|
2581
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
2582
|
+
if region is not None:
|
|
2583
|
+
self._values["region"] = region
|
|
2584
|
+
|
|
2585
|
+
@builtins.property
|
|
2586
|
+
def region(self) -> typing.Optional[builtins.str]:
|
|
2587
|
+
'''The name of the AWS Region that serves as a witness for the MRSC global table.
|
|
2588
|
+
|
|
2589
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dynamodb-globaltable-globaltablewitness.html#cfn-dynamodb-globaltable-globaltablewitness-region
|
|
2590
|
+
'''
|
|
2591
|
+
result = self._values.get("region")
|
|
2592
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
2593
|
+
|
|
2594
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
2595
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
2596
|
+
|
|
2597
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
2598
|
+
return not (rhs == self)
|
|
2599
|
+
|
|
2600
|
+
def __repr__(self) -> str:
|
|
2601
|
+
return "GlobalTableWitnessProperty(%s)" % ", ".join(
|
|
2602
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
2603
|
+
)
|
|
2604
|
+
|
|
2504
2605
|
@jsii.data_type(
|
|
2505
2606
|
jsii_type="aws-cdk-lib.aws_dynamodb.CfnGlobalTable.KeySchemaProperty",
|
|
2506
2607
|
jsii_struct_bases=[],
|
|
@@ -3866,9 +3967,9 @@ class CfnGlobalTable(
|
|
|
3866
3967
|
)
|
|
3867
3968
|
class StreamSpecificationProperty:
|
|
3868
3969
|
def __init__(self, *, stream_view_type: builtins.str) -> None:
|
|
3869
|
-
'''Represents the DynamoDB Streams configuration for a table in DynamoDB.
|
|
3970
|
+
'''Represents the DynamoDB Streams configuration for a table in DynamoDB .
|
|
3870
3971
|
|
|
3871
|
-
You can only modify this value
|
|
3972
|
+
You can only modify this value for a ``AWS::DynamoDB::GlobalTable`` resource configured for multi-Region eventual consistency (MREC, the default) if that resource contains only one entry in ``Replicas`` . You must specify a value for this property for a ``AWS::DynamoDB::GlobalTable`` resource configured for MREC with more than one entry in ``Replicas`` . For Multi-Region Strong Consistency (MRSC), Streams are not required and can be changed for existing tables.
|
|
3872
3973
|
|
|
3873
3974
|
:param stream_view_type: When an item in the table is modified, ``StreamViewType`` determines what information is written to the stream for this table. Valid values for ``StreamViewType`` are: - ``KEYS_ONLY`` - Only the key attributes of the modified item are written to the stream. - ``NEW_IMAGE`` - The entire item, as it appears after it was modified, is written to the stream. - ``OLD_IMAGE`` - The entire item, as it appeared before it was modified, is written to the stream. - ``NEW_AND_OLD_IMAGES`` - Both the new and the old item images of the item are written to the stream.
|
|
3874
3975
|
|
|
@@ -4326,7 +4427,9 @@ class CfnGlobalTable(
|
|
|
4326
4427
|
"replicas": "replicas",
|
|
4327
4428
|
"billing_mode": "billingMode",
|
|
4328
4429
|
"global_secondary_indexes": "globalSecondaryIndexes",
|
|
4430
|
+
"global_table_witnesses": "globalTableWitnesses",
|
|
4329
4431
|
"local_secondary_indexes": "localSecondaryIndexes",
|
|
4432
|
+
"multi_region_consistency": "multiRegionConsistency",
|
|
4330
4433
|
"sse_specification": "sseSpecification",
|
|
4331
4434
|
"stream_specification": "streamSpecification",
|
|
4332
4435
|
"table_name": "tableName",
|
|
@@ -4345,7 +4448,9 @@ class CfnGlobalTableProps:
|
|
|
4345
4448
|
replicas: typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnGlobalTable.ReplicaSpecificationProperty, typing.Dict[builtins.str, typing.Any]]]]],
|
|
4346
4449
|
billing_mode: typing.Optional[builtins.str] = None,
|
|
4347
4450
|
global_secondary_indexes: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnGlobalTable.GlobalSecondaryIndexProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
4451
|
+
global_table_witnesses: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnGlobalTable.GlobalTableWitnessProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
4348
4452
|
local_secondary_indexes: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnGlobalTable.LocalSecondaryIndexProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
4453
|
+
multi_region_consistency: typing.Optional[builtins.str] = None,
|
|
4349
4454
|
sse_specification: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnGlobalTable.SSESpecificationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
4350
4455
|
stream_specification: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnGlobalTable.StreamSpecificationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
4351
4456
|
table_name: typing.Optional[builtins.str] = None,
|
|
@@ -4358,12 +4463,14 @@ class CfnGlobalTableProps:
|
|
|
4358
4463
|
|
|
4359
4464
|
:param attribute_definitions: A list of attributes that describe the key schema for the global table and indexes.
|
|
4360
4465
|
:param key_schema: Specifies the attributes that make up the primary key for the table. The attributes in the ``KeySchema`` property must also be defined in the ``AttributeDefinitions`` property.
|
|
4361
|
-
:param replicas: Specifies the list of replicas for your global table. The list must contain at least one element, the region where the stack defining the global table is deployed. For example, if you define your table in a stack deployed to us-east-1, you must have an entry in ``Replicas`` with the region us-east-1. You cannot remove the replica in the stack region. .. epigraph:: Adding a replica might take a few minutes for an empty table, or up to several hours for large tables. If you want to add or remove a replica, we recommend submitting an ``UpdateStack`` operation containing only that change. If you add or delete a replica during an update, we recommend that you don't update any other resources. If your stack fails to update and is rolled back while adding a new replica, you might need to manually delete the replica. You can create a new global table with as many replicas as needed. You can add or remove replicas after table creation, but you can only add or remove a single replica in each update.
|
|
4466
|
+
:param replicas: Specifies the list of replicas for your global table. The list must contain at least one element, the region where the stack defining the global table is deployed. For example, if you define your table in a stack deployed to us-east-1, you must have an entry in ``Replicas`` with the region us-east-1. You cannot remove the replica in the stack region. .. epigraph:: Adding a replica might take a few minutes for an empty table, or up to several hours for large tables. If you want to add or remove a replica, we recommend submitting an ``UpdateStack`` operation containing only that change. If you add or delete a replica during an update, we recommend that you don't update any other resources. If your stack fails to update and is rolled back while adding a new replica, you might need to manually delete the replica. You can create a new global table with as many replicas as needed. You can add or remove replicas after table creation, but you can only add or remove a single replica in each update. For Multi-Region Strong Consistency (MRSC), you can add or remove up to 3 replicas, or 2 replicas plus a witness Region.
|
|
4362
4467
|
:param billing_mode: Specifies how you are charged for read and write throughput and how you manage capacity. Valid values are:. - ``PAY_PER_REQUEST`` - ``PROVISIONED`` All replicas in your global table will have the same billing mode. If you use ``PROVISIONED`` billing mode, you must provide an auto scaling configuration via the ``WriteProvisionedThroughputSettings`` property. The default value of this property is ``PROVISIONED`` .
|
|
4363
4468
|
:param global_secondary_indexes: Global secondary indexes to be created on the global table. You can create up to 20 global secondary indexes. Each replica in your global table will have the same global secondary index settings. You can only create or delete one global secondary index in a single stack operation. Since the backfilling of an index could take a long time, CloudFormation does not wait for the index to become active. If a stack operation rolls back, CloudFormation might not delete an index that has been added. In that case, you will need to delete the index manually.
|
|
4469
|
+
:param global_table_witnesses: The list of witnesses of the MRSC global table. Only one witness Region can be configured per MRSC global table.
|
|
4364
4470
|
:param local_secondary_indexes: Local secondary indexes to be created on the table. You can create up to five local secondary indexes. Each index is scoped to a given hash key value. The size of each hash key can be up to 10 gigabytes. Each replica in your global table will have the same local secondary index settings.
|
|
4471
|
+
:param multi_region_consistency: Specifies the consistency mode for a new global table. You can specify one of the following consistency modes: - ``EVENTUAL`` : Configures a new global table for multi-Region eventual consistency (MREC). - ``STRONG`` : Configures a new global table for multi-Region strong consistency (MRSC). If you don't specify this field, the global table consistency mode defaults to ``EVENTUAL`` . For more information about global tables consistency modes, see `Consistency modes <https://docs.aws.amazon.com/V2globaltables_HowItWorks.html#V2globaltables_HowItWorks.consistency-modes>`_ in DynamoDB developer guide.
|
|
4365
4472
|
:param sse_specification: Specifies the settings to enable server-side encryption. These settings will be applied to all replicas. If you plan to use customer-managed KMS keys, you must provide a key for each replica using the ``ReplicaSpecification.ReplicaSSESpecification`` property.
|
|
4366
|
-
:param stream_specification: Specifies the streams settings on your global table. You must provide a value for this property if your global table contains more than one replica. You can only change the streams settings if your global table has only one replica.
|
|
4473
|
+
:param stream_specification: Specifies the streams settings on your global table. You must provide a value for this property if your global table contains more than one replica. You can only change the streams settings if your global table has only one replica. For Multi-Region Strong Consistency (MRSC), you do not need to provide a value for this property and can change the settings at any time.
|
|
4367
4474
|
:param table_name: A name for the global table. If you don't specify a name, AWS CloudFormation generates a unique ID and uses that ID as the table name. For more information, see `Name type <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-name.html>`_ . .. epigraph:: If you specify a name, you cannot perform updates that require replacement of this resource. You can perform updates that require no or some interruption. If you must replace the resource, specify a new name.
|
|
4368
4475
|
:param time_to_live_specification: Specifies the time to live (TTL) settings for the table. This setting will be applied to all replicas.
|
|
4369
4476
|
:param warm_throughput: Provides visibility into the number of read and write operations your table or secondary index can instantaneously support. The settings can be modified using the ``UpdateTable`` operation to meet the throughput requirements of an upcoming peak event.
|
|
@@ -4515,6 +4622,9 @@ class CfnGlobalTableProps:
|
|
|
4515
4622
|
)
|
|
4516
4623
|
)
|
|
4517
4624
|
)],
|
|
4625
|
+
global_table_witnesses=[dynamodb.CfnGlobalTable.GlobalTableWitnessProperty(
|
|
4626
|
+
region="region"
|
|
4627
|
+
)],
|
|
4518
4628
|
local_secondary_indexes=[dynamodb.CfnGlobalTable.LocalSecondaryIndexProperty(
|
|
4519
4629
|
index_name="indexName",
|
|
4520
4630
|
key_schema=[dynamodb.CfnGlobalTable.KeySchemaProperty(
|
|
@@ -4526,6 +4636,7 @@ class CfnGlobalTableProps:
|
|
|
4526
4636
|
projection_type="projectionType"
|
|
4527
4637
|
)
|
|
4528
4638
|
)],
|
|
4639
|
+
multi_region_consistency="multiRegionConsistency",
|
|
4529
4640
|
sse_specification=dynamodb.CfnGlobalTable.SSESpecificationProperty(
|
|
4530
4641
|
sse_enabled=False,
|
|
4531
4642
|
|
|
@@ -4575,7 +4686,9 @@ class CfnGlobalTableProps:
|
|
|
4575
4686
|
check_type(argname="argument replicas", value=replicas, expected_type=type_hints["replicas"])
|
|
4576
4687
|
check_type(argname="argument billing_mode", value=billing_mode, expected_type=type_hints["billing_mode"])
|
|
4577
4688
|
check_type(argname="argument global_secondary_indexes", value=global_secondary_indexes, expected_type=type_hints["global_secondary_indexes"])
|
|
4689
|
+
check_type(argname="argument global_table_witnesses", value=global_table_witnesses, expected_type=type_hints["global_table_witnesses"])
|
|
4578
4690
|
check_type(argname="argument local_secondary_indexes", value=local_secondary_indexes, expected_type=type_hints["local_secondary_indexes"])
|
|
4691
|
+
check_type(argname="argument multi_region_consistency", value=multi_region_consistency, expected_type=type_hints["multi_region_consistency"])
|
|
4579
4692
|
check_type(argname="argument sse_specification", value=sse_specification, expected_type=type_hints["sse_specification"])
|
|
4580
4693
|
check_type(argname="argument stream_specification", value=stream_specification, expected_type=type_hints["stream_specification"])
|
|
4581
4694
|
check_type(argname="argument table_name", value=table_name, expected_type=type_hints["table_name"])
|
|
@@ -4592,8 +4705,12 @@ class CfnGlobalTableProps:
|
|
|
4592
4705
|
self._values["billing_mode"] = billing_mode
|
|
4593
4706
|
if global_secondary_indexes is not None:
|
|
4594
4707
|
self._values["global_secondary_indexes"] = global_secondary_indexes
|
|
4708
|
+
if global_table_witnesses is not None:
|
|
4709
|
+
self._values["global_table_witnesses"] = global_table_witnesses
|
|
4595
4710
|
if local_secondary_indexes is not None:
|
|
4596
4711
|
self._values["local_secondary_indexes"] = local_secondary_indexes
|
|
4712
|
+
if multi_region_consistency is not None:
|
|
4713
|
+
self._values["multi_region_consistency"] = multi_region_consistency
|
|
4597
4714
|
if sse_specification is not None:
|
|
4598
4715
|
self._values["sse_specification"] = sse_specification
|
|
4599
4716
|
if stream_specification is not None:
|
|
@@ -4648,7 +4765,7 @@ class CfnGlobalTableProps:
|
|
|
4648
4765
|
|
|
4649
4766
|
If you add or delete a replica during an update, we recommend that you don't update any other resources. If your stack fails to update and is rolled back while adding a new replica, you might need to manually delete the replica.
|
|
4650
4767
|
|
|
4651
|
-
You can create a new global table with as many replicas as needed. You can add or remove replicas after table creation, but you can only add or remove a single replica in each update.
|
|
4768
|
+
You can create a new global table with as many replicas as needed. You can add or remove replicas after table creation, but you can only add or remove a single replica in each update. For Multi-Region Strong Consistency (MRSC), you can add or remove up to 3 replicas, or 2 replicas plus a witness Region.
|
|
4652
4769
|
|
|
4653
4770
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dynamodb-globaltable.html#cfn-dynamodb-globaltable-replicas
|
|
4654
4771
|
'''
|
|
@@ -4685,6 +4802,19 @@ class CfnGlobalTableProps:
|
|
|
4685
4802
|
result = self._values.get("global_secondary_indexes")
|
|
4686
4803
|
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, CfnGlobalTable.GlobalSecondaryIndexProperty]]]], result)
|
|
4687
4804
|
|
|
4805
|
+
@builtins.property
|
|
4806
|
+
def global_table_witnesses(
|
|
4807
|
+
self,
|
|
4808
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, CfnGlobalTable.GlobalTableWitnessProperty]]]]:
|
|
4809
|
+
'''The list of witnesses of the MRSC global table.
|
|
4810
|
+
|
|
4811
|
+
Only one witness Region can be configured per MRSC global table.
|
|
4812
|
+
|
|
4813
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dynamodb-globaltable.html#cfn-dynamodb-globaltable-globaltablewitnesses
|
|
4814
|
+
'''
|
|
4815
|
+
result = self._values.get("global_table_witnesses")
|
|
4816
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, CfnGlobalTable.GlobalTableWitnessProperty]]]], result)
|
|
4817
|
+
|
|
4688
4818
|
@builtins.property
|
|
4689
4819
|
def local_secondary_indexes(
|
|
4690
4820
|
self,
|
|
@@ -4698,6 +4828,22 @@ class CfnGlobalTableProps:
|
|
|
4698
4828
|
result = self._values.get("local_secondary_indexes")
|
|
4699
4829
|
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, CfnGlobalTable.LocalSecondaryIndexProperty]]]], result)
|
|
4700
4830
|
|
|
4831
|
+
@builtins.property
|
|
4832
|
+
def multi_region_consistency(self) -> typing.Optional[builtins.str]:
|
|
4833
|
+
'''Specifies the consistency mode for a new global table.
|
|
4834
|
+
|
|
4835
|
+
You can specify one of the following consistency modes:
|
|
4836
|
+
|
|
4837
|
+
- ``EVENTUAL`` : Configures a new global table for multi-Region eventual consistency (MREC).
|
|
4838
|
+
- ``STRONG`` : Configures a new global table for multi-Region strong consistency (MRSC).
|
|
4839
|
+
|
|
4840
|
+
If you don't specify this field, the global table consistency mode defaults to ``EVENTUAL`` . For more information about global tables consistency modes, see `Consistency modes <https://docs.aws.amazon.com/V2globaltables_HowItWorks.html#V2globaltables_HowItWorks.consistency-modes>`_ in DynamoDB developer guide.
|
|
4841
|
+
|
|
4842
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dynamodb-globaltable.html#cfn-dynamodb-globaltable-multiregionconsistency
|
|
4843
|
+
'''
|
|
4844
|
+
result = self._values.get("multi_region_consistency")
|
|
4845
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
4846
|
+
|
|
4701
4847
|
@builtins.property
|
|
4702
4848
|
def sse_specification(
|
|
4703
4849
|
self,
|
|
@@ -4717,7 +4863,7 @@ class CfnGlobalTableProps:
|
|
|
4717
4863
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, CfnGlobalTable.StreamSpecificationProperty]]:
|
|
4718
4864
|
'''Specifies the streams settings on your global table.
|
|
4719
4865
|
|
|
4720
|
-
You must provide a value for this property if your global table contains more than one replica. You can only change the streams settings if your global table has only one replica.
|
|
4866
|
+
You must provide a value for this property if your global table contains more than one replica. You can only change the streams settings if your global table has only one replica. For Multi-Region Strong Consistency (MRSC), you do not need to provide a value for this property and can change the settings at any time.
|
|
4721
4867
|
|
|
4722
4868
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dynamodb-globaltable.html#cfn-dynamodb-globaltable-streamspecification
|
|
4723
4869
|
'''
|
|
@@ -5000,7 +5146,7 @@ class CfnTable(
|
|
|
5000
5146
|
:param on_demand_throughput: Sets the maximum number of read and write units for the specified on-demand table. If you use this property, you must specify ``MaxReadRequestUnits`` , ``MaxWriteRequestUnits`` , or both.
|
|
5001
5147
|
:param point_in_time_recovery_specification: The settings used to enable point in time recovery.
|
|
5002
5148
|
:param provisioned_throughput: Throughput for the specified table, which consists of values for ``ReadCapacityUnits`` and ``WriteCapacityUnits`` . For more information about the contents of a provisioned throughput structure, see `Amazon DynamoDB Table ProvisionedThroughput <https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_ProvisionedThroughput.html>`_ . If you set ``BillingMode`` as ``PROVISIONED`` , you must specify this property. If you set ``BillingMode`` as ``PAY_PER_REQUEST`` , you cannot specify this property.
|
|
5003
|
-
:param resource_policy:
|
|
5149
|
+
:param resource_policy: An AWS resource-based policy document in JSON format that will be attached to the table. When you attach a resource-based policy while creating a table, the policy application is *strongly consistent* . The maximum size supported for a resource-based policy document is 20 KB. DynamoDB counts whitespaces when calculating the size of a policy against this limit. For a full list of all considerations that apply for resource-based policies, see `Resource-based policy considerations <https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/rbac-considerations.html>`_ . .. epigraph:: You need to specify the ``CreateTable`` and ``PutResourcePolicy`` IAM actions for authorizing a user to create a table with a resource-based policy.
|
|
5004
5150
|
:param sse_specification: Specifies the settings to enable server-side encryption.
|
|
5005
5151
|
:param stream_specification: The settings for the DynamoDB table stream, which capture changes to items stored in the table.
|
|
5006
5152
|
:param table_class: The table class of the new table. Valid values are ``STANDARD`` and ``STANDARD_INFREQUENT_ACCESS`` .
|
|
@@ -5320,7 +5466,7 @@ class CfnTable(
|
|
|
5320
5466
|
def resource_policy(
|
|
5321
5467
|
self,
|
|
5322
5468
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnTable.ResourcePolicyProperty"]]:
|
|
5323
|
-
'''
|
|
5469
|
+
'''An AWS resource-based policy document in JSON format that will be attached to the table.'''
|
|
5324
5470
|
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnTable.ResourcePolicyProperty"]], jsii.get(self, "resourcePolicy"))
|
|
5325
5471
|
|
|
5326
5472
|
@resource_policy.setter
|
|
@@ -7219,7 +7365,7 @@ class CfnTableProps:
|
|
|
7219
7365
|
:param on_demand_throughput: Sets the maximum number of read and write units for the specified on-demand table. If you use this property, you must specify ``MaxReadRequestUnits`` , ``MaxWriteRequestUnits`` , or both.
|
|
7220
7366
|
:param point_in_time_recovery_specification: The settings used to enable point in time recovery.
|
|
7221
7367
|
:param provisioned_throughput: Throughput for the specified table, which consists of values for ``ReadCapacityUnits`` and ``WriteCapacityUnits`` . For more information about the contents of a provisioned throughput structure, see `Amazon DynamoDB Table ProvisionedThroughput <https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_ProvisionedThroughput.html>`_ . If you set ``BillingMode`` as ``PROVISIONED`` , you must specify this property. If you set ``BillingMode`` as ``PAY_PER_REQUEST`` , you cannot specify this property.
|
|
7222
|
-
:param resource_policy:
|
|
7368
|
+
:param resource_policy: An AWS resource-based policy document in JSON format that will be attached to the table. When you attach a resource-based policy while creating a table, the policy application is *strongly consistent* . The maximum size supported for a resource-based policy document is 20 KB. DynamoDB counts whitespaces when calculating the size of a policy against this limit. For a full list of all considerations that apply for resource-based policies, see `Resource-based policy considerations <https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/rbac-considerations.html>`_ . .. epigraph:: You need to specify the ``CreateTable`` and ``PutResourcePolicy`` IAM actions for authorizing a user to create a table with a resource-based policy.
|
|
7223
7369
|
:param sse_specification: Specifies the settings to enable server-side encryption.
|
|
7224
7370
|
:param stream_specification: The settings for the DynamoDB table stream, which capture changes to items stored in the table.
|
|
7225
7371
|
:param table_class: The table class of the new table. Valid values are ``STANDARD`` and ``STANDARD_INFREQUENT_ACCESS`` .
|
|
@@ -7604,11 +7750,14 @@ class CfnTableProps:
|
|
|
7604
7750
|
def resource_policy(
|
|
7605
7751
|
self,
|
|
7606
7752
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, CfnTable.ResourcePolicyProperty]]:
|
|
7607
|
-
'''
|
|
7753
|
+
'''An AWS resource-based policy document in JSON format that will be attached to the table.
|
|
7608
7754
|
|
|
7609
|
-
|
|
7755
|
+
When you attach a resource-based policy while creating a table, the policy application is *strongly consistent* .
|
|
7610
7756
|
|
|
7611
|
-
|
|
7757
|
+
The maximum size supported for a resource-based policy document is 20 KB. DynamoDB counts whitespaces when calculating the size of a policy against this limit. For a full list of all considerations that apply for resource-based policies, see `Resource-based policy considerations <https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/rbac-considerations.html>`_ .
|
|
7758
|
+
.. epigraph::
|
|
7759
|
+
|
|
7760
|
+
You need to specify the ``CreateTable`` and ``PutResourcePolicy`` IAM actions for authorizing a user to create a table with a resource-based policy.
|
|
7612
7761
|
|
|
7613
7762
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dynamodb-table.html#cfn-dynamodb-table-resourcepolicy
|
|
7614
7763
|
'''
|
|
@@ -8141,6 +8290,7 @@ class ITable(_IResource_c80c4260, typing_extensions.Protocol):
|
|
|
8141
8290
|
account: typing.Optional[builtins.str] = None,
|
|
8142
8291
|
color: typing.Optional[builtins.str] = None,
|
|
8143
8292
|
dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
8293
|
+
id: typing.Optional[builtins.str] = None,
|
|
8144
8294
|
label: typing.Optional[builtins.str] = None,
|
|
8145
8295
|
period: typing.Optional[_Duration_4839e8c3] = None,
|
|
8146
8296
|
region: typing.Optional[builtins.str] = None,
|
|
@@ -8148,6 +8298,7 @@ class ITable(_IResource_c80c4260, typing_extensions.Protocol):
|
|
|
8148
8298
|
stack_region: typing.Optional[builtins.str] = None,
|
|
8149
8299
|
statistic: typing.Optional[builtins.str] = None,
|
|
8150
8300
|
unit: typing.Optional[_Unit_61bc6f70] = None,
|
|
8301
|
+
visible: typing.Optional[builtins.bool] = None,
|
|
8151
8302
|
) -> _Metric_e396a4dc:
|
|
8152
8303
|
'''Metric for the number of Errors executing all Lambdas.
|
|
8153
8304
|
|
|
@@ -8155,6 +8306,7 @@ class ITable(_IResource_c80c4260, typing_extensions.Protocol):
|
|
|
8155
8306
|
:param account: Account which this metric comes from. Default: - Deployment account.
|
|
8156
8307
|
:param color: The hex color code, prefixed with '#' (e.g. '#00ff00'), to use when this metric is rendered on a graph. The ``Color`` class has a set of standard colors that can be used here. Default: - Automatic color
|
|
8157
8308
|
:param dimensions_map: Dimensions of the metric. Default: - No dimensions.
|
|
8309
|
+
:param id: Unique identifier for this metric when used in dashboard widgets. The id can be used as a variable to represent this metric in math expressions. Valid characters are letters, numbers, and underscore. The first character must be a lowercase letter. Default: - No ID
|
|
8158
8310
|
:param label: Label for this metric when added to a Graph in a Dashboard. You can use `dynamic labels <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/graph-dynamic-labels.html>`_ to show summary information about the entire displayed time series in the legend. For example, if you use:: [max: ${MAX}] MyMetric As the metric label, the maximum value in the visible range will be shown next to the time series name in the graph's legend. Default: - No label
|
|
8159
8311
|
:param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
|
|
8160
8312
|
:param region: Region which this metric comes from. Default: - Deployment region.
|
|
@@ -8162,6 +8314,7 @@ class ITable(_IResource_c80c4260, typing_extensions.Protocol):
|
|
|
8162
8314
|
:param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
|
|
8163
8315
|
:param statistic: What function to use for aggregating. Use the ``aws_cloudwatch.Stats`` helper class to construct valid input strings. Can be one of the following: - "Minimum" | "min" - "Maximum" | "max" - "Average" | "avg" - "Sum" | "sum" - "SampleCount | "n" - "pNN.NN" - "tmNN.NN" | "tm(NN.NN%:NN.NN%)" - "iqm" - "wmNN.NN" | "wm(NN.NN%:NN.NN%)" - "tcNN.NN" | "tc(NN.NN%:NN.NN%)" - "tsNN.NN" | "ts(NN.NN%:NN.NN%)" Default: Average
|
|
8164
8316
|
:param unit: Unit used to filter the metric stream. Only refer to datums emitted to the metric stream with the given unit and ignore all others. Only useful when datums are being emitted to the same metric stream under different units. The default is to use all matric datums in the stream, regardless of unit, which is recommended in nearly all cases. CloudWatch does not honor this property for graphs. Default: - All metric datums in the given metric stream
|
|
8317
|
+
:param visible: Whether this metric should be visible in dashboard graphs. Setting this to false is useful when you want to hide raw metrics that are used in math expressions, and show only the expression results. Default: true
|
|
8165
8318
|
'''
|
|
8166
8319
|
...
|
|
8167
8320
|
|
|
@@ -8172,6 +8325,7 @@ class ITable(_IResource_c80c4260, typing_extensions.Protocol):
|
|
|
8172
8325
|
account: typing.Optional[builtins.str] = None,
|
|
8173
8326
|
color: typing.Optional[builtins.str] = None,
|
|
8174
8327
|
dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
8328
|
+
id: typing.Optional[builtins.str] = None,
|
|
8175
8329
|
label: typing.Optional[builtins.str] = None,
|
|
8176
8330
|
period: typing.Optional[_Duration_4839e8c3] = None,
|
|
8177
8331
|
region: typing.Optional[builtins.str] = None,
|
|
@@ -8179,12 +8333,14 @@ class ITable(_IResource_c80c4260, typing_extensions.Protocol):
|
|
|
8179
8333
|
stack_region: typing.Optional[builtins.str] = None,
|
|
8180
8334
|
statistic: typing.Optional[builtins.str] = None,
|
|
8181
8335
|
unit: typing.Optional[_Unit_61bc6f70] = None,
|
|
8336
|
+
visible: typing.Optional[builtins.bool] = None,
|
|
8182
8337
|
) -> _Metric_e396a4dc:
|
|
8183
8338
|
'''Metric for the conditional check failed requests.
|
|
8184
8339
|
|
|
8185
8340
|
:param account: Account which this metric comes from. Default: - Deployment account.
|
|
8186
8341
|
:param color: The hex color code, prefixed with '#' (e.g. '#00ff00'), to use when this metric is rendered on a graph. The ``Color`` class has a set of standard colors that can be used here. Default: - Automatic color
|
|
8187
8342
|
:param dimensions_map: Dimensions of the metric. Default: - No dimensions.
|
|
8343
|
+
:param id: Unique identifier for this metric when used in dashboard widgets. The id can be used as a variable to represent this metric in math expressions. Valid characters are letters, numbers, and underscore. The first character must be a lowercase letter. Default: - No ID
|
|
8188
8344
|
:param label: Label for this metric when added to a Graph in a Dashboard. You can use `dynamic labels <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/graph-dynamic-labels.html>`_ to show summary information about the entire displayed time series in the legend. For example, if you use:: [max: ${MAX}] MyMetric As the metric label, the maximum value in the visible range will be shown next to the time series name in the graph's legend. Default: - No label
|
|
8189
8345
|
:param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
|
|
8190
8346
|
:param region: Region which this metric comes from. Default: - Deployment region.
|
|
@@ -8192,6 +8348,7 @@ class ITable(_IResource_c80c4260, typing_extensions.Protocol):
|
|
|
8192
8348
|
:param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
|
|
8193
8349
|
:param statistic: What function to use for aggregating. Use the ``aws_cloudwatch.Stats`` helper class to construct valid input strings. Can be one of the following: - "Minimum" | "min" - "Maximum" | "max" - "Average" | "avg" - "Sum" | "sum" - "SampleCount | "n" - "pNN.NN" - "tmNN.NN" | "tm(NN.NN%:NN.NN%)" - "iqm" - "wmNN.NN" | "wm(NN.NN%:NN.NN%)" - "tcNN.NN" | "tc(NN.NN%:NN.NN%)" - "tsNN.NN" | "ts(NN.NN%:NN.NN%)" Default: Average
|
|
8194
8350
|
:param unit: Unit used to filter the metric stream. Only refer to datums emitted to the metric stream with the given unit and ignore all others. Only useful when datums are being emitted to the same metric stream under different units. The default is to use all matric datums in the stream, regardless of unit, which is recommended in nearly all cases. CloudWatch does not honor this property for graphs. Default: - All metric datums in the given metric stream
|
|
8351
|
+
:param visible: Whether this metric should be visible in dashboard graphs. Setting this to false is useful when you want to hide raw metrics that are used in math expressions, and show only the expression results. Default: true
|
|
8195
8352
|
'''
|
|
8196
8353
|
...
|
|
8197
8354
|
|
|
@@ -8202,6 +8359,7 @@ class ITable(_IResource_c80c4260, typing_extensions.Protocol):
|
|
|
8202
8359
|
account: typing.Optional[builtins.str] = None,
|
|
8203
8360
|
color: typing.Optional[builtins.str] = None,
|
|
8204
8361
|
dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
8362
|
+
id: typing.Optional[builtins.str] = None,
|
|
8205
8363
|
label: typing.Optional[builtins.str] = None,
|
|
8206
8364
|
period: typing.Optional[_Duration_4839e8c3] = None,
|
|
8207
8365
|
region: typing.Optional[builtins.str] = None,
|
|
@@ -8209,12 +8367,14 @@ class ITable(_IResource_c80c4260, typing_extensions.Protocol):
|
|
|
8209
8367
|
stack_region: typing.Optional[builtins.str] = None,
|
|
8210
8368
|
statistic: typing.Optional[builtins.str] = None,
|
|
8211
8369
|
unit: typing.Optional[_Unit_61bc6f70] = None,
|
|
8370
|
+
visible: typing.Optional[builtins.bool] = None,
|
|
8212
8371
|
) -> _Metric_e396a4dc:
|
|
8213
8372
|
'''Metric for the consumed read capacity units.
|
|
8214
8373
|
|
|
8215
8374
|
:param account: Account which this metric comes from. Default: - Deployment account.
|
|
8216
8375
|
:param color: The hex color code, prefixed with '#' (e.g. '#00ff00'), to use when this metric is rendered on a graph. The ``Color`` class has a set of standard colors that can be used here. Default: - Automatic color
|
|
8217
8376
|
:param dimensions_map: Dimensions of the metric. Default: - No dimensions.
|
|
8377
|
+
:param id: Unique identifier for this metric when used in dashboard widgets. The id can be used as a variable to represent this metric in math expressions. Valid characters are letters, numbers, and underscore. The first character must be a lowercase letter. Default: - No ID
|
|
8218
8378
|
:param label: Label for this metric when added to a Graph in a Dashboard. You can use `dynamic labels <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/graph-dynamic-labels.html>`_ to show summary information about the entire displayed time series in the legend. For example, if you use:: [max: ${MAX}] MyMetric As the metric label, the maximum value in the visible range will be shown next to the time series name in the graph's legend. Default: - No label
|
|
8219
8379
|
:param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
|
|
8220
8380
|
:param region: Region which this metric comes from. Default: - Deployment region.
|
|
@@ -8222,6 +8382,7 @@ class ITable(_IResource_c80c4260, typing_extensions.Protocol):
|
|
|
8222
8382
|
:param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
|
|
8223
8383
|
:param statistic: What function to use for aggregating. Use the ``aws_cloudwatch.Stats`` helper class to construct valid input strings. Can be one of the following: - "Minimum" | "min" - "Maximum" | "max" - "Average" | "avg" - "Sum" | "sum" - "SampleCount | "n" - "pNN.NN" - "tmNN.NN" | "tm(NN.NN%:NN.NN%)" - "iqm" - "wmNN.NN" | "wm(NN.NN%:NN.NN%)" - "tcNN.NN" | "tc(NN.NN%:NN.NN%)" - "tsNN.NN" | "ts(NN.NN%:NN.NN%)" Default: Average
|
|
8224
8384
|
:param unit: Unit used to filter the metric stream. Only refer to datums emitted to the metric stream with the given unit and ignore all others. Only useful when datums are being emitted to the same metric stream under different units. The default is to use all matric datums in the stream, regardless of unit, which is recommended in nearly all cases. CloudWatch does not honor this property for graphs. Default: - All metric datums in the given metric stream
|
|
8385
|
+
:param visible: Whether this metric should be visible in dashboard graphs. Setting this to false is useful when you want to hide raw metrics that are used in math expressions, and show only the expression results. Default: true
|
|
8225
8386
|
'''
|
|
8226
8387
|
...
|
|
8227
8388
|
|
|
@@ -8232,6 +8393,7 @@ class ITable(_IResource_c80c4260, typing_extensions.Protocol):
|
|
|
8232
8393
|
account: typing.Optional[builtins.str] = None,
|
|
8233
8394
|
color: typing.Optional[builtins.str] = None,
|
|
8234
8395
|
dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
8396
|
+
id: typing.Optional[builtins.str] = None,
|
|
8235
8397
|
label: typing.Optional[builtins.str] = None,
|
|
8236
8398
|
period: typing.Optional[_Duration_4839e8c3] = None,
|
|
8237
8399
|
region: typing.Optional[builtins.str] = None,
|
|
@@ -8239,12 +8401,14 @@ class ITable(_IResource_c80c4260, typing_extensions.Protocol):
|
|
|
8239
8401
|
stack_region: typing.Optional[builtins.str] = None,
|
|
8240
8402
|
statistic: typing.Optional[builtins.str] = None,
|
|
8241
8403
|
unit: typing.Optional[_Unit_61bc6f70] = None,
|
|
8404
|
+
visible: typing.Optional[builtins.bool] = None,
|
|
8242
8405
|
) -> _Metric_e396a4dc:
|
|
8243
8406
|
'''Metric for the consumed write capacity units.
|
|
8244
8407
|
|
|
8245
8408
|
:param account: Account which this metric comes from. Default: - Deployment account.
|
|
8246
8409
|
:param color: The hex color code, prefixed with '#' (e.g. '#00ff00'), to use when this metric is rendered on a graph. The ``Color`` class has a set of standard colors that can be used here. Default: - Automatic color
|
|
8247
8410
|
:param dimensions_map: Dimensions of the metric. Default: - No dimensions.
|
|
8411
|
+
:param id: Unique identifier for this metric when used in dashboard widgets. The id can be used as a variable to represent this metric in math expressions. Valid characters are letters, numbers, and underscore. The first character must be a lowercase letter. Default: - No ID
|
|
8248
8412
|
:param label: Label for this metric when added to a Graph in a Dashboard. You can use `dynamic labels <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/graph-dynamic-labels.html>`_ to show summary information about the entire displayed time series in the legend. For example, if you use:: [max: ${MAX}] MyMetric As the metric label, the maximum value in the visible range will be shown next to the time series name in the graph's legend. Default: - No label
|
|
8249
8413
|
:param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
|
|
8250
8414
|
:param region: Region which this metric comes from. Default: - Deployment region.
|
|
@@ -8252,6 +8416,7 @@ class ITable(_IResource_c80c4260, typing_extensions.Protocol):
|
|
|
8252
8416
|
:param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
|
|
8253
8417
|
:param statistic: What function to use for aggregating. Use the ``aws_cloudwatch.Stats`` helper class to construct valid input strings. Can be one of the following: - "Minimum" | "min" - "Maximum" | "max" - "Average" | "avg" - "Sum" | "sum" - "SampleCount | "n" - "pNN.NN" - "tmNN.NN" | "tm(NN.NN%:NN.NN%)" - "iqm" - "wmNN.NN" | "wm(NN.NN%:NN.NN%)" - "tcNN.NN" | "tc(NN.NN%:NN.NN%)" - "tsNN.NN" | "ts(NN.NN%:NN.NN%)" Default: Average
|
|
8254
8418
|
:param unit: Unit used to filter the metric stream. Only refer to datums emitted to the metric stream with the given unit and ignore all others. Only useful when datums are being emitted to the same metric stream under different units. The default is to use all matric datums in the stream, regardless of unit, which is recommended in nearly all cases. CloudWatch does not honor this property for graphs. Default: - All metric datums in the given metric stream
|
|
8419
|
+
:param visible: Whether this metric should be visible in dashboard graphs. Setting this to false is useful when you want to hide raw metrics that are used in math expressions, and show only the expression results. Default: true
|
|
8255
8420
|
'''
|
|
8256
8421
|
...
|
|
8257
8422
|
|
|
@@ -8262,6 +8427,7 @@ class ITable(_IResource_c80c4260, typing_extensions.Protocol):
|
|
|
8262
8427
|
account: typing.Optional[builtins.str] = None,
|
|
8263
8428
|
color: typing.Optional[builtins.str] = None,
|
|
8264
8429
|
dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
8430
|
+
id: typing.Optional[builtins.str] = None,
|
|
8265
8431
|
label: typing.Optional[builtins.str] = None,
|
|
8266
8432
|
period: typing.Optional[_Duration_4839e8c3] = None,
|
|
8267
8433
|
region: typing.Optional[builtins.str] = None,
|
|
@@ -8269,12 +8435,14 @@ class ITable(_IResource_c80c4260, typing_extensions.Protocol):
|
|
|
8269
8435
|
stack_region: typing.Optional[builtins.str] = None,
|
|
8270
8436
|
statistic: typing.Optional[builtins.str] = None,
|
|
8271
8437
|
unit: typing.Optional[_Unit_61bc6f70] = None,
|
|
8438
|
+
visible: typing.Optional[builtins.bool] = None,
|
|
8272
8439
|
) -> _Metric_e396a4dc:
|
|
8273
8440
|
'''Metric for the successful request latency.
|
|
8274
8441
|
|
|
8275
8442
|
:param account: Account which this metric comes from. Default: - Deployment account.
|
|
8276
8443
|
:param color: The hex color code, prefixed with '#' (e.g. '#00ff00'), to use when this metric is rendered on a graph. The ``Color`` class has a set of standard colors that can be used here. Default: - Automatic color
|
|
8277
8444
|
:param dimensions_map: Dimensions of the metric. Default: - No dimensions.
|
|
8445
|
+
:param id: Unique identifier for this metric when used in dashboard widgets. The id can be used as a variable to represent this metric in math expressions. Valid characters are letters, numbers, and underscore. The first character must be a lowercase letter. Default: - No ID
|
|
8278
8446
|
:param label: Label for this metric when added to a Graph in a Dashboard. You can use `dynamic labels <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/graph-dynamic-labels.html>`_ to show summary information about the entire displayed time series in the legend. For example, if you use:: [max: ${MAX}] MyMetric As the metric label, the maximum value in the visible range will be shown next to the time series name in the graph's legend. Default: - No label
|
|
8279
8447
|
:param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
|
|
8280
8448
|
:param region: Region which this metric comes from. Default: - Deployment region.
|
|
@@ -8282,6 +8450,7 @@ class ITable(_IResource_c80c4260, typing_extensions.Protocol):
|
|
|
8282
8450
|
:param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
|
|
8283
8451
|
:param statistic: What function to use for aggregating. Use the ``aws_cloudwatch.Stats`` helper class to construct valid input strings. Can be one of the following: - "Minimum" | "min" - "Maximum" | "max" - "Average" | "avg" - "Sum" | "sum" - "SampleCount | "n" - "pNN.NN" - "tmNN.NN" | "tm(NN.NN%:NN.NN%)" - "iqm" - "wmNN.NN" | "wm(NN.NN%:NN.NN%)" - "tcNN.NN" | "tc(NN.NN%:NN.NN%)" - "tsNN.NN" | "ts(NN.NN%:NN.NN%)" Default: Average
|
|
8284
8452
|
:param unit: Unit used to filter the metric stream. Only refer to datums emitted to the metric stream with the given unit and ignore all others. Only useful when datums are being emitted to the same metric stream under different units. The default is to use all matric datums in the stream, regardless of unit, which is recommended in nearly all cases. CloudWatch does not honor this property for graphs. Default: - All metric datums in the given metric stream
|
|
8453
|
+
:param visible: Whether this metric should be visible in dashboard graphs. Setting this to false is useful when you want to hide raw metrics that are used in math expressions, and show only the expression results. Default: true
|
|
8285
8454
|
'''
|
|
8286
8455
|
...
|
|
8287
8456
|
|
|
@@ -8293,6 +8462,7 @@ class ITable(_IResource_c80c4260, typing_extensions.Protocol):
|
|
|
8293
8462
|
account: typing.Optional[builtins.str] = None,
|
|
8294
8463
|
color: typing.Optional[builtins.str] = None,
|
|
8295
8464
|
dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
8465
|
+
id: typing.Optional[builtins.str] = None,
|
|
8296
8466
|
label: typing.Optional[builtins.str] = None,
|
|
8297
8467
|
period: typing.Optional[_Duration_4839e8c3] = None,
|
|
8298
8468
|
region: typing.Optional[builtins.str] = None,
|
|
@@ -8300,6 +8470,7 @@ class ITable(_IResource_c80c4260, typing_extensions.Protocol):
|
|
|
8300
8470
|
stack_region: typing.Optional[builtins.str] = None,
|
|
8301
8471
|
statistic: typing.Optional[builtins.str] = None,
|
|
8302
8472
|
unit: typing.Optional[_Unit_61bc6f70] = None,
|
|
8473
|
+
visible: typing.Optional[builtins.bool] = None,
|
|
8303
8474
|
) -> _IMetric_c7fd29de:
|
|
8304
8475
|
'''Metric for the system errors this table.
|
|
8305
8476
|
|
|
@@ -8307,6 +8478,7 @@ class ITable(_IResource_c80c4260, typing_extensions.Protocol):
|
|
|
8307
8478
|
:param account: Account which this metric comes from. Default: - Deployment account.
|
|
8308
8479
|
:param color: The hex color code, prefixed with '#' (e.g. '#00ff00'), to use when this metric is rendered on a graph. The ``Color`` class has a set of standard colors that can be used here. Default: - Automatic color
|
|
8309
8480
|
:param dimensions_map: Dimensions of the metric. Default: - No dimensions.
|
|
8481
|
+
:param id: Unique identifier for this metric when used in dashboard widgets. The id can be used as a variable to represent this metric in math expressions. Valid characters are letters, numbers, and underscore. The first character must be a lowercase letter. Default: - No ID
|
|
8310
8482
|
:param label: Label for this metric when added to a Graph in a Dashboard. You can use `dynamic labels <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/graph-dynamic-labels.html>`_ to show summary information about the entire displayed time series in the legend. For example, if you use:: [max: ${MAX}] MyMetric As the metric label, the maximum value in the visible range will be shown next to the time series name in the graph's legend. Default: - No label
|
|
8311
8483
|
:param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
|
|
8312
8484
|
:param region: Region which this metric comes from. Default: - Deployment region.
|
|
@@ -8314,6 +8486,7 @@ class ITable(_IResource_c80c4260, typing_extensions.Protocol):
|
|
|
8314
8486
|
:param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
|
|
8315
8487
|
:param statistic: What function to use for aggregating. Use the ``aws_cloudwatch.Stats`` helper class to construct valid input strings. Can be one of the following: - "Minimum" | "min" - "Maximum" | "max" - "Average" | "avg" - "Sum" | "sum" - "SampleCount | "n" - "pNN.NN" - "tmNN.NN" | "tm(NN.NN%:NN.NN%)" - "iqm" - "wmNN.NN" | "wm(NN.NN%:NN.NN%)" - "tcNN.NN" | "tc(NN.NN%:NN.NN%)" - "tsNN.NN" | "ts(NN.NN%:NN.NN%)" Default: Average
|
|
8316
8488
|
:param unit: Unit used to filter the metric stream. Only refer to datums emitted to the metric stream with the given unit and ignore all others. Only useful when datums are being emitted to the same metric stream under different units. The default is to use all matric datums in the stream, regardless of unit, which is recommended in nearly all cases. CloudWatch does not honor this property for graphs. Default: - All metric datums in the given metric stream
|
|
8489
|
+
:param visible: Whether this metric should be visible in dashboard graphs. Setting this to false is useful when you want to hide raw metrics that are used in math expressions, and show only the expression results. Default: true
|
|
8317
8490
|
'''
|
|
8318
8491
|
...
|
|
8319
8492
|
|
|
@@ -8324,6 +8497,7 @@ class ITable(_IResource_c80c4260, typing_extensions.Protocol):
|
|
|
8324
8497
|
account: typing.Optional[builtins.str] = None,
|
|
8325
8498
|
color: typing.Optional[builtins.str] = None,
|
|
8326
8499
|
dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
8500
|
+
id: typing.Optional[builtins.str] = None,
|
|
8327
8501
|
label: typing.Optional[builtins.str] = None,
|
|
8328
8502
|
period: typing.Optional[_Duration_4839e8c3] = None,
|
|
8329
8503
|
region: typing.Optional[builtins.str] = None,
|
|
@@ -8331,12 +8505,14 @@ class ITable(_IResource_c80c4260, typing_extensions.Protocol):
|
|
|
8331
8505
|
stack_region: typing.Optional[builtins.str] = None,
|
|
8332
8506
|
statistic: typing.Optional[builtins.str] = None,
|
|
8333
8507
|
unit: typing.Optional[_Unit_61bc6f70] = None,
|
|
8508
|
+
visible: typing.Optional[builtins.bool] = None,
|
|
8334
8509
|
) -> _Metric_e396a4dc:
|
|
8335
8510
|
'''(deprecated) Metric for throttled requests.
|
|
8336
8511
|
|
|
8337
8512
|
:param account: Account which this metric comes from. Default: - Deployment account.
|
|
8338
8513
|
:param color: The hex color code, prefixed with '#' (e.g. '#00ff00'), to use when this metric is rendered on a graph. The ``Color`` class has a set of standard colors that can be used here. Default: - Automatic color
|
|
8339
8514
|
:param dimensions_map: Dimensions of the metric. Default: - No dimensions.
|
|
8515
|
+
:param id: Unique identifier for this metric when used in dashboard widgets. The id can be used as a variable to represent this metric in math expressions. Valid characters are letters, numbers, and underscore. The first character must be a lowercase letter. Default: - No ID
|
|
8340
8516
|
:param label: Label for this metric when added to a Graph in a Dashboard. You can use `dynamic labels <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/graph-dynamic-labels.html>`_ to show summary information about the entire displayed time series in the legend. For example, if you use:: [max: ${MAX}] MyMetric As the metric label, the maximum value in the visible range will be shown next to the time series name in the graph's legend. Default: - No label
|
|
8341
8517
|
:param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
|
|
8342
8518
|
:param region: Region which this metric comes from. Default: - Deployment region.
|
|
@@ -8344,6 +8520,7 @@ class ITable(_IResource_c80c4260, typing_extensions.Protocol):
|
|
|
8344
8520
|
:param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
|
|
8345
8521
|
:param statistic: What function to use for aggregating. Use the ``aws_cloudwatch.Stats`` helper class to construct valid input strings. Can be one of the following: - "Minimum" | "min" - "Maximum" | "max" - "Average" | "avg" - "Sum" | "sum" - "SampleCount | "n" - "pNN.NN" - "tmNN.NN" | "tm(NN.NN%:NN.NN%)" - "iqm" - "wmNN.NN" | "wm(NN.NN%:NN.NN%)" - "tcNN.NN" | "tc(NN.NN%:NN.NN%)" - "tsNN.NN" | "ts(NN.NN%:NN.NN%)" Default: Average
|
|
8346
8522
|
:param unit: Unit used to filter the metric stream. Only refer to datums emitted to the metric stream with the given unit and ignore all others. Only useful when datums are being emitted to the same metric stream under different units. The default is to use all matric datums in the stream, regardless of unit, which is recommended in nearly all cases. CloudWatch does not honor this property for graphs. Default: - All metric datums in the given metric stream
|
|
8523
|
+
:param visible: Whether this metric should be visible in dashboard graphs. Setting this to false is useful when you want to hide raw metrics that are used in math expressions, and show only the expression results. Default: true
|
|
8347
8524
|
|
|
8348
8525
|
:deprecated: use ``metricThrottledRequestsForOperations``
|
|
8349
8526
|
|
|
@@ -8359,6 +8536,7 @@ class ITable(_IResource_c80c4260, typing_extensions.Protocol):
|
|
|
8359
8536
|
account: typing.Optional[builtins.str] = None,
|
|
8360
8537
|
color: typing.Optional[builtins.str] = None,
|
|
8361
8538
|
dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
8539
|
+
id: typing.Optional[builtins.str] = None,
|
|
8362
8540
|
label: typing.Optional[builtins.str] = None,
|
|
8363
8541
|
period: typing.Optional[_Duration_4839e8c3] = None,
|
|
8364
8542
|
region: typing.Optional[builtins.str] = None,
|
|
@@ -8366,6 +8544,7 @@ class ITable(_IResource_c80c4260, typing_extensions.Protocol):
|
|
|
8366
8544
|
stack_region: typing.Optional[builtins.str] = None,
|
|
8367
8545
|
statistic: typing.Optional[builtins.str] = None,
|
|
8368
8546
|
unit: typing.Optional[_Unit_61bc6f70] = None,
|
|
8547
|
+
visible: typing.Optional[builtins.bool] = None,
|
|
8369
8548
|
) -> _IMetric_c7fd29de:
|
|
8370
8549
|
'''Metric for throttled requests.
|
|
8371
8550
|
|
|
@@ -8373,6 +8552,7 @@ class ITable(_IResource_c80c4260, typing_extensions.Protocol):
|
|
|
8373
8552
|
:param account: Account which this metric comes from. Default: - Deployment account.
|
|
8374
8553
|
:param color: The hex color code, prefixed with '#' (e.g. '#00ff00'), to use when this metric is rendered on a graph. The ``Color`` class has a set of standard colors that can be used here. Default: - Automatic color
|
|
8375
8554
|
:param dimensions_map: Dimensions of the metric. Default: - No dimensions.
|
|
8555
|
+
:param id: Unique identifier for this metric when used in dashboard widgets. The id can be used as a variable to represent this metric in math expressions. Valid characters are letters, numbers, and underscore. The first character must be a lowercase letter. Default: - No ID
|
|
8376
8556
|
:param label: Label for this metric when added to a Graph in a Dashboard. You can use `dynamic labels <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/graph-dynamic-labels.html>`_ to show summary information about the entire displayed time series in the legend. For example, if you use:: [max: ${MAX}] MyMetric As the metric label, the maximum value in the visible range will be shown next to the time series name in the graph's legend. Default: - No label
|
|
8377
8557
|
:param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
|
|
8378
8558
|
:param region: Region which this metric comes from. Default: - Deployment region.
|
|
@@ -8380,6 +8560,7 @@ class ITable(_IResource_c80c4260, typing_extensions.Protocol):
|
|
|
8380
8560
|
:param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
|
|
8381
8561
|
:param statistic: What function to use for aggregating. Use the ``aws_cloudwatch.Stats`` helper class to construct valid input strings. Can be one of the following: - "Minimum" | "min" - "Maximum" | "max" - "Average" | "avg" - "Sum" | "sum" - "SampleCount | "n" - "pNN.NN" - "tmNN.NN" | "tm(NN.NN%:NN.NN%)" - "iqm" - "wmNN.NN" | "wm(NN.NN%:NN.NN%)" - "tcNN.NN" | "tc(NN.NN%:NN.NN%)" - "tsNN.NN" | "ts(NN.NN%:NN.NN%)" Default: Average
|
|
8382
8562
|
:param unit: Unit used to filter the metric stream. Only refer to datums emitted to the metric stream with the given unit and ignore all others. Only useful when datums are being emitted to the same metric stream under different units. The default is to use all matric datums in the stream, regardless of unit, which is recommended in nearly all cases. CloudWatch does not honor this property for graphs. Default: - All metric datums in the given metric stream
|
|
8563
|
+
:param visible: Whether this metric should be visible in dashboard graphs. Setting this to false is useful when you want to hide raw metrics that are used in math expressions, and show only the expression results. Default: true
|
|
8383
8564
|
'''
|
|
8384
8565
|
...
|
|
8385
8566
|
|
|
@@ -8390,6 +8571,7 @@ class ITable(_IResource_c80c4260, typing_extensions.Protocol):
|
|
|
8390
8571
|
account: typing.Optional[builtins.str] = None,
|
|
8391
8572
|
color: typing.Optional[builtins.str] = None,
|
|
8392
8573
|
dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
8574
|
+
id: typing.Optional[builtins.str] = None,
|
|
8393
8575
|
label: typing.Optional[builtins.str] = None,
|
|
8394
8576
|
period: typing.Optional[_Duration_4839e8c3] = None,
|
|
8395
8577
|
region: typing.Optional[builtins.str] = None,
|
|
@@ -8397,12 +8579,14 @@ class ITable(_IResource_c80c4260, typing_extensions.Protocol):
|
|
|
8397
8579
|
stack_region: typing.Optional[builtins.str] = None,
|
|
8398
8580
|
statistic: typing.Optional[builtins.str] = None,
|
|
8399
8581
|
unit: typing.Optional[_Unit_61bc6f70] = None,
|
|
8582
|
+
visible: typing.Optional[builtins.bool] = None,
|
|
8400
8583
|
) -> _Metric_e396a4dc:
|
|
8401
8584
|
'''Metric for the user errors.
|
|
8402
8585
|
|
|
8403
8586
|
:param account: Account which this metric comes from. Default: - Deployment account.
|
|
8404
8587
|
:param color: The hex color code, prefixed with '#' (e.g. '#00ff00'), to use when this metric is rendered on a graph. The ``Color`` class has a set of standard colors that can be used here. Default: - Automatic color
|
|
8405
8588
|
:param dimensions_map: Dimensions of the metric. Default: - No dimensions.
|
|
8589
|
+
:param id: Unique identifier for this metric when used in dashboard widgets. The id can be used as a variable to represent this metric in math expressions. Valid characters are letters, numbers, and underscore. The first character must be a lowercase letter. Default: - No ID
|
|
8406
8590
|
:param label: Label for this metric when added to a Graph in a Dashboard. You can use `dynamic labels <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/graph-dynamic-labels.html>`_ to show summary information about the entire displayed time series in the legend. For example, if you use:: [max: ${MAX}] MyMetric As the metric label, the maximum value in the visible range will be shown next to the time series name in the graph's legend. Default: - No label
|
|
8407
8591
|
:param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
|
|
8408
8592
|
:param region: Region which this metric comes from. Default: - Deployment region.
|
|
@@ -8410,6 +8594,7 @@ class ITable(_IResource_c80c4260, typing_extensions.Protocol):
|
|
|
8410
8594
|
:param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
|
|
8411
8595
|
:param statistic: What function to use for aggregating. Use the ``aws_cloudwatch.Stats`` helper class to construct valid input strings. Can be one of the following: - "Minimum" | "min" - "Maximum" | "max" - "Average" | "avg" - "Sum" | "sum" - "SampleCount | "n" - "pNN.NN" - "tmNN.NN" | "tm(NN.NN%:NN.NN%)" - "iqm" - "wmNN.NN" | "wm(NN.NN%:NN.NN%)" - "tcNN.NN" | "tc(NN.NN%:NN.NN%)" - "tsNN.NN" | "ts(NN.NN%:NN.NN%)" Default: Average
|
|
8412
8596
|
:param unit: Unit used to filter the metric stream. Only refer to datums emitted to the metric stream with the given unit and ignore all others. Only useful when datums are being emitted to the same metric stream under different units. The default is to use all matric datums in the stream, regardless of unit, which is recommended in nearly all cases. CloudWatch does not honor this property for graphs. Default: - All metric datums in the given metric stream
|
|
8597
|
+
:param visible: Whether this metric should be visible in dashboard graphs. Setting this to false is useful when you want to hide raw metrics that are used in math expressions, and show only the expression results. Default: true
|
|
8413
8598
|
'''
|
|
8414
8599
|
...
|
|
8415
8600
|
|
|
@@ -8589,6 +8774,7 @@ class _ITableProxy(
|
|
|
8589
8774
|
account: typing.Optional[builtins.str] = None,
|
|
8590
8775
|
color: typing.Optional[builtins.str] = None,
|
|
8591
8776
|
dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
8777
|
+
id: typing.Optional[builtins.str] = None,
|
|
8592
8778
|
label: typing.Optional[builtins.str] = None,
|
|
8593
8779
|
period: typing.Optional[_Duration_4839e8c3] = None,
|
|
8594
8780
|
region: typing.Optional[builtins.str] = None,
|
|
@@ -8596,6 +8782,7 @@ class _ITableProxy(
|
|
|
8596
8782
|
stack_region: typing.Optional[builtins.str] = None,
|
|
8597
8783
|
statistic: typing.Optional[builtins.str] = None,
|
|
8598
8784
|
unit: typing.Optional[_Unit_61bc6f70] = None,
|
|
8785
|
+
visible: typing.Optional[builtins.bool] = None,
|
|
8599
8786
|
) -> _Metric_e396a4dc:
|
|
8600
8787
|
'''Metric for the number of Errors executing all Lambdas.
|
|
8601
8788
|
|
|
@@ -8603,6 +8790,7 @@ class _ITableProxy(
|
|
|
8603
8790
|
:param account: Account which this metric comes from. Default: - Deployment account.
|
|
8604
8791
|
:param color: The hex color code, prefixed with '#' (e.g. '#00ff00'), to use when this metric is rendered on a graph. The ``Color`` class has a set of standard colors that can be used here. Default: - Automatic color
|
|
8605
8792
|
:param dimensions_map: Dimensions of the metric. Default: - No dimensions.
|
|
8793
|
+
:param id: Unique identifier for this metric when used in dashboard widgets. The id can be used as a variable to represent this metric in math expressions. Valid characters are letters, numbers, and underscore. The first character must be a lowercase letter. Default: - No ID
|
|
8606
8794
|
:param label: Label for this metric when added to a Graph in a Dashboard. You can use `dynamic labels <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/graph-dynamic-labels.html>`_ to show summary information about the entire displayed time series in the legend. For example, if you use:: [max: ${MAX}] MyMetric As the metric label, the maximum value in the visible range will be shown next to the time series name in the graph's legend. Default: - No label
|
|
8607
8795
|
:param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
|
|
8608
8796
|
:param region: Region which this metric comes from. Default: - Deployment region.
|
|
@@ -8610,6 +8798,7 @@ class _ITableProxy(
|
|
|
8610
8798
|
:param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
|
|
8611
8799
|
:param statistic: What function to use for aggregating. Use the ``aws_cloudwatch.Stats`` helper class to construct valid input strings. Can be one of the following: - "Minimum" | "min" - "Maximum" | "max" - "Average" | "avg" - "Sum" | "sum" - "SampleCount | "n" - "pNN.NN" - "tmNN.NN" | "tm(NN.NN%:NN.NN%)" - "iqm" - "wmNN.NN" | "wm(NN.NN%:NN.NN%)" - "tcNN.NN" | "tc(NN.NN%:NN.NN%)" - "tsNN.NN" | "ts(NN.NN%:NN.NN%)" Default: Average
|
|
8612
8800
|
:param unit: Unit used to filter the metric stream. Only refer to datums emitted to the metric stream with the given unit and ignore all others. Only useful when datums are being emitted to the same metric stream under different units. The default is to use all matric datums in the stream, regardless of unit, which is recommended in nearly all cases. CloudWatch does not honor this property for graphs. Default: - All metric datums in the given metric stream
|
|
8801
|
+
:param visible: Whether this metric should be visible in dashboard graphs. Setting this to false is useful when you want to hide raw metrics that are used in math expressions, and show only the expression results. Default: true
|
|
8613
8802
|
'''
|
|
8614
8803
|
if __debug__:
|
|
8615
8804
|
type_hints = typing.get_type_hints(_typecheckingstub__44aae7bfccb81f7147f788917765a21288aff5fe772bb7c0c84ceb7a7f83c6a4)
|
|
@@ -8618,6 +8807,7 @@ class _ITableProxy(
|
|
|
8618
8807
|
account=account,
|
|
8619
8808
|
color=color,
|
|
8620
8809
|
dimensions_map=dimensions_map,
|
|
8810
|
+
id=id,
|
|
8621
8811
|
label=label,
|
|
8622
8812
|
period=period,
|
|
8623
8813
|
region=region,
|
|
@@ -8625,6 +8815,7 @@ class _ITableProxy(
|
|
|
8625
8815
|
stack_region=stack_region,
|
|
8626
8816
|
statistic=statistic,
|
|
8627
8817
|
unit=unit,
|
|
8818
|
+
visible=visible,
|
|
8628
8819
|
)
|
|
8629
8820
|
|
|
8630
8821
|
return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metric", [metric_name, props]))
|
|
@@ -8636,6 +8827,7 @@ class _ITableProxy(
|
|
|
8636
8827
|
account: typing.Optional[builtins.str] = None,
|
|
8637
8828
|
color: typing.Optional[builtins.str] = None,
|
|
8638
8829
|
dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
8830
|
+
id: typing.Optional[builtins.str] = None,
|
|
8639
8831
|
label: typing.Optional[builtins.str] = None,
|
|
8640
8832
|
period: typing.Optional[_Duration_4839e8c3] = None,
|
|
8641
8833
|
region: typing.Optional[builtins.str] = None,
|
|
@@ -8643,12 +8835,14 @@ class _ITableProxy(
|
|
|
8643
8835
|
stack_region: typing.Optional[builtins.str] = None,
|
|
8644
8836
|
statistic: typing.Optional[builtins.str] = None,
|
|
8645
8837
|
unit: typing.Optional[_Unit_61bc6f70] = None,
|
|
8838
|
+
visible: typing.Optional[builtins.bool] = None,
|
|
8646
8839
|
) -> _Metric_e396a4dc:
|
|
8647
8840
|
'''Metric for the conditional check failed requests.
|
|
8648
8841
|
|
|
8649
8842
|
:param account: Account which this metric comes from. Default: - Deployment account.
|
|
8650
8843
|
:param color: The hex color code, prefixed with '#' (e.g. '#00ff00'), to use when this metric is rendered on a graph. The ``Color`` class has a set of standard colors that can be used here. Default: - Automatic color
|
|
8651
8844
|
:param dimensions_map: Dimensions of the metric. Default: - No dimensions.
|
|
8845
|
+
:param id: Unique identifier for this metric when used in dashboard widgets. The id can be used as a variable to represent this metric in math expressions. Valid characters are letters, numbers, and underscore. The first character must be a lowercase letter. Default: - No ID
|
|
8652
8846
|
:param label: Label for this metric when added to a Graph in a Dashboard. You can use `dynamic labels <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/graph-dynamic-labels.html>`_ to show summary information about the entire displayed time series in the legend. For example, if you use:: [max: ${MAX}] MyMetric As the metric label, the maximum value in the visible range will be shown next to the time series name in the graph's legend. Default: - No label
|
|
8653
8847
|
:param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
|
|
8654
8848
|
:param region: Region which this metric comes from. Default: - Deployment region.
|
|
@@ -8656,11 +8850,13 @@ class _ITableProxy(
|
|
|
8656
8850
|
:param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
|
|
8657
8851
|
:param statistic: What function to use for aggregating. Use the ``aws_cloudwatch.Stats`` helper class to construct valid input strings. Can be one of the following: - "Minimum" | "min" - "Maximum" | "max" - "Average" | "avg" - "Sum" | "sum" - "SampleCount | "n" - "pNN.NN" - "tmNN.NN" | "tm(NN.NN%:NN.NN%)" - "iqm" - "wmNN.NN" | "wm(NN.NN%:NN.NN%)" - "tcNN.NN" | "tc(NN.NN%:NN.NN%)" - "tsNN.NN" | "ts(NN.NN%:NN.NN%)" Default: Average
|
|
8658
8852
|
:param unit: Unit used to filter the metric stream. Only refer to datums emitted to the metric stream with the given unit and ignore all others. Only useful when datums are being emitted to the same metric stream under different units. The default is to use all matric datums in the stream, regardless of unit, which is recommended in nearly all cases. CloudWatch does not honor this property for graphs. Default: - All metric datums in the given metric stream
|
|
8853
|
+
:param visible: Whether this metric should be visible in dashboard graphs. Setting this to false is useful when you want to hide raw metrics that are used in math expressions, and show only the expression results. Default: true
|
|
8659
8854
|
'''
|
|
8660
8855
|
props = _MetricOptions_1788b62f(
|
|
8661
8856
|
account=account,
|
|
8662
8857
|
color=color,
|
|
8663
8858
|
dimensions_map=dimensions_map,
|
|
8859
|
+
id=id,
|
|
8664
8860
|
label=label,
|
|
8665
8861
|
period=period,
|
|
8666
8862
|
region=region,
|
|
@@ -8668,6 +8864,7 @@ class _ITableProxy(
|
|
|
8668
8864
|
stack_region=stack_region,
|
|
8669
8865
|
statistic=statistic,
|
|
8670
8866
|
unit=unit,
|
|
8867
|
+
visible=visible,
|
|
8671
8868
|
)
|
|
8672
8869
|
|
|
8673
8870
|
return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricConditionalCheckFailedRequests", [props]))
|
|
@@ -8679,6 +8876,7 @@ class _ITableProxy(
|
|
|
8679
8876
|
account: typing.Optional[builtins.str] = None,
|
|
8680
8877
|
color: typing.Optional[builtins.str] = None,
|
|
8681
8878
|
dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
8879
|
+
id: typing.Optional[builtins.str] = None,
|
|
8682
8880
|
label: typing.Optional[builtins.str] = None,
|
|
8683
8881
|
period: typing.Optional[_Duration_4839e8c3] = None,
|
|
8684
8882
|
region: typing.Optional[builtins.str] = None,
|
|
@@ -8686,12 +8884,14 @@ class _ITableProxy(
|
|
|
8686
8884
|
stack_region: typing.Optional[builtins.str] = None,
|
|
8687
8885
|
statistic: typing.Optional[builtins.str] = None,
|
|
8688
8886
|
unit: typing.Optional[_Unit_61bc6f70] = None,
|
|
8887
|
+
visible: typing.Optional[builtins.bool] = None,
|
|
8689
8888
|
) -> _Metric_e396a4dc:
|
|
8690
8889
|
'''Metric for the consumed read capacity units.
|
|
8691
8890
|
|
|
8692
8891
|
:param account: Account which this metric comes from. Default: - Deployment account.
|
|
8693
8892
|
:param color: The hex color code, prefixed with '#' (e.g. '#00ff00'), to use when this metric is rendered on a graph. The ``Color`` class has a set of standard colors that can be used here. Default: - Automatic color
|
|
8694
8893
|
:param dimensions_map: Dimensions of the metric. Default: - No dimensions.
|
|
8894
|
+
:param id: Unique identifier for this metric when used in dashboard widgets. The id can be used as a variable to represent this metric in math expressions. Valid characters are letters, numbers, and underscore. The first character must be a lowercase letter. Default: - No ID
|
|
8695
8895
|
:param label: Label for this metric when added to a Graph in a Dashboard. You can use `dynamic labels <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/graph-dynamic-labels.html>`_ to show summary information about the entire displayed time series in the legend. For example, if you use:: [max: ${MAX}] MyMetric As the metric label, the maximum value in the visible range will be shown next to the time series name in the graph's legend. Default: - No label
|
|
8696
8896
|
:param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
|
|
8697
8897
|
:param region: Region which this metric comes from. Default: - Deployment region.
|
|
@@ -8699,11 +8899,13 @@ class _ITableProxy(
|
|
|
8699
8899
|
:param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
|
|
8700
8900
|
:param statistic: What function to use for aggregating. Use the ``aws_cloudwatch.Stats`` helper class to construct valid input strings. Can be one of the following: - "Minimum" | "min" - "Maximum" | "max" - "Average" | "avg" - "Sum" | "sum" - "SampleCount | "n" - "pNN.NN" - "tmNN.NN" | "tm(NN.NN%:NN.NN%)" - "iqm" - "wmNN.NN" | "wm(NN.NN%:NN.NN%)" - "tcNN.NN" | "tc(NN.NN%:NN.NN%)" - "tsNN.NN" | "ts(NN.NN%:NN.NN%)" Default: Average
|
|
8701
8901
|
:param unit: Unit used to filter the metric stream. Only refer to datums emitted to the metric stream with the given unit and ignore all others. Only useful when datums are being emitted to the same metric stream under different units. The default is to use all matric datums in the stream, regardless of unit, which is recommended in nearly all cases. CloudWatch does not honor this property for graphs. Default: - All metric datums in the given metric stream
|
|
8902
|
+
:param visible: Whether this metric should be visible in dashboard graphs. Setting this to false is useful when you want to hide raw metrics that are used in math expressions, and show only the expression results. Default: true
|
|
8702
8903
|
'''
|
|
8703
8904
|
props = _MetricOptions_1788b62f(
|
|
8704
8905
|
account=account,
|
|
8705
8906
|
color=color,
|
|
8706
8907
|
dimensions_map=dimensions_map,
|
|
8908
|
+
id=id,
|
|
8707
8909
|
label=label,
|
|
8708
8910
|
period=period,
|
|
8709
8911
|
region=region,
|
|
@@ -8711,6 +8913,7 @@ class _ITableProxy(
|
|
|
8711
8913
|
stack_region=stack_region,
|
|
8712
8914
|
statistic=statistic,
|
|
8713
8915
|
unit=unit,
|
|
8916
|
+
visible=visible,
|
|
8714
8917
|
)
|
|
8715
8918
|
|
|
8716
8919
|
return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricConsumedReadCapacityUnits", [props]))
|
|
@@ -8722,6 +8925,7 @@ class _ITableProxy(
|
|
|
8722
8925
|
account: typing.Optional[builtins.str] = None,
|
|
8723
8926
|
color: typing.Optional[builtins.str] = None,
|
|
8724
8927
|
dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
8928
|
+
id: typing.Optional[builtins.str] = None,
|
|
8725
8929
|
label: typing.Optional[builtins.str] = None,
|
|
8726
8930
|
period: typing.Optional[_Duration_4839e8c3] = None,
|
|
8727
8931
|
region: typing.Optional[builtins.str] = None,
|
|
@@ -8729,12 +8933,14 @@ class _ITableProxy(
|
|
|
8729
8933
|
stack_region: typing.Optional[builtins.str] = None,
|
|
8730
8934
|
statistic: typing.Optional[builtins.str] = None,
|
|
8731
8935
|
unit: typing.Optional[_Unit_61bc6f70] = None,
|
|
8936
|
+
visible: typing.Optional[builtins.bool] = None,
|
|
8732
8937
|
) -> _Metric_e396a4dc:
|
|
8733
8938
|
'''Metric for the consumed write capacity units.
|
|
8734
8939
|
|
|
8735
8940
|
:param account: Account which this metric comes from. Default: - Deployment account.
|
|
8736
8941
|
:param color: The hex color code, prefixed with '#' (e.g. '#00ff00'), to use when this metric is rendered on a graph. The ``Color`` class has a set of standard colors that can be used here. Default: - Automatic color
|
|
8737
8942
|
:param dimensions_map: Dimensions of the metric. Default: - No dimensions.
|
|
8943
|
+
:param id: Unique identifier for this metric when used in dashboard widgets. The id can be used as a variable to represent this metric in math expressions. Valid characters are letters, numbers, and underscore. The first character must be a lowercase letter. Default: - No ID
|
|
8738
8944
|
:param label: Label for this metric when added to a Graph in a Dashboard. You can use `dynamic labels <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/graph-dynamic-labels.html>`_ to show summary information about the entire displayed time series in the legend. For example, if you use:: [max: ${MAX}] MyMetric As the metric label, the maximum value in the visible range will be shown next to the time series name in the graph's legend. Default: - No label
|
|
8739
8945
|
:param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
|
|
8740
8946
|
:param region: Region which this metric comes from. Default: - Deployment region.
|
|
@@ -8742,11 +8948,13 @@ class _ITableProxy(
|
|
|
8742
8948
|
:param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
|
|
8743
8949
|
:param statistic: What function to use for aggregating. Use the ``aws_cloudwatch.Stats`` helper class to construct valid input strings. Can be one of the following: - "Minimum" | "min" - "Maximum" | "max" - "Average" | "avg" - "Sum" | "sum" - "SampleCount | "n" - "pNN.NN" - "tmNN.NN" | "tm(NN.NN%:NN.NN%)" - "iqm" - "wmNN.NN" | "wm(NN.NN%:NN.NN%)" - "tcNN.NN" | "tc(NN.NN%:NN.NN%)" - "tsNN.NN" | "ts(NN.NN%:NN.NN%)" Default: Average
|
|
8744
8950
|
:param unit: Unit used to filter the metric stream. Only refer to datums emitted to the metric stream with the given unit and ignore all others. Only useful when datums are being emitted to the same metric stream under different units. The default is to use all matric datums in the stream, regardless of unit, which is recommended in nearly all cases. CloudWatch does not honor this property for graphs. Default: - All metric datums in the given metric stream
|
|
8951
|
+
:param visible: Whether this metric should be visible in dashboard graphs. Setting this to false is useful when you want to hide raw metrics that are used in math expressions, and show only the expression results. Default: true
|
|
8745
8952
|
'''
|
|
8746
8953
|
props = _MetricOptions_1788b62f(
|
|
8747
8954
|
account=account,
|
|
8748
8955
|
color=color,
|
|
8749
8956
|
dimensions_map=dimensions_map,
|
|
8957
|
+
id=id,
|
|
8750
8958
|
label=label,
|
|
8751
8959
|
period=period,
|
|
8752
8960
|
region=region,
|
|
@@ -8754,6 +8962,7 @@ class _ITableProxy(
|
|
|
8754
8962
|
stack_region=stack_region,
|
|
8755
8963
|
statistic=statistic,
|
|
8756
8964
|
unit=unit,
|
|
8965
|
+
visible=visible,
|
|
8757
8966
|
)
|
|
8758
8967
|
|
|
8759
8968
|
return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricConsumedWriteCapacityUnits", [props]))
|
|
@@ -8765,6 +8974,7 @@ class _ITableProxy(
|
|
|
8765
8974
|
account: typing.Optional[builtins.str] = None,
|
|
8766
8975
|
color: typing.Optional[builtins.str] = None,
|
|
8767
8976
|
dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
8977
|
+
id: typing.Optional[builtins.str] = None,
|
|
8768
8978
|
label: typing.Optional[builtins.str] = None,
|
|
8769
8979
|
period: typing.Optional[_Duration_4839e8c3] = None,
|
|
8770
8980
|
region: typing.Optional[builtins.str] = None,
|
|
@@ -8772,12 +8982,14 @@ class _ITableProxy(
|
|
|
8772
8982
|
stack_region: typing.Optional[builtins.str] = None,
|
|
8773
8983
|
statistic: typing.Optional[builtins.str] = None,
|
|
8774
8984
|
unit: typing.Optional[_Unit_61bc6f70] = None,
|
|
8985
|
+
visible: typing.Optional[builtins.bool] = None,
|
|
8775
8986
|
) -> _Metric_e396a4dc:
|
|
8776
8987
|
'''Metric for the successful request latency.
|
|
8777
8988
|
|
|
8778
8989
|
:param account: Account which this metric comes from. Default: - Deployment account.
|
|
8779
8990
|
:param color: The hex color code, prefixed with '#' (e.g. '#00ff00'), to use when this metric is rendered on a graph. The ``Color`` class has a set of standard colors that can be used here. Default: - Automatic color
|
|
8780
8991
|
:param dimensions_map: Dimensions of the metric. Default: - No dimensions.
|
|
8992
|
+
:param id: Unique identifier for this metric when used in dashboard widgets. The id can be used as a variable to represent this metric in math expressions. Valid characters are letters, numbers, and underscore. The first character must be a lowercase letter. Default: - No ID
|
|
8781
8993
|
:param label: Label for this metric when added to a Graph in a Dashboard. You can use `dynamic labels <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/graph-dynamic-labels.html>`_ to show summary information about the entire displayed time series in the legend. For example, if you use:: [max: ${MAX}] MyMetric As the metric label, the maximum value in the visible range will be shown next to the time series name in the graph's legend. Default: - No label
|
|
8782
8994
|
:param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
|
|
8783
8995
|
:param region: Region which this metric comes from. Default: - Deployment region.
|
|
@@ -8785,11 +8997,13 @@ class _ITableProxy(
|
|
|
8785
8997
|
:param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
|
|
8786
8998
|
:param statistic: What function to use for aggregating. Use the ``aws_cloudwatch.Stats`` helper class to construct valid input strings. Can be one of the following: - "Minimum" | "min" - "Maximum" | "max" - "Average" | "avg" - "Sum" | "sum" - "SampleCount | "n" - "pNN.NN" - "tmNN.NN" | "tm(NN.NN%:NN.NN%)" - "iqm" - "wmNN.NN" | "wm(NN.NN%:NN.NN%)" - "tcNN.NN" | "tc(NN.NN%:NN.NN%)" - "tsNN.NN" | "ts(NN.NN%:NN.NN%)" Default: Average
|
|
8787
8999
|
:param unit: Unit used to filter the metric stream. Only refer to datums emitted to the metric stream with the given unit and ignore all others. Only useful when datums are being emitted to the same metric stream under different units. The default is to use all matric datums in the stream, regardless of unit, which is recommended in nearly all cases. CloudWatch does not honor this property for graphs. Default: - All metric datums in the given metric stream
|
|
9000
|
+
:param visible: Whether this metric should be visible in dashboard graphs. Setting this to false is useful when you want to hide raw metrics that are used in math expressions, and show only the expression results. Default: true
|
|
8788
9001
|
'''
|
|
8789
9002
|
props = _MetricOptions_1788b62f(
|
|
8790
9003
|
account=account,
|
|
8791
9004
|
color=color,
|
|
8792
9005
|
dimensions_map=dimensions_map,
|
|
9006
|
+
id=id,
|
|
8793
9007
|
label=label,
|
|
8794
9008
|
period=period,
|
|
8795
9009
|
region=region,
|
|
@@ -8797,6 +9011,7 @@ class _ITableProxy(
|
|
|
8797
9011
|
stack_region=stack_region,
|
|
8798
9012
|
statistic=statistic,
|
|
8799
9013
|
unit=unit,
|
|
9014
|
+
visible=visible,
|
|
8800
9015
|
)
|
|
8801
9016
|
|
|
8802
9017
|
return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricSuccessfulRequestLatency", [props]))
|
|
@@ -8809,6 +9024,7 @@ class _ITableProxy(
|
|
|
8809
9024
|
account: typing.Optional[builtins.str] = None,
|
|
8810
9025
|
color: typing.Optional[builtins.str] = None,
|
|
8811
9026
|
dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
9027
|
+
id: typing.Optional[builtins.str] = None,
|
|
8812
9028
|
label: typing.Optional[builtins.str] = None,
|
|
8813
9029
|
period: typing.Optional[_Duration_4839e8c3] = None,
|
|
8814
9030
|
region: typing.Optional[builtins.str] = None,
|
|
@@ -8816,6 +9032,7 @@ class _ITableProxy(
|
|
|
8816
9032
|
stack_region: typing.Optional[builtins.str] = None,
|
|
8817
9033
|
statistic: typing.Optional[builtins.str] = None,
|
|
8818
9034
|
unit: typing.Optional[_Unit_61bc6f70] = None,
|
|
9035
|
+
visible: typing.Optional[builtins.bool] = None,
|
|
8819
9036
|
) -> _IMetric_c7fd29de:
|
|
8820
9037
|
'''Metric for the system errors this table.
|
|
8821
9038
|
|
|
@@ -8823,6 +9040,7 @@ class _ITableProxy(
|
|
|
8823
9040
|
:param account: Account which this metric comes from. Default: - Deployment account.
|
|
8824
9041
|
:param color: The hex color code, prefixed with '#' (e.g. '#00ff00'), to use when this metric is rendered on a graph. The ``Color`` class has a set of standard colors that can be used here. Default: - Automatic color
|
|
8825
9042
|
:param dimensions_map: Dimensions of the metric. Default: - No dimensions.
|
|
9043
|
+
:param id: Unique identifier for this metric when used in dashboard widgets. The id can be used as a variable to represent this metric in math expressions. Valid characters are letters, numbers, and underscore. The first character must be a lowercase letter. Default: - No ID
|
|
8826
9044
|
:param label: Label for this metric when added to a Graph in a Dashboard. You can use `dynamic labels <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/graph-dynamic-labels.html>`_ to show summary information about the entire displayed time series in the legend. For example, if you use:: [max: ${MAX}] MyMetric As the metric label, the maximum value in the visible range will be shown next to the time series name in the graph's legend. Default: - No label
|
|
8827
9045
|
:param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
|
|
8828
9046
|
:param region: Region which this metric comes from. Default: - Deployment region.
|
|
@@ -8830,12 +9048,14 @@ class _ITableProxy(
|
|
|
8830
9048
|
:param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
|
|
8831
9049
|
:param statistic: What function to use for aggregating. Use the ``aws_cloudwatch.Stats`` helper class to construct valid input strings. Can be one of the following: - "Minimum" | "min" - "Maximum" | "max" - "Average" | "avg" - "Sum" | "sum" - "SampleCount | "n" - "pNN.NN" - "tmNN.NN" | "tm(NN.NN%:NN.NN%)" - "iqm" - "wmNN.NN" | "wm(NN.NN%:NN.NN%)" - "tcNN.NN" | "tc(NN.NN%:NN.NN%)" - "tsNN.NN" | "ts(NN.NN%:NN.NN%)" Default: Average
|
|
8832
9050
|
:param unit: Unit used to filter the metric stream. Only refer to datums emitted to the metric stream with the given unit and ignore all others. Only useful when datums are being emitted to the same metric stream under different units. The default is to use all matric datums in the stream, regardless of unit, which is recommended in nearly all cases. CloudWatch does not honor this property for graphs. Default: - All metric datums in the given metric stream
|
|
9051
|
+
:param visible: Whether this metric should be visible in dashboard graphs. Setting this to false is useful when you want to hide raw metrics that are used in math expressions, and show only the expression results. Default: true
|
|
8833
9052
|
'''
|
|
8834
9053
|
props = SystemErrorsForOperationsMetricOptions(
|
|
8835
9054
|
operations=operations,
|
|
8836
9055
|
account=account,
|
|
8837
9056
|
color=color,
|
|
8838
9057
|
dimensions_map=dimensions_map,
|
|
9058
|
+
id=id,
|
|
8839
9059
|
label=label,
|
|
8840
9060
|
period=period,
|
|
8841
9061
|
region=region,
|
|
@@ -8843,6 +9063,7 @@ class _ITableProxy(
|
|
|
8843
9063
|
stack_region=stack_region,
|
|
8844
9064
|
statistic=statistic,
|
|
8845
9065
|
unit=unit,
|
|
9066
|
+
visible=visible,
|
|
8846
9067
|
)
|
|
8847
9068
|
|
|
8848
9069
|
return typing.cast(_IMetric_c7fd29de, jsii.invoke(self, "metricSystemErrorsForOperations", [props]))
|
|
@@ -8854,6 +9075,7 @@ class _ITableProxy(
|
|
|
8854
9075
|
account: typing.Optional[builtins.str] = None,
|
|
8855
9076
|
color: typing.Optional[builtins.str] = None,
|
|
8856
9077
|
dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
9078
|
+
id: typing.Optional[builtins.str] = None,
|
|
8857
9079
|
label: typing.Optional[builtins.str] = None,
|
|
8858
9080
|
period: typing.Optional[_Duration_4839e8c3] = None,
|
|
8859
9081
|
region: typing.Optional[builtins.str] = None,
|
|
@@ -8861,12 +9083,14 @@ class _ITableProxy(
|
|
|
8861
9083
|
stack_region: typing.Optional[builtins.str] = None,
|
|
8862
9084
|
statistic: typing.Optional[builtins.str] = None,
|
|
8863
9085
|
unit: typing.Optional[_Unit_61bc6f70] = None,
|
|
9086
|
+
visible: typing.Optional[builtins.bool] = None,
|
|
8864
9087
|
) -> _Metric_e396a4dc:
|
|
8865
9088
|
'''(deprecated) Metric for throttled requests.
|
|
8866
9089
|
|
|
8867
9090
|
:param account: Account which this metric comes from. Default: - Deployment account.
|
|
8868
9091
|
:param color: The hex color code, prefixed with '#' (e.g. '#00ff00'), to use when this metric is rendered on a graph. The ``Color`` class has a set of standard colors that can be used here. Default: - Automatic color
|
|
8869
9092
|
:param dimensions_map: Dimensions of the metric. Default: - No dimensions.
|
|
9093
|
+
:param id: Unique identifier for this metric when used in dashboard widgets. The id can be used as a variable to represent this metric in math expressions. Valid characters are letters, numbers, and underscore. The first character must be a lowercase letter. Default: - No ID
|
|
8870
9094
|
:param label: Label for this metric when added to a Graph in a Dashboard. You can use `dynamic labels <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/graph-dynamic-labels.html>`_ to show summary information about the entire displayed time series in the legend. For example, if you use:: [max: ${MAX}] MyMetric As the metric label, the maximum value in the visible range will be shown next to the time series name in the graph's legend. Default: - No label
|
|
8871
9095
|
:param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
|
|
8872
9096
|
:param region: Region which this metric comes from. Default: - Deployment region.
|
|
@@ -8874,6 +9098,7 @@ class _ITableProxy(
|
|
|
8874
9098
|
:param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
|
|
8875
9099
|
:param statistic: What function to use for aggregating. Use the ``aws_cloudwatch.Stats`` helper class to construct valid input strings. Can be one of the following: - "Minimum" | "min" - "Maximum" | "max" - "Average" | "avg" - "Sum" | "sum" - "SampleCount | "n" - "pNN.NN" - "tmNN.NN" | "tm(NN.NN%:NN.NN%)" - "iqm" - "wmNN.NN" | "wm(NN.NN%:NN.NN%)" - "tcNN.NN" | "tc(NN.NN%:NN.NN%)" - "tsNN.NN" | "ts(NN.NN%:NN.NN%)" Default: Average
|
|
8876
9100
|
:param unit: Unit used to filter the metric stream. Only refer to datums emitted to the metric stream with the given unit and ignore all others. Only useful when datums are being emitted to the same metric stream under different units. The default is to use all matric datums in the stream, regardless of unit, which is recommended in nearly all cases. CloudWatch does not honor this property for graphs. Default: - All metric datums in the given metric stream
|
|
9101
|
+
:param visible: Whether this metric should be visible in dashboard graphs. Setting this to false is useful when you want to hide raw metrics that are used in math expressions, and show only the expression results. Default: true
|
|
8877
9102
|
|
|
8878
9103
|
:deprecated: use ``metricThrottledRequestsForOperations``
|
|
8879
9104
|
|
|
@@ -8883,6 +9108,7 @@ class _ITableProxy(
|
|
|
8883
9108
|
account=account,
|
|
8884
9109
|
color=color,
|
|
8885
9110
|
dimensions_map=dimensions_map,
|
|
9111
|
+
id=id,
|
|
8886
9112
|
label=label,
|
|
8887
9113
|
period=period,
|
|
8888
9114
|
region=region,
|
|
@@ -8890,6 +9116,7 @@ class _ITableProxy(
|
|
|
8890
9116
|
stack_region=stack_region,
|
|
8891
9117
|
statistic=statistic,
|
|
8892
9118
|
unit=unit,
|
|
9119
|
+
visible=visible,
|
|
8893
9120
|
)
|
|
8894
9121
|
|
|
8895
9122
|
return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricThrottledRequests", [props]))
|
|
@@ -8902,6 +9129,7 @@ class _ITableProxy(
|
|
|
8902
9129
|
account: typing.Optional[builtins.str] = None,
|
|
8903
9130
|
color: typing.Optional[builtins.str] = None,
|
|
8904
9131
|
dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
9132
|
+
id: typing.Optional[builtins.str] = None,
|
|
8905
9133
|
label: typing.Optional[builtins.str] = None,
|
|
8906
9134
|
period: typing.Optional[_Duration_4839e8c3] = None,
|
|
8907
9135
|
region: typing.Optional[builtins.str] = None,
|
|
@@ -8909,6 +9137,7 @@ class _ITableProxy(
|
|
|
8909
9137
|
stack_region: typing.Optional[builtins.str] = None,
|
|
8910
9138
|
statistic: typing.Optional[builtins.str] = None,
|
|
8911
9139
|
unit: typing.Optional[_Unit_61bc6f70] = None,
|
|
9140
|
+
visible: typing.Optional[builtins.bool] = None,
|
|
8912
9141
|
) -> _IMetric_c7fd29de:
|
|
8913
9142
|
'''Metric for throttled requests.
|
|
8914
9143
|
|
|
@@ -8916,6 +9145,7 @@ class _ITableProxy(
|
|
|
8916
9145
|
:param account: Account which this metric comes from. Default: - Deployment account.
|
|
8917
9146
|
:param color: The hex color code, prefixed with '#' (e.g. '#00ff00'), to use when this metric is rendered on a graph. The ``Color`` class has a set of standard colors that can be used here. Default: - Automatic color
|
|
8918
9147
|
:param dimensions_map: Dimensions of the metric. Default: - No dimensions.
|
|
9148
|
+
:param id: Unique identifier for this metric when used in dashboard widgets. The id can be used as a variable to represent this metric in math expressions. Valid characters are letters, numbers, and underscore. The first character must be a lowercase letter. Default: - No ID
|
|
8919
9149
|
:param label: Label for this metric when added to a Graph in a Dashboard. You can use `dynamic labels <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/graph-dynamic-labels.html>`_ to show summary information about the entire displayed time series in the legend. For example, if you use:: [max: ${MAX}] MyMetric As the metric label, the maximum value in the visible range will be shown next to the time series name in the graph's legend. Default: - No label
|
|
8920
9150
|
:param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
|
|
8921
9151
|
:param region: Region which this metric comes from. Default: - Deployment region.
|
|
@@ -8923,12 +9153,14 @@ class _ITableProxy(
|
|
|
8923
9153
|
:param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
|
|
8924
9154
|
:param statistic: What function to use for aggregating. Use the ``aws_cloudwatch.Stats`` helper class to construct valid input strings. Can be one of the following: - "Minimum" | "min" - "Maximum" | "max" - "Average" | "avg" - "Sum" | "sum" - "SampleCount | "n" - "pNN.NN" - "tmNN.NN" | "tm(NN.NN%:NN.NN%)" - "iqm" - "wmNN.NN" | "wm(NN.NN%:NN.NN%)" - "tcNN.NN" | "tc(NN.NN%:NN.NN%)" - "tsNN.NN" | "ts(NN.NN%:NN.NN%)" Default: Average
|
|
8925
9155
|
:param unit: Unit used to filter the metric stream. Only refer to datums emitted to the metric stream with the given unit and ignore all others. Only useful when datums are being emitted to the same metric stream under different units. The default is to use all matric datums in the stream, regardless of unit, which is recommended in nearly all cases. CloudWatch does not honor this property for graphs. Default: - All metric datums in the given metric stream
|
|
9156
|
+
:param visible: Whether this metric should be visible in dashboard graphs. Setting this to false is useful when you want to hide raw metrics that are used in math expressions, and show only the expression results. Default: true
|
|
8926
9157
|
'''
|
|
8927
9158
|
props = OperationsMetricOptions(
|
|
8928
9159
|
operations=operations,
|
|
8929
9160
|
account=account,
|
|
8930
9161
|
color=color,
|
|
8931
9162
|
dimensions_map=dimensions_map,
|
|
9163
|
+
id=id,
|
|
8932
9164
|
label=label,
|
|
8933
9165
|
period=period,
|
|
8934
9166
|
region=region,
|
|
@@ -8936,6 +9168,7 @@ class _ITableProxy(
|
|
|
8936
9168
|
stack_region=stack_region,
|
|
8937
9169
|
statistic=statistic,
|
|
8938
9170
|
unit=unit,
|
|
9171
|
+
visible=visible,
|
|
8939
9172
|
)
|
|
8940
9173
|
|
|
8941
9174
|
return typing.cast(_IMetric_c7fd29de, jsii.invoke(self, "metricThrottledRequestsForOperations", [props]))
|
|
@@ -8947,6 +9180,7 @@ class _ITableProxy(
|
|
|
8947
9180
|
account: typing.Optional[builtins.str] = None,
|
|
8948
9181
|
color: typing.Optional[builtins.str] = None,
|
|
8949
9182
|
dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
9183
|
+
id: typing.Optional[builtins.str] = None,
|
|
8950
9184
|
label: typing.Optional[builtins.str] = None,
|
|
8951
9185
|
period: typing.Optional[_Duration_4839e8c3] = None,
|
|
8952
9186
|
region: typing.Optional[builtins.str] = None,
|
|
@@ -8954,12 +9188,14 @@ class _ITableProxy(
|
|
|
8954
9188
|
stack_region: typing.Optional[builtins.str] = None,
|
|
8955
9189
|
statistic: typing.Optional[builtins.str] = None,
|
|
8956
9190
|
unit: typing.Optional[_Unit_61bc6f70] = None,
|
|
9191
|
+
visible: typing.Optional[builtins.bool] = None,
|
|
8957
9192
|
) -> _Metric_e396a4dc:
|
|
8958
9193
|
'''Metric for the user errors.
|
|
8959
9194
|
|
|
8960
9195
|
:param account: Account which this metric comes from. Default: - Deployment account.
|
|
8961
9196
|
:param color: The hex color code, prefixed with '#' (e.g. '#00ff00'), to use when this metric is rendered on a graph. The ``Color`` class has a set of standard colors that can be used here. Default: - Automatic color
|
|
8962
9197
|
:param dimensions_map: Dimensions of the metric. Default: - No dimensions.
|
|
9198
|
+
:param id: Unique identifier for this metric when used in dashboard widgets. The id can be used as a variable to represent this metric in math expressions. Valid characters are letters, numbers, and underscore. The first character must be a lowercase letter. Default: - No ID
|
|
8963
9199
|
:param label: Label for this metric when added to a Graph in a Dashboard. You can use `dynamic labels <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/graph-dynamic-labels.html>`_ to show summary information about the entire displayed time series in the legend. For example, if you use:: [max: ${MAX}] MyMetric As the metric label, the maximum value in the visible range will be shown next to the time series name in the graph's legend. Default: - No label
|
|
8964
9200
|
:param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
|
|
8965
9201
|
:param region: Region which this metric comes from. Default: - Deployment region.
|
|
@@ -8967,11 +9203,13 @@ class _ITableProxy(
|
|
|
8967
9203
|
:param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
|
|
8968
9204
|
:param statistic: What function to use for aggregating. Use the ``aws_cloudwatch.Stats`` helper class to construct valid input strings. Can be one of the following: - "Minimum" | "min" - "Maximum" | "max" - "Average" | "avg" - "Sum" | "sum" - "SampleCount | "n" - "pNN.NN" - "tmNN.NN" | "tm(NN.NN%:NN.NN%)" - "iqm" - "wmNN.NN" | "wm(NN.NN%:NN.NN%)" - "tcNN.NN" | "tc(NN.NN%:NN.NN%)" - "tsNN.NN" | "ts(NN.NN%:NN.NN%)" Default: Average
|
|
8969
9205
|
:param unit: Unit used to filter the metric stream. Only refer to datums emitted to the metric stream with the given unit and ignore all others. Only useful when datums are being emitted to the same metric stream under different units. The default is to use all matric datums in the stream, regardless of unit, which is recommended in nearly all cases. CloudWatch does not honor this property for graphs. Default: - All metric datums in the given metric stream
|
|
9206
|
+
:param visible: Whether this metric should be visible in dashboard graphs. Setting this to false is useful when you want to hide raw metrics that are used in math expressions, and show only the expression results. Default: true
|
|
8970
9207
|
'''
|
|
8971
9208
|
props = _MetricOptions_1788b62f(
|
|
8972
9209
|
account=account,
|
|
8973
9210
|
color=color,
|
|
8974
9211
|
dimensions_map=dimensions_map,
|
|
9212
|
+
id=id,
|
|
8975
9213
|
label=label,
|
|
8976
9214
|
period=period,
|
|
8977
9215
|
region=region,
|
|
@@ -8979,6 +9217,7 @@ class _ITableProxy(
|
|
|
8979
9217
|
stack_region=stack_region,
|
|
8980
9218
|
statistic=statistic,
|
|
8981
9219
|
unit=unit,
|
|
9220
|
+
visible=visible,
|
|
8982
9221
|
)
|
|
8983
9222
|
|
|
8984
9223
|
return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricUserErrors", [props]))
|
|
@@ -9810,6 +10049,7 @@ class StreamViewType(enum.Enum):
|
|
|
9810
10049
|
"account": "account",
|
|
9811
10050
|
"color": "color",
|
|
9812
10051
|
"dimensions_map": "dimensionsMap",
|
|
10052
|
+
"id": "id",
|
|
9813
10053
|
"label": "label",
|
|
9814
10054
|
"period": "period",
|
|
9815
10055
|
"region": "region",
|
|
@@ -9817,6 +10057,7 @@ class StreamViewType(enum.Enum):
|
|
|
9817
10057
|
"stack_region": "stackRegion",
|
|
9818
10058
|
"statistic": "statistic",
|
|
9819
10059
|
"unit": "unit",
|
|
10060
|
+
"visible": "visible",
|
|
9820
10061
|
"operations": "operations",
|
|
9821
10062
|
},
|
|
9822
10063
|
)
|
|
@@ -9827,6 +10068,7 @@ class SystemErrorsForOperationsMetricOptions(_MetricOptions_1788b62f):
|
|
|
9827
10068
|
account: typing.Optional[builtins.str] = None,
|
|
9828
10069
|
color: typing.Optional[builtins.str] = None,
|
|
9829
10070
|
dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
10071
|
+
id: typing.Optional[builtins.str] = None,
|
|
9830
10072
|
label: typing.Optional[builtins.str] = None,
|
|
9831
10073
|
period: typing.Optional[_Duration_4839e8c3] = None,
|
|
9832
10074
|
region: typing.Optional[builtins.str] = None,
|
|
@@ -9834,6 +10076,7 @@ class SystemErrorsForOperationsMetricOptions(_MetricOptions_1788b62f):
|
|
|
9834
10076
|
stack_region: typing.Optional[builtins.str] = None,
|
|
9835
10077
|
statistic: typing.Optional[builtins.str] = None,
|
|
9836
10078
|
unit: typing.Optional[_Unit_61bc6f70] = None,
|
|
10079
|
+
visible: typing.Optional[builtins.bool] = None,
|
|
9837
10080
|
operations: typing.Optional[typing.Sequence[Operation]] = None,
|
|
9838
10081
|
) -> None:
|
|
9839
10082
|
'''Options for configuring a system errors metric that considers multiple operations.
|
|
@@ -9841,6 +10084,7 @@ class SystemErrorsForOperationsMetricOptions(_MetricOptions_1788b62f):
|
|
|
9841
10084
|
:param account: Account which this metric comes from. Default: - Deployment account.
|
|
9842
10085
|
:param color: The hex color code, prefixed with '#' (e.g. '#00ff00'), to use when this metric is rendered on a graph. The ``Color`` class has a set of standard colors that can be used here. Default: - Automatic color
|
|
9843
10086
|
:param dimensions_map: Dimensions of the metric. Default: - No dimensions.
|
|
10087
|
+
:param id: Unique identifier for this metric when used in dashboard widgets. The id can be used as a variable to represent this metric in math expressions. Valid characters are letters, numbers, and underscore. The first character must be a lowercase letter. Default: - No ID
|
|
9844
10088
|
:param label: Label for this metric when added to a Graph in a Dashboard. You can use `dynamic labels <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/graph-dynamic-labels.html>`_ to show summary information about the entire displayed time series in the legend. For example, if you use:: [max: ${MAX}] MyMetric As the metric label, the maximum value in the visible range will be shown next to the time series name in the graph's legend. Default: - No label
|
|
9845
10089
|
:param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
|
|
9846
10090
|
:param region: Region which this metric comes from. Default: - Deployment region.
|
|
@@ -9848,6 +10092,7 @@ class SystemErrorsForOperationsMetricOptions(_MetricOptions_1788b62f):
|
|
|
9848
10092
|
:param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
|
|
9849
10093
|
:param statistic: What function to use for aggregating. Use the ``aws_cloudwatch.Stats`` helper class to construct valid input strings. Can be one of the following: - "Minimum" | "min" - "Maximum" | "max" - "Average" | "avg" - "Sum" | "sum" - "SampleCount | "n" - "pNN.NN" - "tmNN.NN" | "tm(NN.NN%:NN.NN%)" - "iqm" - "wmNN.NN" | "wm(NN.NN%:NN.NN%)" - "tcNN.NN" | "tc(NN.NN%:NN.NN%)" - "tsNN.NN" | "ts(NN.NN%:NN.NN%)" Default: Average
|
|
9850
10094
|
:param unit: Unit used to filter the metric stream. Only refer to datums emitted to the metric stream with the given unit and ignore all others. Only useful when datums are being emitted to the same metric stream under different units. The default is to use all matric datums in the stream, regardless of unit, which is recommended in nearly all cases. CloudWatch does not honor this property for graphs. Default: - All metric datums in the given metric stream
|
|
10095
|
+
:param visible: Whether this metric should be visible in dashboard graphs. Setting this to false is useful when you want to hide raw metrics that are used in math expressions, and show only the expression results. Default: true
|
|
9851
10096
|
:param operations: The operations to apply the metric to. Default: - All operations available by DynamoDB tables will be considered.
|
|
9852
10097
|
|
|
9853
10098
|
:exampleMetadata: fixture=_generated
|
|
@@ -9866,6 +10111,7 @@ class SystemErrorsForOperationsMetricOptions(_MetricOptions_1788b62f):
|
|
|
9866
10111
|
dimensions_map={
|
|
9867
10112
|
"dimensions_map_key": "dimensionsMap"
|
|
9868
10113
|
},
|
|
10114
|
+
id="id",
|
|
9869
10115
|
label="label",
|
|
9870
10116
|
operations=[dynamodb.Operation.GET_ITEM],
|
|
9871
10117
|
period=cdk.Duration.minutes(30),
|
|
@@ -9873,7 +10119,8 @@ class SystemErrorsForOperationsMetricOptions(_MetricOptions_1788b62f):
|
|
|
9873
10119
|
stack_account="stackAccount",
|
|
9874
10120
|
stack_region="stackRegion",
|
|
9875
10121
|
statistic="statistic",
|
|
9876
|
-
unit=cloudwatch.Unit.SECONDS
|
|
10122
|
+
unit=cloudwatch.Unit.SECONDS,
|
|
10123
|
+
visible=False
|
|
9877
10124
|
)
|
|
9878
10125
|
'''
|
|
9879
10126
|
if __debug__:
|
|
@@ -9881,6 +10128,7 @@ class SystemErrorsForOperationsMetricOptions(_MetricOptions_1788b62f):
|
|
|
9881
10128
|
check_type(argname="argument account", value=account, expected_type=type_hints["account"])
|
|
9882
10129
|
check_type(argname="argument color", value=color, expected_type=type_hints["color"])
|
|
9883
10130
|
check_type(argname="argument dimensions_map", value=dimensions_map, expected_type=type_hints["dimensions_map"])
|
|
10131
|
+
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
9884
10132
|
check_type(argname="argument label", value=label, expected_type=type_hints["label"])
|
|
9885
10133
|
check_type(argname="argument period", value=period, expected_type=type_hints["period"])
|
|
9886
10134
|
check_type(argname="argument region", value=region, expected_type=type_hints["region"])
|
|
@@ -9888,6 +10136,7 @@ class SystemErrorsForOperationsMetricOptions(_MetricOptions_1788b62f):
|
|
|
9888
10136
|
check_type(argname="argument stack_region", value=stack_region, expected_type=type_hints["stack_region"])
|
|
9889
10137
|
check_type(argname="argument statistic", value=statistic, expected_type=type_hints["statistic"])
|
|
9890
10138
|
check_type(argname="argument unit", value=unit, expected_type=type_hints["unit"])
|
|
10139
|
+
check_type(argname="argument visible", value=visible, expected_type=type_hints["visible"])
|
|
9891
10140
|
check_type(argname="argument operations", value=operations, expected_type=type_hints["operations"])
|
|
9892
10141
|
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
9893
10142
|
if account is not None:
|
|
@@ -9896,6 +10145,8 @@ class SystemErrorsForOperationsMetricOptions(_MetricOptions_1788b62f):
|
|
|
9896
10145
|
self._values["color"] = color
|
|
9897
10146
|
if dimensions_map is not None:
|
|
9898
10147
|
self._values["dimensions_map"] = dimensions_map
|
|
10148
|
+
if id is not None:
|
|
10149
|
+
self._values["id"] = id
|
|
9899
10150
|
if label is not None:
|
|
9900
10151
|
self._values["label"] = label
|
|
9901
10152
|
if period is not None:
|
|
@@ -9910,6 +10161,8 @@ class SystemErrorsForOperationsMetricOptions(_MetricOptions_1788b62f):
|
|
|
9910
10161
|
self._values["statistic"] = statistic
|
|
9911
10162
|
if unit is not None:
|
|
9912
10163
|
self._values["unit"] = unit
|
|
10164
|
+
if visible is not None:
|
|
10165
|
+
self._values["visible"] = visible
|
|
9913
10166
|
if operations is not None:
|
|
9914
10167
|
self._values["operations"] = operations
|
|
9915
10168
|
|
|
@@ -9942,6 +10195,19 @@ class SystemErrorsForOperationsMetricOptions(_MetricOptions_1788b62f):
|
|
|
9942
10195
|
result = self._values.get("dimensions_map")
|
|
9943
10196
|
return typing.cast(typing.Optional[typing.Mapping[builtins.str, builtins.str]], result)
|
|
9944
10197
|
|
|
10198
|
+
@builtins.property
|
|
10199
|
+
def id(self) -> typing.Optional[builtins.str]:
|
|
10200
|
+
'''Unique identifier for this metric when used in dashboard widgets.
|
|
10201
|
+
|
|
10202
|
+
The id can be used as a variable to represent this metric in math expressions.
|
|
10203
|
+
Valid characters are letters, numbers, and underscore. The first character
|
|
10204
|
+
must be a lowercase letter.
|
|
10205
|
+
|
|
10206
|
+
:default: - No ID
|
|
10207
|
+
'''
|
|
10208
|
+
result = self._values.get("id")
|
|
10209
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
10210
|
+
|
|
9945
10211
|
@builtins.property
|
|
9946
10212
|
def label(self) -> typing.Optional[builtins.str]:
|
|
9947
10213
|
'''Label for this metric when added to a Graph in a Dashboard.
|
|
@@ -10039,6 +10305,18 @@ class SystemErrorsForOperationsMetricOptions(_MetricOptions_1788b62f):
|
|
|
10039
10305
|
result = self._values.get("unit")
|
|
10040
10306
|
return typing.cast(typing.Optional[_Unit_61bc6f70], result)
|
|
10041
10307
|
|
|
10308
|
+
@builtins.property
|
|
10309
|
+
def visible(self) -> typing.Optional[builtins.bool]:
|
|
10310
|
+
'''Whether this metric should be visible in dashboard graphs.
|
|
10311
|
+
|
|
10312
|
+
Setting this to false is useful when you want to hide raw metrics
|
|
10313
|
+
that are used in math expressions, and show only the expression results.
|
|
10314
|
+
|
|
10315
|
+
:default: true
|
|
10316
|
+
'''
|
|
10317
|
+
result = self._values.get("visible")
|
|
10318
|
+
return typing.cast(typing.Optional[builtins.bool], result)
|
|
10319
|
+
|
|
10042
10320
|
@builtins.property
|
|
10043
10321
|
def operations(self) -> typing.Optional[typing.List[Operation]]:
|
|
10044
10322
|
'''The operations to apply the metric to.
|
|
@@ -10608,6 +10886,7 @@ class TableBase(
|
|
|
10608
10886
|
account: typing.Optional[builtins.str] = None,
|
|
10609
10887
|
color: typing.Optional[builtins.str] = None,
|
|
10610
10888
|
dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
10889
|
+
id: typing.Optional[builtins.str] = None,
|
|
10611
10890
|
label: typing.Optional[builtins.str] = None,
|
|
10612
10891
|
period: typing.Optional[_Duration_4839e8c3] = None,
|
|
10613
10892
|
region: typing.Optional[builtins.str] = None,
|
|
@@ -10615,6 +10894,7 @@ class TableBase(
|
|
|
10615
10894
|
stack_region: typing.Optional[builtins.str] = None,
|
|
10616
10895
|
statistic: typing.Optional[builtins.str] = None,
|
|
10617
10896
|
unit: typing.Optional[_Unit_61bc6f70] = None,
|
|
10897
|
+
visible: typing.Optional[builtins.bool] = None,
|
|
10618
10898
|
) -> _Metric_e396a4dc:
|
|
10619
10899
|
'''Return the given named metric for this Table.
|
|
10620
10900
|
|
|
@@ -10625,6 +10905,7 @@ class TableBase(
|
|
|
10625
10905
|
:param account: Account which this metric comes from. Default: - Deployment account.
|
|
10626
10906
|
:param color: The hex color code, prefixed with '#' (e.g. '#00ff00'), to use when this metric is rendered on a graph. The ``Color`` class has a set of standard colors that can be used here. Default: - Automatic color
|
|
10627
10907
|
:param dimensions_map: Dimensions of the metric. Default: - No dimensions.
|
|
10908
|
+
:param id: Unique identifier for this metric when used in dashboard widgets. The id can be used as a variable to represent this metric in math expressions. Valid characters are letters, numbers, and underscore. The first character must be a lowercase letter. Default: - No ID
|
|
10628
10909
|
:param label: Label for this metric when added to a Graph in a Dashboard. You can use `dynamic labels <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/graph-dynamic-labels.html>`_ to show summary information about the entire displayed time series in the legend. For example, if you use:: [max: ${MAX}] MyMetric As the metric label, the maximum value in the visible range will be shown next to the time series name in the graph's legend. Default: - No label
|
|
10629
10910
|
:param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
|
|
10630
10911
|
:param region: Region which this metric comes from. Default: - Deployment region.
|
|
@@ -10632,6 +10913,7 @@ class TableBase(
|
|
|
10632
10913
|
:param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
|
|
10633
10914
|
:param statistic: What function to use for aggregating. Use the ``aws_cloudwatch.Stats`` helper class to construct valid input strings. Can be one of the following: - "Minimum" | "min" - "Maximum" | "max" - "Average" | "avg" - "Sum" | "sum" - "SampleCount | "n" - "pNN.NN" - "tmNN.NN" | "tm(NN.NN%:NN.NN%)" - "iqm" - "wmNN.NN" | "wm(NN.NN%:NN.NN%)" - "tcNN.NN" | "tc(NN.NN%:NN.NN%)" - "tsNN.NN" | "ts(NN.NN%:NN.NN%)" Default: Average
|
|
10634
10915
|
:param unit: Unit used to filter the metric stream. Only refer to datums emitted to the metric stream with the given unit and ignore all others. Only useful when datums are being emitted to the same metric stream under different units. The default is to use all matric datums in the stream, regardless of unit, which is recommended in nearly all cases. CloudWatch does not honor this property for graphs. Default: - All metric datums in the given metric stream
|
|
10916
|
+
:param visible: Whether this metric should be visible in dashboard graphs. Setting this to false is useful when you want to hide raw metrics that are used in math expressions, and show only the expression results. Default: true
|
|
10635
10917
|
'''
|
|
10636
10918
|
if __debug__:
|
|
10637
10919
|
type_hints = typing.get_type_hints(_typecheckingstub__1b1ff6b5154d6682d8764a47052a06d5305d9f6a41c79c8c293c1994970bd818)
|
|
@@ -10640,6 +10922,7 @@ class TableBase(
|
|
|
10640
10922
|
account=account,
|
|
10641
10923
|
color=color,
|
|
10642
10924
|
dimensions_map=dimensions_map,
|
|
10925
|
+
id=id,
|
|
10643
10926
|
label=label,
|
|
10644
10927
|
period=period,
|
|
10645
10928
|
region=region,
|
|
@@ -10647,6 +10930,7 @@ class TableBase(
|
|
|
10647
10930
|
stack_region=stack_region,
|
|
10648
10931
|
statistic=statistic,
|
|
10649
10932
|
unit=unit,
|
|
10933
|
+
visible=visible,
|
|
10650
10934
|
)
|
|
10651
10935
|
|
|
10652
10936
|
return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metric", [metric_name, props]))
|
|
@@ -10658,6 +10942,7 @@ class TableBase(
|
|
|
10658
10942
|
account: typing.Optional[builtins.str] = None,
|
|
10659
10943
|
color: typing.Optional[builtins.str] = None,
|
|
10660
10944
|
dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
10945
|
+
id: typing.Optional[builtins.str] = None,
|
|
10661
10946
|
label: typing.Optional[builtins.str] = None,
|
|
10662
10947
|
period: typing.Optional[_Duration_4839e8c3] = None,
|
|
10663
10948
|
region: typing.Optional[builtins.str] = None,
|
|
@@ -10665,6 +10950,7 @@ class TableBase(
|
|
|
10665
10950
|
stack_region: typing.Optional[builtins.str] = None,
|
|
10666
10951
|
statistic: typing.Optional[builtins.str] = None,
|
|
10667
10952
|
unit: typing.Optional[_Unit_61bc6f70] = None,
|
|
10953
|
+
visible: typing.Optional[builtins.bool] = None,
|
|
10668
10954
|
) -> _Metric_e396a4dc:
|
|
10669
10955
|
'''Metric for the conditional check failed requests this table.
|
|
10670
10956
|
|
|
@@ -10674,6 +10960,7 @@ class TableBase(
|
|
|
10674
10960
|
:param account: Account which this metric comes from. Default: - Deployment account.
|
|
10675
10961
|
:param color: The hex color code, prefixed with '#' (e.g. '#00ff00'), to use when this metric is rendered on a graph. The ``Color`` class has a set of standard colors that can be used here. Default: - Automatic color
|
|
10676
10962
|
:param dimensions_map: Dimensions of the metric. Default: - No dimensions.
|
|
10963
|
+
:param id: Unique identifier for this metric when used in dashboard widgets. The id can be used as a variable to represent this metric in math expressions. Valid characters are letters, numbers, and underscore. The first character must be a lowercase letter. Default: - No ID
|
|
10677
10964
|
:param label: Label for this metric when added to a Graph in a Dashboard. You can use `dynamic labels <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/graph-dynamic-labels.html>`_ to show summary information about the entire displayed time series in the legend. For example, if you use:: [max: ${MAX}] MyMetric As the metric label, the maximum value in the visible range will be shown next to the time series name in the graph's legend. Default: - No label
|
|
10678
10965
|
:param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
|
|
10679
10966
|
:param region: Region which this metric comes from. Default: - Deployment region.
|
|
@@ -10681,11 +10968,13 @@ class TableBase(
|
|
|
10681
10968
|
:param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
|
|
10682
10969
|
:param statistic: What function to use for aggregating. Use the ``aws_cloudwatch.Stats`` helper class to construct valid input strings. Can be one of the following: - "Minimum" | "min" - "Maximum" | "max" - "Average" | "avg" - "Sum" | "sum" - "SampleCount | "n" - "pNN.NN" - "tmNN.NN" | "tm(NN.NN%:NN.NN%)" - "iqm" - "wmNN.NN" | "wm(NN.NN%:NN.NN%)" - "tcNN.NN" | "tc(NN.NN%:NN.NN%)" - "tsNN.NN" | "ts(NN.NN%:NN.NN%)" Default: Average
|
|
10683
10970
|
:param unit: Unit used to filter the metric stream. Only refer to datums emitted to the metric stream with the given unit and ignore all others. Only useful when datums are being emitted to the same metric stream under different units. The default is to use all matric datums in the stream, regardless of unit, which is recommended in nearly all cases. CloudWatch does not honor this property for graphs. Default: - All metric datums in the given metric stream
|
|
10971
|
+
:param visible: Whether this metric should be visible in dashboard graphs. Setting this to false is useful when you want to hide raw metrics that are used in math expressions, and show only the expression results. Default: true
|
|
10684
10972
|
'''
|
|
10685
10973
|
props = _MetricOptions_1788b62f(
|
|
10686
10974
|
account=account,
|
|
10687
10975
|
color=color,
|
|
10688
10976
|
dimensions_map=dimensions_map,
|
|
10977
|
+
id=id,
|
|
10689
10978
|
label=label,
|
|
10690
10979
|
period=period,
|
|
10691
10980
|
region=region,
|
|
@@ -10693,6 +10982,7 @@ class TableBase(
|
|
|
10693
10982
|
stack_region=stack_region,
|
|
10694
10983
|
statistic=statistic,
|
|
10695
10984
|
unit=unit,
|
|
10985
|
+
visible=visible,
|
|
10696
10986
|
)
|
|
10697
10987
|
|
|
10698
10988
|
return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricConditionalCheckFailedRequests", [props]))
|
|
@@ -10704,6 +10994,7 @@ class TableBase(
|
|
|
10704
10994
|
account: typing.Optional[builtins.str] = None,
|
|
10705
10995
|
color: typing.Optional[builtins.str] = None,
|
|
10706
10996
|
dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
10997
|
+
id: typing.Optional[builtins.str] = None,
|
|
10707
10998
|
label: typing.Optional[builtins.str] = None,
|
|
10708
10999
|
period: typing.Optional[_Duration_4839e8c3] = None,
|
|
10709
11000
|
region: typing.Optional[builtins.str] = None,
|
|
@@ -10711,6 +11002,7 @@ class TableBase(
|
|
|
10711
11002
|
stack_region: typing.Optional[builtins.str] = None,
|
|
10712
11003
|
statistic: typing.Optional[builtins.str] = None,
|
|
10713
11004
|
unit: typing.Optional[_Unit_61bc6f70] = None,
|
|
11005
|
+
visible: typing.Optional[builtins.bool] = None,
|
|
10714
11006
|
) -> _Metric_e396a4dc:
|
|
10715
11007
|
'''Metric for the consumed read capacity units this table.
|
|
10716
11008
|
|
|
@@ -10720,6 +11012,7 @@ class TableBase(
|
|
|
10720
11012
|
:param account: Account which this metric comes from. Default: - Deployment account.
|
|
10721
11013
|
:param color: The hex color code, prefixed with '#' (e.g. '#00ff00'), to use when this metric is rendered on a graph. The ``Color`` class has a set of standard colors that can be used here. Default: - Automatic color
|
|
10722
11014
|
:param dimensions_map: Dimensions of the metric. Default: - No dimensions.
|
|
11015
|
+
:param id: Unique identifier for this metric when used in dashboard widgets. The id can be used as a variable to represent this metric in math expressions. Valid characters are letters, numbers, and underscore. The first character must be a lowercase letter. Default: - No ID
|
|
10723
11016
|
:param label: Label for this metric when added to a Graph in a Dashboard. You can use `dynamic labels <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/graph-dynamic-labels.html>`_ to show summary information about the entire displayed time series in the legend. For example, if you use:: [max: ${MAX}] MyMetric As the metric label, the maximum value in the visible range will be shown next to the time series name in the graph's legend. Default: - No label
|
|
10724
11017
|
:param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
|
|
10725
11018
|
:param region: Region which this metric comes from. Default: - Deployment region.
|
|
@@ -10727,11 +11020,13 @@ class TableBase(
|
|
|
10727
11020
|
:param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
|
|
10728
11021
|
:param statistic: What function to use for aggregating. Use the ``aws_cloudwatch.Stats`` helper class to construct valid input strings. Can be one of the following: - "Minimum" | "min" - "Maximum" | "max" - "Average" | "avg" - "Sum" | "sum" - "SampleCount | "n" - "pNN.NN" - "tmNN.NN" | "tm(NN.NN%:NN.NN%)" - "iqm" - "wmNN.NN" | "wm(NN.NN%:NN.NN%)" - "tcNN.NN" | "tc(NN.NN%:NN.NN%)" - "tsNN.NN" | "ts(NN.NN%:NN.NN%)" Default: Average
|
|
10729
11022
|
:param unit: Unit used to filter the metric stream. Only refer to datums emitted to the metric stream with the given unit and ignore all others. Only useful when datums are being emitted to the same metric stream under different units. The default is to use all matric datums in the stream, regardless of unit, which is recommended in nearly all cases. CloudWatch does not honor this property for graphs. Default: - All metric datums in the given metric stream
|
|
11023
|
+
:param visible: Whether this metric should be visible in dashboard graphs. Setting this to false is useful when you want to hide raw metrics that are used in math expressions, and show only the expression results. Default: true
|
|
10730
11024
|
'''
|
|
10731
11025
|
props = _MetricOptions_1788b62f(
|
|
10732
11026
|
account=account,
|
|
10733
11027
|
color=color,
|
|
10734
11028
|
dimensions_map=dimensions_map,
|
|
11029
|
+
id=id,
|
|
10735
11030
|
label=label,
|
|
10736
11031
|
period=period,
|
|
10737
11032
|
region=region,
|
|
@@ -10739,6 +11034,7 @@ class TableBase(
|
|
|
10739
11034
|
stack_region=stack_region,
|
|
10740
11035
|
statistic=statistic,
|
|
10741
11036
|
unit=unit,
|
|
11037
|
+
visible=visible,
|
|
10742
11038
|
)
|
|
10743
11039
|
|
|
10744
11040
|
return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricConsumedReadCapacityUnits", [props]))
|
|
@@ -10750,6 +11046,7 @@ class TableBase(
|
|
|
10750
11046
|
account: typing.Optional[builtins.str] = None,
|
|
10751
11047
|
color: typing.Optional[builtins.str] = None,
|
|
10752
11048
|
dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
11049
|
+
id: typing.Optional[builtins.str] = None,
|
|
10753
11050
|
label: typing.Optional[builtins.str] = None,
|
|
10754
11051
|
period: typing.Optional[_Duration_4839e8c3] = None,
|
|
10755
11052
|
region: typing.Optional[builtins.str] = None,
|
|
@@ -10757,6 +11054,7 @@ class TableBase(
|
|
|
10757
11054
|
stack_region: typing.Optional[builtins.str] = None,
|
|
10758
11055
|
statistic: typing.Optional[builtins.str] = None,
|
|
10759
11056
|
unit: typing.Optional[_Unit_61bc6f70] = None,
|
|
11057
|
+
visible: typing.Optional[builtins.bool] = None,
|
|
10760
11058
|
) -> _Metric_e396a4dc:
|
|
10761
11059
|
'''Metric for the consumed write capacity units this table.
|
|
10762
11060
|
|
|
@@ -10766,6 +11064,7 @@ class TableBase(
|
|
|
10766
11064
|
:param account: Account which this metric comes from. Default: - Deployment account.
|
|
10767
11065
|
:param color: The hex color code, prefixed with '#' (e.g. '#00ff00'), to use when this metric is rendered on a graph. The ``Color`` class has a set of standard colors that can be used here. Default: - Automatic color
|
|
10768
11066
|
:param dimensions_map: Dimensions of the metric. Default: - No dimensions.
|
|
11067
|
+
:param id: Unique identifier for this metric when used in dashboard widgets. The id can be used as a variable to represent this metric in math expressions. Valid characters are letters, numbers, and underscore. The first character must be a lowercase letter. Default: - No ID
|
|
10769
11068
|
:param label: Label for this metric when added to a Graph in a Dashboard. You can use `dynamic labels <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/graph-dynamic-labels.html>`_ to show summary information about the entire displayed time series in the legend. For example, if you use:: [max: ${MAX}] MyMetric As the metric label, the maximum value in the visible range will be shown next to the time series name in the graph's legend. Default: - No label
|
|
10770
11069
|
:param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
|
|
10771
11070
|
:param region: Region which this metric comes from. Default: - Deployment region.
|
|
@@ -10773,11 +11072,13 @@ class TableBase(
|
|
|
10773
11072
|
:param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
|
|
10774
11073
|
:param statistic: What function to use for aggregating. Use the ``aws_cloudwatch.Stats`` helper class to construct valid input strings. Can be one of the following: - "Minimum" | "min" - "Maximum" | "max" - "Average" | "avg" - "Sum" | "sum" - "SampleCount | "n" - "pNN.NN" - "tmNN.NN" | "tm(NN.NN%:NN.NN%)" - "iqm" - "wmNN.NN" | "wm(NN.NN%:NN.NN%)" - "tcNN.NN" | "tc(NN.NN%:NN.NN%)" - "tsNN.NN" | "ts(NN.NN%:NN.NN%)" Default: Average
|
|
10775
11074
|
:param unit: Unit used to filter the metric stream. Only refer to datums emitted to the metric stream with the given unit and ignore all others. Only useful when datums are being emitted to the same metric stream under different units. The default is to use all matric datums in the stream, regardless of unit, which is recommended in nearly all cases. CloudWatch does not honor this property for graphs. Default: - All metric datums in the given metric stream
|
|
11075
|
+
:param visible: Whether this metric should be visible in dashboard graphs. Setting this to false is useful when you want to hide raw metrics that are used in math expressions, and show only the expression results. Default: true
|
|
10776
11076
|
'''
|
|
10777
11077
|
props = _MetricOptions_1788b62f(
|
|
10778
11078
|
account=account,
|
|
10779
11079
|
color=color,
|
|
10780
11080
|
dimensions_map=dimensions_map,
|
|
11081
|
+
id=id,
|
|
10781
11082
|
label=label,
|
|
10782
11083
|
period=period,
|
|
10783
11084
|
region=region,
|
|
@@ -10785,6 +11086,7 @@ class TableBase(
|
|
|
10785
11086
|
stack_region=stack_region,
|
|
10786
11087
|
statistic=statistic,
|
|
10787
11088
|
unit=unit,
|
|
11089
|
+
visible=visible,
|
|
10788
11090
|
)
|
|
10789
11091
|
|
|
10790
11092
|
return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricConsumedWriteCapacityUnits", [props]))
|
|
@@ -10796,6 +11098,7 @@ class TableBase(
|
|
|
10796
11098
|
account: typing.Optional[builtins.str] = None,
|
|
10797
11099
|
color: typing.Optional[builtins.str] = None,
|
|
10798
11100
|
dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
11101
|
+
id: typing.Optional[builtins.str] = None,
|
|
10799
11102
|
label: typing.Optional[builtins.str] = None,
|
|
10800
11103
|
period: typing.Optional[_Duration_4839e8c3] = None,
|
|
10801
11104
|
region: typing.Optional[builtins.str] = None,
|
|
@@ -10803,6 +11106,7 @@ class TableBase(
|
|
|
10803
11106
|
stack_region: typing.Optional[builtins.str] = None,
|
|
10804
11107
|
statistic: typing.Optional[builtins.str] = None,
|
|
10805
11108
|
unit: typing.Optional[_Unit_61bc6f70] = None,
|
|
11109
|
+
visible: typing.Optional[builtins.bool] = None,
|
|
10806
11110
|
) -> _Metric_e396a4dc:
|
|
10807
11111
|
'''Metric for the successful request latency this table.
|
|
10808
11112
|
|
|
@@ -10812,6 +11116,7 @@ class TableBase(
|
|
|
10812
11116
|
:param account: Account which this metric comes from. Default: - Deployment account.
|
|
10813
11117
|
:param color: The hex color code, prefixed with '#' (e.g. '#00ff00'), to use when this metric is rendered on a graph. The ``Color`` class has a set of standard colors that can be used here. Default: - Automatic color
|
|
10814
11118
|
:param dimensions_map: Dimensions of the metric. Default: - No dimensions.
|
|
11119
|
+
:param id: Unique identifier for this metric when used in dashboard widgets. The id can be used as a variable to represent this metric in math expressions. Valid characters are letters, numbers, and underscore. The first character must be a lowercase letter. Default: - No ID
|
|
10815
11120
|
:param label: Label for this metric when added to a Graph in a Dashboard. You can use `dynamic labels <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/graph-dynamic-labels.html>`_ to show summary information about the entire displayed time series in the legend. For example, if you use:: [max: ${MAX}] MyMetric As the metric label, the maximum value in the visible range will be shown next to the time series name in the graph's legend. Default: - No label
|
|
10816
11121
|
:param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
|
|
10817
11122
|
:param region: Region which this metric comes from. Default: - Deployment region.
|
|
@@ -10819,11 +11124,13 @@ class TableBase(
|
|
|
10819
11124
|
:param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
|
|
10820
11125
|
:param statistic: What function to use for aggregating. Use the ``aws_cloudwatch.Stats`` helper class to construct valid input strings. Can be one of the following: - "Minimum" | "min" - "Maximum" | "max" - "Average" | "avg" - "Sum" | "sum" - "SampleCount | "n" - "pNN.NN" - "tmNN.NN" | "tm(NN.NN%:NN.NN%)" - "iqm" - "wmNN.NN" | "wm(NN.NN%:NN.NN%)" - "tcNN.NN" | "tc(NN.NN%:NN.NN%)" - "tsNN.NN" | "ts(NN.NN%:NN.NN%)" Default: Average
|
|
10821
11126
|
:param unit: Unit used to filter the metric stream. Only refer to datums emitted to the metric stream with the given unit and ignore all others. Only useful when datums are being emitted to the same metric stream under different units. The default is to use all matric datums in the stream, regardless of unit, which is recommended in nearly all cases. CloudWatch does not honor this property for graphs. Default: - All metric datums in the given metric stream
|
|
11127
|
+
:param visible: Whether this metric should be visible in dashboard graphs. Setting this to false is useful when you want to hide raw metrics that are used in math expressions, and show only the expression results. Default: true
|
|
10822
11128
|
'''
|
|
10823
11129
|
props = _MetricOptions_1788b62f(
|
|
10824
11130
|
account=account,
|
|
10825
11131
|
color=color,
|
|
10826
11132
|
dimensions_map=dimensions_map,
|
|
11133
|
+
id=id,
|
|
10827
11134
|
label=label,
|
|
10828
11135
|
period=period,
|
|
10829
11136
|
region=region,
|
|
@@ -10831,6 +11138,7 @@ class TableBase(
|
|
|
10831
11138
|
stack_region=stack_region,
|
|
10832
11139
|
statistic=statistic,
|
|
10833
11140
|
unit=unit,
|
|
11141
|
+
visible=visible,
|
|
10834
11142
|
)
|
|
10835
11143
|
|
|
10836
11144
|
return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricSuccessfulRequestLatency", [props]))
|
|
@@ -10842,6 +11150,7 @@ class TableBase(
|
|
|
10842
11150
|
account: typing.Optional[builtins.str] = None,
|
|
10843
11151
|
color: typing.Optional[builtins.str] = None,
|
|
10844
11152
|
dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
11153
|
+
id: typing.Optional[builtins.str] = None,
|
|
10845
11154
|
label: typing.Optional[builtins.str] = None,
|
|
10846
11155
|
period: typing.Optional[_Duration_4839e8c3] = None,
|
|
10847
11156
|
region: typing.Optional[builtins.str] = None,
|
|
@@ -10849,12 +11158,14 @@ class TableBase(
|
|
|
10849
11158
|
stack_region: typing.Optional[builtins.str] = None,
|
|
10850
11159
|
statistic: typing.Optional[builtins.str] = None,
|
|
10851
11160
|
unit: typing.Optional[_Unit_61bc6f70] = None,
|
|
11161
|
+
visible: typing.Optional[builtins.bool] = None,
|
|
10852
11162
|
) -> _Metric_e396a4dc:
|
|
10853
11163
|
'''(deprecated) Metric for the system errors this table.
|
|
10854
11164
|
|
|
10855
11165
|
:param account: Account which this metric comes from. Default: - Deployment account.
|
|
10856
11166
|
:param color: The hex color code, prefixed with '#' (e.g. '#00ff00'), to use when this metric is rendered on a graph. The ``Color`` class has a set of standard colors that can be used here. Default: - Automatic color
|
|
10857
11167
|
:param dimensions_map: Dimensions of the metric. Default: - No dimensions.
|
|
11168
|
+
:param id: Unique identifier for this metric when used in dashboard widgets. The id can be used as a variable to represent this metric in math expressions. Valid characters are letters, numbers, and underscore. The first character must be a lowercase letter. Default: - No ID
|
|
10858
11169
|
:param label: Label for this metric when added to a Graph in a Dashboard. You can use `dynamic labels <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/graph-dynamic-labels.html>`_ to show summary information about the entire displayed time series in the legend. For example, if you use:: [max: ${MAX}] MyMetric As the metric label, the maximum value in the visible range will be shown next to the time series name in the graph's legend. Default: - No label
|
|
10859
11170
|
:param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
|
|
10860
11171
|
:param region: Region which this metric comes from. Default: - Deployment region.
|
|
@@ -10862,6 +11173,7 @@ class TableBase(
|
|
|
10862
11173
|
:param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
|
|
10863
11174
|
:param statistic: What function to use for aggregating. Use the ``aws_cloudwatch.Stats`` helper class to construct valid input strings. Can be one of the following: - "Minimum" | "min" - "Maximum" | "max" - "Average" | "avg" - "Sum" | "sum" - "SampleCount | "n" - "pNN.NN" - "tmNN.NN" | "tm(NN.NN%:NN.NN%)" - "iqm" - "wmNN.NN" | "wm(NN.NN%:NN.NN%)" - "tcNN.NN" | "tc(NN.NN%:NN.NN%)" - "tsNN.NN" | "ts(NN.NN%:NN.NN%)" Default: Average
|
|
10864
11175
|
:param unit: Unit used to filter the metric stream. Only refer to datums emitted to the metric stream with the given unit and ignore all others. Only useful when datums are being emitted to the same metric stream under different units. The default is to use all matric datums in the stream, regardless of unit, which is recommended in nearly all cases. CloudWatch does not honor this property for graphs. Default: - All metric datums in the given metric stream
|
|
11176
|
+
:param visible: Whether this metric should be visible in dashboard graphs. Setting this to false is useful when you want to hide raw metrics that are used in math expressions, and show only the expression results. Default: true
|
|
10865
11177
|
|
|
10866
11178
|
:deprecated: use ``metricSystemErrorsForOperations``.
|
|
10867
11179
|
|
|
@@ -10871,6 +11183,7 @@ class TableBase(
|
|
|
10871
11183
|
account=account,
|
|
10872
11184
|
color=color,
|
|
10873
11185
|
dimensions_map=dimensions_map,
|
|
11186
|
+
id=id,
|
|
10874
11187
|
label=label,
|
|
10875
11188
|
period=period,
|
|
10876
11189
|
region=region,
|
|
@@ -10878,6 +11191,7 @@ class TableBase(
|
|
|
10878
11191
|
stack_region=stack_region,
|
|
10879
11192
|
statistic=statistic,
|
|
10880
11193
|
unit=unit,
|
|
11194
|
+
visible=visible,
|
|
10881
11195
|
)
|
|
10882
11196
|
|
|
10883
11197
|
return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricSystemErrors", [props]))
|
|
@@ -10890,6 +11204,7 @@ class TableBase(
|
|
|
10890
11204
|
account: typing.Optional[builtins.str] = None,
|
|
10891
11205
|
color: typing.Optional[builtins.str] = None,
|
|
10892
11206
|
dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
11207
|
+
id: typing.Optional[builtins.str] = None,
|
|
10893
11208
|
label: typing.Optional[builtins.str] = None,
|
|
10894
11209
|
period: typing.Optional[_Duration_4839e8c3] = None,
|
|
10895
11210
|
region: typing.Optional[builtins.str] = None,
|
|
@@ -10897,6 +11212,7 @@ class TableBase(
|
|
|
10897
11212
|
stack_region: typing.Optional[builtins.str] = None,
|
|
10898
11213
|
statistic: typing.Optional[builtins.str] = None,
|
|
10899
11214
|
unit: typing.Optional[_Unit_61bc6f70] = None,
|
|
11215
|
+
visible: typing.Optional[builtins.bool] = None,
|
|
10900
11216
|
) -> _IMetric_c7fd29de:
|
|
10901
11217
|
'''Metric for the system errors this table.
|
|
10902
11218
|
|
|
@@ -10908,6 +11224,7 @@ class TableBase(
|
|
|
10908
11224
|
:param account: Account which this metric comes from. Default: - Deployment account.
|
|
10909
11225
|
:param color: The hex color code, prefixed with '#' (e.g. '#00ff00'), to use when this metric is rendered on a graph. The ``Color`` class has a set of standard colors that can be used here. Default: - Automatic color
|
|
10910
11226
|
:param dimensions_map: Dimensions of the metric. Default: - No dimensions.
|
|
11227
|
+
:param id: Unique identifier for this metric when used in dashboard widgets. The id can be used as a variable to represent this metric in math expressions. Valid characters are letters, numbers, and underscore. The first character must be a lowercase letter. Default: - No ID
|
|
10911
11228
|
:param label: Label for this metric when added to a Graph in a Dashboard. You can use `dynamic labels <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/graph-dynamic-labels.html>`_ to show summary information about the entire displayed time series in the legend. For example, if you use:: [max: ${MAX}] MyMetric As the metric label, the maximum value in the visible range will be shown next to the time series name in the graph's legend. Default: - No label
|
|
10912
11229
|
:param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
|
|
10913
11230
|
:param region: Region which this metric comes from. Default: - Deployment region.
|
|
@@ -10915,12 +11232,14 @@ class TableBase(
|
|
|
10915
11232
|
:param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
|
|
10916
11233
|
:param statistic: What function to use for aggregating. Use the ``aws_cloudwatch.Stats`` helper class to construct valid input strings. Can be one of the following: - "Minimum" | "min" - "Maximum" | "max" - "Average" | "avg" - "Sum" | "sum" - "SampleCount | "n" - "pNN.NN" - "tmNN.NN" | "tm(NN.NN%:NN.NN%)" - "iqm" - "wmNN.NN" | "wm(NN.NN%:NN.NN%)" - "tcNN.NN" | "tc(NN.NN%:NN.NN%)" - "tsNN.NN" | "ts(NN.NN%:NN.NN%)" Default: Average
|
|
10917
11234
|
:param unit: Unit used to filter the metric stream. Only refer to datums emitted to the metric stream with the given unit and ignore all others. Only useful when datums are being emitted to the same metric stream under different units. The default is to use all matric datums in the stream, regardless of unit, which is recommended in nearly all cases. CloudWatch does not honor this property for graphs. Default: - All metric datums in the given metric stream
|
|
11235
|
+
:param visible: Whether this metric should be visible in dashboard graphs. Setting this to false is useful when you want to hide raw metrics that are used in math expressions, and show only the expression results. Default: true
|
|
10918
11236
|
'''
|
|
10919
11237
|
props = SystemErrorsForOperationsMetricOptions(
|
|
10920
11238
|
operations=operations,
|
|
10921
11239
|
account=account,
|
|
10922
11240
|
color=color,
|
|
10923
11241
|
dimensions_map=dimensions_map,
|
|
11242
|
+
id=id,
|
|
10924
11243
|
label=label,
|
|
10925
11244
|
period=period,
|
|
10926
11245
|
region=region,
|
|
@@ -10928,6 +11247,7 @@ class TableBase(
|
|
|
10928
11247
|
stack_region=stack_region,
|
|
10929
11248
|
statistic=statistic,
|
|
10930
11249
|
unit=unit,
|
|
11250
|
+
visible=visible,
|
|
10931
11251
|
)
|
|
10932
11252
|
|
|
10933
11253
|
return typing.cast(_IMetric_c7fd29de, jsii.invoke(self, "metricSystemErrorsForOperations", [props]))
|
|
@@ -10939,6 +11259,7 @@ class TableBase(
|
|
|
10939
11259
|
account: typing.Optional[builtins.str] = None,
|
|
10940
11260
|
color: typing.Optional[builtins.str] = None,
|
|
10941
11261
|
dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
11262
|
+
id: typing.Optional[builtins.str] = None,
|
|
10942
11263
|
label: typing.Optional[builtins.str] = None,
|
|
10943
11264
|
period: typing.Optional[_Duration_4839e8c3] = None,
|
|
10944
11265
|
region: typing.Optional[builtins.str] = None,
|
|
@@ -10946,6 +11267,7 @@ class TableBase(
|
|
|
10946
11267
|
stack_region: typing.Optional[builtins.str] = None,
|
|
10947
11268
|
statistic: typing.Optional[builtins.str] = None,
|
|
10948
11269
|
unit: typing.Optional[_Unit_61bc6f70] = None,
|
|
11270
|
+
visible: typing.Optional[builtins.bool] = None,
|
|
10949
11271
|
) -> _Metric_e396a4dc:
|
|
10950
11272
|
'''(deprecated) How many requests are throttled on this table.
|
|
10951
11273
|
|
|
@@ -10954,6 +11276,7 @@ class TableBase(
|
|
|
10954
11276
|
:param account: Account which this metric comes from. Default: - Deployment account.
|
|
10955
11277
|
:param color: The hex color code, prefixed with '#' (e.g. '#00ff00'), to use when this metric is rendered on a graph. The ``Color`` class has a set of standard colors that can be used here. Default: - Automatic color
|
|
10956
11278
|
:param dimensions_map: Dimensions of the metric. Default: - No dimensions.
|
|
11279
|
+
:param id: Unique identifier for this metric when used in dashboard widgets. The id can be used as a variable to represent this metric in math expressions. Valid characters are letters, numbers, and underscore. The first character must be a lowercase letter. Default: - No ID
|
|
10957
11280
|
:param label: Label for this metric when added to a Graph in a Dashboard. You can use `dynamic labels <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/graph-dynamic-labels.html>`_ to show summary information about the entire displayed time series in the legend. For example, if you use:: [max: ${MAX}] MyMetric As the metric label, the maximum value in the visible range will be shown next to the time series name in the graph's legend. Default: - No label
|
|
10958
11281
|
:param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
|
|
10959
11282
|
:param region: Region which this metric comes from. Default: - Deployment region.
|
|
@@ -10961,6 +11284,7 @@ class TableBase(
|
|
|
10961
11284
|
:param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
|
|
10962
11285
|
:param statistic: What function to use for aggregating. Use the ``aws_cloudwatch.Stats`` helper class to construct valid input strings. Can be one of the following: - "Minimum" | "min" - "Maximum" | "max" - "Average" | "avg" - "Sum" | "sum" - "SampleCount | "n" - "pNN.NN" - "tmNN.NN" | "tm(NN.NN%:NN.NN%)" - "iqm" - "wmNN.NN" | "wm(NN.NN%:NN.NN%)" - "tcNN.NN" | "tc(NN.NN%:NN.NN%)" - "tsNN.NN" | "ts(NN.NN%:NN.NN%)" Default: Average
|
|
10963
11286
|
:param unit: Unit used to filter the metric stream. Only refer to datums emitted to the metric stream with the given unit and ignore all others. Only useful when datums are being emitted to the same metric stream under different units. The default is to use all matric datums in the stream, regardless of unit, which is recommended in nearly all cases. CloudWatch does not honor this property for graphs. Default: - All metric datums in the given metric stream
|
|
11287
|
+
:param visible: Whether this metric should be visible in dashboard graphs. Setting this to false is useful when you want to hide raw metrics that are used in math expressions, and show only the expression results. Default: true
|
|
10964
11288
|
|
|
10965
11289
|
:deprecated: Do not use this function. It returns an invalid metric. Use ``metricThrottledRequestsForOperation`` instead.
|
|
10966
11290
|
|
|
@@ -10970,6 +11294,7 @@ class TableBase(
|
|
|
10970
11294
|
account=account,
|
|
10971
11295
|
color=color,
|
|
10972
11296
|
dimensions_map=dimensions_map,
|
|
11297
|
+
id=id,
|
|
10973
11298
|
label=label,
|
|
10974
11299
|
period=period,
|
|
10975
11300
|
region=region,
|
|
@@ -10977,6 +11302,7 @@ class TableBase(
|
|
|
10977
11302
|
stack_region=stack_region,
|
|
10978
11303
|
statistic=statistic,
|
|
10979
11304
|
unit=unit,
|
|
11305
|
+
visible=visible,
|
|
10980
11306
|
)
|
|
10981
11307
|
|
|
10982
11308
|
return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricThrottledRequests", [props]))
|
|
@@ -10989,6 +11315,7 @@ class TableBase(
|
|
|
10989
11315
|
account: typing.Optional[builtins.str] = None,
|
|
10990
11316
|
color: typing.Optional[builtins.str] = None,
|
|
10991
11317
|
dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
11318
|
+
id: typing.Optional[builtins.str] = None,
|
|
10992
11319
|
label: typing.Optional[builtins.str] = None,
|
|
10993
11320
|
period: typing.Optional[_Duration_4839e8c3] = None,
|
|
10994
11321
|
region: typing.Optional[builtins.str] = None,
|
|
@@ -10996,6 +11323,7 @@ class TableBase(
|
|
|
10996
11323
|
stack_region: typing.Optional[builtins.str] = None,
|
|
10997
11324
|
statistic: typing.Optional[builtins.str] = None,
|
|
10998
11325
|
unit: typing.Optional[_Unit_61bc6f70] = None,
|
|
11326
|
+
visible: typing.Optional[builtins.bool] = None,
|
|
10999
11327
|
) -> _Metric_e396a4dc:
|
|
11000
11328
|
'''How many requests are throttled on this table, for the given operation.
|
|
11001
11329
|
|
|
@@ -11005,6 +11333,7 @@ class TableBase(
|
|
|
11005
11333
|
:param account: Account which this metric comes from. Default: - Deployment account.
|
|
11006
11334
|
:param color: The hex color code, prefixed with '#' (e.g. '#00ff00'), to use when this metric is rendered on a graph. The ``Color`` class has a set of standard colors that can be used here. Default: - Automatic color
|
|
11007
11335
|
:param dimensions_map: Dimensions of the metric. Default: - No dimensions.
|
|
11336
|
+
:param id: Unique identifier for this metric when used in dashboard widgets. The id can be used as a variable to represent this metric in math expressions. Valid characters are letters, numbers, and underscore. The first character must be a lowercase letter. Default: - No ID
|
|
11008
11337
|
:param label: Label for this metric when added to a Graph in a Dashboard. You can use `dynamic labels <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/graph-dynamic-labels.html>`_ to show summary information about the entire displayed time series in the legend. For example, if you use:: [max: ${MAX}] MyMetric As the metric label, the maximum value in the visible range will be shown next to the time series name in the graph's legend. Default: - No label
|
|
11009
11338
|
:param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
|
|
11010
11339
|
:param region: Region which this metric comes from. Default: - Deployment region.
|
|
@@ -11012,6 +11341,7 @@ class TableBase(
|
|
|
11012
11341
|
:param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
|
|
11013
11342
|
:param statistic: What function to use for aggregating. Use the ``aws_cloudwatch.Stats`` helper class to construct valid input strings. Can be one of the following: - "Minimum" | "min" - "Maximum" | "max" - "Average" | "avg" - "Sum" | "sum" - "SampleCount | "n" - "pNN.NN" - "tmNN.NN" | "tm(NN.NN%:NN.NN%)" - "iqm" - "wmNN.NN" | "wm(NN.NN%:NN.NN%)" - "tcNN.NN" | "tc(NN.NN%:NN.NN%)" - "tsNN.NN" | "ts(NN.NN%:NN.NN%)" Default: Average
|
|
11014
11343
|
:param unit: Unit used to filter the metric stream. Only refer to datums emitted to the metric stream with the given unit and ignore all others. Only useful when datums are being emitted to the same metric stream under different units. The default is to use all matric datums in the stream, regardless of unit, which is recommended in nearly all cases. CloudWatch does not honor this property for graphs. Default: - All metric datums in the given metric stream
|
|
11344
|
+
:param visible: Whether this metric should be visible in dashboard graphs. Setting this to false is useful when you want to hide raw metrics that are used in math expressions, and show only the expression results. Default: true
|
|
11015
11345
|
'''
|
|
11016
11346
|
if __debug__:
|
|
11017
11347
|
type_hints = typing.get_type_hints(_typecheckingstub__95d33a70a83403322cdc035963638859f588f5d47bae922a6083d3acdae99d8c)
|
|
@@ -11020,6 +11350,7 @@ class TableBase(
|
|
|
11020
11350
|
account=account,
|
|
11021
11351
|
color=color,
|
|
11022
11352
|
dimensions_map=dimensions_map,
|
|
11353
|
+
id=id,
|
|
11023
11354
|
label=label,
|
|
11024
11355
|
period=period,
|
|
11025
11356
|
region=region,
|
|
@@ -11027,6 +11358,7 @@ class TableBase(
|
|
|
11027
11358
|
stack_region=stack_region,
|
|
11028
11359
|
statistic=statistic,
|
|
11029
11360
|
unit=unit,
|
|
11361
|
+
visible=visible,
|
|
11030
11362
|
)
|
|
11031
11363
|
|
|
11032
11364
|
return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricThrottledRequestsForOperation", [operation, props]))
|
|
@@ -11039,6 +11371,7 @@ class TableBase(
|
|
|
11039
11371
|
account: typing.Optional[builtins.str] = None,
|
|
11040
11372
|
color: typing.Optional[builtins.str] = None,
|
|
11041
11373
|
dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
11374
|
+
id: typing.Optional[builtins.str] = None,
|
|
11042
11375
|
label: typing.Optional[builtins.str] = None,
|
|
11043
11376
|
period: typing.Optional[_Duration_4839e8c3] = None,
|
|
11044
11377
|
region: typing.Optional[builtins.str] = None,
|
|
@@ -11046,6 +11379,7 @@ class TableBase(
|
|
|
11046
11379
|
stack_region: typing.Optional[builtins.str] = None,
|
|
11047
11380
|
statistic: typing.Optional[builtins.str] = None,
|
|
11048
11381
|
unit: typing.Optional[_Unit_61bc6f70] = None,
|
|
11382
|
+
visible: typing.Optional[builtins.bool] = None,
|
|
11049
11383
|
) -> _IMetric_c7fd29de:
|
|
11050
11384
|
'''How many requests are throttled on this table.
|
|
11051
11385
|
|
|
@@ -11057,6 +11391,7 @@ class TableBase(
|
|
|
11057
11391
|
:param account: Account which this metric comes from. Default: - Deployment account.
|
|
11058
11392
|
:param color: The hex color code, prefixed with '#' (e.g. '#00ff00'), to use when this metric is rendered on a graph. The ``Color`` class has a set of standard colors that can be used here. Default: - Automatic color
|
|
11059
11393
|
:param dimensions_map: Dimensions of the metric. Default: - No dimensions.
|
|
11394
|
+
:param id: Unique identifier for this metric when used in dashboard widgets. The id can be used as a variable to represent this metric in math expressions. Valid characters are letters, numbers, and underscore. The first character must be a lowercase letter. Default: - No ID
|
|
11060
11395
|
:param label: Label for this metric when added to a Graph in a Dashboard. You can use `dynamic labels <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/graph-dynamic-labels.html>`_ to show summary information about the entire displayed time series in the legend. For example, if you use:: [max: ${MAX}] MyMetric As the metric label, the maximum value in the visible range will be shown next to the time series name in the graph's legend. Default: - No label
|
|
11061
11396
|
:param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
|
|
11062
11397
|
:param region: Region which this metric comes from. Default: - Deployment region.
|
|
@@ -11064,12 +11399,14 @@ class TableBase(
|
|
|
11064
11399
|
:param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
|
|
11065
11400
|
:param statistic: What function to use for aggregating. Use the ``aws_cloudwatch.Stats`` helper class to construct valid input strings. Can be one of the following: - "Minimum" | "min" - "Maximum" | "max" - "Average" | "avg" - "Sum" | "sum" - "SampleCount | "n" - "pNN.NN" - "tmNN.NN" | "tm(NN.NN%:NN.NN%)" - "iqm" - "wmNN.NN" | "wm(NN.NN%:NN.NN%)" - "tcNN.NN" | "tc(NN.NN%:NN.NN%)" - "tsNN.NN" | "ts(NN.NN%:NN.NN%)" Default: Average
|
|
11066
11401
|
:param unit: Unit used to filter the metric stream. Only refer to datums emitted to the metric stream with the given unit and ignore all others. Only useful when datums are being emitted to the same metric stream under different units. The default is to use all matric datums in the stream, regardless of unit, which is recommended in nearly all cases. CloudWatch does not honor this property for graphs. Default: - All metric datums in the given metric stream
|
|
11402
|
+
:param visible: Whether this metric should be visible in dashboard graphs. Setting this to false is useful when you want to hide raw metrics that are used in math expressions, and show only the expression results. Default: true
|
|
11067
11403
|
'''
|
|
11068
11404
|
props = OperationsMetricOptions(
|
|
11069
11405
|
operations=operations,
|
|
11070
11406
|
account=account,
|
|
11071
11407
|
color=color,
|
|
11072
11408
|
dimensions_map=dimensions_map,
|
|
11409
|
+
id=id,
|
|
11073
11410
|
label=label,
|
|
11074
11411
|
period=period,
|
|
11075
11412
|
region=region,
|
|
@@ -11077,6 +11414,7 @@ class TableBase(
|
|
|
11077
11414
|
stack_region=stack_region,
|
|
11078
11415
|
statistic=statistic,
|
|
11079
11416
|
unit=unit,
|
|
11417
|
+
visible=visible,
|
|
11080
11418
|
)
|
|
11081
11419
|
|
|
11082
11420
|
return typing.cast(_IMetric_c7fd29de, jsii.invoke(self, "metricThrottledRequestsForOperations", [props]))
|
|
@@ -11088,6 +11426,7 @@ class TableBase(
|
|
|
11088
11426
|
account: typing.Optional[builtins.str] = None,
|
|
11089
11427
|
color: typing.Optional[builtins.str] = None,
|
|
11090
11428
|
dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
11429
|
+
id: typing.Optional[builtins.str] = None,
|
|
11091
11430
|
label: typing.Optional[builtins.str] = None,
|
|
11092
11431
|
period: typing.Optional[_Duration_4839e8c3] = None,
|
|
11093
11432
|
region: typing.Optional[builtins.str] = None,
|
|
@@ -11095,6 +11434,7 @@ class TableBase(
|
|
|
11095
11434
|
stack_region: typing.Optional[builtins.str] = None,
|
|
11096
11435
|
statistic: typing.Optional[builtins.str] = None,
|
|
11097
11436
|
unit: typing.Optional[_Unit_61bc6f70] = None,
|
|
11437
|
+
visible: typing.Optional[builtins.bool] = None,
|
|
11098
11438
|
) -> _Metric_e396a4dc:
|
|
11099
11439
|
'''Metric for the user errors.
|
|
11100
11440
|
|
|
@@ -11107,6 +11447,7 @@ class TableBase(
|
|
|
11107
11447
|
:param account: Account which this metric comes from. Default: - Deployment account.
|
|
11108
11448
|
:param color: The hex color code, prefixed with '#' (e.g. '#00ff00'), to use when this metric is rendered on a graph. The ``Color`` class has a set of standard colors that can be used here. Default: - Automatic color
|
|
11109
11449
|
:param dimensions_map: Dimensions of the metric. Default: - No dimensions.
|
|
11450
|
+
:param id: Unique identifier for this metric when used in dashboard widgets. The id can be used as a variable to represent this metric in math expressions. Valid characters are letters, numbers, and underscore. The first character must be a lowercase letter. Default: - No ID
|
|
11110
11451
|
:param label: Label for this metric when added to a Graph in a Dashboard. You can use `dynamic labels <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/graph-dynamic-labels.html>`_ to show summary information about the entire displayed time series in the legend. For example, if you use:: [max: ${MAX}] MyMetric As the metric label, the maximum value in the visible range will be shown next to the time series name in the graph's legend. Default: - No label
|
|
11111
11452
|
:param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
|
|
11112
11453
|
:param region: Region which this metric comes from. Default: - Deployment region.
|
|
@@ -11114,11 +11455,13 @@ class TableBase(
|
|
|
11114
11455
|
:param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
|
|
11115
11456
|
:param statistic: What function to use for aggregating. Use the ``aws_cloudwatch.Stats`` helper class to construct valid input strings. Can be one of the following: - "Minimum" | "min" - "Maximum" | "max" - "Average" | "avg" - "Sum" | "sum" - "SampleCount | "n" - "pNN.NN" - "tmNN.NN" | "tm(NN.NN%:NN.NN%)" - "iqm" - "wmNN.NN" | "wm(NN.NN%:NN.NN%)" - "tcNN.NN" | "tc(NN.NN%:NN.NN%)" - "tsNN.NN" | "ts(NN.NN%:NN.NN%)" Default: Average
|
|
11116
11457
|
:param unit: Unit used to filter the metric stream. Only refer to datums emitted to the metric stream with the given unit and ignore all others. Only useful when datums are being emitted to the same metric stream under different units. The default is to use all matric datums in the stream, regardless of unit, which is recommended in nearly all cases. CloudWatch does not honor this property for graphs. Default: - All metric datums in the given metric stream
|
|
11458
|
+
:param visible: Whether this metric should be visible in dashboard graphs. Setting this to false is useful when you want to hide raw metrics that are used in math expressions, and show only the expression results. Default: true
|
|
11117
11459
|
'''
|
|
11118
11460
|
props = _MetricOptions_1788b62f(
|
|
11119
11461
|
account=account,
|
|
11120
11462
|
color=color,
|
|
11121
11463
|
dimensions_map=dimensions_map,
|
|
11464
|
+
id=id,
|
|
11122
11465
|
label=label,
|
|
11123
11466
|
period=period,
|
|
11124
11467
|
region=region,
|
|
@@ -11126,6 +11469,7 @@ class TableBase(
|
|
|
11126
11469
|
stack_region=stack_region,
|
|
11127
11470
|
statistic=statistic,
|
|
11128
11471
|
unit=unit,
|
|
11472
|
+
visible=visible,
|
|
11129
11473
|
)
|
|
11130
11474
|
|
|
11131
11475
|
return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricUserErrors", [props]))
|
|
@@ -11454,6 +11798,7 @@ class TableBaseV2(
|
|
|
11454
11798
|
account: typing.Optional[builtins.str] = None,
|
|
11455
11799
|
color: typing.Optional[builtins.str] = None,
|
|
11456
11800
|
dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
11801
|
+
id: typing.Optional[builtins.str] = None,
|
|
11457
11802
|
label: typing.Optional[builtins.str] = None,
|
|
11458
11803
|
period: typing.Optional[_Duration_4839e8c3] = None,
|
|
11459
11804
|
region: typing.Optional[builtins.str] = None,
|
|
@@ -11461,6 +11806,7 @@ class TableBaseV2(
|
|
|
11461
11806
|
stack_region: typing.Optional[builtins.str] = None,
|
|
11462
11807
|
statistic: typing.Optional[builtins.str] = None,
|
|
11463
11808
|
unit: typing.Optional[_Unit_61bc6f70] = None,
|
|
11809
|
+
visible: typing.Optional[builtins.bool] = None,
|
|
11464
11810
|
) -> _Metric_e396a4dc:
|
|
11465
11811
|
'''Return the given named metric for this table.
|
|
11466
11812
|
|
|
@@ -11471,6 +11817,7 @@ class TableBaseV2(
|
|
|
11471
11817
|
:param account: Account which this metric comes from. Default: - Deployment account.
|
|
11472
11818
|
:param color: The hex color code, prefixed with '#' (e.g. '#00ff00'), to use when this metric is rendered on a graph. The ``Color`` class has a set of standard colors that can be used here. Default: - Automatic color
|
|
11473
11819
|
:param dimensions_map: Dimensions of the metric. Default: - No dimensions.
|
|
11820
|
+
:param id: Unique identifier for this metric when used in dashboard widgets. The id can be used as a variable to represent this metric in math expressions. Valid characters are letters, numbers, and underscore. The first character must be a lowercase letter. Default: - No ID
|
|
11474
11821
|
:param label: Label for this metric when added to a Graph in a Dashboard. You can use `dynamic labels <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/graph-dynamic-labels.html>`_ to show summary information about the entire displayed time series in the legend. For example, if you use:: [max: ${MAX}] MyMetric As the metric label, the maximum value in the visible range will be shown next to the time series name in the graph's legend. Default: - No label
|
|
11475
11822
|
:param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
|
|
11476
11823
|
:param region: Region which this metric comes from. Default: - Deployment region.
|
|
@@ -11478,6 +11825,7 @@ class TableBaseV2(
|
|
|
11478
11825
|
:param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
|
|
11479
11826
|
:param statistic: What function to use for aggregating. Use the ``aws_cloudwatch.Stats`` helper class to construct valid input strings. Can be one of the following: - "Minimum" | "min" - "Maximum" | "max" - "Average" | "avg" - "Sum" | "sum" - "SampleCount | "n" - "pNN.NN" - "tmNN.NN" | "tm(NN.NN%:NN.NN%)" - "iqm" - "wmNN.NN" | "wm(NN.NN%:NN.NN%)" - "tcNN.NN" | "tc(NN.NN%:NN.NN%)" - "tsNN.NN" | "ts(NN.NN%:NN.NN%)" Default: Average
|
|
11480
11827
|
:param unit: Unit used to filter the metric stream. Only refer to datums emitted to the metric stream with the given unit and ignore all others. Only useful when datums are being emitted to the same metric stream under different units. The default is to use all matric datums in the stream, regardless of unit, which is recommended in nearly all cases. CloudWatch does not honor this property for graphs. Default: - All metric datums in the given metric stream
|
|
11828
|
+
:param visible: Whether this metric should be visible in dashboard graphs. Setting this to false is useful when you want to hide raw metrics that are used in math expressions, and show only the expression results. Default: true
|
|
11481
11829
|
'''
|
|
11482
11830
|
if __debug__:
|
|
11483
11831
|
type_hints = typing.get_type_hints(_typecheckingstub__b9d12f99f3c2bb32f060be7bea286ff36b58ea207a391685b9ca44957b9fecd8)
|
|
@@ -11486,6 +11834,7 @@ class TableBaseV2(
|
|
|
11486
11834
|
account=account,
|
|
11487
11835
|
color=color,
|
|
11488
11836
|
dimensions_map=dimensions_map,
|
|
11837
|
+
id=id,
|
|
11489
11838
|
label=label,
|
|
11490
11839
|
period=period,
|
|
11491
11840
|
region=region,
|
|
@@ -11493,6 +11842,7 @@ class TableBaseV2(
|
|
|
11493
11842
|
stack_region=stack_region,
|
|
11494
11843
|
statistic=statistic,
|
|
11495
11844
|
unit=unit,
|
|
11845
|
+
visible=visible,
|
|
11496
11846
|
)
|
|
11497
11847
|
|
|
11498
11848
|
return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metric", [metric_name, props]))
|
|
@@ -11504,6 +11854,7 @@ class TableBaseV2(
|
|
|
11504
11854
|
account: typing.Optional[builtins.str] = None,
|
|
11505
11855
|
color: typing.Optional[builtins.str] = None,
|
|
11506
11856
|
dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
11857
|
+
id: typing.Optional[builtins.str] = None,
|
|
11507
11858
|
label: typing.Optional[builtins.str] = None,
|
|
11508
11859
|
period: typing.Optional[_Duration_4839e8c3] = None,
|
|
11509
11860
|
region: typing.Optional[builtins.str] = None,
|
|
@@ -11511,6 +11862,7 @@ class TableBaseV2(
|
|
|
11511
11862
|
stack_region: typing.Optional[builtins.str] = None,
|
|
11512
11863
|
statistic: typing.Optional[builtins.str] = None,
|
|
11513
11864
|
unit: typing.Optional[_Unit_61bc6f70] = None,
|
|
11865
|
+
visible: typing.Optional[builtins.bool] = None,
|
|
11514
11866
|
) -> _Metric_e396a4dc:
|
|
11515
11867
|
'''Metric for the conditional check failed requests for this table.
|
|
11516
11868
|
|
|
@@ -11520,6 +11872,7 @@ class TableBaseV2(
|
|
|
11520
11872
|
:param account: Account which this metric comes from. Default: - Deployment account.
|
|
11521
11873
|
:param color: The hex color code, prefixed with '#' (e.g. '#00ff00'), to use when this metric is rendered on a graph. The ``Color`` class has a set of standard colors that can be used here. Default: - Automatic color
|
|
11522
11874
|
:param dimensions_map: Dimensions of the metric. Default: - No dimensions.
|
|
11875
|
+
:param id: Unique identifier for this metric when used in dashboard widgets. The id can be used as a variable to represent this metric in math expressions. Valid characters are letters, numbers, and underscore. The first character must be a lowercase letter. Default: - No ID
|
|
11523
11876
|
:param label: Label for this metric when added to a Graph in a Dashboard. You can use `dynamic labels <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/graph-dynamic-labels.html>`_ to show summary information about the entire displayed time series in the legend. For example, if you use:: [max: ${MAX}] MyMetric As the metric label, the maximum value in the visible range will be shown next to the time series name in the graph's legend. Default: - No label
|
|
11524
11877
|
:param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
|
|
11525
11878
|
:param region: Region which this metric comes from. Default: - Deployment region.
|
|
@@ -11527,11 +11880,13 @@ class TableBaseV2(
|
|
|
11527
11880
|
:param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
|
|
11528
11881
|
:param statistic: What function to use for aggregating. Use the ``aws_cloudwatch.Stats`` helper class to construct valid input strings. Can be one of the following: - "Minimum" | "min" - "Maximum" | "max" - "Average" | "avg" - "Sum" | "sum" - "SampleCount | "n" - "pNN.NN" - "tmNN.NN" | "tm(NN.NN%:NN.NN%)" - "iqm" - "wmNN.NN" | "wm(NN.NN%:NN.NN%)" - "tcNN.NN" | "tc(NN.NN%:NN.NN%)" - "tsNN.NN" | "ts(NN.NN%:NN.NN%)" Default: Average
|
|
11529
11882
|
:param unit: Unit used to filter the metric stream. Only refer to datums emitted to the metric stream with the given unit and ignore all others. Only useful when datums are being emitted to the same metric stream under different units. The default is to use all matric datums in the stream, regardless of unit, which is recommended in nearly all cases. CloudWatch does not honor this property for graphs. Default: - All metric datums in the given metric stream
|
|
11883
|
+
:param visible: Whether this metric should be visible in dashboard graphs. Setting this to false is useful when you want to hide raw metrics that are used in math expressions, and show only the expression results. Default: true
|
|
11530
11884
|
'''
|
|
11531
11885
|
props = _MetricOptions_1788b62f(
|
|
11532
11886
|
account=account,
|
|
11533
11887
|
color=color,
|
|
11534
11888
|
dimensions_map=dimensions_map,
|
|
11889
|
+
id=id,
|
|
11535
11890
|
label=label,
|
|
11536
11891
|
period=period,
|
|
11537
11892
|
region=region,
|
|
@@ -11539,6 +11894,7 @@ class TableBaseV2(
|
|
|
11539
11894
|
stack_region=stack_region,
|
|
11540
11895
|
statistic=statistic,
|
|
11541
11896
|
unit=unit,
|
|
11897
|
+
visible=visible,
|
|
11542
11898
|
)
|
|
11543
11899
|
|
|
11544
11900
|
return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricConditionalCheckFailedRequests", [props]))
|
|
@@ -11550,6 +11906,7 @@ class TableBaseV2(
|
|
|
11550
11906
|
account: typing.Optional[builtins.str] = None,
|
|
11551
11907
|
color: typing.Optional[builtins.str] = None,
|
|
11552
11908
|
dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
11909
|
+
id: typing.Optional[builtins.str] = None,
|
|
11553
11910
|
label: typing.Optional[builtins.str] = None,
|
|
11554
11911
|
period: typing.Optional[_Duration_4839e8c3] = None,
|
|
11555
11912
|
region: typing.Optional[builtins.str] = None,
|
|
@@ -11557,6 +11914,7 @@ class TableBaseV2(
|
|
|
11557
11914
|
stack_region: typing.Optional[builtins.str] = None,
|
|
11558
11915
|
statistic: typing.Optional[builtins.str] = None,
|
|
11559
11916
|
unit: typing.Optional[_Unit_61bc6f70] = None,
|
|
11917
|
+
visible: typing.Optional[builtins.bool] = None,
|
|
11560
11918
|
) -> _Metric_e396a4dc:
|
|
11561
11919
|
'''Metric for the consumed read capacity units for this table.
|
|
11562
11920
|
|
|
@@ -11566,6 +11924,7 @@ class TableBaseV2(
|
|
|
11566
11924
|
:param account: Account which this metric comes from. Default: - Deployment account.
|
|
11567
11925
|
:param color: The hex color code, prefixed with '#' (e.g. '#00ff00'), to use when this metric is rendered on a graph. The ``Color`` class has a set of standard colors that can be used here. Default: - Automatic color
|
|
11568
11926
|
:param dimensions_map: Dimensions of the metric. Default: - No dimensions.
|
|
11927
|
+
:param id: Unique identifier for this metric when used in dashboard widgets. The id can be used as a variable to represent this metric in math expressions. Valid characters are letters, numbers, and underscore. The first character must be a lowercase letter. Default: - No ID
|
|
11569
11928
|
:param label: Label for this metric when added to a Graph in a Dashboard. You can use `dynamic labels <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/graph-dynamic-labels.html>`_ to show summary information about the entire displayed time series in the legend. For example, if you use:: [max: ${MAX}] MyMetric As the metric label, the maximum value in the visible range will be shown next to the time series name in the graph's legend. Default: - No label
|
|
11570
11929
|
:param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
|
|
11571
11930
|
:param region: Region which this metric comes from. Default: - Deployment region.
|
|
@@ -11573,11 +11932,13 @@ class TableBaseV2(
|
|
|
11573
11932
|
:param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
|
|
11574
11933
|
:param statistic: What function to use for aggregating. Use the ``aws_cloudwatch.Stats`` helper class to construct valid input strings. Can be one of the following: - "Minimum" | "min" - "Maximum" | "max" - "Average" | "avg" - "Sum" | "sum" - "SampleCount | "n" - "pNN.NN" - "tmNN.NN" | "tm(NN.NN%:NN.NN%)" - "iqm" - "wmNN.NN" | "wm(NN.NN%:NN.NN%)" - "tcNN.NN" | "tc(NN.NN%:NN.NN%)" - "tsNN.NN" | "ts(NN.NN%:NN.NN%)" Default: Average
|
|
11575
11934
|
:param unit: Unit used to filter the metric stream. Only refer to datums emitted to the metric stream with the given unit and ignore all others. Only useful when datums are being emitted to the same metric stream under different units. The default is to use all matric datums in the stream, regardless of unit, which is recommended in nearly all cases. CloudWatch does not honor this property for graphs. Default: - All metric datums in the given metric stream
|
|
11935
|
+
:param visible: Whether this metric should be visible in dashboard graphs. Setting this to false is useful when you want to hide raw metrics that are used in math expressions, and show only the expression results. Default: true
|
|
11576
11936
|
'''
|
|
11577
11937
|
props = _MetricOptions_1788b62f(
|
|
11578
11938
|
account=account,
|
|
11579
11939
|
color=color,
|
|
11580
11940
|
dimensions_map=dimensions_map,
|
|
11941
|
+
id=id,
|
|
11581
11942
|
label=label,
|
|
11582
11943
|
period=period,
|
|
11583
11944
|
region=region,
|
|
@@ -11585,6 +11946,7 @@ class TableBaseV2(
|
|
|
11585
11946
|
stack_region=stack_region,
|
|
11586
11947
|
statistic=statistic,
|
|
11587
11948
|
unit=unit,
|
|
11949
|
+
visible=visible,
|
|
11588
11950
|
)
|
|
11589
11951
|
|
|
11590
11952
|
return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricConsumedReadCapacityUnits", [props]))
|
|
@@ -11596,6 +11958,7 @@ class TableBaseV2(
|
|
|
11596
11958
|
account: typing.Optional[builtins.str] = None,
|
|
11597
11959
|
color: typing.Optional[builtins.str] = None,
|
|
11598
11960
|
dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
11961
|
+
id: typing.Optional[builtins.str] = None,
|
|
11599
11962
|
label: typing.Optional[builtins.str] = None,
|
|
11600
11963
|
period: typing.Optional[_Duration_4839e8c3] = None,
|
|
11601
11964
|
region: typing.Optional[builtins.str] = None,
|
|
@@ -11603,6 +11966,7 @@ class TableBaseV2(
|
|
|
11603
11966
|
stack_region: typing.Optional[builtins.str] = None,
|
|
11604
11967
|
statistic: typing.Optional[builtins.str] = None,
|
|
11605
11968
|
unit: typing.Optional[_Unit_61bc6f70] = None,
|
|
11969
|
+
visible: typing.Optional[builtins.bool] = None,
|
|
11606
11970
|
) -> _Metric_e396a4dc:
|
|
11607
11971
|
'''Metric for the consumed write capacity units for this table.
|
|
11608
11972
|
|
|
@@ -11612,6 +11976,7 @@ class TableBaseV2(
|
|
|
11612
11976
|
:param account: Account which this metric comes from. Default: - Deployment account.
|
|
11613
11977
|
:param color: The hex color code, prefixed with '#' (e.g. '#00ff00'), to use when this metric is rendered on a graph. The ``Color`` class has a set of standard colors that can be used here. Default: - Automatic color
|
|
11614
11978
|
:param dimensions_map: Dimensions of the metric. Default: - No dimensions.
|
|
11979
|
+
:param id: Unique identifier for this metric when used in dashboard widgets. The id can be used as a variable to represent this metric in math expressions. Valid characters are letters, numbers, and underscore. The first character must be a lowercase letter. Default: - No ID
|
|
11615
11980
|
:param label: Label for this metric when added to a Graph in a Dashboard. You can use `dynamic labels <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/graph-dynamic-labels.html>`_ to show summary information about the entire displayed time series in the legend. For example, if you use:: [max: ${MAX}] MyMetric As the metric label, the maximum value in the visible range will be shown next to the time series name in the graph's legend. Default: - No label
|
|
11616
11981
|
:param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
|
|
11617
11982
|
:param region: Region which this metric comes from. Default: - Deployment region.
|
|
@@ -11619,11 +11984,13 @@ class TableBaseV2(
|
|
|
11619
11984
|
:param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
|
|
11620
11985
|
:param statistic: What function to use for aggregating. Use the ``aws_cloudwatch.Stats`` helper class to construct valid input strings. Can be one of the following: - "Minimum" | "min" - "Maximum" | "max" - "Average" | "avg" - "Sum" | "sum" - "SampleCount | "n" - "pNN.NN" - "tmNN.NN" | "tm(NN.NN%:NN.NN%)" - "iqm" - "wmNN.NN" | "wm(NN.NN%:NN.NN%)" - "tcNN.NN" | "tc(NN.NN%:NN.NN%)" - "tsNN.NN" | "ts(NN.NN%:NN.NN%)" Default: Average
|
|
11621
11986
|
:param unit: Unit used to filter the metric stream. Only refer to datums emitted to the metric stream with the given unit and ignore all others. Only useful when datums are being emitted to the same metric stream under different units. The default is to use all matric datums in the stream, regardless of unit, which is recommended in nearly all cases. CloudWatch does not honor this property for graphs. Default: - All metric datums in the given metric stream
|
|
11987
|
+
:param visible: Whether this metric should be visible in dashboard graphs. Setting this to false is useful when you want to hide raw metrics that are used in math expressions, and show only the expression results. Default: true
|
|
11622
11988
|
'''
|
|
11623
11989
|
props = _MetricOptions_1788b62f(
|
|
11624
11990
|
account=account,
|
|
11625
11991
|
color=color,
|
|
11626
11992
|
dimensions_map=dimensions_map,
|
|
11993
|
+
id=id,
|
|
11627
11994
|
label=label,
|
|
11628
11995
|
period=period,
|
|
11629
11996
|
region=region,
|
|
@@ -11631,6 +11998,7 @@ class TableBaseV2(
|
|
|
11631
11998
|
stack_region=stack_region,
|
|
11632
11999
|
statistic=statistic,
|
|
11633
12000
|
unit=unit,
|
|
12001
|
+
visible=visible,
|
|
11634
12002
|
)
|
|
11635
12003
|
|
|
11636
12004
|
return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricConsumedWriteCapacityUnits", [props]))
|
|
@@ -11642,6 +12010,7 @@ class TableBaseV2(
|
|
|
11642
12010
|
account: typing.Optional[builtins.str] = None,
|
|
11643
12011
|
color: typing.Optional[builtins.str] = None,
|
|
11644
12012
|
dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
12013
|
+
id: typing.Optional[builtins.str] = None,
|
|
11645
12014
|
label: typing.Optional[builtins.str] = None,
|
|
11646
12015
|
period: typing.Optional[_Duration_4839e8c3] = None,
|
|
11647
12016
|
region: typing.Optional[builtins.str] = None,
|
|
@@ -11649,6 +12018,7 @@ class TableBaseV2(
|
|
|
11649
12018
|
stack_region: typing.Optional[builtins.str] = None,
|
|
11650
12019
|
statistic: typing.Optional[builtins.str] = None,
|
|
11651
12020
|
unit: typing.Optional[_Unit_61bc6f70] = None,
|
|
12021
|
+
visible: typing.Optional[builtins.bool] = None,
|
|
11652
12022
|
) -> _Metric_e396a4dc:
|
|
11653
12023
|
'''Metric for the successful request latency for this table.
|
|
11654
12024
|
|
|
@@ -11658,6 +12028,7 @@ class TableBaseV2(
|
|
|
11658
12028
|
:param account: Account which this metric comes from. Default: - Deployment account.
|
|
11659
12029
|
:param color: The hex color code, prefixed with '#' (e.g. '#00ff00'), to use when this metric is rendered on a graph. The ``Color`` class has a set of standard colors that can be used here. Default: - Automatic color
|
|
11660
12030
|
:param dimensions_map: Dimensions of the metric. Default: - No dimensions.
|
|
12031
|
+
:param id: Unique identifier for this metric when used in dashboard widgets. The id can be used as a variable to represent this metric in math expressions. Valid characters are letters, numbers, and underscore. The first character must be a lowercase letter. Default: - No ID
|
|
11661
12032
|
:param label: Label for this metric when added to a Graph in a Dashboard. You can use `dynamic labels <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/graph-dynamic-labels.html>`_ to show summary information about the entire displayed time series in the legend. For example, if you use:: [max: ${MAX}] MyMetric As the metric label, the maximum value in the visible range will be shown next to the time series name in the graph's legend. Default: - No label
|
|
11662
12033
|
:param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
|
|
11663
12034
|
:param region: Region which this metric comes from. Default: - Deployment region.
|
|
@@ -11665,11 +12036,13 @@ class TableBaseV2(
|
|
|
11665
12036
|
:param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
|
|
11666
12037
|
:param statistic: What function to use for aggregating. Use the ``aws_cloudwatch.Stats`` helper class to construct valid input strings. Can be one of the following: - "Minimum" | "min" - "Maximum" | "max" - "Average" | "avg" - "Sum" | "sum" - "SampleCount | "n" - "pNN.NN" - "tmNN.NN" | "tm(NN.NN%:NN.NN%)" - "iqm" - "wmNN.NN" | "wm(NN.NN%:NN.NN%)" - "tcNN.NN" | "tc(NN.NN%:NN.NN%)" - "tsNN.NN" | "ts(NN.NN%:NN.NN%)" Default: Average
|
|
11667
12038
|
:param unit: Unit used to filter the metric stream. Only refer to datums emitted to the metric stream with the given unit and ignore all others. Only useful when datums are being emitted to the same metric stream under different units. The default is to use all matric datums in the stream, regardless of unit, which is recommended in nearly all cases. CloudWatch does not honor this property for graphs. Default: - All metric datums in the given metric stream
|
|
12039
|
+
:param visible: Whether this metric should be visible in dashboard graphs. Setting this to false is useful when you want to hide raw metrics that are used in math expressions, and show only the expression results. Default: true
|
|
11668
12040
|
'''
|
|
11669
12041
|
props = _MetricOptions_1788b62f(
|
|
11670
12042
|
account=account,
|
|
11671
12043
|
color=color,
|
|
11672
12044
|
dimensions_map=dimensions_map,
|
|
12045
|
+
id=id,
|
|
11673
12046
|
label=label,
|
|
11674
12047
|
period=period,
|
|
11675
12048
|
region=region,
|
|
@@ -11677,6 +12050,7 @@ class TableBaseV2(
|
|
|
11677
12050
|
stack_region=stack_region,
|
|
11678
12051
|
statistic=statistic,
|
|
11679
12052
|
unit=unit,
|
|
12053
|
+
visible=visible,
|
|
11680
12054
|
)
|
|
11681
12055
|
|
|
11682
12056
|
return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricSuccessfulRequestLatency", [props]))
|
|
@@ -11688,6 +12062,7 @@ class TableBaseV2(
|
|
|
11688
12062
|
account: typing.Optional[builtins.str] = None,
|
|
11689
12063
|
color: typing.Optional[builtins.str] = None,
|
|
11690
12064
|
dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
12065
|
+
id: typing.Optional[builtins.str] = None,
|
|
11691
12066
|
label: typing.Optional[builtins.str] = None,
|
|
11692
12067
|
period: typing.Optional[_Duration_4839e8c3] = None,
|
|
11693
12068
|
region: typing.Optional[builtins.str] = None,
|
|
@@ -11695,12 +12070,14 @@ class TableBaseV2(
|
|
|
11695
12070
|
stack_region: typing.Optional[builtins.str] = None,
|
|
11696
12071
|
statistic: typing.Optional[builtins.str] = None,
|
|
11697
12072
|
unit: typing.Optional[_Unit_61bc6f70] = None,
|
|
12073
|
+
visible: typing.Optional[builtins.bool] = None,
|
|
11698
12074
|
) -> _Metric_e396a4dc:
|
|
11699
12075
|
'''(deprecated) Metric for the system errors this table.
|
|
11700
12076
|
|
|
11701
12077
|
:param account: Account which this metric comes from. Default: - Deployment account.
|
|
11702
12078
|
:param color: The hex color code, prefixed with '#' (e.g. '#00ff00'), to use when this metric is rendered on a graph. The ``Color`` class has a set of standard colors that can be used here. Default: - Automatic color
|
|
11703
12079
|
:param dimensions_map: Dimensions of the metric. Default: - No dimensions.
|
|
12080
|
+
:param id: Unique identifier for this metric when used in dashboard widgets. The id can be used as a variable to represent this metric in math expressions. Valid characters are letters, numbers, and underscore. The first character must be a lowercase letter. Default: - No ID
|
|
11704
12081
|
:param label: Label for this metric when added to a Graph in a Dashboard. You can use `dynamic labels <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/graph-dynamic-labels.html>`_ to show summary information about the entire displayed time series in the legend. For example, if you use:: [max: ${MAX}] MyMetric As the metric label, the maximum value in the visible range will be shown next to the time series name in the graph's legend. Default: - No label
|
|
11705
12082
|
:param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
|
|
11706
12083
|
:param region: Region which this metric comes from. Default: - Deployment region.
|
|
@@ -11708,6 +12085,7 @@ class TableBaseV2(
|
|
|
11708
12085
|
:param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
|
|
11709
12086
|
:param statistic: What function to use for aggregating. Use the ``aws_cloudwatch.Stats`` helper class to construct valid input strings. Can be one of the following: - "Minimum" | "min" - "Maximum" | "max" - "Average" | "avg" - "Sum" | "sum" - "SampleCount | "n" - "pNN.NN" - "tmNN.NN" | "tm(NN.NN%:NN.NN%)" - "iqm" - "wmNN.NN" | "wm(NN.NN%:NN.NN%)" - "tcNN.NN" | "tc(NN.NN%:NN.NN%)" - "tsNN.NN" | "ts(NN.NN%:NN.NN%)" Default: Average
|
|
11710
12087
|
:param unit: Unit used to filter the metric stream. Only refer to datums emitted to the metric stream with the given unit and ignore all others. Only useful when datums are being emitted to the same metric stream under different units. The default is to use all matric datums in the stream, regardless of unit, which is recommended in nearly all cases. CloudWatch does not honor this property for graphs. Default: - All metric datums in the given metric stream
|
|
12088
|
+
:param visible: Whether this metric should be visible in dashboard graphs. Setting this to false is useful when you want to hide raw metrics that are used in math expressions, and show only the expression results. Default: true
|
|
11711
12089
|
|
|
11712
12090
|
:deprecated: use ``metricSystemErrorsForOperations``.
|
|
11713
12091
|
|
|
@@ -11717,6 +12095,7 @@ class TableBaseV2(
|
|
|
11717
12095
|
account=account,
|
|
11718
12096
|
color=color,
|
|
11719
12097
|
dimensions_map=dimensions_map,
|
|
12098
|
+
id=id,
|
|
11720
12099
|
label=label,
|
|
11721
12100
|
period=period,
|
|
11722
12101
|
region=region,
|
|
@@ -11724,6 +12103,7 @@ class TableBaseV2(
|
|
|
11724
12103
|
stack_region=stack_region,
|
|
11725
12104
|
statistic=statistic,
|
|
11726
12105
|
unit=unit,
|
|
12106
|
+
visible=visible,
|
|
11727
12107
|
)
|
|
11728
12108
|
|
|
11729
12109
|
return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricSystemErrors", [props]))
|
|
@@ -11736,6 +12116,7 @@ class TableBaseV2(
|
|
|
11736
12116
|
account: typing.Optional[builtins.str] = None,
|
|
11737
12117
|
color: typing.Optional[builtins.str] = None,
|
|
11738
12118
|
dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
12119
|
+
id: typing.Optional[builtins.str] = None,
|
|
11739
12120
|
label: typing.Optional[builtins.str] = None,
|
|
11740
12121
|
period: typing.Optional[_Duration_4839e8c3] = None,
|
|
11741
12122
|
region: typing.Optional[builtins.str] = None,
|
|
@@ -11743,6 +12124,7 @@ class TableBaseV2(
|
|
|
11743
12124
|
stack_region: typing.Optional[builtins.str] = None,
|
|
11744
12125
|
statistic: typing.Optional[builtins.str] = None,
|
|
11745
12126
|
unit: typing.Optional[_Unit_61bc6f70] = None,
|
|
12127
|
+
visible: typing.Optional[builtins.bool] = None,
|
|
11746
12128
|
) -> _IMetric_c7fd29de:
|
|
11747
12129
|
'''Metric for the system errors for this table. This will sum errors across all possible operations.
|
|
11748
12130
|
|
|
@@ -11753,6 +12135,7 @@ class TableBaseV2(
|
|
|
11753
12135
|
:param account: Account which this metric comes from. Default: - Deployment account.
|
|
11754
12136
|
:param color: The hex color code, prefixed with '#' (e.g. '#00ff00'), to use when this metric is rendered on a graph. The ``Color`` class has a set of standard colors that can be used here. Default: - Automatic color
|
|
11755
12137
|
:param dimensions_map: Dimensions of the metric. Default: - No dimensions.
|
|
12138
|
+
:param id: Unique identifier for this metric when used in dashboard widgets. The id can be used as a variable to represent this metric in math expressions. Valid characters are letters, numbers, and underscore. The first character must be a lowercase letter. Default: - No ID
|
|
11756
12139
|
:param label: Label for this metric when added to a Graph in a Dashboard. You can use `dynamic labels <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/graph-dynamic-labels.html>`_ to show summary information about the entire displayed time series in the legend. For example, if you use:: [max: ${MAX}] MyMetric As the metric label, the maximum value in the visible range will be shown next to the time series name in the graph's legend. Default: - No label
|
|
11757
12140
|
:param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
|
|
11758
12141
|
:param region: Region which this metric comes from. Default: - Deployment region.
|
|
@@ -11760,12 +12143,14 @@ class TableBaseV2(
|
|
|
11760
12143
|
:param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
|
|
11761
12144
|
:param statistic: What function to use for aggregating. Use the ``aws_cloudwatch.Stats`` helper class to construct valid input strings. Can be one of the following: - "Minimum" | "min" - "Maximum" | "max" - "Average" | "avg" - "Sum" | "sum" - "SampleCount | "n" - "pNN.NN" - "tmNN.NN" | "tm(NN.NN%:NN.NN%)" - "iqm" - "wmNN.NN" | "wm(NN.NN%:NN.NN%)" - "tcNN.NN" | "tc(NN.NN%:NN.NN%)" - "tsNN.NN" | "ts(NN.NN%:NN.NN%)" Default: Average
|
|
11762
12145
|
:param unit: Unit used to filter the metric stream. Only refer to datums emitted to the metric stream with the given unit and ignore all others. Only useful when datums are being emitted to the same metric stream under different units. The default is to use all matric datums in the stream, regardless of unit, which is recommended in nearly all cases. CloudWatch does not honor this property for graphs. Default: - All metric datums in the given metric stream
|
|
12146
|
+
:param visible: Whether this metric should be visible in dashboard graphs. Setting this to false is useful when you want to hide raw metrics that are used in math expressions, and show only the expression results. Default: true
|
|
11763
12147
|
'''
|
|
11764
12148
|
props = SystemErrorsForOperationsMetricOptions(
|
|
11765
12149
|
operations=operations,
|
|
11766
12150
|
account=account,
|
|
11767
12151
|
color=color,
|
|
11768
12152
|
dimensions_map=dimensions_map,
|
|
12153
|
+
id=id,
|
|
11769
12154
|
label=label,
|
|
11770
12155
|
period=period,
|
|
11771
12156
|
region=region,
|
|
@@ -11773,6 +12158,7 @@ class TableBaseV2(
|
|
|
11773
12158
|
stack_region=stack_region,
|
|
11774
12159
|
statistic=statistic,
|
|
11775
12160
|
unit=unit,
|
|
12161
|
+
visible=visible,
|
|
11776
12162
|
)
|
|
11777
12163
|
|
|
11778
12164
|
return typing.cast(_IMetric_c7fd29de, jsii.invoke(self, "metricSystemErrorsForOperations", [props]))
|
|
@@ -11784,6 +12170,7 @@ class TableBaseV2(
|
|
|
11784
12170
|
account: typing.Optional[builtins.str] = None,
|
|
11785
12171
|
color: typing.Optional[builtins.str] = None,
|
|
11786
12172
|
dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
12173
|
+
id: typing.Optional[builtins.str] = None,
|
|
11787
12174
|
label: typing.Optional[builtins.str] = None,
|
|
11788
12175
|
period: typing.Optional[_Duration_4839e8c3] = None,
|
|
11789
12176
|
region: typing.Optional[builtins.str] = None,
|
|
@@ -11791,6 +12178,7 @@ class TableBaseV2(
|
|
|
11791
12178
|
stack_region: typing.Optional[builtins.str] = None,
|
|
11792
12179
|
statistic: typing.Optional[builtins.str] = None,
|
|
11793
12180
|
unit: typing.Optional[_Unit_61bc6f70] = None,
|
|
12181
|
+
visible: typing.Optional[builtins.bool] = None,
|
|
11794
12182
|
) -> _Metric_e396a4dc:
|
|
11795
12183
|
'''(deprecated) How many requests are throttled on this table.
|
|
11796
12184
|
|
|
@@ -11800,6 +12188,7 @@ class TableBaseV2(
|
|
|
11800
12188
|
:param account: Account which this metric comes from. Default: - Deployment account.
|
|
11801
12189
|
:param color: The hex color code, prefixed with '#' (e.g. '#00ff00'), to use when this metric is rendered on a graph. The ``Color`` class has a set of standard colors that can be used here. Default: - Automatic color
|
|
11802
12190
|
:param dimensions_map: Dimensions of the metric. Default: - No dimensions.
|
|
12191
|
+
:param id: Unique identifier for this metric when used in dashboard widgets. The id can be used as a variable to represent this metric in math expressions. Valid characters are letters, numbers, and underscore. The first character must be a lowercase letter. Default: - No ID
|
|
11803
12192
|
:param label: Label for this metric when added to a Graph in a Dashboard. You can use `dynamic labels <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/graph-dynamic-labels.html>`_ to show summary information about the entire displayed time series in the legend. For example, if you use:: [max: ${MAX}] MyMetric As the metric label, the maximum value in the visible range will be shown next to the time series name in the graph's legend. Default: - No label
|
|
11804
12193
|
:param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
|
|
11805
12194
|
:param region: Region which this metric comes from. Default: - Deployment region.
|
|
@@ -11807,6 +12196,7 @@ class TableBaseV2(
|
|
|
11807
12196
|
:param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
|
|
11808
12197
|
:param statistic: What function to use for aggregating. Use the ``aws_cloudwatch.Stats`` helper class to construct valid input strings. Can be one of the following: - "Minimum" | "min" - "Maximum" | "max" - "Average" | "avg" - "Sum" | "sum" - "SampleCount | "n" - "pNN.NN" - "tmNN.NN" | "tm(NN.NN%:NN.NN%)" - "iqm" - "wmNN.NN" | "wm(NN.NN%:NN.NN%)" - "tcNN.NN" | "tc(NN.NN%:NN.NN%)" - "tsNN.NN" | "ts(NN.NN%:NN.NN%)" Default: Average
|
|
11809
12198
|
:param unit: Unit used to filter the metric stream. Only refer to datums emitted to the metric stream with the given unit and ignore all others. Only useful when datums are being emitted to the same metric stream under different units. The default is to use all matric datums in the stream, regardless of unit, which is recommended in nearly all cases. CloudWatch does not honor this property for graphs. Default: - All metric datums in the given metric stream
|
|
12199
|
+
:param visible: Whether this metric should be visible in dashboard graphs. Setting this to false is useful when you want to hide raw metrics that are used in math expressions, and show only the expression results. Default: true
|
|
11810
12200
|
|
|
11811
12201
|
:deprecated: Do not use this function. It returns an invalid metric. Use ``metricThrottledRequestsForOperation`` instead.
|
|
11812
12202
|
|
|
@@ -11816,6 +12206,7 @@ class TableBaseV2(
|
|
|
11816
12206
|
account=account,
|
|
11817
12207
|
color=color,
|
|
11818
12208
|
dimensions_map=dimensions_map,
|
|
12209
|
+
id=id,
|
|
11819
12210
|
label=label,
|
|
11820
12211
|
period=period,
|
|
11821
12212
|
region=region,
|
|
@@ -11823,6 +12214,7 @@ class TableBaseV2(
|
|
|
11823
12214
|
stack_region=stack_region,
|
|
11824
12215
|
statistic=statistic,
|
|
11825
12216
|
unit=unit,
|
|
12217
|
+
visible=visible,
|
|
11826
12218
|
)
|
|
11827
12219
|
|
|
11828
12220
|
return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricThrottledRequests", [props]))
|
|
@@ -11836,6 +12228,7 @@ class TableBaseV2(
|
|
|
11836
12228
|
account: typing.Optional[builtins.str] = None,
|
|
11837
12229
|
color: typing.Optional[builtins.str] = None,
|
|
11838
12230
|
dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
12231
|
+
id: typing.Optional[builtins.str] = None,
|
|
11839
12232
|
label: typing.Optional[builtins.str] = None,
|
|
11840
12233
|
period: typing.Optional[_Duration_4839e8c3] = None,
|
|
11841
12234
|
region: typing.Optional[builtins.str] = None,
|
|
@@ -11843,6 +12236,7 @@ class TableBaseV2(
|
|
|
11843
12236
|
stack_region: typing.Optional[builtins.str] = None,
|
|
11844
12237
|
statistic: typing.Optional[builtins.str] = None,
|
|
11845
12238
|
unit: typing.Optional[_Unit_61bc6f70] = None,
|
|
12239
|
+
visible: typing.Optional[builtins.bool] = None,
|
|
11846
12240
|
) -> _IMetric_c7fd29de:
|
|
11847
12241
|
'''How many requests are throttled on this table for the given operation.
|
|
11848
12242
|
|
|
@@ -11854,6 +12248,7 @@ class TableBaseV2(
|
|
|
11854
12248
|
:param account: Account which this metric comes from. Default: - Deployment account.
|
|
11855
12249
|
:param color: The hex color code, prefixed with '#' (e.g. '#00ff00'), to use when this metric is rendered on a graph. The ``Color`` class has a set of standard colors that can be used here. Default: - Automatic color
|
|
11856
12250
|
:param dimensions_map: Dimensions of the metric. Default: - No dimensions.
|
|
12251
|
+
:param id: Unique identifier for this metric when used in dashboard widgets. The id can be used as a variable to represent this metric in math expressions. Valid characters are letters, numbers, and underscore. The first character must be a lowercase letter. Default: - No ID
|
|
11857
12252
|
:param label: Label for this metric when added to a Graph in a Dashboard. You can use `dynamic labels <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/graph-dynamic-labels.html>`_ to show summary information about the entire displayed time series in the legend. For example, if you use:: [max: ${MAX}] MyMetric As the metric label, the maximum value in the visible range will be shown next to the time series name in the graph's legend. Default: - No label
|
|
11858
12253
|
:param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
|
|
11859
12254
|
:param region: Region which this metric comes from. Default: - Deployment region.
|
|
@@ -11861,6 +12256,7 @@ class TableBaseV2(
|
|
|
11861
12256
|
:param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
|
|
11862
12257
|
:param statistic: What function to use for aggregating. Use the ``aws_cloudwatch.Stats`` helper class to construct valid input strings. Can be one of the following: - "Minimum" | "min" - "Maximum" | "max" - "Average" | "avg" - "Sum" | "sum" - "SampleCount | "n" - "pNN.NN" - "tmNN.NN" | "tm(NN.NN%:NN.NN%)" - "iqm" - "wmNN.NN" | "wm(NN.NN%:NN.NN%)" - "tcNN.NN" | "tc(NN.NN%:NN.NN%)" - "tsNN.NN" | "ts(NN.NN%:NN.NN%)" Default: Average
|
|
11863
12258
|
:param unit: Unit used to filter the metric stream. Only refer to datums emitted to the metric stream with the given unit and ignore all others. Only useful when datums are being emitted to the same metric stream under different units. The default is to use all matric datums in the stream, regardless of unit, which is recommended in nearly all cases. CloudWatch does not honor this property for graphs. Default: - All metric datums in the given metric stream
|
|
12259
|
+
:param visible: Whether this metric should be visible in dashboard graphs. Setting this to false is useful when you want to hide raw metrics that are used in math expressions, and show only the expression results. Default: true
|
|
11864
12260
|
'''
|
|
11865
12261
|
if __debug__:
|
|
11866
12262
|
type_hints = typing.get_type_hints(_typecheckingstub__77d4ef5bc85980ee36c06595f45b530b92a1b51437a40ca9dc19d75ed320f4b0)
|
|
@@ -11870,6 +12266,7 @@ class TableBaseV2(
|
|
|
11870
12266
|
account=account,
|
|
11871
12267
|
color=color,
|
|
11872
12268
|
dimensions_map=dimensions_map,
|
|
12269
|
+
id=id,
|
|
11873
12270
|
label=label,
|
|
11874
12271
|
period=period,
|
|
11875
12272
|
region=region,
|
|
@@ -11877,6 +12274,7 @@ class TableBaseV2(
|
|
|
11877
12274
|
stack_region=stack_region,
|
|
11878
12275
|
statistic=statistic,
|
|
11879
12276
|
unit=unit,
|
|
12277
|
+
visible=visible,
|
|
11880
12278
|
)
|
|
11881
12279
|
|
|
11882
12280
|
return typing.cast(_IMetric_c7fd29de, jsii.invoke(self, "metricThrottledRequestsForOperation", [operation, props]))
|
|
@@ -11889,6 +12287,7 @@ class TableBaseV2(
|
|
|
11889
12287
|
account: typing.Optional[builtins.str] = None,
|
|
11890
12288
|
color: typing.Optional[builtins.str] = None,
|
|
11891
12289
|
dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
12290
|
+
id: typing.Optional[builtins.str] = None,
|
|
11892
12291
|
label: typing.Optional[builtins.str] = None,
|
|
11893
12292
|
period: typing.Optional[_Duration_4839e8c3] = None,
|
|
11894
12293
|
region: typing.Optional[builtins.str] = None,
|
|
@@ -11896,6 +12295,7 @@ class TableBaseV2(
|
|
|
11896
12295
|
stack_region: typing.Optional[builtins.str] = None,
|
|
11897
12296
|
statistic: typing.Optional[builtins.str] = None,
|
|
11898
12297
|
unit: typing.Optional[_Unit_61bc6f70] = None,
|
|
12298
|
+
visible: typing.Optional[builtins.bool] = None,
|
|
11899
12299
|
) -> _IMetric_c7fd29de:
|
|
11900
12300
|
'''How many requests are throttled on this table. This will sum errors across all possible operations.
|
|
11901
12301
|
|
|
@@ -11906,6 +12306,7 @@ class TableBaseV2(
|
|
|
11906
12306
|
:param account: Account which this metric comes from. Default: - Deployment account.
|
|
11907
12307
|
:param color: The hex color code, prefixed with '#' (e.g. '#00ff00'), to use when this metric is rendered on a graph. The ``Color`` class has a set of standard colors that can be used here. Default: - Automatic color
|
|
11908
12308
|
:param dimensions_map: Dimensions of the metric. Default: - No dimensions.
|
|
12309
|
+
:param id: Unique identifier for this metric when used in dashboard widgets. The id can be used as a variable to represent this metric in math expressions. Valid characters are letters, numbers, and underscore. The first character must be a lowercase letter. Default: - No ID
|
|
11909
12310
|
:param label: Label for this metric when added to a Graph in a Dashboard. You can use `dynamic labels <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/graph-dynamic-labels.html>`_ to show summary information about the entire displayed time series in the legend. For example, if you use:: [max: ${MAX}] MyMetric As the metric label, the maximum value in the visible range will be shown next to the time series name in the graph's legend. Default: - No label
|
|
11910
12311
|
:param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
|
|
11911
12312
|
:param region: Region which this metric comes from. Default: - Deployment region.
|
|
@@ -11913,12 +12314,14 @@ class TableBaseV2(
|
|
|
11913
12314
|
:param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
|
|
11914
12315
|
:param statistic: What function to use for aggregating. Use the ``aws_cloudwatch.Stats`` helper class to construct valid input strings. Can be one of the following: - "Minimum" | "min" - "Maximum" | "max" - "Average" | "avg" - "Sum" | "sum" - "SampleCount | "n" - "pNN.NN" - "tmNN.NN" | "tm(NN.NN%:NN.NN%)" - "iqm" - "wmNN.NN" | "wm(NN.NN%:NN.NN%)" - "tcNN.NN" | "tc(NN.NN%:NN.NN%)" - "tsNN.NN" | "ts(NN.NN%:NN.NN%)" Default: Average
|
|
11915
12316
|
:param unit: Unit used to filter the metric stream. Only refer to datums emitted to the metric stream with the given unit and ignore all others. Only useful when datums are being emitted to the same metric stream under different units. The default is to use all matric datums in the stream, regardless of unit, which is recommended in nearly all cases. CloudWatch does not honor this property for graphs. Default: - All metric datums in the given metric stream
|
|
12317
|
+
:param visible: Whether this metric should be visible in dashboard graphs. Setting this to false is useful when you want to hide raw metrics that are used in math expressions, and show only the expression results. Default: true
|
|
11916
12318
|
'''
|
|
11917
12319
|
props = OperationsMetricOptions(
|
|
11918
12320
|
operations=operations,
|
|
11919
12321
|
account=account,
|
|
11920
12322
|
color=color,
|
|
11921
12323
|
dimensions_map=dimensions_map,
|
|
12324
|
+
id=id,
|
|
11922
12325
|
label=label,
|
|
11923
12326
|
period=period,
|
|
11924
12327
|
region=region,
|
|
@@ -11926,6 +12329,7 @@ class TableBaseV2(
|
|
|
11926
12329
|
stack_region=stack_region,
|
|
11927
12330
|
statistic=statistic,
|
|
11928
12331
|
unit=unit,
|
|
12332
|
+
visible=visible,
|
|
11929
12333
|
)
|
|
11930
12334
|
|
|
11931
12335
|
return typing.cast(_IMetric_c7fd29de, jsii.invoke(self, "metricThrottledRequestsForOperations", [props]))
|
|
@@ -11937,6 +12341,7 @@ class TableBaseV2(
|
|
|
11937
12341
|
account: typing.Optional[builtins.str] = None,
|
|
11938
12342
|
color: typing.Optional[builtins.str] = None,
|
|
11939
12343
|
dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
12344
|
+
id: typing.Optional[builtins.str] = None,
|
|
11940
12345
|
label: typing.Optional[builtins.str] = None,
|
|
11941
12346
|
period: typing.Optional[_Duration_4839e8c3] = None,
|
|
11942
12347
|
region: typing.Optional[builtins.str] = None,
|
|
@@ -11944,6 +12349,7 @@ class TableBaseV2(
|
|
|
11944
12349
|
stack_region: typing.Optional[builtins.str] = None,
|
|
11945
12350
|
statistic: typing.Optional[builtins.str] = None,
|
|
11946
12351
|
unit: typing.Optional[_Unit_61bc6f70] = None,
|
|
12352
|
+
visible: typing.Optional[builtins.bool] = None,
|
|
11947
12353
|
) -> _Metric_e396a4dc:
|
|
11948
12354
|
'''Metric for the user errors for this table.
|
|
11949
12355
|
|
|
@@ -11956,6 +12362,7 @@ class TableBaseV2(
|
|
|
11956
12362
|
:param account: Account which this metric comes from. Default: - Deployment account.
|
|
11957
12363
|
:param color: The hex color code, prefixed with '#' (e.g. '#00ff00'), to use when this metric is rendered on a graph. The ``Color`` class has a set of standard colors that can be used here. Default: - Automatic color
|
|
11958
12364
|
:param dimensions_map: Dimensions of the metric. Default: - No dimensions.
|
|
12365
|
+
:param id: Unique identifier for this metric when used in dashboard widgets. The id can be used as a variable to represent this metric in math expressions. Valid characters are letters, numbers, and underscore. The first character must be a lowercase letter. Default: - No ID
|
|
11959
12366
|
:param label: Label for this metric when added to a Graph in a Dashboard. You can use `dynamic labels <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/graph-dynamic-labels.html>`_ to show summary information about the entire displayed time series in the legend. For example, if you use:: [max: ${MAX}] MyMetric As the metric label, the maximum value in the visible range will be shown next to the time series name in the graph's legend. Default: - No label
|
|
11960
12367
|
:param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
|
|
11961
12368
|
:param region: Region which this metric comes from. Default: - Deployment region.
|
|
@@ -11963,11 +12370,13 @@ class TableBaseV2(
|
|
|
11963
12370
|
:param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
|
|
11964
12371
|
:param statistic: What function to use for aggregating. Use the ``aws_cloudwatch.Stats`` helper class to construct valid input strings. Can be one of the following: - "Minimum" | "min" - "Maximum" | "max" - "Average" | "avg" - "Sum" | "sum" - "SampleCount | "n" - "pNN.NN" - "tmNN.NN" | "tm(NN.NN%:NN.NN%)" - "iqm" - "wmNN.NN" | "wm(NN.NN%:NN.NN%)" - "tcNN.NN" | "tc(NN.NN%:NN.NN%)" - "tsNN.NN" | "ts(NN.NN%:NN.NN%)" Default: Average
|
|
11965
12372
|
:param unit: Unit used to filter the metric stream. Only refer to datums emitted to the metric stream with the given unit and ignore all others. Only useful when datums are being emitted to the same metric stream under different units. The default is to use all matric datums in the stream, regardless of unit, which is recommended in nearly all cases. CloudWatch does not honor this property for graphs. Default: - All metric datums in the given metric stream
|
|
12373
|
+
:param visible: Whether this metric should be visible in dashboard graphs. Setting this to false is useful when you want to hide raw metrics that are used in math expressions, and show only the expression results. Default: true
|
|
11966
12374
|
'''
|
|
11967
12375
|
props = _MetricOptions_1788b62f(
|
|
11968
12376
|
account=account,
|
|
11969
12377
|
color=color,
|
|
11970
12378
|
dimensions_map=dimensions_map,
|
|
12379
|
+
id=id,
|
|
11971
12380
|
label=label,
|
|
11972
12381
|
period=period,
|
|
11973
12382
|
region=region,
|
|
@@ -11975,6 +12384,7 @@ class TableBaseV2(
|
|
|
11975
12384
|
stack_region=stack_region,
|
|
11976
12385
|
statistic=statistic,
|
|
11977
12386
|
unit=unit,
|
|
12387
|
+
visible=visible,
|
|
11978
12388
|
)
|
|
11979
12389
|
|
|
11980
12390
|
return typing.cast(_Metric_e396a4dc, jsii.invoke(self, "metricUserErrors", [props]))
|
|
@@ -15131,6 +15541,7 @@ class LocalSecondaryIndexProps(SecondaryIndexProps):
|
|
|
15131
15541
|
"account": "account",
|
|
15132
15542
|
"color": "color",
|
|
15133
15543
|
"dimensions_map": "dimensionsMap",
|
|
15544
|
+
"id": "id",
|
|
15134
15545
|
"label": "label",
|
|
15135
15546
|
"period": "period",
|
|
15136
15547
|
"region": "region",
|
|
@@ -15138,6 +15549,7 @@ class LocalSecondaryIndexProps(SecondaryIndexProps):
|
|
|
15138
15549
|
"stack_region": "stackRegion",
|
|
15139
15550
|
"statistic": "statistic",
|
|
15140
15551
|
"unit": "unit",
|
|
15552
|
+
"visible": "visible",
|
|
15141
15553
|
"operations": "operations",
|
|
15142
15554
|
},
|
|
15143
15555
|
)
|
|
@@ -15148,6 +15560,7 @@ class OperationsMetricOptions(SystemErrorsForOperationsMetricOptions):
|
|
|
15148
15560
|
account: typing.Optional[builtins.str] = None,
|
|
15149
15561
|
color: typing.Optional[builtins.str] = None,
|
|
15150
15562
|
dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
15563
|
+
id: typing.Optional[builtins.str] = None,
|
|
15151
15564
|
label: typing.Optional[builtins.str] = None,
|
|
15152
15565
|
period: typing.Optional[_Duration_4839e8c3] = None,
|
|
15153
15566
|
region: typing.Optional[builtins.str] = None,
|
|
@@ -15155,6 +15568,7 @@ class OperationsMetricOptions(SystemErrorsForOperationsMetricOptions):
|
|
|
15155
15568
|
stack_region: typing.Optional[builtins.str] = None,
|
|
15156
15569
|
statistic: typing.Optional[builtins.str] = None,
|
|
15157
15570
|
unit: typing.Optional[_Unit_61bc6f70] = None,
|
|
15571
|
+
visible: typing.Optional[builtins.bool] = None,
|
|
15158
15572
|
operations: typing.Optional[typing.Sequence[Operation]] = None,
|
|
15159
15573
|
) -> None:
|
|
15160
15574
|
'''Options for configuring metrics that considers multiple operations.
|
|
@@ -15162,6 +15576,7 @@ class OperationsMetricOptions(SystemErrorsForOperationsMetricOptions):
|
|
|
15162
15576
|
:param account: Account which this metric comes from. Default: - Deployment account.
|
|
15163
15577
|
:param color: The hex color code, prefixed with '#' (e.g. '#00ff00'), to use when this metric is rendered on a graph. The ``Color`` class has a set of standard colors that can be used here. Default: - Automatic color
|
|
15164
15578
|
:param dimensions_map: Dimensions of the metric. Default: - No dimensions.
|
|
15579
|
+
:param id: Unique identifier for this metric when used in dashboard widgets. The id can be used as a variable to represent this metric in math expressions. Valid characters are letters, numbers, and underscore. The first character must be a lowercase letter. Default: - No ID
|
|
15165
15580
|
:param label: Label for this metric when added to a Graph in a Dashboard. You can use `dynamic labels <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/graph-dynamic-labels.html>`_ to show summary information about the entire displayed time series in the legend. For example, if you use:: [max: ${MAX}] MyMetric As the metric label, the maximum value in the visible range will be shown next to the time series name in the graph's legend. Default: - No label
|
|
15166
15581
|
:param period: The period over which the specified statistic is applied. Default: Duration.minutes(5)
|
|
15167
15582
|
:param region: Region which this metric comes from. Default: - Deployment region.
|
|
@@ -15169,6 +15584,7 @@ class OperationsMetricOptions(SystemErrorsForOperationsMetricOptions):
|
|
|
15169
15584
|
:param stack_region: Region of the stack this metric is attached to. Default: - Deployment region.
|
|
15170
15585
|
:param statistic: What function to use for aggregating. Use the ``aws_cloudwatch.Stats`` helper class to construct valid input strings. Can be one of the following: - "Minimum" | "min" - "Maximum" | "max" - "Average" | "avg" - "Sum" | "sum" - "SampleCount | "n" - "pNN.NN" - "tmNN.NN" | "tm(NN.NN%:NN.NN%)" - "iqm" - "wmNN.NN" | "wm(NN.NN%:NN.NN%)" - "tcNN.NN" | "tc(NN.NN%:NN.NN%)" - "tsNN.NN" | "ts(NN.NN%:NN.NN%)" Default: Average
|
|
15171
15586
|
:param unit: Unit used to filter the metric stream. Only refer to datums emitted to the metric stream with the given unit and ignore all others. Only useful when datums are being emitted to the same metric stream under different units. The default is to use all matric datums in the stream, regardless of unit, which is recommended in nearly all cases. CloudWatch does not honor this property for graphs. Default: - All metric datums in the given metric stream
|
|
15587
|
+
:param visible: Whether this metric should be visible in dashboard graphs. Setting this to false is useful when you want to hide raw metrics that are used in math expressions, and show only the expression results. Default: true
|
|
15172
15588
|
:param operations: The operations to apply the metric to. Default: - All operations available by DynamoDB tables will be considered.
|
|
15173
15589
|
|
|
15174
15590
|
:exampleMetadata: fixture=_generated
|
|
@@ -15187,6 +15603,7 @@ class OperationsMetricOptions(SystemErrorsForOperationsMetricOptions):
|
|
|
15187
15603
|
dimensions_map={
|
|
15188
15604
|
"dimensions_map_key": "dimensionsMap"
|
|
15189
15605
|
},
|
|
15606
|
+
id="id",
|
|
15190
15607
|
label="label",
|
|
15191
15608
|
operations=[dynamodb.Operation.GET_ITEM],
|
|
15192
15609
|
period=cdk.Duration.minutes(30),
|
|
@@ -15194,7 +15611,8 @@ class OperationsMetricOptions(SystemErrorsForOperationsMetricOptions):
|
|
|
15194
15611
|
stack_account="stackAccount",
|
|
15195
15612
|
stack_region="stackRegion",
|
|
15196
15613
|
statistic="statistic",
|
|
15197
|
-
unit=cloudwatch.Unit.SECONDS
|
|
15614
|
+
unit=cloudwatch.Unit.SECONDS,
|
|
15615
|
+
visible=False
|
|
15198
15616
|
)
|
|
15199
15617
|
'''
|
|
15200
15618
|
if __debug__:
|
|
@@ -15202,6 +15620,7 @@ class OperationsMetricOptions(SystemErrorsForOperationsMetricOptions):
|
|
|
15202
15620
|
check_type(argname="argument account", value=account, expected_type=type_hints["account"])
|
|
15203
15621
|
check_type(argname="argument color", value=color, expected_type=type_hints["color"])
|
|
15204
15622
|
check_type(argname="argument dimensions_map", value=dimensions_map, expected_type=type_hints["dimensions_map"])
|
|
15623
|
+
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
15205
15624
|
check_type(argname="argument label", value=label, expected_type=type_hints["label"])
|
|
15206
15625
|
check_type(argname="argument period", value=period, expected_type=type_hints["period"])
|
|
15207
15626
|
check_type(argname="argument region", value=region, expected_type=type_hints["region"])
|
|
@@ -15209,6 +15628,7 @@ class OperationsMetricOptions(SystemErrorsForOperationsMetricOptions):
|
|
|
15209
15628
|
check_type(argname="argument stack_region", value=stack_region, expected_type=type_hints["stack_region"])
|
|
15210
15629
|
check_type(argname="argument statistic", value=statistic, expected_type=type_hints["statistic"])
|
|
15211
15630
|
check_type(argname="argument unit", value=unit, expected_type=type_hints["unit"])
|
|
15631
|
+
check_type(argname="argument visible", value=visible, expected_type=type_hints["visible"])
|
|
15212
15632
|
check_type(argname="argument operations", value=operations, expected_type=type_hints["operations"])
|
|
15213
15633
|
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
15214
15634
|
if account is not None:
|
|
@@ -15217,6 +15637,8 @@ class OperationsMetricOptions(SystemErrorsForOperationsMetricOptions):
|
|
|
15217
15637
|
self._values["color"] = color
|
|
15218
15638
|
if dimensions_map is not None:
|
|
15219
15639
|
self._values["dimensions_map"] = dimensions_map
|
|
15640
|
+
if id is not None:
|
|
15641
|
+
self._values["id"] = id
|
|
15220
15642
|
if label is not None:
|
|
15221
15643
|
self._values["label"] = label
|
|
15222
15644
|
if period is not None:
|
|
@@ -15231,6 +15653,8 @@ class OperationsMetricOptions(SystemErrorsForOperationsMetricOptions):
|
|
|
15231
15653
|
self._values["statistic"] = statistic
|
|
15232
15654
|
if unit is not None:
|
|
15233
15655
|
self._values["unit"] = unit
|
|
15656
|
+
if visible is not None:
|
|
15657
|
+
self._values["visible"] = visible
|
|
15234
15658
|
if operations is not None:
|
|
15235
15659
|
self._values["operations"] = operations
|
|
15236
15660
|
|
|
@@ -15263,6 +15687,19 @@ class OperationsMetricOptions(SystemErrorsForOperationsMetricOptions):
|
|
|
15263
15687
|
result = self._values.get("dimensions_map")
|
|
15264
15688
|
return typing.cast(typing.Optional[typing.Mapping[builtins.str, builtins.str]], result)
|
|
15265
15689
|
|
|
15690
|
+
@builtins.property
|
|
15691
|
+
def id(self) -> typing.Optional[builtins.str]:
|
|
15692
|
+
'''Unique identifier for this metric when used in dashboard widgets.
|
|
15693
|
+
|
|
15694
|
+
The id can be used as a variable to represent this metric in math expressions.
|
|
15695
|
+
Valid characters are letters, numbers, and underscore. The first character
|
|
15696
|
+
must be a lowercase letter.
|
|
15697
|
+
|
|
15698
|
+
:default: - No ID
|
|
15699
|
+
'''
|
|
15700
|
+
result = self._values.get("id")
|
|
15701
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
15702
|
+
|
|
15266
15703
|
@builtins.property
|
|
15267
15704
|
def label(self) -> typing.Optional[builtins.str]:
|
|
15268
15705
|
'''Label for this metric when added to a Graph in a Dashboard.
|
|
@@ -15360,6 +15797,18 @@ class OperationsMetricOptions(SystemErrorsForOperationsMetricOptions):
|
|
|
15360
15797
|
result = self._values.get("unit")
|
|
15361
15798
|
return typing.cast(typing.Optional[_Unit_61bc6f70], result)
|
|
15362
15799
|
|
|
15800
|
+
@builtins.property
|
|
15801
|
+
def visible(self) -> typing.Optional[builtins.bool]:
|
|
15802
|
+
'''Whether this metric should be visible in dashboard graphs.
|
|
15803
|
+
|
|
15804
|
+
Setting this to false is useful when you want to hide raw metrics
|
|
15805
|
+
that are used in math expressions, and show only the expression results.
|
|
15806
|
+
|
|
15807
|
+
:default: true
|
|
15808
|
+
'''
|
|
15809
|
+
result = self._values.get("visible")
|
|
15810
|
+
return typing.cast(typing.Optional[builtins.bool], result)
|
|
15811
|
+
|
|
15363
15812
|
@builtins.property
|
|
15364
15813
|
def operations(self) -> typing.Optional[typing.List[Operation]]:
|
|
15365
15814
|
'''The operations to apply the metric to.
|
|
@@ -16167,7 +16616,9 @@ def _typecheckingstub__751414def1994180982879a700bdaa6afcf528def91a672904946db1b
|
|
|
16167
16616
|
replicas: typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnGlobalTable.ReplicaSpecificationProperty, typing.Dict[builtins.str, typing.Any]]]]],
|
|
16168
16617
|
billing_mode: typing.Optional[builtins.str] = None,
|
|
16169
16618
|
global_secondary_indexes: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnGlobalTable.GlobalSecondaryIndexProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
16619
|
+
global_table_witnesses: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnGlobalTable.GlobalTableWitnessProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
16170
16620
|
local_secondary_indexes: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnGlobalTable.LocalSecondaryIndexProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
16621
|
+
multi_region_consistency: typing.Optional[builtins.str] = None,
|
|
16171
16622
|
sse_specification: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnGlobalTable.SSESpecificationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
16172
16623
|
stream_specification: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnGlobalTable.StreamSpecificationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
16173
16624
|
table_name: typing.Optional[builtins.str] = None,
|
|
@@ -16221,12 +16672,24 @@ def _typecheckingstub__484436e7e1867a9d477f3fa0bdee0dfdfb2646ba7497c71d398076d98
|
|
|
16221
16672
|
"""Type checking stubs"""
|
|
16222
16673
|
pass
|
|
16223
16674
|
|
|
16675
|
+
def _typecheckingstub__12c424a307d05c5f02c5d3df3ad420cd4151741010ad7531cd1fdc24fa467f2a(
|
|
16676
|
+
value: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, CfnGlobalTable.GlobalTableWitnessProperty]]]],
|
|
16677
|
+
) -> None:
|
|
16678
|
+
"""Type checking stubs"""
|
|
16679
|
+
pass
|
|
16680
|
+
|
|
16224
16681
|
def _typecheckingstub__a0b3191b7117186bc41f62e22fff4e4f50d0835a5f174dde9b2b8188ceee5162(
|
|
16225
16682
|
value: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, CfnGlobalTable.LocalSecondaryIndexProperty]]]],
|
|
16226
16683
|
) -> None:
|
|
16227
16684
|
"""Type checking stubs"""
|
|
16228
16685
|
pass
|
|
16229
16686
|
|
|
16687
|
+
def _typecheckingstub__9fa800c2b80560454a211edac5215563ba994d97da2fc12e542c8f064daf753d(
|
|
16688
|
+
value: typing.Optional[builtins.str],
|
|
16689
|
+
) -> None:
|
|
16690
|
+
"""Type checking stubs"""
|
|
16691
|
+
pass
|
|
16692
|
+
|
|
16230
16693
|
def _typecheckingstub__ccb739aac1de1ded207a80b782298c972ccf113dd96de224fea60f9ce1b43833(
|
|
16231
16694
|
value: typing.Optional[typing.Union[_IResolvable_da3f097b, CfnGlobalTable.SSESpecificationProperty]],
|
|
16232
16695
|
) -> None:
|
|
@@ -16306,6 +16769,13 @@ def _typecheckingstub__e4c0e93a19b9176fd628b4a4e5a1bb2ecabf4d1960e7d8fd138a1ecf0
|
|
|
16306
16769
|
"""Type checking stubs"""
|
|
16307
16770
|
pass
|
|
16308
16771
|
|
|
16772
|
+
def _typecheckingstub__b7628b4fa51cd4a5f8c1253b45a920f7c03001298e758a5d6592641047f1b8e9(
|
|
16773
|
+
*,
|
|
16774
|
+
region: typing.Optional[builtins.str] = None,
|
|
16775
|
+
) -> None:
|
|
16776
|
+
"""Type checking stubs"""
|
|
16777
|
+
pass
|
|
16778
|
+
|
|
16309
16779
|
def _typecheckingstub__2f6fed9a918a916a89877bc736388ca668f340b42771520c53e2d95e6b4837e2(
|
|
16310
16780
|
*,
|
|
16311
16781
|
attribute_name: builtins.str,
|
|
@@ -16474,7 +16944,9 @@ def _typecheckingstub__ca0383ad91536c26961e85e52a3e6a3d2d74db3c4d430cbbe3d9f42e2
|
|
|
16474
16944
|
replicas: typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnGlobalTable.ReplicaSpecificationProperty, typing.Dict[builtins.str, typing.Any]]]]],
|
|
16475
16945
|
billing_mode: typing.Optional[builtins.str] = None,
|
|
16476
16946
|
global_secondary_indexes: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnGlobalTable.GlobalSecondaryIndexProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
16947
|
+
global_table_witnesses: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnGlobalTable.GlobalTableWitnessProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
16477
16948
|
local_secondary_indexes: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnGlobalTable.LocalSecondaryIndexProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
16949
|
+
multi_region_consistency: typing.Optional[builtins.str] = None,
|
|
16478
16950
|
sse_specification: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnGlobalTable.SSESpecificationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
16479
16951
|
stream_specification: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnGlobalTable.StreamSpecificationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
16480
16952
|
table_name: typing.Optional[builtins.str] = None,
|
|
@@ -16916,6 +17388,7 @@ def _typecheckingstub__44aae7bfccb81f7147f788917765a21288aff5fe772bb7c0c84ceb7a7
|
|
|
16916
17388
|
account: typing.Optional[builtins.str] = None,
|
|
16917
17389
|
color: typing.Optional[builtins.str] = None,
|
|
16918
17390
|
dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
17391
|
+
id: typing.Optional[builtins.str] = None,
|
|
16919
17392
|
label: typing.Optional[builtins.str] = None,
|
|
16920
17393
|
period: typing.Optional[_Duration_4839e8c3] = None,
|
|
16921
17394
|
region: typing.Optional[builtins.str] = None,
|
|
@@ -16923,6 +17396,7 @@ def _typecheckingstub__44aae7bfccb81f7147f788917765a21288aff5fe772bb7c0c84ceb7a7
|
|
|
16923
17396
|
stack_region: typing.Optional[builtins.str] = None,
|
|
16924
17397
|
statistic: typing.Optional[builtins.str] = None,
|
|
16925
17398
|
unit: typing.Optional[_Unit_61bc6f70] = None,
|
|
17399
|
+
visible: typing.Optional[builtins.bool] = None,
|
|
16926
17400
|
) -> None:
|
|
16927
17401
|
"""Type checking stubs"""
|
|
16928
17402
|
pass
|
|
@@ -16985,6 +17459,7 @@ def _typecheckingstub__cdad33b4389e90fa83c3fbfb70fd12ef2e9a72ee375dc3e96dcbef610
|
|
|
16985
17459
|
account: typing.Optional[builtins.str] = None,
|
|
16986
17460
|
color: typing.Optional[builtins.str] = None,
|
|
16987
17461
|
dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
17462
|
+
id: typing.Optional[builtins.str] = None,
|
|
16988
17463
|
label: typing.Optional[builtins.str] = None,
|
|
16989
17464
|
period: typing.Optional[_Duration_4839e8c3] = None,
|
|
16990
17465
|
region: typing.Optional[builtins.str] = None,
|
|
@@ -16992,6 +17467,7 @@ def _typecheckingstub__cdad33b4389e90fa83c3fbfb70fd12ef2e9a72ee375dc3e96dcbef610
|
|
|
16992
17467
|
stack_region: typing.Optional[builtins.str] = None,
|
|
16993
17468
|
statistic: typing.Optional[builtins.str] = None,
|
|
16994
17469
|
unit: typing.Optional[_Unit_61bc6f70] = None,
|
|
17470
|
+
visible: typing.Optional[builtins.bool] = None,
|
|
16995
17471
|
operations: typing.Optional[typing.Sequence[Operation]] = None,
|
|
16996
17472
|
) -> None:
|
|
16997
17473
|
"""Type checking stubs"""
|
|
@@ -17098,6 +17574,7 @@ def _typecheckingstub__1b1ff6b5154d6682d8764a47052a06d5305d9f6a41c79c8c293c19949
|
|
|
17098
17574
|
account: typing.Optional[builtins.str] = None,
|
|
17099
17575
|
color: typing.Optional[builtins.str] = None,
|
|
17100
17576
|
dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
17577
|
+
id: typing.Optional[builtins.str] = None,
|
|
17101
17578
|
label: typing.Optional[builtins.str] = None,
|
|
17102
17579
|
period: typing.Optional[_Duration_4839e8c3] = None,
|
|
17103
17580
|
region: typing.Optional[builtins.str] = None,
|
|
@@ -17105,6 +17582,7 @@ def _typecheckingstub__1b1ff6b5154d6682d8764a47052a06d5305d9f6a41c79c8c293c19949
|
|
|
17105
17582
|
stack_region: typing.Optional[builtins.str] = None,
|
|
17106
17583
|
statistic: typing.Optional[builtins.str] = None,
|
|
17107
17584
|
unit: typing.Optional[_Unit_61bc6f70] = None,
|
|
17585
|
+
visible: typing.Optional[builtins.bool] = None,
|
|
17108
17586
|
) -> None:
|
|
17109
17587
|
"""Type checking stubs"""
|
|
17110
17588
|
pass
|
|
@@ -17115,6 +17593,7 @@ def _typecheckingstub__95d33a70a83403322cdc035963638859f588f5d47bae922a6083d3acd
|
|
|
17115
17593
|
account: typing.Optional[builtins.str] = None,
|
|
17116
17594
|
color: typing.Optional[builtins.str] = None,
|
|
17117
17595
|
dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
17596
|
+
id: typing.Optional[builtins.str] = None,
|
|
17118
17597
|
label: typing.Optional[builtins.str] = None,
|
|
17119
17598
|
period: typing.Optional[_Duration_4839e8c3] = None,
|
|
17120
17599
|
region: typing.Optional[builtins.str] = None,
|
|
@@ -17122,6 +17601,7 @@ def _typecheckingstub__95d33a70a83403322cdc035963638859f588f5d47bae922a6083d3acd
|
|
|
17122
17601
|
stack_region: typing.Optional[builtins.str] = None,
|
|
17123
17602
|
statistic: typing.Optional[builtins.str] = None,
|
|
17124
17603
|
unit: typing.Optional[_Unit_61bc6f70] = None,
|
|
17604
|
+
visible: typing.Optional[builtins.bool] = None,
|
|
17125
17605
|
) -> None:
|
|
17126
17606
|
"""Type checking stubs"""
|
|
17127
17607
|
pass
|
|
@@ -17206,6 +17686,7 @@ def _typecheckingstub__b9d12f99f3c2bb32f060be7bea286ff36b58ea207a391685b9ca44957
|
|
|
17206
17686
|
account: typing.Optional[builtins.str] = None,
|
|
17207
17687
|
color: typing.Optional[builtins.str] = None,
|
|
17208
17688
|
dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
17689
|
+
id: typing.Optional[builtins.str] = None,
|
|
17209
17690
|
label: typing.Optional[builtins.str] = None,
|
|
17210
17691
|
period: typing.Optional[_Duration_4839e8c3] = None,
|
|
17211
17692
|
region: typing.Optional[builtins.str] = None,
|
|
@@ -17213,6 +17694,7 @@ def _typecheckingstub__b9d12f99f3c2bb32f060be7bea286ff36b58ea207a391685b9ca44957
|
|
|
17213
17694
|
stack_region: typing.Optional[builtins.str] = None,
|
|
17214
17695
|
statistic: typing.Optional[builtins.str] = None,
|
|
17215
17696
|
unit: typing.Optional[_Unit_61bc6f70] = None,
|
|
17697
|
+
visible: typing.Optional[builtins.bool] = None,
|
|
17216
17698
|
) -> None:
|
|
17217
17699
|
"""Type checking stubs"""
|
|
17218
17700
|
pass
|
|
@@ -17224,6 +17706,7 @@ def _typecheckingstub__77d4ef5bc85980ee36c06595f45b530b92a1b51437a40ca9dc19d75ed
|
|
|
17224
17706
|
account: typing.Optional[builtins.str] = None,
|
|
17225
17707
|
color: typing.Optional[builtins.str] = None,
|
|
17226
17708
|
dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
17709
|
+
id: typing.Optional[builtins.str] = None,
|
|
17227
17710
|
label: typing.Optional[builtins.str] = None,
|
|
17228
17711
|
period: typing.Optional[_Duration_4839e8c3] = None,
|
|
17229
17712
|
region: typing.Optional[builtins.str] = None,
|
|
@@ -17231,6 +17714,7 @@ def _typecheckingstub__77d4ef5bc85980ee36c06595f45b530b92a1b51437a40ca9dc19d75ed
|
|
|
17231
17714
|
stack_region: typing.Optional[builtins.str] = None,
|
|
17232
17715
|
statistic: typing.Optional[builtins.str] = None,
|
|
17233
17716
|
unit: typing.Optional[_Unit_61bc6f70] = None,
|
|
17717
|
+
visible: typing.Optional[builtins.bool] = None,
|
|
17234
17718
|
) -> None:
|
|
17235
17719
|
"""Type checking stubs"""
|
|
17236
17720
|
pass
|
|
@@ -17498,6 +17982,7 @@ def _typecheckingstub__323fc564f2052282a189a09de9130b5d9a855212d7bd5a514ddb98a52
|
|
|
17498
17982
|
account: typing.Optional[builtins.str] = None,
|
|
17499
17983
|
color: typing.Optional[builtins.str] = None,
|
|
17500
17984
|
dimensions_map: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
17985
|
+
id: typing.Optional[builtins.str] = None,
|
|
17501
17986
|
label: typing.Optional[builtins.str] = None,
|
|
17502
17987
|
period: typing.Optional[_Duration_4839e8c3] = None,
|
|
17503
17988
|
region: typing.Optional[builtins.str] = None,
|
|
@@ -17505,6 +17990,7 @@ def _typecheckingstub__323fc564f2052282a189a09de9130b5d9a855212d7bd5a514ddb98a52
|
|
|
17505
17990
|
stack_region: typing.Optional[builtins.str] = None,
|
|
17506
17991
|
statistic: typing.Optional[builtins.str] = None,
|
|
17507
17992
|
unit: typing.Optional[_Unit_61bc6f70] = None,
|
|
17993
|
+
visible: typing.Optional[builtins.bool] = None,
|
|
17508
17994
|
operations: typing.Optional[typing.Sequence[Operation]] = None,
|
|
17509
17995
|
) -> None:
|
|
17510
17996
|
"""Type checking stubs"""
|