aws-cdk-lib 2.197.0__py3-none-any.whl → 2.199.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.

Files changed (38) hide show
  1. aws_cdk/_jsii/__init__.py +1 -1
  2. aws_cdk/_jsii/{aws-cdk-lib@2.197.0.jsii.tgz → aws-cdk-lib@2.199.0.jsii.tgz} +0 -0
  3. aws_cdk/aws_appconfig/__init__.py +296 -48
  4. aws_cdk/aws_applicationautoscaling/__init__.py +36 -0
  5. aws_cdk/aws_appsync/__init__.py +31 -21
  6. aws_cdk/aws_aps/__init__.py +343 -0
  7. aws_cdk/aws_autoscaling/__init__.py +2 -1
  8. aws_cdk/aws_bedrock/__init__.py +387 -4
  9. aws_cdk/aws_codepipeline/__init__.py +4 -2
  10. aws_cdk/aws_datasync/__init__.py +885 -839
  11. aws_cdk/aws_deadline/__init__.py +23 -4
  12. aws_cdk/aws_ec2/__init__.py +229 -12
  13. aws_cdk/aws_ecs/__init__.py +14 -2
  14. aws_cdk/aws_ecs_patterns/__init__.py +64 -12
  15. aws_cdk/aws_eks/__init__.py +40 -9
  16. aws_cdk/aws_elasticloadbalancingv2/__init__.py +14 -8
  17. aws_cdk/aws_events_targets/__init__.py +78 -1
  18. aws_cdk/aws_gamelift/__init__.py +15 -17
  19. aws_cdk/aws_lex/__init__.py +1245 -172
  20. aws_cdk/aws_mediapackagev2/__init__.py +11 -10
  21. aws_cdk/aws_omics/__init__.py +41 -19
  22. aws_cdk/aws_pcs/__init__.py +126 -0
  23. aws_cdk/aws_rds/__init__.py +48 -21
  24. aws_cdk/aws_rolesanywhere/__init__.py +14 -13
  25. aws_cdk/aws_sagemaker/__init__.py +38 -12
  26. aws_cdk/aws_ses/__init__.py +437 -0
  27. aws_cdk/aws_ssmquicksetup/__init__.py +10 -2
  28. aws_cdk/aws_stepfunctions_tasks/__init__.py +1502 -2
  29. aws_cdk/aws_synthetics/__init__.py +137 -3
  30. aws_cdk/aws_vpclattice/__init__.py +219 -209
  31. aws_cdk/aws_wafv2/__init__.py +4 -4
  32. aws_cdk/aws_workspaces/__init__.py +5 -3
  33. {aws_cdk_lib-2.197.0.dist-info → aws_cdk_lib-2.199.0.dist-info}/METADATA +2 -2
  34. {aws_cdk_lib-2.197.0.dist-info → aws_cdk_lib-2.199.0.dist-info}/RECORD +38 -38
  35. {aws_cdk_lib-2.197.0.dist-info → aws_cdk_lib-2.199.0.dist-info}/LICENSE +0 -0
  36. {aws_cdk_lib-2.197.0.dist-info → aws_cdk_lib-2.199.0.dist-info}/NOTICE +0 -0
  37. {aws_cdk_lib-2.197.0.dist-info → aws_cdk_lib-2.199.0.dist-info}/WHEEL +0 -0
  38. {aws_cdk_lib-2.197.0.dist-info → aws_cdk_lib-2.199.0.dist-info}/top_level.txt +0 -0
@@ -1206,6 +1206,16 @@ class CfnWorkspace(
1206
1206
  logging_configuration=aps.CfnWorkspace.LoggingConfigurationProperty(
1207
1207
  log_group_arn="logGroupArn"
1208
1208
  ),
1209
+ query_logging_configuration=aps.CfnWorkspace.QueryLoggingConfigurationProperty(
1210
+ destinations=[aps.CfnWorkspace.LoggingDestinationProperty(
1211
+ cloud_watch_logs=aps.CfnWorkspace.CloudWatchLogDestinationProperty(
1212
+ log_group_arn="logGroupArn"
1213
+ ),
1214
+ filters=aps.CfnWorkspace.LoggingFilterProperty(
1215
+ qsp_threshold=123
1216
+ )
1217
+ )]
1218
+ ),
1209
1219
  tags=[CfnTag(
1210
1220
  key="key",
1211
1221
  value="value"
@@ -1234,6 +1244,7 @@ class CfnWorkspace(
1234
1244
  alias: typing.Optional[builtins.str] = None,
1235
1245
  kms_key_arn: typing.Optional[builtins.str] = None,
1236
1246
  logging_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnWorkspace.LoggingConfigurationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
1247
+ query_logging_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnWorkspace.QueryLoggingConfigurationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
1237
1248
  tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
1238
1249
  workspace_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnWorkspace.WorkspaceConfigurationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
1239
1250
  ) -> None:
@@ -1244,6 +1255,7 @@ class CfnWorkspace(
1244
1255
  :param alias: The alias that is assigned to this workspace to help identify it. It does not need to be unique.
1245
1256
  :param kms_key_arn: (optional) The ARN for a customer managed AWS KMS key to use for encrypting data within your workspace. For more information about using your own key in your workspace, see `Encryption at rest <https://docs.aws.amazon.com/prometheus/latest/userguide/encryption-at-rest-Amazon-Service-Prometheus.html>`_ in the *Amazon Managed Service for Prometheus User Guide* .
1246
1257
  :param logging_configuration: Contains information about the logging configuration for the workspace.
1258
+ :param query_logging_configuration: Query logging configuration.
1247
1259
  :param tags: The list of tag keys and values that are associated with the workspace.
1248
1260
  :param workspace_configuration: Use this structure to define label sets and the ingestion limits for time series that match label sets, and to specify the retention period of the workspace.
1249
1261
  '''
@@ -1256,6 +1268,7 @@ class CfnWorkspace(
1256
1268
  alias=alias,
1257
1269
  kms_key_arn=kms_key_arn,
1258
1270
  logging_configuration=logging_configuration,
1271
+ query_logging_configuration=query_logging_configuration,
1259
1272
  tags=tags,
1260
1273
  workspace_configuration=workspace_configuration,
1261
1274
  )
@@ -1393,6 +1406,24 @@ class CfnWorkspace(
1393
1406
  check_type(argname="argument value", value=value, expected_type=type_hints["value"])
1394
1407
  jsii.set(self, "loggingConfiguration", value) # pyright: ignore[reportArgumentType]
1395
1408
 
1409
+ @builtins.property
1410
+ @jsii.member(jsii_name="queryLoggingConfiguration")
1411
+ def query_logging_configuration(
1412
+ self,
1413
+ ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnWorkspace.QueryLoggingConfigurationProperty"]]:
1414
+ '''Query logging configuration.'''
1415
+ return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnWorkspace.QueryLoggingConfigurationProperty"]], jsii.get(self, "queryLoggingConfiguration"))
1416
+
1417
+ @query_logging_configuration.setter
1418
+ def query_logging_configuration(
1419
+ self,
1420
+ value: typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnWorkspace.QueryLoggingConfigurationProperty"]],
1421
+ ) -> None:
1422
+ if __debug__:
1423
+ type_hints = typing.get_type_hints(_typecheckingstub__6591166b06ced49bc35c6390884a7a1c30cea4102022183768ac43e25c00f9fc)
1424
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
1425
+ jsii.set(self, "queryLoggingConfiguration", value) # pyright: ignore[reportArgumentType]
1426
+
1396
1427
  @builtins.property
1397
1428
  @jsii.member(jsii_name="tagsRaw")
1398
1429
  def tags_raw(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
@@ -1424,6 +1455,58 @@ class CfnWorkspace(
1424
1455
  check_type(argname="argument value", value=value, expected_type=type_hints["value"])
1425
1456
  jsii.set(self, "workspaceConfiguration", value) # pyright: ignore[reportArgumentType]
1426
1457
 
1458
+ @jsii.data_type(
1459
+ jsii_type="aws-cdk-lib.aws_aps.CfnWorkspace.CloudWatchLogDestinationProperty",
1460
+ jsii_struct_bases=[],
1461
+ name_mapping={"log_group_arn": "logGroupArn"},
1462
+ )
1463
+ class CloudWatchLogDestinationProperty:
1464
+ def __init__(self, *, log_group_arn: builtins.str) -> None:
1465
+ '''Represents a cloudwatch logs destination for query logging.
1466
+
1467
+ :param log_group_arn: The ARN of the CloudWatch Logs log group.
1468
+
1469
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-aps-workspace-cloudwatchlogdestination.html
1470
+ :exampleMetadata: fixture=_generated
1471
+
1472
+ Example::
1473
+
1474
+ # The code below shows an example of how to instantiate this type.
1475
+ # The values are placeholders you should change.
1476
+ from aws_cdk import aws_aps as aps
1477
+
1478
+ cloud_watch_log_destination_property = aps.CfnWorkspace.CloudWatchLogDestinationProperty(
1479
+ log_group_arn="logGroupArn"
1480
+ )
1481
+ '''
1482
+ if __debug__:
1483
+ type_hints = typing.get_type_hints(_typecheckingstub__925c774442f9150193a5d3bfa3fb05562aec6581139c1378b5f09e1c30fb40ee)
1484
+ check_type(argname="argument log_group_arn", value=log_group_arn, expected_type=type_hints["log_group_arn"])
1485
+ self._values: typing.Dict[builtins.str, typing.Any] = {
1486
+ "log_group_arn": log_group_arn,
1487
+ }
1488
+
1489
+ @builtins.property
1490
+ def log_group_arn(self) -> builtins.str:
1491
+ '''The ARN of the CloudWatch Logs log group.
1492
+
1493
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-aps-workspace-cloudwatchlogdestination.html#cfn-aps-workspace-cloudwatchlogdestination-loggrouparn
1494
+ '''
1495
+ result = self._values.get("log_group_arn")
1496
+ assert result is not None, "Required property 'log_group_arn' is missing"
1497
+ return typing.cast(builtins.str, result)
1498
+
1499
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
1500
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
1501
+
1502
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
1503
+ return not (rhs == self)
1504
+
1505
+ def __repr__(self) -> str:
1506
+ return "CloudWatchLogDestinationProperty(%s)" % ", ".join(
1507
+ k + "=" + repr(v) for k, v in self._values.items()
1508
+ )
1509
+
1427
1510
  @jsii.data_type(
1428
1511
  jsii_type="aws-cdk-lib.aws_aps.CfnWorkspace.LabelProperty",
1429
1512
  jsii_struct_bases=[],
@@ -1688,6 +1771,202 @@ class CfnWorkspace(
1688
1771
  k + "=" + repr(v) for k, v in self._values.items()
1689
1772
  )
1690
1773
 
1774
+ @jsii.data_type(
1775
+ jsii_type="aws-cdk-lib.aws_aps.CfnWorkspace.LoggingDestinationProperty",
1776
+ jsii_struct_bases=[],
1777
+ name_mapping={"cloud_watch_logs": "cloudWatchLogs", "filters": "filters"},
1778
+ )
1779
+ class LoggingDestinationProperty:
1780
+ def __init__(
1781
+ self,
1782
+ *,
1783
+ cloud_watch_logs: typing.Union[_IResolvable_da3f097b, typing.Union["CfnWorkspace.CloudWatchLogDestinationProperty", typing.Dict[builtins.str, typing.Any]]],
1784
+ filters: typing.Union[_IResolvable_da3f097b, typing.Union["CfnWorkspace.LoggingFilterProperty", typing.Dict[builtins.str, typing.Any]]],
1785
+ ) -> None:
1786
+ '''Destinations for query logging.
1787
+
1788
+ :param cloud_watch_logs: Represents a cloudwatch logs destination for query logging.
1789
+ :param filters: Filters for logging.
1790
+
1791
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-aps-workspace-loggingdestination.html
1792
+ :exampleMetadata: fixture=_generated
1793
+
1794
+ Example::
1795
+
1796
+ # The code below shows an example of how to instantiate this type.
1797
+ # The values are placeholders you should change.
1798
+ from aws_cdk import aws_aps as aps
1799
+
1800
+ logging_destination_property = aps.CfnWorkspace.LoggingDestinationProperty(
1801
+ cloud_watch_logs=aps.CfnWorkspace.CloudWatchLogDestinationProperty(
1802
+ log_group_arn="logGroupArn"
1803
+ ),
1804
+ filters=aps.CfnWorkspace.LoggingFilterProperty(
1805
+ qsp_threshold=123
1806
+ )
1807
+ )
1808
+ '''
1809
+ if __debug__:
1810
+ type_hints = typing.get_type_hints(_typecheckingstub__cce5991812152322bf70db3d7cea0d7bb3cda26bb6b0e82d9bd091ef05995168)
1811
+ check_type(argname="argument cloud_watch_logs", value=cloud_watch_logs, expected_type=type_hints["cloud_watch_logs"])
1812
+ check_type(argname="argument filters", value=filters, expected_type=type_hints["filters"])
1813
+ self._values: typing.Dict[builtins.str, typing.Any] = {
1814
+ "cloud_watch_logs": cloud_watch_logs,
1815
+ "filters": filters,
1816
+ }
1817
+
1818
+ @builtins.property
1819
+ def cloud_watch_logs(
1820
+ self,
1821
+ ) -> typing.Union[_IResolvable_da3f097b, "CfnWorkspace.CloudWatchLogDestinationProperty"]:
1822
+ '''Represents a cloudwatch logs destination for query logging.
1823
+
1824
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-aps-workspace-loggingdestination.html#cfn-aps-workspace-loggingdestination-cloudwatchlogs
1825
+ '''
1826
+ result = self._values.get("cloud_watch_logs")
1827
+ assert result is not None, "Required property 'cloud_watch_logs' is missing"
1828
+ return typing.cast(typing.Union[_IResolvable_da3f097b, "CfnWorkspace.CloudWatchLogDestinationProperty"], result)
1829
+
1830
+ @builtins.property
1831
+ def filters(
1832
+ self,
1833
+ ) -> typing.Union[_IResolvable_da3f097b, "CfnWorkspace.LoggingFilterProperty"]:
1834
+ '''Filters for logging.
1835
+
1836
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-aps-workspace-loggingdestination.html#cfn-aps-workspace-loggingdestination-filters
1837
+ '''
1838
+ result = self._values.get("filters")
1839
+ assert result is not None, "Required property 'filters' is missing"
1840
+ return typing.cast(typing.Union[_IResolvable_da3f097b, "CfnWorkspace.LoggingFilterProperty"], result)
1841
+
1842
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
1843
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
1844
+
1845
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
1846
+ return not (rhs == self)
1847
+
1848
+ def __repr__(self) -> str:
1849
+ return "LoggingDestinationProperty(%s)" % ", ".join(
1850
+ k + "=" + repr(v) for k, v in self._values.items()
1851
+ )
1852
+
1853
+ @jsii.data_type(
1854
+ jsii_type="aws-cdk-lib.aws_aps.CfnWorkspace.LoggingFilterProperty",
1855
+ jsii_struct_bases=[],
1856
+ name_mapping={"qsp_threshold": "qspThreshold"},
1857
+ )
1858
+ class LoggingFilterProperty:
1859
+ def __init__(self, *, qsp_threshold: jsii.Number) -> None:
1860
+ '''Filters for logging.
1861
+
1862
+ :param qsp_threshold: Query logs with QSP above this limit are vended.
1863
+
1864
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-aps-workspace-loggingfilter.html
1865
+ :exampleMetadata: fixture=_generated
1866
+
1867
+ Example::
1868
+
1869
+ # The code below shows an example of how to instantiate this type.
1870
+ # The values are placeholders you should change.
1871
+ from aws_cdk import aws_aps as aps
1872
+
1873
+ logging_filter_property = aps.CfnWorkspace.LoggingFilterProperty(
1874
+ qsp_threshold=123
1875
+ )
1876
+ '''
1877
+ if __debug__:
1878
+ type_hints = typing.get_type_hints(_typecheckingstub__8f1710f9a533b3c78aa9735866c9480208fe7ceb912d68581872b145d4c634fd)
1879
+ check_type(argname="argument qsp_threshold", value=qsp_threshold, expected_type=type_hints["qsp_threshold"])
1880
+ self._values: typing.Dict[builtins.str, typing.Any] = {
1881
+ "qsp_threshold": qsp_threshold,
1882
+ }
1883
+
1884
+ @builtins.property
1885
+ def qsp_threshold(self) -> jsii.Number:
1886
+ '''Query logs with QSP above this limit are vended.
1887
+
1888
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-aps-workspace-loggingfilter.html#cfn-aps-workspace-loggingfilter-qspthreshold
1889
+ '''
1890
+ result = self._values.get("qsp_threshold")
1891
+ assert result is not None, "Required property 'qsp_threshold' is missing"
1892
+ return typing.cast(jsii.Number, result)
1893
+
1894
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
1895
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
1896
+
1897
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
1898
+ return not (rhs == self)
1899
+
1900
+ def __repr__(self) -> str:
1901
+ return "LoggingFilterProperty(%s)" % ", ".join(
1902
+ k + "=" + repr(v) for k, v in self._values.items()
1903
+ )
1904
+
1905
+ @jsii.data_type(
1906
+ jsii_type="aws-cdk-lib.aws_aps.CfnWorkspace.QueryLoggingConfigurationProperty",
1907
+ jsii_struct_bases=[],
1908
+ name_mapping={"destinations": "destinations"},
1909
+ )
1910
+ class QueryLoggingConfigurationProperty:
1911
+ def __init__(
1912
+ self,
1913
+ *,
1914
+ destinations: typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnWorkspace.LoggingDestinationProperty", typing.Dict[builtins.str, typing.Any]]]]],
1915
+ ) -> None:
1916
+ '''Query logging configuration.
1917
+
1918
+ :param destinations: The destinations configuration for query logging.
1919
+
1920
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-aps-workspace-queryloggingconfiguration.html
1921
+ :exampleMetadata: fixture=_generated
1922
+
1923
+ Example::
1924
+
1925
+ # The code below shows an example of how to instantiate this type.
1926
+ # The values are placeholders you should change.
1927
+ from aws_cdk import aws_aps as aps
1928
+
1929
+ query_logging_configuration_property = aps.CfnWorkspace.QueryLoggingConfigurationProperty(
1930
+ destinations=[aps.CfnWorkspace.LoggingDestinationProperty(
1931
+ cloud_watch_logs=aps.CfnWorkspace.CloudWatchLogDestinationProperty(
1932
+ log_group_arn="logGroupArn"
1933
+ ),
1934
+ filters=aps.CfnWorkspace.LoggingFilterProperty(
1935
+ qsp_threshold=123
1936
+ )
1937
+ )]
1938
+ )
1939
+ '''
1940
+ if __debug__:
1941
+ type_hints = typing.get_type_hints(_typecheckingstub__59e9b7a5bb1ecf6d3e6bf0c4d2f497bea98d1fe68b36d502a98c9b336781a58a)
1942
+ check_type(argname="argument destinations", value=destinations, expected_type=type_hints["destinations"])
1943
+ self._values: typing.Dict[builtins.str, typing.Any] = {
1944
+ "destinations": destinations,
1945
+ }
1946
+
1947
+ @builtins.property
1948
+ def destinations(
1949
+ self,
1950
+ ) -> typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnWorkspace.LoggingDestinationProperty"]]]:
1951
+ '''The destinations configuration for query logging.
1952
+
1953
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-aps-workspace-queryloggingconfiguration.html#cfn-aps-workspace-queryloggingconfiguration-destinations
1954
+ '''
1955
+ result = self._values.get("destinations")
1956
+ assert result is not None, "Required property 'destinations' is missing"
1957
+ return typing.cast(typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnWorkspace.LoggingDestinationProperty"]]], result)
1958
+
1959
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
1960
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
1961
+
1962
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
1963
+ return not (rhs == self)
1964
+
1965
+ def __repr__(self) -> str:
1966
+ return "QueryLoggingConfigurationProperty(%s)" % ", ".join(
1967
+ k + "=" + repr(v) for k, v in self._values.items()
1968
+ )
1969
+
1691
1970
  @jsii.data_type(
1692
1971
  jsii_type="aws-cdk-lib.aws_aps.CfnWorkspace.WorkspaceConfigurationProperty",
1693
1972
  jsii_struct_bases=[],
@@ -1782,6 +2061,7 @@ class CfnWorkspace(
1782
2061
  "alias": "alias",
1783
2062
  "kms_key_arn": "kmsKeyArn",
1784
2063
  "logging_configuration": "loggingConfiguration",
2064
+ "query_logging_configuration": "queryLoggingConfiguration",
1785
2065
  "tags": "tags",
1786
2066
  "workspace_configuration": "workspaceConfiguration",
1787
2067
  },
@@ -1794,6 +2074,7 @@ class CfnWorkspaceProps:
1794
2074
  alias: typing.Optional[builtins.str] = None,
1795
2075
  kms_key_arn: typing.Optional[builtins.str] = None,
1796
2076
  logging_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnWorkspace.LoggingConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
2077
+ query_logging_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnWorkspace.QueryLoggingConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
1797
2078
  tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
1798
2079
  workspace_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnWorkspace.WorkspaceConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
1799
2080
  ) -> None:
@@ -1803,6 +2084,7 @@ class CfnWorkspaceProps:
1803
2084
  :param alias: The alias that is assigned to this workspace to help identify it. It does not need to be unique.
1804
2085
  :param kms_key_arn: (optional) The ARN for a customer managed AWS KMS key to use for encrypting data within your workspace. For more information about using your own key in your workspace, see `Encryption at rest <https://docs.aws.amazon.com/prometheus/latest/userguide/encryption-at-rest-Amazon-Service-Prometheus.html>`_ in the *Amazon Managed Service for Prometheus User Guide* .
1805
2086
  :param logging_configuration: Contains information about the logging configuration for the workspace.
2087
+ :param query_logging_configuration: Query logging configuration.
1806
2088
  :param tags: The list of tag keys and values that are associated with the workspace.
1807
2089
  :param workspace_configuration: Use this structure to define label sets and the ingestion limits for time series that match label sets, and to specify the retention period of the workspace.
1808
2090
 
@@ -1822,6 +2104,16 @@ class CfnWorkspaceProps:
1822
2104
  logging_configuration=aps.CfnWorkspace.LoggingConfigurationProperty(
1823
2105
  log_group_arn="logGroupArn"
1824
2106
  ),
2107
+ query_logging_configuration=aps.CfnWorkspace.QueryLoggingConfigurationProperty(
2108
+ destinations=[aps.CfnWorkspace.LoggingDestinationProperty(
2109
+ cloud_watch_logs=aps.CfnWorkspace.CloudWatchLogDestinationProperty(
2110
+ log_group_arn="logGroupArn"
2111
+ ),
2112
+ filters=aps.CfnWorkspace.LoggingFilterProperty(
2113
+ qsp_threshold=123
2114
+ )
2115
+ )]
2116
+ ),
1825
2117
  tags=[CfnTag(
1826
2118
  key="key",
1827
2119
  value="value"
@@ -1846,6 +2138,7 @@ class CfnWorkspaceProps:
1846
2138
  check_type(argname="argument alias", value=alias, expected_type=type_hints["alias"])
1847
2139
  check_type(argname="argument kms_key_arn", value=kms_key_arn, expected_type=type_hints["kms_key_arn"])
1848
2140
  check_type(argname="argument logging_configuration", value=logging_configuration, expected_type=type_hints["logging_configuration"])
2141
+ check_type(argname="argument query_logging_configuration", value=query_logging_configuration, expected_type=type_hints["query_logging_configuration"])
1849
2142
  check_type(argname="argument tags", value=tags, expected_type=type_hints["tags"])
1850
2143
  check_type(argname="argument workspace_configuration", value=workspace_configuration, expected_type=type_hints["workspace_configuration"])
1851
2144
  self._values: typing.Dict[builtins.str, typing.Any] = {}
@@ -1857,6 +2150,8 @@ class CfnWorkspaceProps:
1857
2150
  self._values["kms_key_arn"] = kms_key_arn
1858
2151
  if logging_configuration is not None:
1859
2152
  self._values["logging_configuration"] = logging_configuration
2153
+ if query_logging_configuration is not None:
2154
+ self._values["query_logging_configuration"] = query_logging_configuration
1860
2155
  if tags is not None:
1861
2156
  self._values["tags"] = tags
1862
2157
  if workspace_configuration is not None:
@@ -1910,6 +2205,17 @@ class CfnWorkspaceProps:
1910
2205
  result = self._values.get("logging_configuration")
1911
2206
  return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, CfnWorkspace.LoggingConfigurationProperty]], result)
1912
2207
 
2208
+ @builtins.property
2209
+ def query_logging_configuration(
2210
+ self,
2211
+ ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, CfnWorkspace.QueryLoggingConfigurationProperty]]:
2212
+ '''Query logging configuration.
2213
+
2214
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-aps-workspace.html#cfn-aps-workspace-queryloggingconfiguration
2215
+ '''
2216
+ result = self._values.get("query_logging_configuration")
2217
+ return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, CfnWorkspace.QueryLoggingConfigurationProperty]], result)
2218
+
1913
2219
  @builtins.property
1914
2220
  def tags(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
1915
2221
  '''The list of tag keys and values that are associated with the workspace.
@@ -2138,6 +2444,7 @@ def _typecheckingstub__0d7d4de6c2c3c0a6cc1f746f35f29f98344da5c5d59e48a9d1e788ab8
2138
2444
  alias: typing.Optional[builtins.str] = None,
2139
2445
  kms_key_arn: typing.Optional[builtins.str] = None,
2140
2446
  logging_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnWorkspace.LoggingConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
2447
+ query_logging_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnWorkspace.QueryLoggingConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
2141
2448
  tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
2142
2449
  workspace_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnWorkspace.WorkspaceConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
2143
2450
  ) -> None:
@@ -2180,6 +2487,12 @@ def _typecheckingstub__ab06dccfc037b2ba3e02b4a3154224a63edcfe3fc06381ff9162c2c33
2180
2487
  """Type checking stubs"""
2181
2488
  pass
2182
2489
 
2490
+ def _typecheckingstub__6591166b06ced49bc35c6390884a7a1c30cea4102022183768ac43e25c00f9fc(
2491
+ value: typing.Optional[typing.Union[_IResolvable_da3f097b, CfnWorkspace.QueryLoggingConfigurationProperty]],
2492
+ ) -> None:
2493
+ """Type checking stubs"""
2494
+ pass
2495
+
2183
2496
  def _typecheckingstub__fb4e1977fb1f7aad47144a42af408e41c9d01794f3569a614a9ed54effb1c1e5(
2184
2497
  value: typing.Optional[typing.List[_CfnTag_f6864754]],
2185
2498
  ) -> None:
@@ -2192,6 +2505,13 @@ def _typecheckingstub__7dc44ff5af32b5cdcf5234cdf89709e32cf5a9217d64f6f2b66251910
2192
2505
  """Type checking stubs"""
2193
2506
  pass
2194
2507
 
2508
+ def _typecheckingstub__925c774442f9150193a5d3bfa3fb05562aec6581139c1378b5f09e1c30fb40ee(
2509
+ *,
2510
+ log_group_arn: builtins.str,
2511
+ ) -> None:
2512
+ """Type checking stubs"""
2513
+ pass
2514
+
2195
2515
  def _typecheckingstub__b34eb56a3257d05ed157ec9252590ce797546e9e647035e7f3e639a6629c1cd3(
2196
2516
  *,
2197
2517
  name: builtins.str,
@@ -2222,6 +2542,28 @@ def _typecheckingstub__fa0678eca2188c6c3220d708f7d16298acecab165f03de8b400d1fada
2222
2542
  """Type checking stubs"""
2223
2543
  pass
2224
2544
 
2545
+ def _typecheckingstub__cce5991812152322bf70db3d7cea0d7bb3cda26bb6b0e82d9bd091ef05995168(
2546
+ *,
2547
+ cloud_watch_logs: typing.Union[_IResolvable_da3f097b, typing.Union[CfnWorkspace.CloudWatchLogDestinationProperty, typing.Dict[builtins.str, typing.Any]]],
2548
+ filters: typing.Union[_IResolvable_da3f097b, typing.Union[CfnWorkspace.LoggingFilterProperty, typing.Dict[builtins.str, typing.Any]]],
2549
+ ) -> None:
2550
+ """Type checking stubs"""
2551
+ pass
2552
+
2553
+ def _typecheckingstub__8f1710f9a533b3c78aa9735866c9480208fe7ceb912d68581872b145d4c634fd(
2554
+ *,
2555
+ qsp_threshold: jsii.Number,
2556
+ ) -> None:
2557
+ """Type checking stubs"""
2558
+ pass
2559
+
2560
+ def _typecheckingstub__59e9b7a5bb1ecf6d3e6bf0c4d2f497bea98d1fe68b36d502a98c9b336781a58a(
2561
+ *,
2562
+ destinations: typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnWorkspace.LoggingDestinationProperty, typing.Dict[builtins.str, typing.Any]]]]],
2563
+ ) -> None:
2564
+ """Type checking stubs"""
2565
+ pass
2566
+
2225
2567
  def _typecheckingstub__8d8bd4b9a39be1594ef4681992e92f89f24816c775c0e0c40e340be13e59392a(
2226
2568
  *,
2227
2569
  limits_per_label_sets: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnWorkspace.LimitsPerLabelSetProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
@@ -2236,6 +2578,7 @@ def _typecheckingstub__98e95bd874171795b8c6f6104e5fee9fa1d8f50cb6e1edc6d2cc01a77
2236
2578
  alias: typing.Optional[builtins.str] = None,
2237
2579
  kms_key_arn: typing.Optional[builtins.str] = None,
2238
2580
  logging_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnWorkspace.LoggingConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
2581
+ query_logging_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnWorkspace.QueryLoggingConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
2239
2582
  tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
2240
2583
  workspace_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnWorkspace.WorkspaceConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
2241
2584
  ) -> None:
@@ -2919,7 +2919,8 @@ class CfnAutoScalingGroup(
2919
2919
  @builtins.property
2920
2920
  @jsii.member(jsii_name="attrAutoScalingGroupArn")
2921
2921
  def attr_auto_scaling_group_arn(self) -> builtins.str:
2922
- '''
2922
+ '''The Amazon Resource Name (ARN) of the Auto Scaling group.
2923
+
2923
2924
  :cloudformationAttribute: AutoScalingGroupARN
2924
2925
  '''
2925
2926
  return typing.cast(builtins.str, jsii.get(self, "attrAutoScalingGroupArn"))