aws-cdk-lib 2.205.0__py3-none-any.whl → 2.207.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 (30) hide show
  1. aws_cdk/__init__.py +96 -15
  2. aws_cdk/_jsii/__init__.py +1 -1
  3. aws_cdk/_jsii/{aws-cdk-lib@2.205.0.jsii.tgz → aws-cdk-lib@2.207.0.jsii.tgz} +0 -0
  4. aws_cdk/aws_aiops/__init__.py +66 -76
  5. aws_cdk/aws_autoscaling/__init__.py +20 -0
  6. aws_cdk/aws_bedrock/__init__.py +126 -70
  7. aws_cdk/aws_certificatemanager/__init__.py +3 -3
  8. aws_cdk/aws_cleanrooms/__init__.py +6 -2
  9. aws_cdk/aws_cloudformation/__init__.py +28 -15
  10. aws_cdk/aws_cloudwatch/__init__.py +574 -33
  11. aws_cdk/aws_datasync/__init__.py +14 -15
  12. aws_cdk/aws_ec2/__init__.py +6 -2
  13. aws_cdk/aws_ecs/__init__.py +773 -212
  14. aws_cdk/aws_iotsitewise/__init__.py +13 -9
  15. aws_cdk/aws_kms/__init__.py +19 -17
  16. aws_cdk/aws_logs/__init__.py +4725 -763
  17. aws_cdk/aws_mediapackagev2/__init__.py +69 -48
  18. aws_cdk/aws_opsworkscm/__init__.py +2 -4
  19. aws_cdk/aws_rds/__init__.py +150 -17
  20. aws_cdk/aws_s3/__init__.py +9 -6
  21. aws_cdk/aws_sagemaker/__init__.py +3 -3
  22. aws_cdk/aws_ssm/__init__.py +58 -33
  23. aws_cdk/aws_transfer/__init__.py +21 -11
  24. aws_cdk/custom_resources/__init__.py +32 -4
  25. {aws_cdk_lib-2.205.0.dist-info → aws_cdk_lib-2.207.0.dist-info}/METADATA +1 -1
  26. {aws_cdk_lib-2.205.0.dist-info → aws_cdk_lib-2.207.0.dist-info}/RECORD +30 -30
  27. {aws_cdk_lib-2.205.0.dist-info → aws_cdk_lib-2.207.0.dist-info}/LICENSE +0 -0
  28. {aws_cdk_lib-2.205.0.dist-info → aws_cdk_lib-2.207.0.dist-info}/NOTICE +0 -0
  29. {aws_cdk_lib-2.205.0.dist-info → aws_cdk_lib-2.207.0.dist-info}/WHEEL +0 -0
  30. {aws_cdk_lib-2.205.0.dist-info → aws_cdk_lib-2.207.0.dist-info}/top_level.txt +0 -0
@@ -4643,7 +4643,7 @@ class CfnLocationNFS(
4643
4643
  :param id: Construct identifier for this resource (unique in its scope).
4644
4644
  :param on_prem_config: Specifies the Amazon Resource Name (ARN) of the DataSync agent that can connect to your NFS file server. You can specify more than one agent. For more information, see `Using multiple DataSync agents <https://docs.aws.amazon.com/datasync/latest/userguide/do-i-need-datasync-agent.html#multiple-agents>`_ .
4645
4645
  :param mount_options: Specifies the options that DataSync can use to mount your NFS file server.
4646
- :param server_hostname: Specifies the DNS name or IP version 4 address of the NFS file server that your DataSync agent connects to.
4646
+ :param server_hostname: Specifies the DNS name or IP address (IPv4 or IPv6) of the NFS file server that your DataSync agent connects to.
4647
4647
  :param subdirectory: Specifies the export path in your NFS file server that you want DataSync to mount. This path (or a subdirectory of the path) is where DataSync transfers data to or from. For information on configuring an export for DataSync, see `Accessing NFS file servers <https://docs.aws.amazon.com/datasync/latest/userguide/create-nfs-location.html#accessing-nfs>`_ .
4648
4648
  :param tags: Specifies labels that help you categorize, filter, and search for your AWS resources. We recommend creating at least a name tag for your location.
4649
4649
  '''
@@ -4759,7 +4759,7 @@ class CfnLocationNFS(
4759
4759
  @builtins.property
4760
4760
  @jsii.member(jsii_name="serverHostname")
4761
4761
  def server_hostname(self) -> typing.Optional[builtins.str]:
4762
- '''Specifies the DNS name or IP version 4 address of the NFS file server that your DataSync agent connects to.'''
4762
+ '''Specifies the DNS name or IP address (IPv4 or IPv6) of the NFS file server that your DataSync agent connects to.'''
4763
4763
  return typing.cast(typing.Optional[builtins.str], jsii.get(self, "serverHostname"))
4764
4764
 
4765
4765
  @server_hostname.setter
@@ -4939,7 +4939,7 @@ class CfnLocationNFSProps:
4939
4939
 
4940
4940
  :param on_prem_config: Specifies the Amazon Resource Name (ARN) of the DataSync agent that can connect to your NFS file server. You can specify more than one agent. For more information, see `Using multiple DataSync agents <https://docs.aws.amazon.com/datasync/latest/userguide/do-i-need-datasync-agent.html#multiple-agents>`_ .
4941
4941
  :param mount_options: Specifies the options that DataSync can use to mount your NFS file server.
4942
- :param server_hostname: Specifies the DNS name or IP version 4 address of the NFS file server that your DataSync agent connects to.
4942
+ :param server_hostname: Specifies the DNS name or IP address (IPv4 or IPv6) of the NFS file server that your DataSync agent connects to.
4943
4943
  :param subdirectory: Specifies the export path in your NFS file server that you want DataSync to mount. This path (or a subdirectory of the path) is where DataSync transfers data to or from. For information on configuring an export for DataSync, see `Accessing NFS file servers <https://docs.aws.amazon.com/datasync/latest/userguide/create-nfs-location.html#accessing-nfs>`_ .
4944
4944
  :param tags: Specifies labels that help you categorize, filter, and search for your AWS resources. We recommend creating at least a name tag for your location.
4945
4945
 
@@ -5015,7 +5015,7 @@ class CfnLocationNFSProps:
5015
5015
 
5016
5016
  @builtins.property
5017
5017
  def server_hostname(self) -> typing.Optional[builtins.str]:
5018
- '''Specifies the DNS name or IP version 4 address of the NFS file server that your DataSync agent connects to.
5018
+ '''Specifies the DNS name or IP address (IPv4 or IPv6) of the NFS file server that your DataSync agent connects to.
5019
5019
 
5020
5020
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datasync-locationnfs.html#cfn-datasync-locationnfs-serverhostname
5021
5021
  '''
@@ -5129,7 +5129,7 @@ class CfnLocationObjectStorage(
5129
5129
  :param custom_secret_config: Specifies configuration information for a customer-managed Secrets Manager secret where the secret key for a specific object storage location is stored in plain text. This configuration includes the secret ARN, and the ARN for an IAM role that provides access to the secret. .. epigraph:: You can use either ``CmkSecretConfig`` (with ``SecretKey`` ) or ``CustomSecretConfig`` (without ``SecretKey`` ) to provide credentials for a ``CreateLocationObjectStorage`` request. Do not provide both parameters for the same request.
5130
5130
  :param secret_key: Specifies the secret key (for example, a password) if credentials are required to authenticate with the object storage server. .. epigraph:: If you provide a secret using ``SecretKey`` , but do not provide secret configuration details using ``CmkSecretConfig`` or ``CustomSecretConfig`` , then DataSync stores the token using your AWS account's Secrets Manager secret.
5131
5131
  :param server_certificate: Specifies a certificate chain for DataSync to authenticate with your object storage system if the system uses a private or self-signed certificate authority (CA). You must specify a single ``.pem`` file with a full certificate chain (for example, ``file:///home/user/.ssh/object_storage_certificates.pem`` ). The certificate chain might include: - The object storage system's certificate - All intermediate certificates (if there are any) - The root certificate of the signing CA You can concatenate your certificates into a ``.pem`` file (which can be up to 32768 bytes before base64 encoding). The following example ``cat`` command creates an ``object_storage_certificates.pem`` file that includes three certificates: ``cat object_server_certificate.pem intermediate_certificate.pem ca_root_certificate.pem > object_storage_certificates.pem`` To use this parameter, configure ``ServerProtocol`` to ``HTTPS`` .
5132
- :param server_hostname: Specifies the domain name or IP version 4 (IPv4) address of the object storage server that your DataSync agent connects to.
5132
+ :param server_hostname: Specifies the domain name or IP address (IPv4 or IPv6) of the object storage server that your DataSync agent connects to.
5133
5133
  :param server_port: Specifies the port that your object storage server accepts inbound network traffic on (for example, port 443).
5134
5134
  :param server_protocol: Specifies the protocol that your object storage server uses to communicate. If not specified, the default value is ``HTTPS`` .
5135
5135
  :param subdirectory: Specifies the object prefix for your object storage server. If this is a source location, DataSync only copies objects with this prefix. If this is a destination location, DataSync writes all objects with this prefix.
@@ -5341,7 +5341,7 @@ class CfnLocationObjectStorage(
5341
5341
  @builtins.property
5342
5342
  @jsii.member(jsii_name="serverHostname")
5343
5343
  def server_hostname(self) -> typing.Optional[builtins.str]:
5344
- '''Specifies the domain name or IP version 4 (IPv4) address of the object storage server that your DataSync agent connects to.'''
5344
+ '''Specifies the domain name or IP address (IPv4 or IPv6) of the object storage server that your DataSync agent connects to.'''
5345
5345
  return typing.cast(typing.Optional[builtins.str], jsii.get(self, "serverHostname"))
5346
5346
 
5347
5347
  @server_hostname.setter
@@ -5659,7 +5659,7 @@ class CfnLocationObjectStorageProps:
5659
5659
  :param custom_secret_config: Specifies configuration information for a customer-managed Secrets Manager secret where the secret key for a specific object storage location is stored in plain text. This configuration includes the secret ARN, and the ARN for an IAM role that provides access to the secret. .. epigraph:: You can use either ``CmkSecretConfig`` (with ``SecretKey`` ) or ``CustomSecretConfig`` (without ``SecretKey`` ) to provide credentials for a ``CreateLocationObjectStorage`` request. Do not provide both parameters for the same request.
5660
5660
  :param secret_key: Specifies the secret key (for example, a password) if credentials are required to authenticate with the object storage server. .. epigraph:: If you provide a secret using ``SecretKey`` , but do not provide secret configuration details using ``CmkSecretConfig`` or ``CustomSecretConfig`` , then DataSync stores the token using your AWS account's Secrets Manager secret.
5661
5661
  :param server_certificate: Specifies a certificate chain for DataSync to authenticate with your object storage system if the system uses a private or self-signed certificate authority (CA). You must specify a single ``.pem`` file with a full certificate chain (for example, ``file:///home/user/.ssh/object_storage_certificates.pem`` ). The certificate chain might include: - The object storage system's certificate - All intermediate certificates (if there are any) - The root certificate of the signing CA You can concatenate your certificates into a ``.pem`` file (which can be up to 32768 bytes before base64 encoding). The following example ``cat`` command creates an ``object_storage_certificates.pem`` file that includes three certificates: ``cat object_server_certificate.pem intermediate_certificate.pem ca_root_certificate.pem > object_storage_certificates.pem`` To use this parameter, configure ``ServerProtocol`` to ``HTTPS`` .
5662
- :param server_hostname: Specifies the domain name or IP version 4 (IPv4) address of the object storage server that your DataSync agent connects to.
5662
+ :param server_hostname: Specifies the domain name or IP address (IPv4 or IPv6) of the object storage server that your DataSync agent connects to.
5663
5663
  :param server_port: Specifies the port that your object storage server accepts inbound network traffic on (for example, port 443).
5664
5664
  :param server_protocol: Specifies the protocol that your object storage server uses to communicate. If not specified, the default value is ``HTTPS`` .
5665
5665
  :param subdirectory: Specifies the object prefix for your object storage server. If this is a source location, DataSync only copies objects with this prefix. If this is a destination location, DataSync writes all objects with this prefix.
@@ -5842,7 +5842,7 @@ class CfnLocationObjectStorageProps:
5842
5842
 
5843
5843
  @builtins.property
5844
5844
  def server_hostname(self) -> typing.Optional[builtins.str]:
5845
- '''Specifies the domain name or IP version 4 (IPv4) address of the object storage server that your DataSync agent connects to.
5845
+ '''Specifies the domain name or IP address (IPv4 or IPv6) of the object storage server that your DataSync agent connects to.
5846
5846
 
5847
5847
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datasync-locationobjectstorage.html#cfn-datasync-locationobjectstorage-serverhostname
5848
5848
  '''
@@ -6381,7 +6381,7 @@ class CfnLocationSMB(
6381
6381
  :param kerberos_principal: Specifies a service principal name (SPN), which is an identity in your Kerberos realm that has permission to access the files, folders, and file metadata in your SMB file server. SPNs are case sensitive and must include a prepended cifs/. For example, an SPN might look like cifs/kerberosuser@EXAMPLE.COM. Your task execution will fail if the SPN that you provide for this parameter doesn't match exactly what's in your keytab or krb5.conf files.
6382
6382
  :param mount_options: Specifies the version of the SMB protocol that DataSync uses to access your SMB file server.
6383
6383
  :param password: Specifies the password of the user who can mount your SMB file server and has permission to access the files and folders involved in your transfer. This parameter applies only if ``AuthenticationType`` is set to ``NTLM`` .
6384
- :param server_hostname: Specifies the domain name or IP address of the SMB file server that your DataSync agent connects to. Remember the following when configuring this parameter: - You can't specify an IP version 6 (IPv6) address. - If you're using Kerberos authentication, you must specify a domain name.
6384
+ :param server_hostname: Specifies the domain name or IP address (IPv4 or IPv6) of the SMB file server that your DataSync agent connects to. .. epigraph:: If you're using Kerberos authentication, you must specify a domain name.
6385
6385
  :param subdirectory: Specifies the name of the share exported by your SMB file server where DataSync will read or write data. You can include a subdirectory in the share path (for example, ``/path/to/subdirectory`` ). Make sure that other SMB clients in your network can also mount this path. To copy all data in the subdirectory, DataSync must be able to mount the SMB share and access all of its data. For more information, see `Providing DataSync access to SMB file servers <https://docs.aws.amazon.com/datasync/latest/userguide/create-smb-location.html#configuring-smb-permissions>`_ .
6386
6386
  :param tags: Specifies labels that help you categorize, filter, and search for your AWS resources. We recommend creating at least a name tag for your location.
6387
6387
  :param user: Specifies the user that can mount and access the files, folders, and file metadata in your SMB file server. This parameter applies only if ``AuthenticationType`` is set to ``NTLM`` . For information about choosing a user with the right level of access for your transfer, see `Providing DataSync access to SMB file servers <https://docs.aws.amazon.com/datasync/latest/userguide/create-smb-location.html#configuring-smb-permissions>`_ .
@@ -6595,7 +6595,7 @@ class CfnLocationSMB(
6595
6595
  @builtins.property
6596
6596
  @jsii.member(jsii_name="serverHostname")
6597
6597
  def server_hostname(self) -> typing.Optional[builtins.str]:
6598
- '''Specifies the domain name or IP address of the SMB file server that your DataSync agent connects to.'''
6598
+ '''Specifies the domain name or IP address (IPv4 or IPv6) of the SMB file server that your DataSync agent connects to.'''
6599
6599
  return typing.cast(typing.Optional[builtins.str], jsii.get(self, "serverHostname"))
6600
6600
 
6601
6601
  @server_hostname.setter
@@ -6761,7 +6761,7 @@ class CfnLocationSMBProps:
6761
6761
  :param kerberos_principal: Specifies a service principal name (SPN), which is an identity in your Kerberos realm that has permission to access the files, folders, and file metadata in your SMB file server. SPNs are case sensitive and must include a prepended cifs/. For example, an SPN might look like cifs/kerberosuser@EXAMPLE.COM. Your task execution will fail if the SPN that you provide for this parameter doesn't match exactly what's in your keytab or krb5.conf files.
6762
6762
  :param mount_options: Specifies the version of the SMB protocol that DataSync uses to access your SMB file server.
6763
6763
  :param password: Specifies the password of the user who can mount your SMB file server and has permission to access the files and folders involved in your transfer. This parameter applies only if ``AuthenticationType`` is set to ``NTLM`` .
6764
- :param server_hostname: Specifies the domain name or IP address of the SMB file server that your DataSync agent connects to. Remember the following when configuring this parameter: - You can't specify an IP version 6 (IPv6) address. - If you're using Kerberos authentication, you must specify a domain name.
6764
+ :param server_hostname: Specifies the domain name or IP address (IPv4 or IPv6) of the SMB file server that your DataSync agent connects to. .. epigraph:: If you're using Kerberos authentication, you must specify a domain name.
6765
6765
  :param subdirectory: Specifies the name of the share exported by your SMB file server where DataSync will read or write data. You can include a subdirectory in the share path (for example, ``/path/to/subdirectory`` ). Make sure that other SMB clients in your network can also mount this path. To copy all data in the subdirectory, DataSync must be able to mount the SMB share and access all of its data. For more information, see `Providing DataSync access to SMB file servers <https://docs.aws.amazon.com/datasync/latest/userguide/create-smb-location.html#configuring-smb-permissions>`_ .
6766
6766
  :param tags: Specifies labels that help you categorize, filter, and search for your AWS resources. We recommend creating at least a name tag for your location.
6767
6767
  :param user: Specifies the user that can mount and access the files, folders, and file metadata in your SMB file server. This parameter applies only if ``AuthenticationType`` is set to ``NTLM`` . For information about choosing a user with the right level of access for your transfer, see `Providing DataSync access to SMB file servers <https://docs.aws.amazon.com/datasync/latest/userguide/create-smb-location.html#configuring-smb-permissions>`_ .
@@ -6941,12 +6941,11 @@ class CfnLocationSMBProps:
6941
6941
 
6942
6942
  @builtins.property
6943
6943
  def server_hostname(self) -> typing.Optional[builtins.str]:
6944
- '''Specifies the domain name or IP address of the SMB file server that your DataSync agent connects to.
6944
+ '''Specifies the domain name or IP address (IPv4 or IPv6) of the SMB file server that your DataSync agent connects to.
6945
6945
 
6946
- Remember the following when configuring this parameter:
6946
+ .. epigraph::
6947
6947
 
6948
- - You can't specify an IP version 6 (IPv6) address.
6949
- - If you're using Kerberos authentication, you must specify a domain name.
6948
+ If you're using Kerberos authentication, you must specify a domain name.
6950
6949
 
6951
6950
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datasync-locationsmb.html#cfn-datasync-locationsmb-serverhostname
6952
6951
  '''
@@ -24427,7 +24427,7 @@ class CfnInstanceConnectEndpoint(
24427
24427
  :param id: Construct identifier for this resource (unique in its scope).
24428
24428
  :param subnet_id: The ID of the subnet in which to create the EC2 Instance Connect Endpoint.
24429
24429
  :param client_token: Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
24430
- :param preserve_client_ip: Indicates whether the client IP address is preserved as the source. The following are the possible values. - ``true`` - Use the client IP address as the source. - ``false`` - Use the network interface IP address as the source. Default: ``false``
24430
+ :param preserve_client_ip: Indicates whether the client IP address is preserved as the source. The following are the possible values. - ``true`` - Use the client IP address as the source. - ``false`` - Use the network interface IP address as the source. .. epigraph:: ``PreserveClientIp`` is only supported on IPv4 EC2 Instance Connect Endpoints. To use ``PreserveClientIp`` , the value for ``IpAddressType`` must be ``ipv4`` . Default: ``false``
24431
24431
  :param security_group_ids: One or more security groups to associate with the endpoint. If you don't specify a security group, the default security group for your VPC will be associated with the endpoint.
24432
24432
  :param tags: The tags to apply to the EC2 Instance Connect Endpoint during creation.
24433
24433
  '''
@@ -24597,7 +24597,7 @@ class CfnInstanceConnectEndpointProps:
24597
24597
 
24598
24598
  :param subnet_id: The ID of the subnet in which to create the EC2 Instance Connect Endpoint.
24599
24599
  :param client_token: Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
24600
- :param preserve_client_ip: Indicates whether the client IP address is preserved as the source. The following are the possible values. - ``true`` - Use the client IP address as the source. - ``false`` - Use the network interface IP address as the source. Default: ``false``
24600
+ :param preserve_client_ip: Indicates whether the client IP address is preserved as the source. The following are the possible values. - ``true`` - Use the client IP address as the source. - ``false`` - Use the network interface IP address as the source. .. epigraph:: ``PreserveClientIp`` is only supported on IPv4 EC2 Instance Connect Endpoints. To use ``PreserveClientIp`` , the value for ``IpAddressType`` must be ``ipv4`` . Default: ``false``
24601
24601
  :param security_group_ids: One or more security groups to associate with the endpoint. If you don't specify a security group, the default security group for your VPC will be associated with the endpoint.
24602
24602
  :param tags: The tags to apply to the EC2 Instance Connect Endpoint during creation.
24603
24603
 
@@ -24670,6 +24670,10 @@ class CfnInstanceConnectEndpointProps:
24670
24670
  - ``true`` - Use the client IP address as the source.
24671
24671
  - ``false`` - Use the network interface IP address as the source.
24672
24672
 
24673
+ .. epigraph::
24674
+
24675
+ ``PreserveClientIp`` is only supported on IPv4 EC2 Instance Connect Endpoints. To use ``PreserveClientIp`` , the value for ``IpAddressType`` must be ``ipv4`` .
24676
+
24673
24677
  Default: ``false``
24674
24678
 
24675
24679
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-instanceconnectendpoint.html#cfn-ec2-instanceconnectendpoint-preserveclientip