aws-cdk-lib 2.213.0__py3-none-any.whl → 2.214.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 (65) hide show
  1. aws_cdk/__init__.py +23 -3
  2. aws_cdk/_jsii/__init__.py +1 -1
  3. aws_cdk/_jsii/{aws-cdk-lib@2.213.0.jsii.tgz → aws-cdk-lib@2.214.0.jsii.tgz} +0 -0
  4. aws_cdk/aws_appconfig/__init__.py +18 -6
  5. aws_cdk/aws_appintegrations/__init__.py +4 -4
  6. aws_cdk/aws_apprunner/__init__.py +5 -8
  7. aws_cdk/aws_aps/__init__.py +243 -10
  8. aws_cdk/aws_b2bi/__init__.py +1015 -128
  9. aws_cdk/aws_batch/__init__.py +33 -11
  10. aws_cdk/aws_bedrock/__init__.py +22 -216
  11. aws_cdk/aws_budgets/__init__.py +18 -0
  12. aws_cdk/aws_certificatemanager/__init__.py +96 -15
  13. aws_cdk/aws_cloudformation/__init__.py +3 -3
  14. aws_cdk/aws_cloudwatch/__init__.py +80 -49
  15. aws_cdk/aws_cognito/__init__.py +76 -5
  16. aws_cdk/aws_connect/__init__.py +188 -2
  17. aws_cdk/aws_datazone/__init__.py +2267 -0
  18. aws_cdk/aws_deadline/__init__.py +6 -5
  19. aws_cdk/aws_dynamodb/__init__.py +27 -16
  20. aws_cdk/aws_ec2/__init__.py +51 -10
  21. aws_cdk/aws_ecs/__init__.py +288 -25
  22. aws_cdk/aws_ecs_patterns/__init__.py +2 -0
  23. aws_cdk/aws_eks/__init__.py +124 -0
  24. aws_cdk/aws_elasticloadbalancingv2/__init__.py +6 -2
  25. aws_cdk/aws_entityresolution/__init__.py +107 -0
  26. aws_cdk/aws_events/__init__.py +153 -55
  27. aws_cdk/aws_events_targets/__init__.py +87 -36
  28. aws_cdk/aws_fsx/__init__.py +62 -0
  29. aws_cdk/aws_gameliftstreams/__init__.py +1 -1
  30. aws_cdk/aws_glue/__init__.py +205 -23
  31. aws_cdk/aws_guardduty/__init__.py +205 -100
  32. aws_cdk/aws_iam/__init__.py +24 -21
  33. aws_cdk/aws_inspectorv2/__init__.py +125 -80
  34. aws_cdk/aws_iot/__init__.py +37 -19
  35. aws_cdk/aws_iotsitewise/__init__.py +111 -75
  36. aws_cdk/aws_ivs/__init__.py +17 -17
  37. aws_cdk/aws_kinesisanalytics/__init__.py +122 -3
  38. aws_cdk/aws_kinesisanalyticsv2/__init__.py +122 -3
  39. aws_cdk/aws_lambda/__init__.py +23 -2
  40. aws_cdk/aws_logs/__init__.py +20 -15
  41. aws_cdk/aws_mediapackagev2/__init__.py +2 -2
  42. aws_cdk/aws_networkfirewall/__init__.py +6 -6
  43. aws_cdk/aws_omics/__init__.py +477 -2
  44. aws_cdk/aws_qbusiness/__init__.py +4 -2
  45. aws_cdk/aws_rds/__init__.py +132 -4
  46. aws_cdk/aws_route53/__init__.py +18 -11
  47. aws_cdk/aws_s3/__init__.py +4 -4
  48. aws_cdk/aws_s3_deployment/__init__.py +45 -0
  49. aws_cdk/aws_sagemaker/__init__.py +653 -0
  50. aws_cdk/aws_servicediscovery/__init__.py +22 -37
  51. aws_cdk/aws_sns/__init__.py +12 -2
  52. aws_cdk/aws_sns_subscriptions/__init__.py +3 -1
  53. aws_cdk/aws_sqs/__init__.py +5 -5
  54. aws_cdk/aws_ssm/__init__.py +8 -3
  55. aws_cdk/aws_ssmquicksetup/__init__.py +2 -2
  56. aws_cdk/aws_synthetics/__init__.py +222 -12
  57. aws_cdk/aws_transfer/__init__.py +15 -2
  58. aws_cdk/aws_vpclattice/__init__.py +41 -0
  59. aws_cdk/aws_workspacesweb/__init__.py +71 -41
  60. {aws_cdk_lib-2.213.0.dist-info → aws_cdk_lib-2.214.0.dist-info}/METADATA +2 -2
  61. {aws_cdk_lib-2.213.0.dist-info → aws_cdk_lib-2.214.0.dist-info}/RECORD +65 -65
  62. {aws_cdk_lib-2.213.0.dist-info → aws_cdk_lib-2.214.0.dist-info}/LICENSE +0 -0
  63. {aws_cdk_lib-2.213.0.dist-info → aws_cdk_lib-2.214.0.dist-info}/NOTICE +0 -0
  64. {aws_cdk_lib-2.213.0.dist-info → aws_cdk_lib-2.214.0.dist-info}/WHEEL +0 -0
  65. {aws_cdk_lib-2.213.0.dist-info → aws_cdk_lib-2.214.0.dist-info}/top_level.txt +0 -0
@@ -1506,6 +1506,9 @@ class CfnCanary(
1506
1506
  kms_key_arn="kmsKeyArn"
1507
1507
  )
1508
1508
  ),
1509
+ browser_configs=[synthetics.CfnCanary.BrowserConfigProperty(
1510
+ browser_type="browserType"
1511
+ )],
1509
1512
  delete_lambda_resources_on_canary_deletion=False,
1510
1513
  dry_run_and_update=False,
1511
1514
  failure_retention_period=123,
@@ -1535,8 +1538,21 @@ class CfnCanary(
1535
1538
 
1536
1539
  # the properties below are optional
1537
1540
  ignore_coordinates=["ignoreCoordinates"]
1538
- )]
1541
+ )],
1542
+ browser_type="browserType"
1539
1543
  ),
1544
+ visual_references=[synthetics.CfnCanary.VisualReferenceProperty(
1545
+ base_canary_run_id="baseCanaryRunId",
1546
+
1547
+ # the properties below are optional
1548
+ base_screenshots=[synthetics.CfnCanary.BaseScreenshotProperty(
1549
+ screenshot_name="screenshotName",
1550
+
1551
+ # the properties below are optional
1552
+ ignore_coordinates=["ignoreCoordinates"]
1553
+ )],
1554
+ browser_type="browserType"
1555
+ )],
1540
1556
  vpc_config=synthetics.CfnCanary.VPCConfigProperty(
1541
1557
  security_group_ids=["securityGroupIds"],
1542
1558
  subnet_ids=["subnetIds"],
@@ -1560,6 +1576,7 @@ class CfnCanary(
1560
1576
  runtime_version: builtins.str,
1561
1577
  schedule: typing.Union[_IResolvable_da3f097b, typing.Union["CfnCanary.ScheduleProperty", typing.Dict[builtins.str, typing.Any]]],
1562
1578
  artifact_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnCanary.ArtifactConfigProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
1579
+ browser_configs: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnCanary.BrowserConfigProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
1563
1580
  delete_lambda_resources_on_canary_deletion: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
1564
1581
  dry_run_and_update: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
1565
1582
  failure_retention_period: typing.Optional[jsii.Number] = None,
@@ -1570,6 +1587,7 @@ class CfnCanary(
1570
1587
  success_retention_period: typing.Optional[jsii.Number] = None,
1571
1588
  tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
1572
1589
  visual_reference: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnCanary.VisualReferenceProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
1590
+ visual_references: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnCanary.VisualReferenceProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
1573
1591
  vpc_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnCanary.VPCConfigProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
1574
1592
  ) -> None:
1575
1593
  '''
@@ -1582,6 +1600,7 @@ class CfnCanary(
1582
1600
  :param runtime_version: Specifies the runtime version to use for the canary. For more information about runtime versions, see `Canary Runtime Versions <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch_Synthetics_Canaries_Library.html>`_ .
1583
1601
  :param schedule: A structure that contains information about how often the canary is to run, and when these runs are to stop.
1584
1602
  :param artifact_config: A structure that contains the configuration for canary artifacts, including the encryption-at-rest settings for artifacts that the canary uploads to Amazon S3.
1603
+ :param browser_configs: List of browser configurations for the canary.
1585
1604
  :param delete_lambda_resources_on_canary_deletion: (deprecated) Deletes associated lambda resources created by Synthetics if set to True. Default is False
1586
1605
  :param dry_run_and_update: Specifies whether to perform a dry run before updating the canary. If set to ``true`` , CloudFormation will execute a dry run to validate the changes before applying them to the canary. If the dry run succeeds, the canary will be updated with the changes. If the dry run fails, the CloudFormation deployment will fail with the dry run’s failure reason. If set to ``false`` or omitted, the canary will be updated directly without first performing a dry run. The default value is ``false`` . For more information, see `Performing safe canary updates <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/performing-safe-canary-upgrades.html>`_ .
1587
1606
  :param failure_retention_period: The number of days to retain data about failed runs of this canary. If you omit this field, the default of 31 days is used. The valid range is 1 to 455 days. This setting affects the range of information returned by `GetCanaryRuns <https://docs.aws.amazon.com/AmazonSynthetics/latest/APIReference/API_GetCanaryRuns.html>`_ , as well as the range of information displayed in the Synthetics console.
@@ -1591,7 +1610,8 @@ class CfnCanary(
1591
1610
  :param start_canary_after_creation: Specify TRUE to have the canary start making runs immediately after it is created. A canary that you create using CloudFormation can't be used to monitor the CloudFormation stack that creates the canary or to roll back that stack if there is a failure.
1592
1611
  :param success_retention_period: The number of days to retain data about successful runs of this canary. If you omit this field, the default of 31 days is used. The valid range is 1 to 455 days. This setting affects the range of information returned by `GetCanaryRuns <https://docs.aws.amazon.com/AmazonSynthetics/latest/APIReference/API_GetCanaryRuns.html>`_ , as well as the range of information displayed in the Synthetics console.
1593
1612
  :param tags: The list of key-value pairs that are associated with the canary.
1594
- :param visual_reference: If this canary performs visual monitoring by comparing screenshots, this structure contains the ID of the canary run to use as the baseline for screenshots, and the coordinates of any parts of the screen to ignore during the visual monitoring comparison.
1613
+ :param visual_reference: (deprecated) If this canary performs visual monitoring by comparing screenshots, this structure contains the ID of the canary run to use as the baseline for screenshots, and the coordinates of any parts of the screen to ignore during the visual monitoring comparison.
1614
+ :param visual_references: List of visual references for the canary.
1595
1615
  :param vpc_config: If this canary is to test an endpoint in a VPC, this structure contains information about the subnet and security groups of the VPC endpoint. For more information, see `Running a Canary in a VPC <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch_Synthetics_Canaries_VPC.html>`_ .
1596
1616
  '''
1597
1617
  if __debug__:
@@ -1606,6 +1626,7 @@ class CfnCanary(
1606
1626
  runtime_version=runtime_version,
1607
1627
  schedule=schedule,
1608
1628
  artifact_config=artifact_config,
1629
+ browser_configs=browser_configs,
1609
1630
  delete_lambda_resources_on_canary_deletion=delete_lambda_resources_on_canary_deletion,
1610
1631
  dry_run_and_update=dry_run_and_update,
1611
1632
  failure_retention_period=failure_retention_period,
@@ -1616,6 +1637,7 @@ class CfnCanary(
1616
1637
  success_retention_period=success_retention_period,
1617
1638
  tags=tags,
1618
1639
  visual_reference=visual_reference,
1640
+ visual_references=visual_references,
1619
1641
  vpc_config=vpc_config,
1620
1642
  )
1621
1643
 
@@ -1795,6 +1817,24 @@ class CfnCanary(
1795
1817
  check_type(argname="argument value", value=value, expected_type=type_hints["value"])
1796
1818
  jsii.set(self, "artifactConfig", value) # pyright: ignore[reportArgumentType]
1797
1819
 
1820
+ @builtins.property
1821
+ @jsii.member(jsii_name="browserConfigs")
1822
+ def browser_configs(
1823
+ self,
1824
+ ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnCanary.BrowserConfigProperty"]]]]:
1825
+ '''List of browser configurations for the canary.'''
1826
+ return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnCanary.BrowserConfigProperty"]]]], jsii.get(self, "browserConfigs"))
1827
+
1828
+ @browser_configs.setter
1829
+ def browser_configs(
1830
+ self,
1831
+ value: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnCanary.BrowserConfigProperty"]]]],
1832
+ ) -> None:
1833
+ if __debug__:
1834
+ type_hints = typing.get_type_hints(_typecheckingstub__91233a90f3d4d918352b4597b2dee50c3da02176501744c2dc696dbd8a735b68)
1835
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
1836
+ jsii.set(self, "browserConfigs", value) # pyright: ignore[reportArgumentType]
1837
+
1798
1838
  @builtins.property
1799
1839
  @jsii.member(jsii_name="deleteLambdaResourcesOnCanaryDeletion")
1800
1840
  def delete_lambda_resources_on_canary_deletion(
@@ -1948,7 +1988,12 @@ class CfnCanary(
1948
1988
  def visual_reference(
1949
1989
  self,
1950
1990
  ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnCanary.VisualReferenceProperty"]]:
1951
- '''If this canary performs visual monitoring by comparing screenshots, this structure contains the ID of the canary run to use as the baseline for screenshots, and the coordinates of any parts of the screen to ignore during the visual monitoring comparison.'''
1991
+ '''(deprecated) If this canary performs visual monitoring by comparing screenshots, this structure contains the ID of the canary run to use as the baseline for screenshots, and the coordinates of any parts of the screen to ignore during the visual monitoring comparison.
1992
+
1993
+ :deprecated: this property has been deprecated
1994
+
1995
+ :stability: deprecated
1996
+ '''
1952
1997
  return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnCanary.VisualReferenceProperty"]], jsii.get(self, "visualReference"))
1953
1998
 
1954
1999
  @visual_reference.setter
@@ -1961,6 +2006,24 @@ class CfnCanary(
1961
2006
  check_type(argname="argument value", value=value, expected_type=type_hints["value"])
1962
2007
  jsii.set(self, "visualReference", value) # pyright: ignore[reportArgumentType]
1963
2008
 
2009
+ @builtins.property
2010
+ @jsii.member(jsii_name="visualReferences")
2011
+ def visual_references(
2012
+ self,
2013
+ ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnCanary.VisualReferenceProperty"]]]]:
2014
+ '''List of visual references for the canary.'''
2015
+ return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnCanary.VisualReferenceProperty"]]]], jsii.get(self, "visualReferences"))
2016
+
2017
+ @visual_references.setter
2018
+ def visual_references(
2019
+ self,
2020
+ value: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnCanary.VisualReferenceProperty"]]]],
2021
+ ) -> None:
2022
+ if __debug__:
2023
+ type_hints = typing.get_type_hints(_typecheckingstub__004341f5a58c9e6e190c4bc518ea476aac62201a1708bb1650a22fbf74c64b52)
2024
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
2025
+ jsii.set(self, "visualReferences", value) # pyright: ignore[reportArgumentType]
2026
+
1964
2027
  @builtins.property
1965
2028
  @jsii.member(jsii_name="vpcConfig")
1966
2029
  def vpc_config(
@@ -2121,6 +2184,56 @@ class CfnCanary(
2121
2184
  k + "=" + repr(v) for k, v in self._values.items()
2122
2185
  )
2123
2186
 
2187
+ @jsii.data_type(
2188
+ jsii_type="aws-cdk-lib.aws_synthetics.CfnCanary.BrowserConfigProperty",
2189
+ jsii_struct_bases=[],
2190
+ name_mapping={"browser_type": "browserType"},
2191
+ )
2192
+ class BrowserConfigProperty:
2193
+ def __init__(self, *, browser_type: builtins.str) -> None:
2194
+ '''
2195
+ :param browser_type:
2196
+
2197
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-synthetics-canary-browserconfig.html
2198
+ :exampleMetadata: fixture=_generated
2199
+
2200
+ Example::
2201
+
2202
+ # The code below shows an example of how to instantiate this type.
2203
+ # The values are placeholders you should change.
2204
+ from aws_cdk import aws_synthetics as synthetics
2205
+
2206
+ browser_config_property = synthetics.CfnCanary.BrowserConfigProperty(
2207
+ browser_type="browserType"
2208
+ )
2209
+ '''
2210
+ if __debug__:
2211
+ type_hints = typing.get_type_hints(_typecheckingstub__c91e35c3c240434fee052d7f899893609a9c027813412eb6312483e200412435)
2212
+ check_type(argname="argument browser_type", value=browser_type, expected_type=type_hints["browser_type"])
2213
+ self._values: typing.Dict[builtins.str, typing.Any] = {
2214
+ "browser_type": browser_type,
2215
+ }
2216
+
2217
+ @builtins.property
2218
+ def browser_type(self) -> builtins.str:
2219
+ '''
2220
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-synthetics-canary-browserconfig.html#cfn-synthetics-canary-browserconfig-browsertype
2221
+ '''
2222
+ result = self._values.get("browser_type")
2223
+ assert result is not None, "Required property 'browser_type' is missing"
2224
+ return typing.cast(builtins.str, result)
2225
+
2226
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
2227
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
2228
+
2229
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
2230
+ return not (rhs == self)
2231
+
2232
+ def __repr__(self) -> str:
2233
+ return "BrowserConfigProperty(%s)" % ", ".join(
2234
+ k + "=" + repr(v) for k, v in self._values.items()
2235
+ )
2236
+
2124
2237
  @jsii.data_type(
2125
2238
  jsii_type="aws-cdk-lib.aws_synthetics.CfnCanary.CodeProperty",
2126
2239
  jsii_struct_bases=[],
@@ -2306,9 +2419,10 @@ class CfnCanary(
2306
2419
  reference: builtins.str,
2307
2420
  type: typing.Optional[builtins.str] = None,
2308
2421
  ) -> None:
2309
- '''
2310
- :param reference: ARN of the Lambda layer.
2311
- :param type: Type of dependency.
2422
+ '''A structure that contains information about a dependency for a canary.
2423
+
2424
+ :param reference: The dependency reference. For Lambda layers, this is the ARN of the Lambda layer. For more information about Lambda ARN format, see `Lambda <https://docs.aws.amazon.com/lambda/latest/api/API_Layer.html>`_ .
2425
+ :param type: The type of dependency. Valid value is ``LambdaLayer`` .
2312
2426
 
2313
2427
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-synthetics-canary-dependency.html
2314
2428
  :exampleMetadata: fixture=_generated
@@ -2338,7 +2452,9 @@ class CfnCanary(
2338
2452
 
2339
2453
  @builtins.property
2340
2454
  def reference(self) -> builtins.str:
2341
- '''ARN of the Lambda layer.
2455
+ '''The dependency reference.
2456
+
2457
+ For Lambda layers, this is the ARN of the Lambda layer. For more information about Lambda ARN format, see `Lambda <https://docs.aws.amazon.com/lambda/latest/api/API_Layer.html>`_ .
2342
2458
 
2343
2459
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-synthetics-canary-dependency.html#cfn-synthetics-canary-dependency-reference
2344
2460
  '''
@@ -2348,7 +2464,9 @@ class CfnCanary(
2348
2464
 
2349
2465
  @builtins.property
2350
2466
  def type(self) -> typing.Optional[builtins.str]:
2351
- '''Type of dependency.
2467
+ '''The type of dependency.
2468
+
2469
+ Valid value is ``LambdaLayer`` .
2352
2470
 
2353
2471
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-synthetics-canary-dependency.html#cfn-synthetics-canary-dependency-type
2354
2472
  '''
@@ -2869,6 +2987,7 @@ class CfnCanary(
2869
2987
  name_mapping={
2870
2988
  "base_canary_run_id": "baseCanaryRunId",
2871
2989
  "base_screenshots": "baseScreenshots",
2990
+ "browser_type": "browserType",
2872
2991
  },
2873
2992
  )
2874
2993
  class VisualReferenceProperty:
@@ -2877,6 +2996,7 @@ class CfnCanary(
2877
2996
  *,
2878
2997
  base_canary_run_id: builtins.str,
2879
2998
  base_screenshots: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnCanary.BaseScreenshotProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
2999
+ browser_type: typing.Optional[builtins.str] = None,
2880
3000
  ) -> None:
2881
3001
  '''Defines the screenshots to use as the baseline for comparisons during visual monitoring comparisons during future runs of this canary.
2882
3002
 
@@ -2886,6 +3006,7 @@ class CfnCanary(
2886
3006
 
2887
3007
  :param base_canary_run_id: Specifies which canary run to use the screenshots from as the baseline for future visual monitoring with this canary. Valid values are ``nextrun`` to use the screenshots from the next run after this update is made, ``lastrun`` to use the screenshots from the most recent run before this update was made, or the value of ``Id`` in the `CanaryRun <https://docs.aws.amazon.com/AmazonSynthetics/latest/APIReference/API_CanaryRun.html>`_ from any past run of this canary.
2888
3008
  :param base_screenshots: An array of screenshots that are used as the baseline for comparisons during visual monitoring.
3009
+ :param browser_type:
2889
3010
 
2890
3011
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-synthetics-canary-visualreference.html
2891
3012
  :exampleMetadata: fixture=_generated
@@ -2905,18 +3026,22 @@ class CfnCanary(
2905
3026
 
2906
3027
  # the properties below are optional
2907
3028
  ignore_coordinates=["ignoreCoordinates"]
2908
- )]
3029
+ )],
3030
+ browser_type="browserType"
2909
3031
  )
2910
3032
  '''
2911
3033
  if __debug__:
2912
3034
  type_hints = typing.get_type_hints(_typecheckingstub__f52b6b7318141dc99f6bd36c21b91cda286b67d7dea805791a6132a2cd794526)
2913
3035
  check_type(argname="argument base_canary_run_id", value=base_canary_run_id, expected_type=type_hints["base_canary_run_id"])
2914
3036
  check_type(argname="argument base_screenshots", value=base_screenshots, expected_type=type_hints["base_screenshots"])
3037
+ check_type(argname="argument browser_type", value=browser_type, expected_type=type_hints["browser_type"])
2915
3038
  self._values: typing.Dict[builtins.str, typing.Any] = {
2916
3039
  "base_canary_run_id": base_canary_run_id,
2917
3040
  }
2918
3041
  if base_screenshots is not None:
2919
3042
  self._values["base_screenshots"] = base_screenshots
3043
+ if browser_type is not None:
3044
+ self._values["browser_type"] = browser_type
2920
3045
 
2921
3046
  @builtins.property
2922
3047
  def base_canary_run_id(self) -> builtins.str:
@@ -2941,6 +3066,14 @@ class CfnCanary(
2941
3066
  result = self._values.get("base_screenshots")
2942
3067
  return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnCanary.BaseScreenshotProperty"]]]], result)
2943
3068
 
3069
+ @builtins.property
3070
+ def browser_type(self) -> typing.Optional[builtins.str]:
3071
+ '''
3072
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-synthetics-canary-visualreference.html#cfn-synthetics-canary-visualreference-browsertype
3073
+ '''
3074
+ result = self._values.get("browser_type")
3075
+ return typing.cast(typing.Optional[builtins.str], result)
3076
+
2944
3077
  def __eq__(self, rhs: typing.Any) -> builtins.bool:
2945
3078
  return isinstance(rhs, self.__class__) and rhs._values == self._values
2946
3079
 
@@ -2964,6 +3097,7 @@ class CfnCanary(
2964
3097
  "runtime_version": "runtimeVersion",
2965
3098
  "schedule": "schedule",
2966
3099
  "artifact_config": "artifactConfig",
3100
+ "browser_configs": "browserConfigs",
2967
3101
  "delete_lambda_resources_on_canary_deletion": "deleteLambdaResourcesOnCanaryDeletion",
2968
3102
  "dry_run_and_update": "dryRunAndUpdate",
2969
3103
  "failure_retention_period": "failureRetentionPeriod",
@@ -2974,6 +3108,7 @@ class CfnCanary(
2974
3108
  "success_retention_period": "successRetentionPeriod",
2975
3109
  "tags": "tags",
2976
3110
  "visual_reference": "visualReference",
3111
+ "visual_references": "visualReferences",
2977
3112
  "vpc_config": "vpcConfig",
2978
3113
  },
2979
3114
  )
@@ -2988,6 +3123,7 @@ class CfnCanaryProps:
2988
3123
  runtime_version: builtins.str,
2989
3124
  schedule: typing.Union[_IResolvable_da3f097b, typing.Union[CfnCanary.ScheduleProperty, typing.Dict[builtins.str, typing.Any]]],
2990
3125
  artifact_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnCanary.ArtifactConfigProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
3126
+ browser_configs: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnCanary.BrowserConfigProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
2991
3127
  delete_lambda_resources_on_canary_deletion: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
2992
3128
  dry_run_and_update: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
2993
3129
  failure_retention_period: typing.Optional[jsii.Number] = None,
@@ -2998,6 +3134,7 @@ class CfnCanaryProps:
2998
3134
  success_retention_period: typing.Optional[jsii.Number] = None,
2999
3135
  tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
3000
3136
  visual_reference: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnCanary.VisualReferenceProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
3137
+ visual_references: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnCanary.VisualReferenceProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
3001
3138
  vpc_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnCanary.VPCConfigProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
3002
3139
  ) -> None:
3003
3140
  '''Properties for defining a ``CfnCanary``.
@@ -3009,6 +3146,7 @@ class CfnCanaryProps:
3009
3146
  :param runtime_version: Specifies the runtime version to use for the canary. For more information about runtime versions, see `Canary Runtime Versions <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch_Synthetics_Canaries_Library.html>`_ .
3010
3147
  :param schedule: A structure that contains information about how often the canary is to run, and when these runs are to stop.
3011
3148
  :param artifact_config: A structure that contains the configuration for canary artifacts, including the encryption-at-rest settings for artifacts that the canary uploads to Amazon S3.
3149
+ :param browser_configs: List of browser configurations for the canary.
3012
3150
  :param delete_lambda_resources_on_canary_deletion: (deprecated) Deletes associated lambda resources created by Synthetics if set to True. Default is False
3013
3151
  :param dry_run_and_update: Specifies whether to perform a dry run before updating the canary. If set to ``true`` , CloudFormation will execute a dry run to validate the changes before applying them to the canary. If the dry run succeeds, the canary will be updated with the changes. If the dry run fails, the CloudFormation deployment will fail with the dry run’s failure reason. If set to ``false`` or omitted, the canary will be updated directly without first performing a dry run. The default value is ``false`` . For more information, see `Performing safe canary updates <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/performing-safe-canary-upgrades.html>`_ .
3014
3152
  :param failure_retention_period: The number of days to retain data about failed runs of this canary. If you omit this field, the default of 31 days is used. The valid range is 1 to 455 days. This setting affects the range of information returned by `GetCanaryRuns <https://docs.aws.amazon.com/AmazonSynthetics/latest/APIReference/API_GetCanaryRuns.html>`_ , as well as the range of information displayed in the Synthetics console.
@@ -3018,7 +3156,8 @@ class CfnCanaryProps:
3018
3156
  :param start_canary_after_creation: Specify TRUE to have the canary start making runs immediately after it is created. A canary that you create using CloudFormation can't be used to monitor the CloudFormation stack that creates the canary or to roll back that stack if there is a failure.
3019
3157
  :param success_retention_period: The number of days to retain data about successful runs of this canary. If you omit this field, the default of 31 days is used. The valid range is 1 to 455 days. This setting affects the range of information returned by `GetCanaryRuns <https://docs.aws.amazon.com/AmazonSynthetics/latest/APIReference/API_GetCanaryRuns.html>`_ , as well as the range of information displayed in the Synthetics console.
3020
3158
  :param tags: The list of key-value pairs that are associated with the canary.
3021
- :param visual_reference: If this canary performs visual monitoring by comparing screenshots, this structure contains the ID of the canary run to use as the baseline for screenshots, and the coordinates of any parts of the screen to ignore during the visual monitoring comparison.
3159
+ :param visual_reference: (deprecated) If this canary performs visual monitoring by comparing screenshots, this structure contains the ID of the canary run to use as the baseline for screenshots, and the coordinates of any parts of the screen to ignore during the visual monitoring comparison.
3160
+ :param visual_references: List of visual references for the canary.
3022
3161
  :param vpc_config: If this canary is to test an endpoint in a VPC, this structure contains information about the subnet and security groups of the VPC endpoint. For more information, see `Running a Canary in a VPC <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch_Synthetics_Canaries_VPC.html>`_ .
3023
3162
 
3024
3163
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-synthetics-canary.html
@@ -3068,6 +3207,9 @@ class CfnCanaryProps:
3068
3207
  kms_key_arn="kmsKeyArn"
3069
3208
  )
3070
3209
  ),
3210
+ browser_configs=[synthetics.CfnCanary.BrowserConfigProperty(
3211
+ browser_type="browserType"
3212
+ )],
3071
3213
  delete_lambda_resources_on_canary_deletion=False,
3072
3214
  dry_run_and_update=False,
3073
3215
  failure_retention_period=123,
@@ -3097,8 +3239,21 @@ class CfnCanaryProps:
3097
3239
 
3098
3240
  # the properties below are optional
3099
3241
  ignore_coordinates=["ignoreCoordinates"]
3100
- )]
3242
+ )],
3243
+ browser_type="browserType"
3101
3244
  ),
3245
+ visual_references=[synthetics.CfnCanary.VisualReferenceProperty(
3246
+ base_canary_run_id="baseCanaryRunId",
3247
+
3248
+ # the properties below are optional
3249
+ base_screenshots=[synthetics.CfnCanary.BaseScreenshotProperty(
3250
+ screenshot_name="screenshotName",
3251
+
3252
+ # the properties below are optional
3253
+ ignore_coordinates=["ignoreCoordinates"]
3254
+ )],
3255
+ browser_type="browserType"
3256
+ )],
3102
3257
  vpc_config=synthetics.CfnCanary.VPCConfigProperty(
3103
3258
  security_group_ids=["securityGroupIds"],
3104
3259
  subnet_ids=["subnetIds"],
@@ -3118,6 +3273,7 @@ class CfnCanaryProps:
3118
3273
  check_type(argname="argument runtime_version", value=runtime_version, expected_type=type_hints["runtime_version"])
3119
3274
  check_type(argname="argument schedule", value=schedule, expected_type=type_hints["schedule"])
3120
3275
  check_type(argname="argument artifact_config", value=artifact_config, expected_type=type_hints["artifact_config"])
3276
+ check_type(argname="argument browser_configs", value=browser_configs, expected_type=type_hints["browser_configs"])
3121
3277
  check_type(argname="argument delete_lambda_resources_on_canary_deletion", value=delete_lambda_resources_on_canary_deletion, expected_type=type_hints["delete_lambda_resources_on_canary_deletion"])
3122
3278
  check_type(argname="argument dry_run_and_update", value=dry_run_and_update, expected_type=type_hints["dry_run_and_update"])
3123
3279
  check_type(argname="argument failure_retention_period", value=failure_retention_period, expected_type=type_hints["failure_retention_period"])
@@ -3128,6 +3284,7 @@ class CfnCanaryProps:
3128
3284
  check_type(argname="argument success_retention_period", value=success_retention_period, expected_type=type_hints["success_retention_period"])
3129
3285
  check_type(argname="argument tags", value=tags, expected_type=type_hints["tags"])
3130
3286
  check_type(argname="argument visual_reference", value=visual_reference, expected_type=type_hints["visual_reference"])
3287
+ check_type(argname="argument visual_references", value=visual_references, expected_type=type_hints["visual_references"])
3131
3288
  check_type(argname="argument vpc_config", value=vpc_config, expected_type=type_hints["vpc_config"])
3132
3289
  self._values: typing.Dict[builtins.str, typing.Any] = {
3133
3290
  "artifact_s3_location": artifact_s3_location,
@@ -3139,6 +3296,8 @@ class CfnCanaryProps:
3139
3296
  }
3140
3297
  if artifact_config is not None:
3141
3298
  self._values["artifact_config"] = artifact_config
3299
+ if browser_configs is not None:
3300
+ self._values["browser_configs"] = browser_configs
3142
3301
  if delete_lambda_resources_on_canary_deletion is not None:
3143
3302
  self._values["delete_lambda_resources_on_canary_deletion"] = delete_lambda_resources_on_canary_deletion
3144
3303
  if dry_run_and_update is not None:
@@ -3159,6 +3318,8 @@ class CfnCanaryProps:
3159
3318
  self._values["tags"] = tags
3160
3319
  if visual_reference is not None:
3161
3320
  self._values["visual_reference"] = visual_reference
3321
+ if visual_references is not None:
3322
+ self._values["visual_references"] = visual_references
3162
3323
  if vpc_config is not None:
3163
3324
  self._values["vpc_config"] = vpc_config
3164
3325
 
@@ -3255,6 +3416,17 @@ class CfnCanaryProps:
3255
3416
  result = self._values.get("artifact_config")
3256
3417
  return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, CfnCanary.ArtifactConfigProperty]], result)
3257
3418
 
3419
+ @builtins.property
3420
+ def browser_configs(
3421
+ self,
3422
+ ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, CfnCanary.BrowserConfigProperty]]]]:
3423
+ '''List of browser configurations for the canary.
3424
+
3425
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-synthetics-canary.html#cfn-synthetics-canary-browserconfigs
3426
+ '''
3427
+ result = self._values.get("browser_configs")
3428
+ return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, CfnCanary.BrowserConfigProperty]]]], result)
3429
+
3258
3430
  @builtins.property
3259
3431
  def delete_lambda_resources_on_canary_deletion(
3260
3432
  self,
@@ -3377,13 +3549,27 @@ class CfnCanaryProps:
3377
3549
  def visual_reference(
3378
3550
  self,
3379
3551
  ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, CfnCanary.VisualReferenceProperty]]:
3380
- '''If this canary performs visual monitoring by comparing screenshots, this structure contains the ID of the canary run to use as the baseline for screenshots, and the coordinates of any parts of the screen to ignore during the visual monitoring comparison.
3552
+ '''(deprecated) If this canary performs visual monitoring by comparing screenshots, this structure contains the ID of the canary run to use as the baseline for screenshots, and the coordinates of any parts of the screen to ignore during the visual monitoring comparison.
3553
+
3554
+ :deprecated: this property has been deprecated
3381
3555
 
3382
3556
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-synthetics-canary.html#cfn-synthetics-canary-visualreference
3557
+ :stability: deprecated
3383
3558
  '''
3384
3559
  result = self._values.get("visual_reference")
3385
3560
  return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, CfnCanary.VisualReferenceProperty]], result)
3386
3561
 
3562
+ @builtins.property
3563
+ def visual_references(
3564
+ self,
3565
+ ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, CfnCanary.VisualReferenceProperty]]]]:
3566
+ '''List of visual references for the canary.
3567
+
3568
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-synthetics-canary.html#cfn-synthetics-canary-visualreferences
3569
+ '''
3570
+ result = self._values.get("visual_references")
3571
+ return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, CfnCanary.VisualReferenceProperty]]]], result)
3572
+
3387
3573
  @builtins.property
3388
3574
  def vpc_config(
3389
3575
  self,
@@ -5127,6 +5313,7 @@ def _typecheckingstub__b8fcb3f48eca9399b4d1d31a5ef709e22f9fa52ad1e174b75d8313ef2
5127
5313
  runtime_version: builtins.str,
5128
5314
  schedule: typing.Union[_IResolvable_da3f097b, typing.Union[CfnCanary.ScheduleProperty, typing.Dict[builtins.str, typing.Any]]],
5129
5315
  artifact_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnCanary.ArtifactConfigProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
5316
+ browser_configs: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnCanary.BrowserConfigProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
5130
5317
  delete_lambda_resources_on_canary_deletion: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
5131
5318
  dry_run_and_update: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
5132
5319
  failure_retention_period: typing.Optional[jsii.Number] = None,
@@ -5137,6 +5324,7 @@ def _typecheckingstub__b8fcb3f48eca9399b4d1d31a5ef709e22f9fa52ad1e174b75d8313ef2
5137
5324
  success_retention_period: typing.Optional[jsii.Number] = None,
5138
5325
  tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
5139
5326
  visual_reference: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnCanary.VisualReferenceProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
5327
+ visual_references: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnCanary.VisualReferenceProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
5140
5328
  vpc_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnCanary.VPCConfigProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
5141
5329
  ) -> None:
5142
5330
  """Type checking stubs"""
@@ -5196,6 +5384,12 @@ def _typecheckingstub__5946ee35eff32e4581a6d2e3e0c69d62cdc3c17f079123211f7251bc1
5196
5384
  """Type checking stubs"""
5197
5385
  pass
5198
5386
 
5387
+ def _typecheckingstub__91233a90f3d4d918352b4597b2dee50c3da02176501744c2dc696dbd8a735b68(
5388
+ value: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, CfnCanary.BrowserConfigProperty]]]],
5389
+ ) -> None:
5390
+ """Type checking stubs"""
5391
+ pass
5392
+
5199
5393
  def _typecheckingstub__442577c2c36e4274dca25b3d866e1aeec3f4ffc18732e01050131a31f768f2b3(
5200
5394
  value: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]],
5201
5395
  ) -> None:
@@ -5256,6 +5450,12 @@ def _typecheckingstub__21e93a70969fa03a3f0aa85f6b1615a26d9a0afef8a0cf27f0888fc59
5256
5450
  """Type checking stubs"""
5257
5451
  pass
5258
5452
 
5453
+ def _typecheckingstub__004341f5a58c9e6e190c4bc518ea476aac62201a1708bb1650a22fbf74c64b52(
5454
+ value: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, CfnCanary.VisualReferenceProperty]]]],
5455
+ ) -> None:
5456
+ """Type checking stubs"""
5457
+ pass
5458
+
5259
5459
  def _typecheckingstub__be63ed6816e3043aef63f6e7c0d0dfcc35f1249735acd4eff8530f8c2253b747(
5260
5460
  value: typing.Optional[typing.Union[_IResolvable_da3f097b, CfnCanary.VPCConfigProperty]],
5261
5461
  ) -> None:
@@ -5277,6 +5477,13 @@ def _typecheckingstub__8d401a2416919aef18322e23fb875fc37ad8f90f34f8f5708a245f22f
5277
5477
  """Type checking stubs"""
5278
5478
  pass
5279
5479
 
5480
+ def _typecheckingstub__c91e35c3c240434fee052d7f899893609a9c027813412eb6312483e200412435(
5481
+ *,
5482
+ browser_type: builtins.str,
5483
+ ) -> None:
5484
+ """Type checking stubs"""
5485
+ pass
5486
+
5280
5487
  def _typecheckingstub__3d403372a613babc1ab10717d050ec9a7f4055961f3545f2d0600d89c7b3dcc3(
5281
5488
  *,
5282
5489
  handler: builtins.str,
@@ -5347,6 +5554,7 @@ def _typecheckingstub__f52b6b7318141dc99f6bd36c21b91cda286b67d7dea805791a6132a2c
5347
5554
  *,
5348
5555
  base_canary_run_id: builtins.str,
5349
5556
  base_screenshots: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnCanary.BaseScreenshotProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
5557
+ browser_type: typing.Optional[builtins.str] = None,
5350
5558
  ) -> None:
5351
5559
  """Type checking stubs"""
5352
5560
  pass
@@ -5360,6 +5568,7 @@ def _typecheckingstub__d869d56ce0d1d2e2add2f80bf39b28abbec2752c719e03194ee540bf1
5360
5568
  runtime_version: builtins.str,
5361
5569
  schedule: typing.Union[_IResolvable_da3f097b, typing.Union[CfnCanary.ScheduleProperty, typing.Dict[builtins.str, typing.Any]]],
5362
5570
  artifact_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnCanary.ArtifactConfigProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
5571
+ browser_configs: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnCanary.BrowserConfigProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
5363
5572
  delete_lambda_resources_on_canary_deletion: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
5364
5573
  dry_run_and_update: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
5365
5574
  failure_retention_period: typing.Optional[jsii.Number] = None,
@@ -5370,6 +5579,7 @@ def _typecheckingstub__d869d56ce0d1d2e2add2f80bf39b28abbec2752c719e03194ee540bf1
5370
5579
  success_retention_period: typing.Optional[jsii.Number] = None,
5371
5580
  tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
5372
5581
  visual_reference: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnCanary.VisualReferenceProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
5582
+ visual_references: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnCanary.VisualReferenceProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
5373
5583
  vpc_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnCanary.VPCConfigProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
5374
5584
  ) -> None:
5375
5585
  """Type checking stubs"""
@@ -772,9 +772,20 @@ class CfnCertificate(
772
772
  '''Imports the signing and encryption certificates that you need to create local (AS2) profiles and partner profiles.
773
773
 
774
774
  You can import both the certificate and its chain in the ``Certificate`` parameter.
775
+
776
+ After importing a certificate, AWS Transfer Family automatically creates a Amazon CloudWatch metric called ``DaysUntilExpiry`` that tracks the number of days until the certificate expires. The metric is based on the ``InactiveDate`` parameter and is published daily in the ``AWS/Transfer`` namespace.
775
777
  .. epigraph::
776
778
 
777
- If you use the ``Certificate`` parameter to upload both the certificate and its chain, don't use the ``CertificateChain`` parameter.
779
+ It can take up to a full day after importing a certificate for Transfer Family to emit the ``DaysUntilExpiry`` metric to your account. > If you use the ``Certificate`` parameter to upload both the certificate and its chain, don't use the ``CertificateChain`` parameter.
780
+
781
+ *CloudWatch monitoring*
782
+
783
+ The ``DaysUntilExpiry`` metric includes the following specifications:
784
+
785
+ - *Units:* Count (days)
786
+ - *Dimensions:* ``CertificateId`` (always present), ``Description`` (if provided during certificate import)
787
+ - *Statistics:* Minimum, Maximum, Average
788
+ - *Frequency:* Published daily
778
789
 
779
790
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-transfer-certificate.html
780
791
  :cloudformationResource: AWS::Transfer::Certificate
@@ -2846,7 +2857,7 @@ class CfnServer(
2846
2857
  When you host your endpoint within your VPC, you can make your endpoint accessible only to resources within your VPC, or you can attach Elastic IP addresses and make your endpoint accessible to clients over the internet. Your VPC's default security groups are automatically assigned to your endpoint.
2847
2858
 
2848
2859
  :param address_allocation_ids: A list of address allocation IDs that are required to attach an Elastic IP address to your server's endpoint. An address allocation ID corresponds to the allocation ID of an Elastic IP address. This value can be retrieved from the ``allocationId`` field from the Amazon EC2 `Address <https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_Address.html>`_ data type. One way to retrieve this value is by calling the EC2 `DescribeAddresses <https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeAddresses.html>`_ API. This parameter is optional. Set this parameter if you want to make your VPC endpoint public-facing. For details, see `Create an internet-facing endpoint for your server <https://docs.aws.amazon.com/transfer/latest/userguide/create-server-in-vpc.html#create-internet-facing-endpoint>`_ . .. epigraph:: This property can only be set as follows: - ``EndpointType`` must be set to ``VPC`` - The Transfer Family server must be offline. - You cannot set this parameter for Transfer Family servers that use the FTP protocol. - The server must already have ``SubnetIds`` populated ( ``SubnetIds`` and ``AddressAllocationIds`` cannot be updated simultaneously). - ``AddressAllocationIds`` can't contain duplicates, and must be equal in length to ``SubnetIds`` . For example, if you have three subnet IDs, you must also specify three address allocation IDs. - Call the ``UpdateServer`` API to set or change this parameter. - You can't set address allocation IDs for servers that have an ``IpAddressType`` set to ``DUALSTACK`` You can only set this property if ``IpAddressType`` is set to ``IPV4`` .
2849
- :param security_group_ids: A list of security groups IDs that are available to attach to your server's endpoint. .. epigraph:: This property can only be set when ``EndpointType`` is set to ``VPC`` . You can edit the ``SecurityGroupIds`` property in the `UpdateServer <https://docs.aws.amazon.com/transfer/latest/userguide/API_UpdateServer.html>`_ API only if you are changing the ``EndpointType`` from ``PUBLIC`` or ``VPC_ENDPOINT`` to ``VPC`` . To change security groups associated with your server's VPC endpoint after creation, use the Amazon EC2 `ModifyVpcEndpoint <https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_ModifyVpcEndpoint.html>`_ API.
2860
+ :param security_group_ids: A list of security groups IDs that are available to attach to your server's endpoint. .. epigraph:: While ``SecurityGroupIds`` appears in the response syntax for consistency with ``CreateServer`` and ``UpdateServer`` operations, this field is not populated in ``DescribeServer`` responses. Security groups are managed at the VPC endpoint level and can be modified outside of the Transfer Family service. To retrieve current security group information, use the EC2 ``DescribeVpcEndpoints`` API with the ``VpcEndpointId`` returned in the response. This property can only be set when ``EndpointType`` is set to ``VPC`` . You can edit the ``SecurityGroupIds`` property in the `UpdateServer <https://docs.aws.amazon.com/transfer/latest/userguide/API_UpdateServer.html>`_ API only if you are changing the ``EndpointType`` from ``PUBLIC`` or ``VPC_ENDPOINT`` to ``VPC`` . To change security groups associated with your server's VPC endpoint after creation, use the Amazon EC2 `ModifyVpcEndpoint <https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_ModifyVpcEndpoint.html>`_ API.
2850
2861
  :param subnet_ids: A list of subnet IDs that are required to host your server endpoint in your VPC. .. epigraph:: This property can only be set when ``EndpointType`` is set to ``VPC`` .
2851
2862
  :param vpc_endpoint_id: The ID of the VPC endpoint. .. epigraph:: This property can only be set when ``EndpointType`` is set to ``VPC_ENDPOINT`` .
2852
2863
  :param vpc_id: The VPC ID of the virtual private cloud in which the server's endpoint will be hosted. .. epigraph:: This property can only be set when ``EndpointType`` is set to ``VPC`` .
@@ -2917,6 +2928,8 @@ class CfnServer(
2917
2928
 
2918
2929
  .. epigraph::
2919
2930
 
2931
+ While ``SecurityGroupIds`` appears in the response syntax for consistency with ``CreateServer`` and ``UpdateServer`` operations, this field is not populated in ``DescribeServer`` responses. Security groups are managed at the VPC endpoint level and can be modified outside of the Transfer Family service. To retrieve current security group information, use the EC2 ``DescribeVpcEndpoints`` API with the ``VpcEndpointId`` returned in the response.
2932
+
2920
2933
  This property can only be set when ``EndpointType`` is set to ``VPC`` .
2921
2934
 
2922
2935
  You can edit the ``SecurityGroupIds`` property in the `UpdateServer <https://docs.aws.amazon.com/transfer/latest/userguide/API_UpdateServer.html>`_ API only if you are changing the ``EndpointType`` from ``PUBLIC`` or ``VPC_ENDPOINT`` to ``VPC`` . To change security groups associated with your server's VPC endpoint after creation, use the Amazon EC2 `ModifyVpcEndpoint <https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_ModifyVpcEndpoint.html>`_ API.