aws-cdk-lib 2.162.1__py3-none-any.whl → 2.163.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 (59) hide show
  1. aws_cdk/__init__.py +5 -7
  2. aws_cdk/_jsii/__init__.py +1 -1
  3. aws_cdk/_jsii/{aws-cdk-lib@2.162.1.jsii.tgz → aws-cdk-lib@2.163.0.jsii.tgz} +0 -0
  4. aws_cdk/aws_apigatewayv2/__init__.py +7 -7
  5. aws_cdk/aws_appflow/__init__.py +30 -16
  6. aws_cdk/aws_appsync/__init__.py +11 -21
  7. aws_cdk/aws_autoscaling/__init__.py +123 -0
  8. aws_cdk/aws_b2bi/__init__.py +83 -57
  9. aws_cdk/aws_cloudformation/__init__.py +5 -7
  10. aws_cdk/aws_codebuild/__init__.py +19 -40
  11. aws_cdk/aws_codepipeline/__init__.py +88 -7
  12. aws_cdk/aws_cognito/__init__.py +282 -168
  13. aws_cdk/aws_dms/__init__.py +1076 -117
  14. aws_cdk/aws_docdb/__init__.py +19 -13
  15. aws_cdk/aws_dynamodb/__init__.py +43 -22
  16. aws_cdk/aws_ec2/__init__.py +1213 -38
  17. aws_cdk/aws_ecs/__init__.py +187 -18
  18. aws_cdk/aws_ecs_patterns/__init__.py +189 -27
  19. aws_cdk/aws_efs/__init__.py +56 -37
  20. aws_cdk/aws_eks/__init__.py +6 -2
  21. aws_cdk/aws_elasticache/__init__.py +118 -118
  22. aws_cdk/aws_elasticloadbalancingv2/__init__.py +21 -1
  23. aws_cdk/aws_emr/__init__.py +124 -57
  24. aws_cdk/aws_events/__init__.py +40 -0
  25. aws_cdk/aws_fms/__init__.py +757 -8
  26. aws_cdk/aws_fsx/__init__.py +245 -10
  27. aws_cdk/aws_gamelift/__init__.py +121 -0
  28. aws_cdk/aws_glue/__init__.py +344 -61
  29. aws_cdk/aws_iam/__init__.py +44 -0
  30. aws_cdk/aws_identitystore/__init__.py +4 -2
  31. aws_cdk/aws_iot/__init__.py +40 -12
  32. aws_cdk/aws_kinesis/__init__.py +239 -0
  33. aws_cdk/aws_kms/__init__.py +92 -3
  34. aws_cdk/aws_lambda/__init__.py +2 -2
  35. aws_cdk/aws_mediapackagev2/__init__.py +26 -10
  36. aws_cdk/aws_memorydb/__init__.py +7 -7
  37. aws_cdk/aws_networkfirewall/__init__.py +89 -0
  38. aws_cdk/aws_qbusiness/__init__.py +51 -7
  39. aws_cdk/aws_quicksight/__init__.py +221 -87
  40. aws_cdk/aws_rds/__init__.py +376 -75
  41. aws_cdk/aws_redshift/__init__.py +493 -13
  42. aws_cdk/aws_route53profiles/__init__.py +4 -2
  43. aws_cdk/aws_route53resolver/__init__.py +26 -60
  44. aws_cdk/aws_s3/__init__.py +104 -4
  45. aws_cdk/aws_s3express/__init__.py +73 -13
  46. aws_cdk/aws_s3outposts/__init__.py +21 -12
  47. aws_cdk/aws_sagemaker/__init__.py +4 -44
  48. aws_cdk/aws_ssmquicksetup/__init__.py +2 -2
  49. aws_cdk/aws_stepfunctions/__init__.py +529 -156
  50. aws_cdk/aws_transfer/__init__.py +15 -4
  51. aws_cdk/aws_waf/__init__.py +11 -11
  52. aws_cdk/aws_wafregional/__init__.py +12 -12
  53. aws_cdk/aws_wisdom/__init__.py +710 -5
  54. {aws_cdk_lib-2.162.1.dist-info → aws_cdk_lib-2.163.0.dist-info}/METADATA +1 -1
  55. {aws_cdk_lib-2.162.1.dist-info → aws_cdk_lib-2.163.0.dist-info}/RECORD +59 -59
  56. {aws_cdk_lib-2.162.1.dist-info → aws_cdk_lib-2.163.0.dist-info}/LICENSE +0 -0
  57. {aws_cdk_lib-2.162.1.dist-info → aws_cdk_lib-2.163.0.dist-info}/NOTICE +0 -0
  58. {aws_cdk_lib-2.162.1.dist-info → aws_cdk_lib-2.163.0.dist-info}/WHEEL +0 -0
  59. {aws_cdk_lib-2.162.1.dist-info → aws_cdk_lib-2.163.0.dist-info}/top_level.txt +0 -0
aws_cdk/__init__.py CHANGED
@@ -6943,7 +6943,7 @@ class CfnPublisherProps:
6943
6943
  '''Properties for defining a ``CfnPublisher``.
6944
6944
 
6945
6945
  :param accept_terms_and_conditions: Whether you accept the `Terms and Conditions <https://docs.aws.amazon.com/https://cloudformation-registry-documents.s3.amazonaws.com/Terms_and_Conditions_for_AWS_CloudFormation_Registry_Publishers.pdf>`_ for publishing extensions in the CloudFormation registry. You must accept the terms and conditions in order to register to publish public extensions to the CloudFormation registry. The default is ``false`` .
6946
- :param connection_arn: If you are using a Bitbucket or GitHub account for identity verification, the Amazon Resource Name (ARN) for your connection to that account. For more information, see `Registering your account to publish CloudFormation extensions <https://docs.aws.amazon.com/cloudformation-cli/latest/userguide/publish-extension.html#publish-extension-prereqs>`_ in the *AWS CloudFormation Command Line Interface (CLI) User Guide* .
6946
+ :param connection_arn: If you are using a Bitbucket or GitHub account for identity verification, the Amazon Resource Name (ARN) for your connection to that account. For more information, see `Prerequisite: Registering your account to publish CloudFormation extensions <https://docs.aws.amazon.com/cloudformation-cli/latest/userguide/publish-extension.html#publish-extension-prereqs>`_ in the *AWS CloudFormation Command Line Interface (CLI) User Guide* .
6947
6947
 
6948
6948
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudformation-publisher.html
6949
6949
  :exampleMetadata: fixture=_generated
@@ -6987,7 +6987,7 @@ class CfnPublisherProps:
6987
6987
  def connection_arn(self) -> typing.Optional[builtins.str]:
6988
6988
  '''If you are using a Bitbucket or GitHub account for identity verification, the Amazon Resource Name (ARN) for your connection to that account.
6989
6989
 
6990
- For more information, see `Registering your account to publish CloudFormation extensions <https://docs.aws.amazon.com/cloudformation-cli/latest/userguide/publish-extension.html#publish-extension-prereqs>`_ in the *AWS CloudFormation Command Line Interface (CLI) User Guide* .
6990
+ For more information, see `Prerequisite: Registering your account to publish CloudFormation extensions <https://docs.aws.amazon.com/cloudformation-cli/latest/userguide/publish-extension.html#publish-extension-prereqs>`_ in the *AWS CloudFormation Command Line Interface (CLI) User Guide* .
6991
6991
 
6992
6992
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudformation-publisher.html#cfn-cloudformation-publisher-connectionarn
6993
6993
  '''
@@ -28622,7 +28622,7 @@ class CfnModuleVersion(
28622
28622
  def attr_schema(self) -> builtins.str:
28623
28623
  '''The schema that defines the extension.
28624
28624
 
28625
- For more information about extension schemas, see `Resource Provider Schema <https://docs.aws.amazon.com/cloudformation-cli/latest/userguide/resource-type-schema.html>`_ in the *AWS CloudFormation Command Line Interface (CLI) User Guide* .
28625
+ For more information about extension schemas, see `Resource type schema <https://docs.aws.amazon.com/cloudformation-cli/latest/userguide/resource-type-schema.html>`_ in the *AWS CloudFormation Command Line Interface (CLI) User Guide* .
28626
28626
 
28627
28627
  :cloudformationAttribute: Schema
28628
28628
  '''
@@ -28938,7 +28938,7 @@ class CfnPublisher(
28938
28938
  :param scope: Scope in which this resource is defined.
28939
28939
  :param id: Construct identifier for this resource (unique in its scope).
28940
28940
  :param accept_terms_and_conditions: Whether you accept the `Terms and Conditions <https://docs.aws.amazon.com/https://cloudformation-registry-documents.s3.amazonaws.com/Terms_and_Conditions_for_AWS_CloudFormation_Registry_Publishers.pdf>`_ for publishing extensions in the CloudFormation registry. You must accept the terms and conditions in order to register to publish public extensions to the CloudFormation registry. The default is ``false`` .
28941
- :param connection_arn: If you are using a Bitbucket or GitHub account for identity verification, the Amazon Resource Name (ARN) for your connection to that account. For more information, see `Registering your account to publish CloudFormation extensions <https://docs.aws.amazon.com/cloudformation-cli/latest/userguide/publish-extension.html#publish-extension-prereqs>`_ in the *AWS CloudFormation Command Line Interface (CLI) User Guide* .
28941
+ :param connection_arn: If you are using a Bitbucket or GitHub account for identity verification, the Amazon Resource Name (ARN) for your connection to that account. For more information, see `Prerequisite: Registering your account to publish CloudFormation extensions <https://docs.aws.amazon.com/cloudformation-cli/latest/userguide/publish-extension.html#publish-extension-prereqs>`_ in the *AWS CloudFormation Command Line Interface (CLI) User Guide* .
28942
28942
  '''
28943
28943
  if __debug__:
28944
28944
  type_hints = typing.get_type_hints(_typecheckingstub__5fe0cee8381373f35262956f781df87f6ffe5ce00d266fa1a0f22ce9b68aaac6)
@@ -30948,9 +30948,7 @@ class CfnTypeActivation(
30948
30948
  ):
30949
30949
  '''Activates a public third-party extension, making it available for use in stack templates.
30950
30950
 
30951
- For more information, see `Using public extensions <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/registry-public.html>`_ in the *AWS CloudFormation User Guide* .
30952
-
30953
- Once you have activated a public third-party extension in your account and Region, use `SetTypeConfiguration <https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_SetTypeConfiguration.html>`_ to specify configuration properties for the extension. For more information, see `Configuring extensions at the account level <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/registry-private.html#registry-set-configuration>`_ in the *AWS CloudFormation User Guide* .
30951
+ Once you have activated a public third-party extension in your account and Region, use `SetTypeConfiguration <https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_SetTypeConfiguration.html>`_ to specify configuration properties for the extension. For more information, see `Using public extensions <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/registry-public.html>`_ in the *AWS CloudFormation User Guide* .
30954
30952
 
30955
30953
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudformation-typeactivation.html
30956
30954
  :cloudformationResource: AWS::CloudFormation::TypeActivation
aws_cdk/_jsii/__init__.py CHANGED
@@ -35,7 +35,7 @@ import aws_cdk.cloud_assembly_schema._jsii
35
35
  import constructs._jsii
36
36
 
37
37
  __jsii_assembly__ = jsii.JSIIAssembly.load(
38
- "aws-cdk-lib", "2.162.1", __name__[0:-6], "aws-cdk-lib@2.162.1.jsii.tgz"
38
+ "aws-cdk-lib", "2.163.0", __name__[0:-6], "aws-cdk-lib@2.163.0.jsii.tgz"
39
39
  )
40
40
 
41
41
  __all__ = [
@@ -3974,7 +3974,7 @@ class CfnDomainName(
3974
3974
  '''
3975
3975
  :param scope: Scope in which this resource is defined.
3976
3976
  :param id: Construct identifier for this resource (unique in its scope).
3977
- :param domain_name: The custom domain name for your API in Amazon API Gateway. Uppercase letters are not supported.
3977
+ :param domain_name: The custom domain name for your API in Amazon API Gateway. Uppercase letters and the underscore ( ``_`` ) character are not supported.
3978
3978
  :param domain_name_configurations: The domain name configurations.
3979
3979
  :param mutual_tls_authentication: The mutual TLS authentication configuration for a custom domain name.
3980
3980
  :param tags: The collection of tags associated with a domain name.
@@ -4350,7 +4350,7 @@ class CfnDomainNameProps:
4350
4350
  ) -> None:
4351
4351
  '''Properties for defining a ``CfnDomainName``.
4352
4352
 
4353
- :param domain_name: The custom domain name for your API in Amazon API Gateway. Uppercase letters are not supported.
4353
+ :param domain_name: The custom domain name for your API in Amazon API Gateway. Uppercase letters and the underscore ( ``_`` ) character are not supported.
4354
4354
  :param domain_name_configurations: The domain name configurations.
4355
4355
  :param mutual_tls_authentication: The mutual TLS authentication configuration for a custom domain name.
4356
4356
  :param tags: The collection of tags associated with a domain name.
@@ -4404,7 +4404,7 @@ class CfnDomainNameProps:
4404
4404
  def domain_name(self) -> builtins.str:
4405
4405
  '''The custom domain name for your API in Amazon API Gateway.
4406
4406
 
4407
- Uppercase letters are not supported.
4407
+ Uppercase letters and the underscore ( ``_`` ) character are not supported.
4408
4408
 
4409
4409
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-domainname.html#cfn-apigatewayv2-domainname-domainname
4410
4410
  '''
@@ -8973,7 +8973,7 @@ class HttpApiProps:
8973
8973
  :param default_domain_mapping: Configure a custom domain with the API mapping resource to the HTTP API. Default: - no default domain mapping configured. meaningless if ``createDefaultStage`` is ``false``.
8974
8974
  :param default_integration: An integration that will be configured on the catch-all route ($default). Default: - none
8975
8975
  :param description: The description of the API. Default: - none
8976
- :param disable_execute_api_endpoint: Specifies whether clients can invoke your API using the default endpoint. By default, clients can invoke your API with the default ``https://{api_id}.execute-api.{region}.amazonaws.com`` endpoint. Enable this if you would like clients to use your custom domain name. Default: false execute-api endpoint enabled.
8976
+ :param disable_execute_api_endpoint: Specifies whether clients can invoke your API using the default endpoint. By default, clients can invoke your API with the default ``https://{api_id}.execute-api.{region}.amazonaws.com`` endpoint. Set this to true if you would like clients to use your custom domain name. Default: false execute-api endpoint enabled.
8977
8977
  :param route_selection_expression: Whether to set the default route selection expression for the API. When enabled, "${request.method} ${request.path}" is set as the default route selection expression. Default: false
8978
8978
 
8979
8979
  :exampleMetadata: infused
@@ -9116,8 +9116,8 @@ class HttpApiProps:
9116
9116
  '''Specifies whether clients can invoke your API using the default endpoint.
9117
9117
 
9118
9118
  By default, clients can invoke your API with the default
9119
- ``https://{api_id}.execute-api.{region}.amazonaws.com`` endpoint. Enable
9120
- this if you would like clients to use your custom domain name.
9119
+ ``https://{api_id}.execute-api.{region}.amazonaws.com`` endpoint. Set this to
9120
+ true if you would like clients to use your custom domain name.
9121
9121
 
9122
9122
  :default: false execute-api endpoint enabled.
9123
9123
  '''
@@ -16073,7 +16073,7 @@ class HttpApi(
16073
16073
  :param default_domain_mapping: Configure a custom domain with the API mapping resource to the HTTP API. Default: - no default domain mapping configured. meaningless if ``createDefaultStage`` is ``false``.
16074
16074
  :param default_integration: An integration that will be configured on the catch-all route ($default). Default: - none
16075
16075
  :param description: The description of the API. Default: - none
16076
- :param disable_execute_api_endpoint: Specifies whether clients can invoke your API using the default endpoint. By default, clients can invoke your API with the default ``https://{api_id}.execute-api.{region}.amazonaws.com`` endpoint. Enable this if you would like clients to use your custom domain name. Default: false execute-api endpoint enabled.
16076
+ :param disable_execute_api_endpoint: Specifies whether clients can invoke your API using the default endpoint. By default, clients can invoke your API with the default ``https://{api_id}.execute-api.{region}.amazonaws.com`` endpoint. Set this to true if you would like clients to use your custom domain name. Default: false execute-api endpoint enabled.
16077
16077
  :param route_selection_expression: Whether to set the default route selection expression for the API. When enabled, "${request.method} ${request.path}" is set as the default route selection expression. Default: false
16078
16078
  '''
16079
16079
  if __debug__:
@@ -4315,7 +4315,7 @@ class CfnConnectorProfile(
4315
4315
  :param application_host_url: The location of the SAPOData resource.
4316
4316
  :param application_service_path: The application path to catalog service.
4317
4317
  :param client_number: The client number for the client creating the connection.
4318
- :param disable_sso: If you set this parameter to true, Amazon AppFlow bypasses the single sign-on (SSO) settings in your SAP account when it accesses your SAP OData instance.
4318
+ :param disable_sso: If you set this parameter to ``true`` , Amazon AppFlow bypasses the single sign-on (SSO) settings in your SAP account when it accesses your SAP OData instance. Whether you need this option depends on the types of credentials that you applied to your SAP OData connection profile. If your profile uses basic authentication credentials, SAP SSO can prevent Amazon AppFlow from connecting to your account with your username and password. In this case, bypassing SSO makes it possible for Amazon AppFlow to connect successfully. However, if your profile uses OAuth credentials, this parameter has no affect.
4319
4319
  :param logon_language: The logon language of SAPOData instance.
4320
4320
  :param o_auth_properties: The SAPOData OAuth properties required for OAuth type authentication.
4321
4321
  :param port_number: The port number of the SAPOData instance.
@@ -4404,7 +4404,9 @@ class CfnConnectorProfile(
4404
4404
  def disable_sso(
4405
4405
  self,
4406
4406
  ) -> typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]]:
4407
- '''If you set this parameter to true, Amazon AppFlow bypasses the single sign-on (SSO) settings in your SAP account when it accesses your SAP OData instance.
4407
+ '''If you set this parameter to ``true`` , Amazon AppFlow bypasses the single sign-on (SSO) settings in your SAP account when it accesses your SAP OData instance.
4408
+
4409
+ Whether you need this option depends on the types of credentials that you applied to your SAP OData connection profile. If your profile uses basic authentication credentials, SAP SSO can prevent Amazon AppFlow from connecting to your account with your username and password. In this case, bypassing SSO makes it possible for Amazon AppFlow to connect successfully. However, if your profile uses OAuth credentials, this parameter has no affect.
4408
4410
 
4409
4411
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-connectorprofile-sapodataconnectorprofileproperties.html#cfn-appflow-connectorprofile-sapodataconnectorprofileproperties-disablesso
4410
4412
  '''
@@ -4489,7 +4491,7 @@ class CfnConnectorProfile(
4489
4491
  :param client_credentials_arn: The secret manager ARN, which contains the client ID and client secret of the connected app.
4490
4492
  :param connector_o_auth_request: Used by select connectors for which the OAuth workflow is supported, such as Salesforce, Google Analytics, Marketo, Zendesk, and Slack.
4491
4493
  :param jwt_token: A JSON web token (JWT) that authorizes Amazon AppFlow to access your Salesforce records.
4492
- :param o_auth2_grant_type: Specifies the OAuth 2.0 grant type that Amazon AppFlow uses when it requests an access token from Salesforce. Amazon AppFlow requires an access token each time it attempts to access your Salesforce records. You can specify one of the following values: - **AUTHORIZATION_CODE** - Amazon AppFlow passes an authorization code when it requests the access token from Salesforce. Amazon AppFlow receives the authorization code from Salesforce after you log in to your Salesforce account and authorize Amazon AppFlow to access your records. - **CLIENT_CREDENTIALS** - Amazon AppFlow passes client credentials (a client ID and client secret) when it requests the access token from Salesforce. You provide these credentials to Amazon AppFlow when you define the connection to your Salesforce account. - **JWT_BEARER** - Amazon AppFlow passes a JSON web token (JWT) when it requests the access token from Salesforce. You provide the JWT to Amazon AppFlow when you define the connection to your Salesforce account. When you use this grant type, you don't need to log in to your Salesforce account to authorize Amazon AppFlow to access your records.
4494
+ :param o_auth2_grant_type: Specifies the OAuth 2.0 grant type that Amazon AppFlow uses when it requests an access token from Salesforce. Amazon AppFlow requires an access token each time it attempts to access your Salesforce records. You can specify one of the following values: - **AUTHORIZATION_CODE** - Amazon AppFlow passes an authorization code when it requests the access token from Salesforce. Amazon AppFlow receives the authorization code from Salesforce after you log in to your Salesforce account and authorize Amazon AppFlow to access your records. - **JWT_BEARER** - Amazon AppFlow passes a JSON web token (JWT) when it requests the access token from Salesforce. You provide the JWT to Amazon AppFlow when you define the connection to your Salesforce account. When you use this grant type, you don't need to log in to your Salesforce account to authorize Amazon AppFlow to access your records. .. epigraph:: The CLIENT_CREDENTIALS value is not supported for Salesforce.
4493
4495
  :param refresh_token: The credentials used to acquire new access tokens.
4494
4496
 
4495
4497
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-connectorprofile-salesforceconnectorprofilecredentials.html
@@ -4580,9 +4582,12 @@ class CfnConnectorProfile(
4580
4582
  You can specify one of the following values:
4581
4583
 
4582
4584
  - **AUTHORIZATION_CODE** - Amazon AppFlow passes an authorization code when it requests the access token from Salesforce. Amazon AppFlow receives the authorization code from Salesforce after you log in to your Salesforce account and authorize Amazon AppFlow to access your records.
4583
- - **CLIENT_CREDENTIALS** - Amazon AppFlow passes client credentials (a client ID and client secret) when it requests the access token from Salesforce. You provide these credentials to Amazon AppFlow when you define the connection to your Salesforce account.
4584
4585
  - **JWT_BEARER** - Amazon AppFlow passes a JSON web token (JWT) when it requests the access token from Salesforce. You provide the JWT to Amazon AppFlow when you define the connection to your Salesforce account. When you use this grant type, you don't need to log in to your Salesforce account to authorize Amazon AppFlow to access your records.
4585
4586
 
4587
+ .. epigraph::
4588
+
4589
+ The CLIENT_CREDENTIALS value is not supported for Salesforce.
4590
+
4586
4591
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-connectorprofile-salesforceconnectorprofilecredentials.html#cfn-appflow-connectorprofile-salesforceconnectorprofilecredentials-oauth2granttype
4587
4592
  '''
4588
4593
  result = self._values.get("o_auth2_grant_type")
@@ -4742,7 +4747,7 @@ class CfnConnectorProfile(
4742
4747
  ) -> None:
4743
4748
  '''The connector-specific profile credentials required when using ServiceNow.
4744
4749
 
4745
- :param o_auth2_credentials:
4750
+ :param o_auth2_credentials: The OAuth 2.0 credentials required to authenticate the user.
4746
4751
  :param password: The password that corresponds to the user name.
4747
4752
  :param username: The name of the user.
4748
4753
 
@@ -4787,7 +4792,8 @@ class CfnConnectorProfile(
4787
4792
  def o_auth2_credentials(
4788
4793
  self,
4789
4794
  ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnConnectorProfile.OAuth2CredentialsProperty"]]:
4790
- '''
4795
+ '''The OAuth 2.0 credentials required to authenticate the user.
4796
+
4791
4797
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-connectorprofile-servicenowconnectorprofilecredentials.html#cfn-appflow-connectorprofile-servicenowconnectorprofilecredentials-oauth2credentials
4792
4798
  '''
4793
4799
  result = self._values.get("o_auth2_credentials")
@@ -9701,9 +9707,11 @@ class CfnFlow(
9701
9707
  )
9702
9708
  class SAPODataPaginationConfigProperty:
9703
9709
  def __init__(self, *, max_page_size: jsii.Number) -> None:
9704
- '''SAP Source connector page size.
9710
+ '''Sets the page size for each *concurrent process* that transfers OData records from your SAP instance.
9711
+
9712
+ A concurrent process is query that retrieves a batch of records as part of a flow run. Amazon AppFlow can run multiple concurrent processes in parallel to transfer data faster.
9705
9713
 
9706
- :param max_page_size:
9714
+ :param max_page_size: The maximum number of records that Amazon AppFlow receives in each page of the response from your SAP application. For transfers of OData records, the maximum page size is 3,000. For transfers of data that comes from an ODP provider, the maximum page size is 10,000.
9707
9715
 
9708
9716
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-flow-sapodatapaginationconfig.html
9709
9717
  :exampleMetadata: fixture=_generated
@@ -9727,7 +9735,10 @@ class CfnFlow(
9727
9735
 
9728
9736
  @builtins.property
9729
9737
  def max_page_size(self) -> jsii.Number:
9730
- '''
9738
+ '''The maximum number of records that Amazon AppFlow receives in each page of the response from your SAP application.
9739
+
9740
+ For transfers of OData records, the maximum page size is 3,000. For transfers of data that comes from an ODP provider, the maximum page size is 10,000.
9741
+
9731
9742
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-flow-sapodatapaginationconfig.html#cfn-appflow-flow-sapodatapaginationconfig-maxpagesize
9732
9743
  '''
9733
9744
  result = self._values.get("max_page_size")
@@ -9752,9 +9763,11 @@ class CfnFlow(
9752
9763
  )
9753
9764
  class SAPODataParallelismConfigProperty:
9754
9765
  def __init__(self, *, max_parallelism: jsii.Number) -> None:
9755
- '''SAP Source connector parallelism factor.
9766
+ '''Sets the number of *concurrent processes* that transfer OData records from your SAP instance.
9756
9767
 
9757
- :param max_parallelism:
9768
+ A concurrent process is query that retrieves a batch of records as part of a flow run. Amazon AppFlow can run multiple concurrent processes in parallel to transfer data faster.
9769
+
9770
+ :param max_parallelism: The maximum number of processes that Amazon AppFlow runs at the same time when it retrieves your data from your SAP application.
9758
9771
 
9759
9772
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-flow-sapodataparallelismconfig.html
9760
9773
  :exampleMetadata: fixture=_generated
@@ -9778,7 +9791,8 @@ class CfnFlow(
9778
9791
 
9779
9792
  @builtins.property
9780
9793
  def max_parallelism(self) -> jsii.Number:
9781
- '''
9794
+ '''The maximum number of processes that Amazon AppFlow runs at the same time when it retrieves your data from your SAP application.
9795
+
9782
9796
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-flow-sapodataparallelismconfig.html#cfn-appflow-flow-sapodataparallelismconfig-maxparallelism
9783
9797
  '''
9784
9798
  result = self._values.get("max_parallelism")
@@ -9816,8 +9830,8 @@ class CfnFlow(
9816
9830
  '''The properties that are applied when using SAPOData as a flow source.
9817
9831
 
9818
9832
  :param object_path: The object path specified in the SAPOData flow source.
9819
- :param pagination_config: SAP Source connector page size.
9820
- :param parallelism_config: SAP Source connector parallelism factor.
9833
+ :param pagination_config: Sets the page size for each concurrent process that transfers OData records from your SAP instance.
9834
+ :param parallelism_config: Sets the number of concurrent processes that transfers OData records from your SAP instance.
9821
9835
 
9822
9836
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-flow-sapodatasourceproperties.html
9823
9837
  :exampleMetadata: fixture=_generated
@@ -9867,7 +9881,7 @@ class CfnFlow(
9867
9881
  def pagination_config(
9868
9882
  self,
9869
9883
  ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnFlow.SAPODataPaginationConfigProperty"]]:
9870
- '''SAP Source connector page size.
9884
+ '''Sets the page size for each concurrent process that transfers OData records from your SAP instance.
9871
9885
 
9872
9886
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-flow-sapodatasourceproperties.html#cfn-appflow-flow-sapodatasourceproperties-paginationconfig
9873
9887
  '''
@@ -9878,7 +9892,7 @@ class CfnFlow(
9878
9892
  def parallelism_config(
9879
9893
  self,
9880
9894
  ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnFlow.SAPODataParallelismConfigProperty"]]:
9881
- '''SAP Source connector parallelism factor.
9895
+ '''Sets the number of concurrent processes that transfers OData records from your SAP instance.
9882
9896
 
9883
9897
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-flow-sapodatasourceproperties.html#cfn-appflow-flow-sapodatasourceproperties-parallelismconfig
9884
9898
  '''
@@ -3225,7 +3225,7 @@ class CfnDataSource(
3225
3225
  :param type: The type of the data source. - *AWS_LAMBDA* : The data source is an AWS Lambda function. - *AMAZON_DYNAMODB* : The data source is an Amazon DynamoDB table. - *AMAZON_ELASTICSEARCH* : The data source is an Amazon OpenSearch Service domain. - *AMAZON_EVENTBRIDGE* : The data source is an Amazon EventBridge event bus. - *AMAZON_OPENSEARCH_SERVICE* : The data source is an Amazon OpenSearch Service domain. - *NONE* : There is no data source. This type is used when you wish to invoke a GraphQL operation without connecting to a data source, such as performing data transformation with resolvers or triggering a subscription to be invoked from a mutation. - *HTTP* : The data source is an HTTP endpoint. - *RELATIONAL_DATABASE* : The data source is a relational database.
3226
3226
  :param description: The description of the data source.
3227
3227
  :param dynamo_db_config: AWS Region and TableName for an Amazon DynamoDB table in your account.
3228
- :param elasticsearch_config: AWS Region and Endpoints for an Amazon OpenSearch Service domain in your account. As of September 2021, Amazon Elasticsearch Service is Amazon OpenSearch Service . This property is deprecated. For new data sources, use *OpenSearchServiceConfig* to specify an OpenSearch Service data source.
3228
+ :param elasticsearch_config:
3229
3229
  :param event_bridge_config: An EventBridge configuration that contains a valid ARN of an event bus.
3230
3230
  :param http_config: Endpoints for an HTTP data source.
3231
3231
  :param lambda_config: An ARN of a Lambda function in valid ARN format. This can be the ARN of a Lambda function that exists in the current account or in another account.
@@ -3295,15 +3295,6 @@ class CfnDataSource(
3295
3295
  '''
3296
3296
  return typing.cast(builtins.str, jsii.get(self, "attrDataSourceArn"))
3297
3297
 
3298
- @builtins.property
3299
- @jsii.member(jsii_name="attrId")
3300
- def attr_id(self) -> builtins.str:
3301
- '''The ID value.
3302
-
3303
- :cloudformationAttribute: Id
3304
- '''
3305
- return typing.cast(builtins.str, jsii.get(self, "attrId"))
3306
-
3307
3298
  @builtins.property
3308
3299
  @jsii.member(jsii_name="attrName")
3309
3300
  def attr_name(self) -> builtins.str:
@@ -3393,7 +3384,11 @@ class CfnDataSource(
3393
3384
  def elasticsearch_config(
3394
3385
  self,
3395
3386
  ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnDataSource.ElasticsearchConfigProperty"]]:
3396
- '''AWS Region and Endpoints for an Amazon OpenSearch Service domain in your account.'''
3387
+ '''
3388
+ :deprecated: this property has been deprecated
3389
+
3390
+ :stability: deprecated
3391
+ '''
3397
3392
  return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnDataSource.ElasticsearchConfigProperty"]], jsii.get(self, "elasticsearchConfig"))
3398
3393
 
3399
3394
  @elasticsearch_config.setter
@@ -3915,12 +3910,7 @@ class CfnDataSource(
3915
3910
  )
3916
3911
  class ElasticsearchConfigProperty:
3917
3912
  def __init__(self, *, aws_region: builtins.str, endpoint: builtins.str) -> None:
3918
- '''The ``ElasticsearchConfig`` property type specifies the ``AwsRegion`` and ``Endpoints`` for an Amazon OpenSearch Service domain in your account for an AWS AppSync data source.
3919
-
3920
- ElasticsearchConfig is a property of the `AWS::AppSync::DataSource <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appsync-datasource.html>`_ property type.
3921
-
3922
- As of September 2021, Amazon Elasticsearch Service is Amazon OpenSearch Service . This property is deprecated. For new data sources, use *OpenSearchServiceConfig* to specify an OpenSearch Service data source.
3923
-
3913
+ '''
3924
3914
  :param aws_region: The AWS Region.
3925
3915
  :param endpoint: The endpoint.
3926
3916
 
@@ -4503,7 +4493,7 @@ class CfnDataSourceProps:
4503
4493
  :param type: The type of the data source. - *AWS_LAMBDA* : The data source is an AWS Lambda function. - *AMAZON_DYNAMODB* : The data source is an Amazon DynamoDB table. - *AMAZON_ELASTICSEARCH* : The data source is an Amazon OpenSearch Service domain. - *AMAZON_EVENTBRIDGE* : The data source is an Amazon EventBridge event bus. - *AMAZON_OPENSEARCH_SERVICE* : The data source is an Amazon OpenSearch Service domain. - *NONE* : There is no data source. This type is used when you wish to invoke a GraphQL operation without connecting to a data source, such as performing data transformation with resolvers or triggering a subscription to be invoked from a mutation. - *HTTP* : The data source is an HTTP endpoint. - *RELATIONAL_DATABASE* : The data source is a relational database.
4504
4494
  :param description: The description of the data source.
4505
4495
  :param dynamo_db_config: AWS Region and TableName for an Amazon DynamoDB table in your account.
4506
- :param elasticsearch_config: AWS Region and Endpoints for an Amazon OpenSearch Service domain in your account. As of September 2021, Amazon Elasticsearch Service is Amazon OpenSearch Service . This property is deprecated. For new data sources, use *OpenSearchServiceConfig* to specify an OpenSearch Service data source.
4496
+ :param elasticsearch_config:
4507
4497
  :param event_bridge_config: An EventBridge configuration that contains a valid ARN of an event bus.
4508
4498
  :param http_config: Endpoints for an HTTP data source.
4509
4499
  :param lambda_config: An ARN of a Lambda function in valid ARN format. This can be the ARN of a Lambda function that exists in the current account or in another account.
@@ -4691,11 +4681,11 @@ class CfnDataSourceProps:
4691
4681
  def elasticsearch_config(
4692
4682
  self,
4693
4683
  ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, CfnDataSource.ElasticsearchConfigProperty]]:
4694
- '''AWS Region and Endpoints for an Amazon OpenSearch Service domain in your account.
4695
-
4696
- As of September 2021, Amazon Elasticsearch Service is Amazon OpenSearch Service . This property is deprecated. For new data sources, use *OpenSearchServiceConfig* to specify an OpenSearch Service data source.
4684
+ '''
4685
+ :deprecated: this property has been deprecated
4697
4686
 
4698
4687
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appsync-datasource.html#cfn-appsync-datasource-elasticsearchconfig
4688
+ :stability: deprecated
4699
4689
  '''
4700
4690
  result = self._values.get("elasticsearch_config")
4701
4691
  return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, CfnDataSource.ElasticsearchConfigProperty]], result)
@@ -2524,6 +2524,10 @@ class CfnAutoScalingGroup(
2524
2524
  )],
2525
2525
  target_group_arns=["targetGroupArns"],
2526
2526
  termination_policies=["terminationPolicies"],
2527
+ traffic_sources=[autoscaling.CfnAutoScalingGroup.TrafficSourceIdentifierProperty(
2528
+ identifier="identifier",
2529
+ type="type"
2530
+ )],
2527
2531
  vpc_zone_identifier=["vpcZoneIdentifier"]
2528
2532
  )
2529
2533
  '''
@@ -2562,6 +2566,7 @@ class CfnAutoScalingGroup(
2562
2566
  tags: typing.Optional[typing.Sequence[typing.Union["CfnAutoScalingGroup.TagPropertyProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
2563
2567
  target_group_arns: typing.Optional[typing.Sequence[builtins.str]] = None,
2564
2568
  termination_policies: typing.Optional[typing.Sequence[builtins.str]] = None,
2569
+ traffic_sources: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnAutoScalingGroup.TrafficSourceIdentifierProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
2565
2570
  vpc_zone_identifier: typing.Optional[typing.Sequence[builtins.str]] = None,
2566
2571
  ) -> None:
2567
2572
  '''
@@ -2596,6 +2601,7 @@ class CfnAutoScalingGroup(
2596
2601
  :param tags: One or more tags. You can tag your Auto Scaling group and propagate the tags to the Amazon EC2 instances it launches. Tags are not propagated to Amazon EBS volumes. To add tags to Amazon EBS volumes, specify the tags in a launch template but use caution. If the launch template specifies an instance tag with a key that is also specified for the Auto Scaling group, Amazon EC2 Auto Scaling overrides the value of that instance tag with the value specified by the Auto Scaling group. For more information, see `Tag Auto Scaling groups and instances <https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-tagging.html>`_ in the *Amazon EC2 Auto Scaling User Guide* .
2597
2602
  :param target_group_arns: The Amazon Resource Names (ARN) of the Elastic Load Balancing target groups to associate with the Auto Scaling group. Instances are registered as targets with the target groups. The target groups receive incoming traffic and route requests to one or more registered targets. For more information, see `Use Elastic Load Balancing to distribute traffic across the instances in your Auto Scaling group <https://docs.aws.amazon.com/autoscaling/ec2/userguide/autoscaling-load-balancer.html>`_ in the *Amazon EC2 Auto Scaling User Guide* .
2598
2603
  :param termination_policies: A policy or a list of policies that are used to select the instance to terminate. These policies are executed in the order that you list them. For more information, see `Configure termination policies for Amazon EC2 Auto Scaling <https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-termination-policies.html>`_ in the *Amazon EC2 Auto Scaling User Guide* . Valid values: ``Default`` | ``AllocationStrategy`` | ``ClosestToNextInstanceHour`` | ``NewestInstance`` | ``OldestInstance`` | ``OldestLaunchConfiguration`` | ``OldestLaunchTemplate`` | ``arn:aws:lambda:region:account-id:function:my-function:my-alias``
2604
+ :param traffic_sources:
2599
2605
  :param vpc_zone_identifier: A list of subnet IDs for a virtual private cloud (VPC) where instances in the Auto Scaling group can be created. If this resource specifies public subnets and is also in a VPC that is defined in the same stack template, you must use the `DependsOn attribute <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute-dependson.html>`_ to declare a dependency on the `VPC-gateway attachment <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-vpc-gateway-attachment.html>`_ . .. epigraph:: When you update ``VPCZoneIdentifier`` , this retains the same Auto Scaling group and replaces old instances with new ones, according to the specified subnets. You can optionally specify how CloudFormation handles these updates by using an `UpdatePolicy attribute <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute-updatepolicy.html>`_ . Required to launch instances into a nondefault VPC. If you specify ``VPCZoneIdentifier`` with ``AvailabilityZones`` , the subnets that you specify for this property must reside in those Availability Zones.
2600
2606
  '''
2601
2607
  if __debug__:
@@ -2632,6 +2638,7 @@ class CfnAutoScalingGroup(
2632
2638
  tags=tags,
2633
2639
  target_group_arns=target_group_arns,
2634
2640
  termination_policies=termination_policies,
2641
+ traffic_sources=traffic_sources,
2635
2642
  vpc_zone_identifier=vpc_zone_identifier,
2636
2643
  )
2637
2644
 
@@ -3125,6 +3132,23 @@ class CfnAutoScalingGroup(
3125
3132
  check_type(argname="argument value", value=value, expected_type=type_hints["value"])
3126
3133
  jsii.set(self, "terminationPolicies", value) # pyright: ignore[reportArgumentType]
3127
3134
 
3135
+ @builtins.property
3136
+ @jsii.member(jsii_name="trafficSources")
3137
+ def traffic_sources(
3138
+ self,
3139
+ ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnAutoScalingGroup.TrafficSourceIdentifierProperty"]]]]:
3140
+ return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnAutoScalingGroup.TrafficSourceIdentifierProperty"]]]], jsii.get(self, "trafficSources"))
3141
+
3142
+ @traffic_sources.setter
3143
+ def traffic_sources(
3144
+ self,
3145
+ value: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnAutoScalingGroup.TrafficSourceIdentifierProperty"]]]],
3146
+ ) -> None:
3147
+ if __debug__:
3148
+ type_hints = typing.get_type_hints(_typecheckingstub__ce984ad35c9e174516e1fc0b8d3b4af0ddc300eb6a07cae978f741bc4351ef04)
3149
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
3150
+ jsii.set(self, "trafficSources", value) # pyright: ignore[reportArgumentType]
3151
+
3128
3152
  @builtins.property
3129
3153
  @jsii.member(jsii_name="vpcZoneIdentifier")
3130
3154
  def vpc_zone_identifier(self) -> typing.Optional[typing.List[builtins.str]]:
@@ -5659,6 +5683,69 @@ class CfnAutoScalingGroup(
5659
5683
  k + "=" + repr(v) for k, v in self._values.items()
5660
5684
  )
5661
5685
 
5686
+ @jsii.data_type(
5687
+ jsii_type="aws-cdk-lib.aws_autoscaling.CfnAutoScalingGroup.TrafficSourceIdentifierProperty",
5688
+ jsii_struct_bases=[],
5689
+ name_mapping={"identifier": "identifier", "type": "type"},
5690
+ )
5691
+ class TrafficSourceIdentifierProperty:
5692
+ def __init__(self, *, identifier: builtins.str, type: builtins.str) -> None:
5693
+ '''
5694
+ :param identifier:
5695
+ :param type:
5696
+
5697
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-autoscalinggroup-trafficsourceidentifier.html
5698
+ :exampleMetadata: fixture=_generated
5699
+
5700
+ Example::
5701
+
5702
+ # The code below shows an example of how to instantiate this type.
5703
+ # The values are placeholders you should change.
5704
+ from aws_cdk import aws_autoscaling as autoscaling
5705
+
5706
+ traffic_source_identifier_property = autoscaling.CfnAutoScalingGroup.TrafficSourceIdentifierProperty(
5707
+ identifier="identifier",
5708
+ type="type"
5709
+ )
5710
+ '''
5711
+ if __debug__:
5712
+ type_hints = typing.get_type_hints(_typecheckingstub__eaea873a5edfae25f568b5d7240b5e77802aa8c5c61b0f7151943c3f8dc032d7)
5713
+ check_type(argname="argument identifier", value=identifier, expected_type=type_hints["identifier"])
5714
+ check_type(argname="argument type", value=type, expected_type=type_hints["type"])
5715
+ self._values: typing.Dict[builtins.str, typing.Any] = {
5716
+ "identifier": identifier,
5717
+ "type": type,
5718
+ }
5719
+
5720
+ @builtins.property
5721
+ def identifier(self) -> builtins.str:
5722
+ '''
5723
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-autoscalinggroup-trafficsourceidentifier.html#cfn-autoscaling-autoscalinggroup-trafficsourceidentifier-identifier
5724
+ '''
5725
+ result = self._values.get("identifier")
5726
+ assert result is not None, "Required property 'identifier' is missing"
5727
+ return typing.cast(builtins.str, result)
5728
+
5729
+ @builtins.property
5730
+ def type(self) -> builtins.str:
5731
+ '''
5732
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-autoscalinggroup-trafficsourceidentifier.html#cfn-autoscaling-autoscalinggroup-trafficsourceidentifier-type
5733
+ '''
5734
+ result = self._values.get("type")
5735
+ assert result is not None, "Required property 'type' is missing"
5736
+ return typing.cast(builtins.str, result)
5737
+
5738
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
5739
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
5740
+
5741
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
5742
+ return not (rhs == self)
5743
+
5744
+ def __repr__(self) -> str:
5745
+ return "TrafficSourceIdentifierProperty(%s)" % ", ".join(
5746
+ k + "=" + repr(v) for k, v in self._values.items()
5747
+ )
5748
+
5662
5749
  @jsii.data_type(
5663
5750
  jsii_type="aws-cdk-lib.aws_autoscaling.CfnAutoScalingGroup.VCpuCountRequestProperty",
5664
5751
  jsii_struct_bases=[],
@@ -5763,6 +5850,7 @@ class CfnAutoScalingGroup(
5763
5850
  "tags": "tags",
5764
5851
  "target_group_arns": "targetGroupArns",
5765
5852
  "termination_policies": "terminationPolicies",
5853
+ "traffic_sources": "trafficSources",
5766
5854
  "vpc_zone_identifier": "vpcZoneIdentifier",
5767
5855
  },
5768
5856
  )
@@ -5799,6 +5887,7 @@ class CfnAutoScalingGroupProps:
5799
5887
  tags: typing.Optional[typing.Sequence[typing.Union[CfnAutoScalingGroup.TagPropertyProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
5800
5888
  target_group_arns: typing.Optional[typing.Sequence[builtins.str]] = None,
5801
5889
  termination_policies: typing.Optional[typing.Sequence[builtins.str]] = None,
5890
+ traffic_sources: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnAutoScalingGroup.TrafficSourceIdentifierProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
5802
5891
  vpc_zone_identifier: typing.Optional[typing.Sequence[builtins.str]] = None,
5803
5892
  ) -> None:
5804
5893
  '''Properties for defining a ``CfnAutoScalingGroup``.
@@ -5832,6 +5921,7 @@ class CfnAutoScalingGroupProps:
5832
5921
  :param tags: One or more tags. You can tag your Auto Scaling group and propagate the tags to the Amazon EC2 instances it launches. Tags are not propagated to Amazon EBS volumes. To add tags to Amazon EBS volumes, specify the tags in a launch template but use caution. If the launch template specifies an instance tag with a key that is also specified for the Auto Scaling group, Amazon EC2 Auto Scaling overrides the value of that instance tag with the value specified by the Auto Scaling group. For more information, see `Tag Auto Scaling groups and instances <https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-tagging.html>`_ in the *Amazon EC2 Auto Scaling User Guide* .
5833
5922
  :param target_group_arns: The Amazon Resource Names (ARN) of the Elastic Load Balancing target groups to associate with the Auto Scaling group. Instances are registered as targets with the target groups. The target groups receive incoming traffic and route requests to one or more registered targets. For more information, see `Use Elastic Load Balancing to distribute traffic across the instances in your Auto Scaling group <https://docs.aws.amazon.com/autoscaling/ec2/userguide/autoscaling-load-balancer.html>`_ in the *Amazon EC2 Auto Scaling User Guide* .
5834
5923
  :param termination_policies: A policy or a list of policies that are used to select the instance to terminate. These policies are executed in the order that you list them. For more information, see `Configure termination policies for Amazon EC2 Auto Scaling <https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-termination-policies.html>`_ in the *Amazon EC2 Auto Scaling User Guide* . Valid values: ``Default`` | ``AllocationStrategy`` | ``ClosestToNextInstanceHour`` | ``NewestInstance`` | ``OldestInstance`` | ``OldestLaunchConfiguration`` | ``OldestLaunchTemplate`` | ``arn:aws:lambda:region:account-id:function:my-function:my-alias``
5924
+ :param traffic_sources:
5835
5925
  :param vpc_zone_identifier: A list of subnet IDs for a virtual private cloud (VPC) where instances in the Auto Scaling group can be created. If this resource specifies public subnets and is also in a VPC that is defined in the same stack template, you must use the `DependsOn attribute <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute-dependson.html>`_ to declare a dependency on the `VPC-gateway attachment <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-vpc-gateway-attachment.html>`_ . .. epigraph:: When you update ``VPCZoneIdentifier`` , this retains the same Auto Scaling group and replaces old instances with new ones, according to the specified subnets. You can optionally specify how CloudFormation handles these updates by using an `UpdatePolicy attribute <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute-updatepolicy.html>`_ . Required to launch instances into a nondefault VPC. If you specify ``VPCZoneIdentifier`` with ``AvailabilityZones`` , the subnets that you specify for this property must reside in those Availability Zones.
5836
5926
 
5837
5927
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-autoscaling-autoscalinggroup.html
@@ -6001,6 +6091,10 @@ class CfnAutoScalingGroupProps:
6001
6091
  )],
6002
6092
  target_group_arns=["targetGroupArns"],
6003
6093
  termination_policies=["terminationPolicies"],
6094
+ traffic_sources=[autoscaling.CfnAutoScalingGroup.TrafficSourceIdentifierProperty(
6095
+ identifier="identifier",
6096
+ type="type"
6097
+ )],
6004
6098
  vpc_zone_identifier=["vpcZoneIdentifier"]
6005
6099
  )
6006
6100
  '''
@@ -6035,6 +6129,7 @@ class CfnAutoScalingGroupProps:
6035
6129
  check_type(argname="argument tags", value=tags, expected_type=type_hints["tags"])
6036
6130
  check_type(argname="argument target_group_arns", value=target_group_arns, expected_type=type_hints["target_group_arns"])
6037
6131
  check_type(argname="argument termination_policies", value=termination_policies, expected_type=type_hints["termination_policies"])
6132
+ check_type(argname="argument traffic_sources", value=traffic_sources, expected_type=type_hints["traffic_sources"])
6038
6133
  check_type(argname="argument vpc_zone_identifier", value=vpc_zone_identifier, expected_type=type_hints["vpc_zone_identifier"])
6039
6134
  self._values: typing.Dict[builtins.str, typing.Any] = {
6040
6135
  "max_size": max_size,
@@ -6094,6 +6189,8 @@ class CfnAutoScalingGroupProps:
6094
6189
  self._values["target_group_arns"] = target_group_arns
6095
6190
  if termination_policies is not None:
6096
6191
  self._values["termination_policies"] = termination_policies
6192
+ if traffic_sources is not None:
6193
+ self._values["traffic_sources"] = traffic_sources
6097
6194
  if vpc_zone_identifier is not None:
6098
6195
  self._values["vpc_zone_identifier"] = vpc_zone_identifier
6099
6196
 
@@ -6466,6 +6563,16 @@ class CfnAutoScalingGroupProps:
6466
6563
  result = self._values.get("termination_policies")
6467
6564
  return typing.cast(typing.Optional[typing.List[builtins.str]], result)
6468
6565
 
6566
+ @builtins.property
6567
+ def traffic_sources(
6568
+ self,
6569
+ ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, CfnAutoScalingGroup.TrafficSourceIdentifierProperty]]]]:
6570
+ '''
6571
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-autoscaling-autoscalinggroup.html#cfn-autoscaling-autoscalinggroup-trafficsources
6572
+ '''
6573
+ result = self._values.get("traffic_sources")
6574
+ return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, CfnAutoScalingGroup.TrafficSourceIdentifierProperty]]]], result)
6575
+
6469
6576
  @builtins.property
6470
6577
  def vpc_zone_identifier(self) -> typing.Optional[typing.List[builtins.str]]:
6471
6578
  '''A list of subnet IDs for a virtual private cloud (VPC) where instances in the Auto Scaling group can be created.
@@ -20185,6 +20292,7 @@ def _typecheckingstub__d8ba2cee6007161ce4ac8e6f271353563746b8194e9da3c4517351b35
20185
20292
  tags: typing.Optional[typing.Sequence[typing.Union[CfnAutoScalingGroup.TagPropertyProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
20186
20293
  target_group_arns: typing.Optional[typing.Sequence[builtins.str]] = None,
20187
20294
  termination_policies: typing.Optional[typing.Sequence[builtins.str]] = None,
20295
+ traffic_sources: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnAutoScalingGroup.TrafficSourceIdentifierProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
20188
20296
  vpc_zone_identifier: typing.Optional[typing.Sequence[builtins.str]] = None,
20189
20297
  ) -> None:
20190
20298
  """Type checking stubs"""
@@ -20376,6 +20484,12 @@ def _typecheckingstub__5daca53bfde511b5f5ae7f0521ed2bd70a9a3cd0feaf10ef8bbf6e9cf
20376
20484
  """Type checking stubs"""
20377
20485
  pass
20378
20486
 
20487
+ def _typecheckingstub__ce984ad35c9e174516e1fc0b8d3b4af0ddc300eb6a07cae978f741bc4351ef04(
20488
+ value: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, CfnAutoScalingGroup.TrafficSourceIdentifierProperty]]]],
20489
+ ) -> None:
20490
+ """Type checking stubs"""
20491
+ pass
20492
+
20379
20493
  def _typecheckingstub__f647181eceda5a9bfa4bd1a26afd8e4241f99daa32318b27594af04772070ac5(
20380
20494
  value: typing.Optional[typing.List[builtins.str]],
20381
20495
  ) -> None:
@@ -20569,6 +20683,14 @@ def _typecheckingstub__3ed6e3c63aa6516366b4a7b4feb56e0d620440d9bba7489337d9951d2
20569
20683
  """Type checking stubs"""
20570
20684
  pass
20571
20685
 
20686
+ def _typecheckingstub__eaea873a5edfae25f568b5d7240b5e77802aa8c5c61b0f7151943c3f8dc032d7(
20687
+ *,
20688
+ identifier: builtins.str,
20689
+ type: builtins.str,
20690
+ ) -> None:
20691
+ """Type checking stubs"""
20692
+ pass
20693
+
20572
20694
  def _typecheckingstub__a9c3111cac11a4fd207e172c8a19e31005ad8e2cfb7a69a76a4191e7dad42224(
20573
20695
  *,
20574
20696
  max: typing.Optional[jsii.Number] = None,
@@ -20608,6 +20730,7 @@ def _typecheckingstub__63de692030eb0bc729681a791501e2edd744cab3141e27cc9c9c8def2
20608
20730
  tags: typing.Optional[typing.Sequence[typing.Union[CfnAutoScalingGroup.TagPropertyProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
20609
20731
  target_group_arns: typing.Optional[typing.Sequence[builtins.str]] = None,
20610
20732
  termination_policies: typing.Optional[typing.Sequence[builtins.str]] = None,
20733
+ traffic_sources: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnAutoScalingGroup.TrafficSourceIdentifierProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
20611
20734
  vpc_zone_identifier: typing.Optional[typing.Sequence[builtins.str]] = None,
20612
20735
  ) -> None:
20613
20736
  """Type checking stubs"""