aws-cdk-lib 2.210.0__py3-none-any.whl → 2.211.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 (57) hide show
  1. aws_cdk/__init__.py +6 -11
  2. aws_cdk/_jsii/__init__.py +1 -1
  3. aws_cdk/_jsii/{aws-cdk-lib@2.210.0.jsii.tgz → aws-cdk-lib@2.211.0.jsii.tgz} +0 -0
  4. aws_cdk/aws_amazonmq/__init__.py +2 -1
  5. aws_cdk/aws_appconfig/__init__.py +9 -0
  6. aws_cdk/aws_arcregionswitch/__init__.py +4962 -0
  7. aws_cdk/aws_athena/__init__.py +23 -19
  8. aws_cdk/aws_autoscaling/__init__.py +6 -6
  9. aws_cdk/aws_batch/__init__.py +721 -51
  10. aws_cdk/aws_cassandra/__init__.py +28 -1
  11. aws_cdk/aws_cloudfront/__init__.py +20 -8
  12. aws_cdk/aws_cognito/__init__.py +9 -2
  13. aws_cdk/aws_datazone/__init__.py +118 -77
  14. aws_cdk/aws_dax/__init__.py +39 -0
  15. aws_cdk/aws_deadline/__init__.py +155 -7
  16. aws_cdk/aws_docdb/__init__.py +20 -11
  17. aws_cdk/aws_dynamodb/__init__.py +160 -20
  18. aws_cdk/aws_ec2/__init__.py +978 -256
  19. aws_cdk/aws_ecr/__init__.py +274 -0
  20. aws_cdk/aws_ecs/__init__.py +1642 -140
  21. aws_cdk/aws_eks/__init__.py +51 -3
  22. aws_cdk/aws_elasticloadbalancingv2/__init__.py +30 -16
  23. aws_cdk/aws_entityresolution/__init__.py +240 -45
  24. aws_cdk/aws_evs/__init__.py +20 -45
  25. aws_cdk/aws_iot/__init__.py +387 -0
  26. aws_cdk/aws_iotsitewise/__init__.py +1247 -139
  27. aws_cdk/aws_ivs/__init__.py +443 -33
  28. aws_cdk/aws_kinesisfirehose/__init__.py +2 -0
  29. aws_cdk/aws_lambda/__init__.py +3 -3
  30. aws_cdk/aws_lightsail/__init__.py +590 -0
  31. aws_cdk/aws_logs/__init__.py +97 -3
  32. aws_cdk/aws_medialive/__init__.py +270 -7
  33. aws_cdk/aws_mediapackagev2/__init__.py +204 -6
  34. aws_cdk/aws_neptune/__init__.py +41 -2
  35. aws_cdk/aws_networkfirewall/__init__.py +490 -134
  36. aws_cdk/aws_observabilityadmin/__init__.py +1468 -0
  37. aws_cdk/aws_opensearchserverless/__init__.py +2 -2
  38. aws_cdk/aws_opsworks/__init__.py +125 -125
  39. aws_cdk/aws_opsworkscm/__init__.py +1 -53
  40. aws_cdk/aws_pcs/__init__.py +36 -0
  41. aws_cdk/aws_qbusiness/__init__.py +3 -3
  42. aws_cdk/aws_quicksight/__init__.py +107 -0
  43. aws_cdk/aws_rds/__init__.py +274 -0
  44. aws_cdk/aws_s3/__init__.py +56 -1
  45. aws_cdk/aws_s3express/__init__.py +52 -1
  46. aws_cdk/aws_sagemaker/__init__.py +4033 -218
  47. aws_cdk/aws_ses/__init__.py +172 -9
  48. aws_cdk/aws_ssm/__init__.py +8 -4
  49. aws_cdk/aws_verifiedpermissions/__init__.py +23 -2
  50. aws_cdk/aws_wisdom/__init__.py +2 -2
  51. aws_cdk/aws_workspacesweb/__init__.py +949 -157
  52. {aws_cdk_lib-2.210.0.dist-info → aws_cdk_lib-2.211.0.dist-info}/METADATA +8 -8
  53. {aws_cdk_lib-2.210.0.dist-info → aws_cdk_lib-2.211.0.dist-info}/RECORD +57 -55
  54. {aws_cdk_lib-2.210.0.dist-info → aws_cdk_lib-2.211.0.dist-info}/LICENSE +0 -0
  55. {aws_cdk_lib-2.210.0.dist-info → aws_cdk_lib-2.211.0.dist-info}/NOTICE +0 -0
  56. {aws_cdk_lib-2.210.0.dist-info → aws_cdk_lib-2.211.0.dist-info}/WHEEL +0 -0
  57. {aws_cdk_lib-2.210.0.dist-info → aws_cdk_lib-2.211.0.dist-info}/top_level.txt +0 -0
@@ -577,7 +577,7 @@ class CfnDataCatalog(
577
577
  :param connection_type: The type of connection for a ``FEDERATED`` data catalog (for example, ``REDSHIFT`` , ``MYSQL`` , or ``SQLSERVER`` ). For information about individual connectors, see `Available data source connectors <https://docs.aws.amazon.com/athena/latest/ug/connectors-available.html>`_ .
578
578
  :param description: A description of the data catalog.
579
579
  :param error: Text of the error that occurred during data catalog creation or deletion.
580
- :param parameters: Specifies the Lambda function or functions to use for the data catalog. The mapping used depends on the catalog type. - The ``HIVE`` data catalog type uses the following syntax. The ``metadata-function`` parameter is required. ``The sdk-version`` parameter is optional and defaults to the currently supported version. ``metadata-function= *lambda_arn* , sdk-version= *version_number*`` - The ``LAMBDA`` data catalog type uses one of the following sets of required parameters, but not both. - When one Lambda function processes metadata and another Lambda function reads data, the following syntax is used. Both parameters are required. ``metadata-function= *lambda_arn* , record-function= *lambda_arn*`` - A composite Lambda function that processes both metadata and data uses the following syntax. ``function= *lambda_arn*`` - The ``GLUE`` type takes a catalog ID parameter and is required. The ``*catalog_id*`` is the account ID of the AWS account to which the Glue catalog belongs. ``catalog-id= *catalog_id*`` - The ``GLUE`` data catalog type also applies to the default ``AwsDataCatalog`` that already exists in your account, of which you can have only one and cannot modify.
580
+ :param parameters: Specifies the Lambda function or functions to use for creating the data catalog. This is a mapping whose values depend on the catalog type. - For the ``HIVE`` data catalog type, use the following syntax. The ``metadata-function`` parameter is required. ``The sdk-version`` parameter is optional and defaults to the currently supported version. ``metadata-function= *lambda_arn* , sdk-version= *version_number*`` - For the ``LAMBDA`` data catalog type, use one of the following sets of required parameters, but not both. - If you have one Lambda function that processes metadata and another for reading the actual data, use the following syntax. Both parameters are required. ``metadata-function= *lambda_arn* , record-function= *lambda_arn*`` - If you have a composite Lambda function that processes both metadata and data, use the following syntax to specify your Lambda function. ``function= *lambda_arn*`` - The ``GLUE`` type takes a catalog ID parameter and is required. The ``*catalog_id*`` is the account ID of the AWS account to which the AWS Glue Data Catalog belongs. ``catalog-id= *catalog_id*`` - The ``GLUE`` data catalog type also applies to the default ``AwsDataCatalog`` that already exists in your account, of which you can have only one and cannot modify. - The ``FEDERATED`` data catalog type uses one of the following parameters, but not both. Use ``connection-arn`` for an existing AWS Glue connection. Use ``connection-type`` and ``connection-properties`` to specify the configuration setting for a new connection. - ``connection-arn: *<glue_connection_arn_to_reuse>*`` - ``lambda-role-arn`` (optional): The execution role to use for the Lambda function. If not provided, one is created. - ``connection-type:MYSQL|REDSHIFT|...., connection-properties:" *<json_string>* "`` For *``<json_string>``* , use escaped JSON text, as in the following example. ``"{\\"spill_bucket\\":\\"my_spill\\",\\"spill_prefix\\":\\"athena-spill\\",\\"host\\":\\"abc12345.snowflakecomputing.com\\",\\"port\\":\\"1234\\",\\"warehouse\\":\\"DEV_WH\\",\\"database\\":\\"TEST\\",\\"schema\\":\\"PUBLIC\\",\\"SecretArn\\":\\"arn:aws:secretsmanager:ap-south-1:111122223333:secret:snowflake-XHb67j\\"}"``
581
581
  :param status: The status of the creation or deletion of the data catalog. - The ``LAMBDA`` , ``GLUE`` , and ``HIVE`` data catalog types are created synchronously. Their status is either ``CREATE_COMPLETE`` or ``CREATE_FAILED`` . - The ``FEDERATED`` data catalog type is created asynchronously. Data catalog creation status: - ``CREATE_IN_PROGRESS`` : Federated data catalog creation in progress. - ``CREATE_COMPLETE`` : Data catalog creation complete. - ``CREATE_FAILED`` : Data catalog could not be created. - ``CREATE_FAILED_CLEANUP_IN_PROGRESS`` : Federated data catalog creation failed and is being removed. - ``CREATE_FAILED_CLEANUP_COMPLETE`` : Federated data catalog creation failed and was removed. - ``CREATE_FAILED_CLEANUP_FAILED`` : Federated data catalog creation failed but could not be removed. Data catalog deletion status: - ``DELETE_IN_PROGRESS`` : Federated data catalog deletion in progress. - ``DELETE_COMPLETE`` : Federated data catalog deleted. - ``DELETE_FAILED`` : Federated data catalog could not be deleted.
582
582
  :param tags: The tags (key-value pairs) to associate with this resource.
583
583
  '''
@@ -709,7 +709,7 @@ class CfnDataCatalog(
709
709
  def parameters(
710
710
  self,
711
711
  ) -> typing.Optional[typing.Union[typing.Mapping[builtins.str, builtins.str], _IResolvable_da3f097b]]:
712
- '''Specifies the Lambda function or functions to use for the data catalog.'''
712
+ '''Specifies the Lambda function or functions to use for creating the data catalog.'''
713
713
  return typing.cast(typing.Optional[typing.Union[typing.Mapping[builtins.str, builtins.str], _IResolvable_da3f097b]], jsii.get(self, "parameters"))
714
714
 
715
715
  @parameters.setter
@@ -783,7 +783,7 @@ class CfnDataCatalogProps:
783
783
  :param connection_type: The type of connection for a ``FEDERATED`` data catalog (for example, ``REDSHIFT`` , ``MYSQL`` , or ``SQLSERVER`` ). For information about individual connectors, see `Available data source connectors <https://docs.aws.amazon.com/athena/latest/ug/connectors-available.html>`_ .
784
784
  :param description: A description of the data catalog.
785
785
  :param error: Text of the error that occurred during data catalog creation or deletion.
786
- :param parameters: Specifies the Lambda function or functions to use for the data catalog. The mapping used depends on the catalog type. - The ``HIVE`` data catalog type uses the following syntax. The ``metadata-function`` parameter is required. ``The sdk-version`` parameter is optional and defaults to the currently supported version. ``metadata-function= *lambda_arn* , sdk-version= *version_number*`` - The ``LAMBDA`` data catalog type uses one of the following sets of required parameters, but not both. - When one Lambda function processes metadata and another Lambda function reads data, the following syntax is used. Both parameters are required. ``metadata-function= *lambda_arn* , record-function= *lambda_arn*`` - A composite Lambda function that processes both metadata and data uses the following syntax. ``function= *lambda_arn*`` - The ``GLUE`` type takes a catalog ID parameter and is required. The ``*catalog_id*`` is the account ID of the AWS account to which the Glue catalog belongs. ``catalog-id= *catalog_id*`` - The ``GLUE`` data catalog type also applies to the default ``AwsDataCatalog`` that already exists in your account, of which you can have only one and cannot modify.
786
+ :param parameters: Specifies the Lambda function or functions to use for creating the data catalog. This is a mapping whose values depend on the catalog type. - For the ``HIVE`` data catalog type, use the following syntax. The ``metadata-function`` parameter is required. ``The sdk-version`` parameter is optional and defaults to the currently supported version. ``metadata-function= *lambda_arn* , sdk-version= *version_number*`` - For the ``LAMBDA`` data catalog type, use one of the following sets of required parameters, but not both. - If you have one Lambda function that processes metadata and another for reading the actual data, use the following syntax. Both parameters are required. ``metadata-function= *lambda_arn* , record-function= *lambda_arn*`` - If you have a composite Lambda function that processes both metadata and data, use the following syntax to specify your Lambda function. ``function= *lambda_arn*`` - The ``GLUE`` type takes a catalog ID parameter and is required. The ``*catalog_id*`` is the account ID of the AWS account to which the AWS Glue Data Catalog belongs. ``catalog-id= *catalog_id*`` - The ``GLUE`` data catalog type also applies to the default ``AwsDataCatalog`` that already exists in your account, of which you can have only one and cannot modify. - The ``FEDERATED`` data catalog type uses one of the following parameters, but not both. Use ``connection-arn`` for an existing AWS Glue connection. Use ``connection-type`` and ``connection-properties`` to specify the configuration setting for a new connection. - ``connection-arn: *<glue_connection_arn_to_reuse>*`` - ``lambda-role-arn`` (optional): The execution role to use for the Lambda function. If not provided, one is created. - ``connection-type:MYSQL|REDSHIFT|...., connection-properties:" *<json_string>* "`` For *``<json_string>``* , use escaped JSON text, as in the following example. ``"{\\"spill_bucket\\":\\"my_spill\\",\\"spill_prefix\\":\\"athena-spill\\",\\"host\\":\\"abc12345.snowflakecomputing.com\\",\\"port\\":\\"1234\\",\\"warehouse\\":\\"DEV_WH\\",\\"database\\":\\"TEST\\",\\"schema\\":\\"PUBLIC\\",\\"SecretArn\\":\\"arn:aws:secretsmanager:ap-south-1:111122223333:secret:snowflake-XHb67j\\"}"``
787
787
  :param status: The status of the creation or deletion of the data catalog. - The ``LAMBDA`` , ``GLUE`` , and ``HIVE`` data catalog types are created synchronously. Their status is either ``CREATE_COMPLETE`` or ``CREATE_FAILED`` . - The ``FEDERATED`` data catalog type is created asynchronously. Data catalog creation status: - ``CREATE_IN_PROGRESS`` : Federated data catalog creation in progress. - ``CREATE_COMPLETE`` : Data catalog creation complete. - ``CREATE_FAILED`` : Data catalog could not be created. - ``CREATE_FAILED_CLEANUP_IN_PROGRESS`` : Federated data catalog creation failed and is being removed. - ``CREATE_FAILED_CLEANUP_COMPLETE`` : Federated data catalog creation failed and was removed. - ``CREATE_FAILED_CLEANUP_FAILED`` : Federated data catalog creation failed but could not be removed. Data catalog deletion status: - ``DELETE_IN_PROGRESS`` : Federated data catalog deletion in progress. - ``DELETE_COMPLETE`` : Federated data catalog deleted. - ``DELETE_FAILED`` : Federated data catalog could not be deleted.
788
788
  :param tags: The tags (key-value pairs) to associate with this resource.
789
789
 
@@ -896,28 +896,36 @@ class CfnDataCatalogProps:
896
896
  def parameters(
897
897
  self,
898
898
  ) -> typing.Optional[typing.Union[typing.Mapping[builtins.str, builtins.str], _IResolvable_da3f097b]]:
899
- '''Specifies the Lambda function or functions to use for the data catalog.
899
+ '''Specifies the Lambda function or functions to use for creating the data catalog.
900
900
 
901
- The mapping used depends on the catalog type.
901
+ This is a mapping whose values depend on the catalog type.
902
902
 
903
- - The ``HIVE`` data catalog type uses the following syntax. The ``metadata-function`` parameter is required. ``The sdk-version`` parameter is optional and defaults to the currently supported version.
903
+ - For the ``HIVE`` data catalog type, use the following syntax. The ``metadata-function`` parameter is required. ``The sdk-version`` parameter is optional and defaults to the currently supported version.
904
904
 
905
905
  ``metadata-function= *lambda_arn* , sdk-version= *version_number*``
906
906
 
907
- - The ``LAMBDA`` data catalog type uses one of the following sets of required parameters, but not both.
908
- - When one Lambda function processes metadata and another Lambda function reads data, the following syntax is used. Both parameters are required.
907
+ - For the ``LAMBDA`` data catalog type, use one of the following sets of required parameters, but not both.
908
+ - If you have one Lambda function that processes metadata and another for reading the actual data, use the following syntax. Both parameters are required.
909
909
 
910
910
  ``metadata-function= *lambda_arn* , record-function= *lambda_arn*``
911
911
 
912
- - A composite Lambda function that processes both metadata and data uses the following syntax.
912
+ - If you have a composite Lambda function that processes both metadata and data, use the following syntax to specify your Lambda function.
913
913
 
914
914
  ``function= *lambda_arn*``
915
915
 
916
- - The ``GLUE`` type takes a catalog ID parameter and is required. The ``*catalog_id*`` is the account ID of the AWS account to which the Glue catalog belongs.
916
+ - The ``GLUE`` type takes a catalog ID parameter and is required. The ``*catalog_id*`` is the account ID of the AWS account to which the AWS Glue Data Catalog belongs.
917
917
 
918
918
  ``catalog-id= *catalog_id*``
919
919
 
920
920
  - The ``GLUE`` data catalog type also applies to the default ``AwsDataCatalog`` that already exists in your account, of which you can have only one and cannot modify.
921
+ - The ``FEDERATED`` data catalog type uses one of the following parameters, but not both. Use ``connection-arn`` for an existing AWS Glue connection. Use ``connection-type`` and ``connection-properties`` to specify the configuration setting for a new connection.
922
+ - ``connection-arn: *<glue_connection_arn_to_reuse>*``
923
+ - ``lambda-role-arn`` (optional): The execution role to use for the Lambda function. If not provided, one is created.
924
+ - ``connection-type:MYSQL|REDSHIFT|...., connection-properties:" *<json_string>* "``
925
+
926
+ For *``<json_string>``* , use escaped JSON text, as in the following example.
927
+
928
+ ``"{\\"spill_bucket\\":\\"my_spill\\",\\"spill_prefix\\":\\"athena-spill\\",\\"host\\":\\"abc12345.snowflakecomputing.com\\",\\"port\\":\\"1234\\",\\"warehouse\\":\\"DEV_WH\\",\\"database\\":\\"TEST\\",\\"schema\\":\\"PUBLIC\\",\\"SecretArn\\":\\"arn:aws:secretsmanager:ap-south-1:111122223333:secret:snowflake-XHb67j\\"}"``
921
929
 
922
930
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-athena-datacatalog.html#cfn-athena-datacatalog-parameters
923
931
  '''
@@ -2420,11 +2428,11 @@ class CfnWorkGroup(
2420
2428
 
2421
2429
  :param acl_configuration: The ACL configuration for the query results.
2422
2430
  :param encryption_configuration: The encryption configuration for the query results.
2423
- :param expected_bucket_owner: The AWS account ID that you expect to be the owner of the Amazon S3 bucket specified by ``ResultConfiguration$OutputLocation`` . If set, Athena uses the value for ``ExpectedBucketOwner`` when it makes Amazon S3 calls to your specified output location. If the ``ExpectedBucketOwner`` AWS account ID does not match the actual owner of the Amazon S3 bucket, the call fails with a permissions error. If workgroup settings override client-side settings, then the query uses the ``ExpectedBucketOwner`` setting that is specified for the workgroup, and also uses the location for storing query results specified in the workgroup. See ``WorkGroupConfiguration$EnforceWorkGroupConfiguration`` and `Workgroup Settings Override Client-Side Settings <https://docs.aws.amazon.com/athena/latest/ug/workgroups-settings-override.html>`_ .
2431
+ :param expected_bucket_owner: The AWS account ID that you expect to be the owner of the Amazon S3 bucket specified by ` <https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-properties-athena-workgroup-resultconfiguration.html#cfn-athena-workgroup-resultconfiguration-outputlocation>`_ . If set, Athena uses the value for ``ExpectedBucketOwner`` when it makes Amazon S3 calls to your specified output location. If the ``ExpectedBucketOwner`` AWS account ID does not match the actual owner of the Amazon S3 bucket, the call fails with a permissions error. If workgroup settings override client-side settings, then the query uses the ``ExpectedBucketOwner`` setting that is specified for the workgroup, and also uses the location for storing query results specified in the workgroup. See ` <https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-properties-athena-workgroup-workgroupconfiguration.html#cfn-athena-workgroup-workgroupconfiguration-enforceworkgroupconfiguration>`_ and `Workgroup Settings Override Client-Side Settings <https://docs.aws.amazon.com/athena/latest/ug/workgroups-settings-override.html>`_ .
2424
2432
  :param output_location: The location in Amazon S3 where your query results are stored, such as ``s3://path/to/query/bucket/`` . For more information, see `Query Results <https://docs.aws.amazon.com/athena/latest/ug/querying.html>`_ If workgroup settings override client-side settings, then the query uses the location for the query results and the encryption configuration that are specified for the workgroup. The "workgroup settings override" is specified in EnforceWorkGroupConfiguration (true/false) in the WorkGroupConfiguration. See ``EnforceWorkGroupConfiguration`` .
2425
2433
  :param remove_acl_configuration: If set to ``true`` , indicates that the previously-specified ACL configuration for queries in this workgroup should be ignored and set to null. If set to ``false`` or not set, and a value is present in the ``AclConfiguration`` of ``ResultConfigurationUpdates`` , the ``AclConfiguration`` in the workgroup's ``ResultConfiguration`` is updated with the new value. For more information, see `Workgroup Settings Override Client-Side Settings <https://docs.aws.amazon.com/athena/latest/ug/workgroups-settings-override.html>`_ .
2426
2434
  :param remove_encryption_configuration: If set to "true", indicates that the previously-specified encryption configuration (also known as the client-side setting) for queries in this workgroup should be ignored and set to null. If set to "false" or not set, and a value is present in the EncryptionConfiguration in ResultConfigurationUpdates (the client-side setting), the EncryptionConfiguration in the workgroup's ResultConfiguration will be updated with the new value. For more information, see `Override Client-Side Settings <https://docs.aws.amazon.com/athena/latest/ug/workgroups-settings-override.html>`_ .
2427
- :param remove_expected_bucket_owner: If set to "true", removes the AWS account ID previously specified for ``ResultConfiguration$ExpectedBucketOwner`` . If set to "false" or not set, and a value is present in the ``ExpectedBucketOwner`` in ``ResultConfigurationUpdates`` (the client-side setting), the ``ExpectedBucketOwner`` in the workgroup's ``ResultConfiguration`` is updated with the new value. For more information, see `Workgroup Settings Override Client-Side Settings <https://docs.aws.amazon.com/athena/latest/ug/workgroups-settings-override.html>`_ .
2435
+ :param remove_expected_bucket_owner: If set to "true", removes the AWS account ID previously specified for ` <https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-properties-athena-workgroup-resultconfiguration.html#cfn-athena-workgroup-resultconfiguration-expectedbucketowner>`_ . If set to "false" or not set, and a value is present in the ``ExpectedBucketOwner`` in ``ResultConfigurationUpdates`` (the client-side setting), the ``ExpectedBucketOwner`` in the workgroup's ``ResultConfiguration`` is updated with the new value. For more information, see `Workgroup Settings Override Client-Side Settings <https://docs.aws.amazon.com/athena/latest/ug/workgroups-settings-override.html>`_ .
2428
2436
  :param remove_output_location: If set to "true", indicates that the previously-specified query results location (also known as a client-side setting) for queries in this workgroup should be ignored and set to null. If set to "false" or not set, and a value is present in the OutputLocation in ResultConfigurationUpdates (the client-side setting), the OutputLocation in the workgroup's ResultConfiguration will be updated with the new value. For more information, see `Override Client-Side Settings <https://docs.aws.amazon.com/athena/latest/ug/workgroups-settings-override.html>`_ .
2429
2437
 
2430
2438
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-athena-workgroup-resultconfigurationupdates.html
@@ -2506,11 +2514,9 @@ class CfnWorkGroup(
2506
2514
 
2507
2515
  @builtins.property
2508
2516
  def expected_bucket_owner(self) -> typing.Optional[builtins.str]:
2509
- '''The AWS account ID that you expect to be the owner of the Amazon S3 bucket specified by ``ResultConfiguration$OutputLocation`` .
2517
+ '''The AWS account ID that you expect to be the owner of the Amazon S3 bucket specified by ` <https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-properties-athena-workgroup-resultconfiguration.html#cfn-athena-workgroup-resultconfiguration-outputlocation>`_ . If set, Athena uses the value for ``ExpectedBucketOwner`` when it makes Amazon S3 calls to your specified output location. If the ``ExpectedBucketOwner`` AWS account ID does not match the actual owner of the Amazon S3 bucket, the call fails with a permissions error.
2510
2518
 
2511
- If set, Athena uses the value for ``ExpectedBucketOwner`` when it makes Amazon S3 calls to your specified output location. If the ``ExpectedBucketOwner`` AWS account ID does not match the actual owner of the Amazon S3 bucket, the call fails with a permissions error.
2512
-
2513
- If workgroup settings override client-side settings, then the query uses the ``ExpectedBucketOwner`` setting that is specified for the workgroup, and also uses the location for storing query results specified in the workgroup. See ``WorkGroupConfiguration$EnforceWorkGroupConfiguration`` and `Workgroup Settings Override Client-Side Settings <https://docs.aws.amazon.com/athena/latest/ug/workgroups-settings-override.html>`_ .
2519
+ If workgroup settings override client-side settings, then the query uses the ``ExpectedBucketOwner`` setting that is specified for the workgroup, and also uses the location for storing query results specified in the workgroup. See ` <https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-properties-athena-workgroup-workgroupconfiguration.html#cfn-athena-workgroup-workgroupconfiguration-enforceworkgroupconfiguration>`_ and `Workgroup Settings Override Client-Side Settings <https://docs.aws.amazon.com/athena/latest/ug/workgroups-settings-override.html>`_ .
2514
2520
 
2515
2521
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-athena-workgroup-resultconfigurationupdates.html#cfn-athena-workgroup-resultconfigurationupdates-expectedbucketowner
2516
2522
  '''
@@ -2558,9 +2564,7 @@ class CfnWorkGroup(
2558
2564
  def remove_expected_bucket_owner(
2559
2565
  self,
2560
2566
  ) -> typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]]:
2561
- '''If set to "true", removes the AWS account ID previously specified for ``ResultConfiguration$ExpectedBucketOwner`` .
2562
-
2563
- If set to "false" or not set, and a value is present in the ``ExpectedBucketOwner`` in ``ResultConfigurationUpdates`` (the client-side setting), the ``ExpectedBucketOwner`` in the workgroup's ``ResultConfiguration`` is updated with the new value. For more information, see `Workgroup Settings Override Client-Side Settings <https://docs.aws.amazon.com/athena/latest/ug/workgroups-settings-override.html>`_ .
2567
+ '''If set to "true", removes the AWS account ID previously specified for ` <https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-properties-athena-workgroup-resultconfiguration.html#cfn-athena-workgroup-resultconfiguration-expectedbucketowner>`_ . If set to "false" or not set, and a value is present in the ``ExpectedBucketOwner`` in ``ResultConfigurationUpdates`` (the client-side setting), the ``ExpectedBucketOwner`` in the workgroup's ``ResultConfiguration`` is updated with the new value. For more information, see `Workgroup Settings Override Client-Side Settings <https://docs.aws.amazon.com/athena/latest/ug/workgroups-settings-override.html>`_ .
2564
2568
 
2565
2569
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-athena-workgroup-resultconfigurationupdates.html#cfn-athena-workgroup-resultconfigurationupdates-removeexpectedbucketowner
2566
2570
  '''
@@ -540,7 +540,7 @@ about allowing connections between resources backed by instances.
540
540
  ## Max Instance Lifetime
541
541
 
542
542
  To enable the max instance lifetime support, specify `maxInstanceLifetime` property
543
- for the `AutoscalingGroup` resource. The value must be between 7 and 365 days(inclusive).
543
+ for the `AutoscalingGroup` resource. The value must be between 1 and 365 days(inclusive).
544
544
  To clear a previously set value, leave this property undefined.
545
545
 
546
546
  ## Instance Monitoring
@@ -13545,7 +13545,7 @@ class CommonAutoScalingGroupProps:
13545
13545
  :param key_name: (deprecated) Name of SSH keypair to grant access to instances. ``launchTemplate`` and ``mixedInstancesPolicy`` must not be specified when this property is specified You can either specify ``keyPair`` or ``keyName``, not both. Default: - No SSH access will be possible.
13546
13546
  :param key_pair: The SSH keypair to grant access to the instance. Feature flag ``AUTOSCALING_GENERATE_LAUNCH_TEMPLATE`` must be enabled to use this property. ``launchTemplate`` and ``mixedInstancesPolicy`` must not be specified when this property is specified. You can either specify ``keyPair`` or ``keyName``, not both. Default: - No SSH access will be possible.
13547
13547
  :param max_capacity: Maximum number of instances in the fleet. Default: desiredCapacity
13548
- :param max_instance_lifetime: The maximum amount of time that an instance can be in service. The maximum duration applies to all current and future instances in the group. As an instance approaches its maximum duration, it is terminated and replaced, and cannot be used again. You must specify a value of at least 604,800 seconds (7 days). To clear a previously set value, leave this property undefined. Default: none
13548
+ :param max_instance_lifetime: The maximum amount of time that an instance can be in service. The maximum duration applies to all current and future instances in the group. As an instance approaches its maximum duration, it is terminated and replaced, and cannot be used again. You must specify a value of at least 86,400 seconds (one day). To clear a previously set value, leave this property undefined. Default: none
13549
13549
  :param min_capacity: Minimum number of instances in the fleet. Default: 1
13550
13550
  :param new_instances_protected_from_scale_in: Whether newly-launched instances are protected from termination by Amazon EC2 Auto Scaling when scaling in. By default, Auto Scaling can terminate an instance at any time after launch when scaling in an Auto Scaling Group, subject to the group's termination policy. However, you may wish to protect newly-launched instances from being scaled in if they are going to run critical applications that should not be prematurely terminated. This flag must be enabled if the Auto Scaling Group will be associated with an ECS Capacity Provider with managed termination protection. Default: false
13551
13551
  :param notifications: Configure autoscaling group to send notifications about fleet changes to an SNS topic(s). Default: - No fleet change notifications will be sent.
@@ -13952,7 +13952,7 @@ class CommonAutoScalingGroupProps:
13952
13952
  to all current and future instances in the group. As an instance approaches its maximum duration,
13953
13953
  it is terminated and replaced, and cannot be used again.
13954
13954
 
13955
- You must specify a value of at least 604,800 seconds (7 days). To clear a previously set value,
13955
+ You must specify a value of at least 86,400 seconds (one day). To clear a previously set value,
13956
13956
  leave this property undefined.
13957
13957
 
13958
13958
  :default: none
@@ -19566,7 +19566,7 @@ class AutoScalingGroup(
19566
19566
  :param key_name: (deprecated) Name of SSH keypair to grant access to instances. ``launchTemplate`` and ``mixedInstancesPolicy`` must not be specified when this property is specified You can either specify ``keyPair`` or ``keyName``, not both. Default: - No SSH access will be possible.
19567
19567
  :param key_pair: The SSH keypair to grant access to the instance. Feature flag ``AUTOSCALING_GENERATE_LAUNCH_TEMPLATE`` must be enabled to use this property. ``launchTemplate`` and ``mixedInstancesPolicy`` must not be specified when this property is specified. You can either specify ``keyPair`` or ``keyName``, not both. Default: - No SSH access will be possible.
19568
19568
  :param max_capacity: Maximum number of instances in the fleet. Default: desiredCapacity
19569
- :param max_instance_lifetime: The maximum amount of time that an instance can be in service. The maximum duration applies to all current and future instances in the group. As an instance approaches its maximum duration, it is terminated and replaced, and cannot be used again. You must specify a value of at least 604,800 seconds (7 days). To clear a previously set value, leave this property undefined. Default: none
19569
+ :param max_instance_lifetime: The maximum amount of time that an instance can be in service. The maximum duration applies to all current and future instances in the group. As an instance approaches its maximum duration, it is terminated and replaced, and cannot be used again. You must specify a value of at least 86,400 seconds (one day). To clear a previously set value, leave this property undefined. Default: none
19570
19570
  :param min_capacity: Minimum number of instances in the fleet. Default: 1
19571
19571
  :param new_instances_protected_from_scale_in: Whether newly-launched instances are protected from termination by Amazon EC2 Auto Scaling when scaling in. By default, Auto Scaling can terminate an instance at any time after launch when scaling in an Auto Scaling Group, subject to the group's termination policy. However, you may wish to protect newly-launched instances from being scaled in if they are going to run critical applications that should not be prematurely terminated. This flag must be enabled if the Auto Scaling Group will be associated with an ECS Capacity Provider with managed termination protection. Default: false
19572
19572
  :param notifications: Configure autoscaling group to send notifications about fleet changes to an SNS topic(s). Default: - No fleet change notifications will be sent.
@@ -20308,7 +20308,7 @@ class AutoScalingGroupProps(CommonAutoScalingGroupProps):
20308
20308
  :param key_name: (deprecated) Name of SSH keypair to grant access to instances. ``launchTemplate`` and ``mixedInstancesPolicy`` must not be specified when this property is specified You can either specify ``keyPair`` or ``keyName``, not both. Default: - No SSH access will be possible.
20309
20309
  :param key_pair: The SSH keypair to grant access to the instance. Feature flag ``AUTOSCALING_GENERATE_LAUNCH_TEMPLATE`` must be enabled to use this property. ``launchTemplate`` and ``mixedInstancesPolicy`` must not be specified when this property is specified. You can either specify ``keyPair`` or ``keyName``, not both. Default: - No SSH access will be possible.
20310
20310
  :param max_capacity: Maximum number of instances in the fleet. Default: desiredCapacity
20311
- :param max_instance_lifetime: The maximum amount of time that an instance can be in service. The maximum duration applies to all current and future instances in the group. As an instance approaches its maximum duration, it is terminated and replaced, and cannot be used again. You must specify a value of at least 604,800 seconds (7 days). To clear a previously set value, leave this property undefined. Default: none
20311
+ :param max_instance_lifetime: The maximum amount of time that an instance can be in service. The maximum duration applies to all current and future instances in the group. As an instance approaches its maximum duration, it is terminated and replaced, and cannot be used again. You must specify a value of at least 86,400 seconds (one day). To clear a previously set value, leave this property undefined. Default: none
20312
20312
  :param min_capacity: Minimum number of instances in the fleet. Default: 1
20313
20313
  :param new_instances_protected_from_scale_in: Whether newly-launched instances are protected from termination by Amazon EC2 Auto Scaling when scaling in. By default, Auto Scaling can terminate an instance at any time after launch when scaling in an Auto Scaling Group, subject to the group's termination policy. However, you may wish to protect newly-launched instances from being scaled in if they are going to run critical applications that should not be prematurely terminated. This flag must be enabled if the Auto Scaling Group will be associated with an ECS Capacity Provider with managed termination protection. Default: false
20314
20314
  :param notifications: Configure autoscaling group to send notifications about fleet changes to an SNS topic(s). Default: - No fleet change notifications will be sent.
@@ -20721,7 +20721,7 @@ class AutoScalingGroupProps(CommonAutoScalingGroupProps):
20721
20721
  to all current and future instances in the group. As an instance approaches its maximum duration,
20722
20722
  it is terminated and replaced, and cannot be used again.
20723
20723
 
20724
- You must specify a value of at least 604,800 seconds (7 days). To clear a previously set value,
20724
+ You must specify a value of at least 86,400 seconds (one day). To clear a previously set value,
20725
20725
  leave this property undefined.
20726
20726
 
20727
20727
  :default: none