aws-cdk-lib 2.171.1__py3-none-any.whl → 2.172.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.
- aws_cdk/__init__.py +471 -161
- aws_cdk/_jsii/__init__.py +1 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.171.1.jsii.tgz → aws-cdk-lib@2.172.0.jsii.tgz} +0 -0
- aws_cdk/aws_apigateway/__init__.py +1314 -124
- aws_cdk/aws_appsync/__init__.py +159 -136
- aws_cdk/aws_autoscaling/__init__.py +81 -24
- aws_cdk/aws_bedrock/__init__.py +48 -0
- aws_cdk/aws_chatbot/__init__.py +775 -0
- aws_cdk/aws_cloudformation/__init__.py +240 -159
- aws_cdk/aws_cloudfront/__init__.py +11 -5
- aws_cdk/aws_cloudtrail/__init__.py +753 -0
- aws_cdk/aws_cognito/__init__.py +825 -4
- aws_cdk/aws_connect/__init__.py +429 -0
- aws_cdk/aws_customerprofiles/__init__.py +3148 -0
- aws_cdk/aws_ec2/__init__.py +872 -5
- aws_cdk/aws_ecs/__init__.py +12 -7
- aws_cdk/aws_eks/__init__.py +709 -0
- aws_cdk/aws_elasticloadbalancingv2/__init__.py +309 -55
- aws_cdk/aws_events/__init__.py +515 -8
- aws_cdk/aws_iot/__init__.py +42 -4
- aws_cdk/aws_iotfleetwise/__init__.py +510 -0
- aws_cdk/aws_iotsitewise/__init__.py +156 -0
- aws_cdk/aws_lambda/__init__.py +14 -8
- aws_cdk/aws_lambda_event_sources/__init__.py +2 -1
- aws_cdk/aws_lambda_nodejs/__init__.py +11 -11
- aws_cdk/aws_m2/__init__.py +289 -0
- aws_cdk/aws_mwaa/__init__.py +6 -6
- aws_cdk/aws_opensearchserverless/__init__.py +249 -1
- aws_cdk/aws_pipes/__init__.py +14 -30
- aws_cdk/aws_qbusiness/__init__.py +3 -1
- aws_cdk/aws_quicksight/__init__.py +8270 -10
- aws_cdk/aws_rbin/__init__.py +53 -34
- aws_cdk/aws_rds/__init__.py +140 -8
- aws_cdk/aws_resourcegroups/__init__.py +349 -0
- aws_cdk/aws_route53_targets/__init__.py +82 -0
- aws_cdk/aws_route53resolver/__init__.py +15 -6
- aws_cdk/aws_s3express/__init__.py +403 -2
- aws_cdk/aws_sagemaker/__init__.py +124 -112
- aws_cdk/aws_ses/__init__.py +79 -41
- aws_cdk/aws_wisdom/__init__.py +4713 -172
- aws_cdk/aws_workspacesweb/__init__.py +1024 -0
- {aws_cdk_lib-2.171.1.dist-info → aws_cdk_lib-2.172.0.dist-info}/METADATA +1 -1
- {aws_cdk_lib-2.171.1.dist-info → aws_cdk_lib-2.172.0.dist-info}/RECORD +47 -47
- {aws_cdk_lib-2.171.1.dist-info → aws_cdk_lib-2.172.0.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.171.1.dist-info → aws_cdk_lib-2.172.0.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.171.1.dist-info → aws_cdk_lib-2.172.0.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.171.1.dist-info → aws_cdk_lib-2.172.0.dist-info}/top_level.txt +0 -0
aws_cdk/aws_ecs/__init__.py
CHANGED
|
@@ -8329,7 +8329,7 @@ class CfnService(
|
|
|
8329
8329
|
'''
|
|
8330
8330
|
:param scope: Scope in which this resource is defined.
|
|
8331
8331
|
:param id: Construct identifier for this resource (unique in its scope).
|
|
8332
|
-
:param availability_zone_rebalancing: Default: - "DISABLED"
|
|
8332
|
+
:param availability_zone_rebalancing: Indicates whether to use Availability Zone rebalancing for the service. For more information, see `Balancing an Amazon ECS service across Availability Zones <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-rebalancing.html>`_ in the *Amazon Elastic Container Service Developer Guide* . Default: - "DISABLED"
|
|
8333
8333
|
:param capacity_provider_strategy: The capacity provider strategy to use for the service. If a ``capacityProviderStrategy`` is specified, the ``launchType`` parameter must be omitted. If no ``capacityProviderStrategy`` or ``launchType`` is specified, the ``defaultCapacityProviderStrategy`` for the cluster is used. A capacity provider strategy may contain a maximum of 6 capacity providers.
|
|
8334
8334
|
:param cluster: The short name or full Amazon Resource Name (ARN) of the cluster that you run your service on. If you do not specify a cluster, the default cluster is assumed.
|
|
8335
8335
|
:param deployment_configuration: Optional deployment parameters that control how many tasks run during the deployment and the ordering of stopping and starting tasks.
|
|
@@ -8451,6 +8451,7 @@ class CfnService(
|
|
|
8451
8451
|
@builtins.property
|
|
8452
8452
|
@jsii.member(jsii_name="availabilityZoneRebalancing")
|
|
8453
8453
|
def availability_zone_rebalancing(self) -> typing.Optional[builtins.str]:
|
|
8454
|
+
'''Indicates whether to use Availability Zone rebalancing for the service.'''
|
|
8454
8455
|
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "availabilityZoneRebalancing"))
|
|
8455
8456
|
|
|
8456
8457
|
@availability_zone_rebalancing.setter
|
|
@@ -9398,8 +9399,6 @@ class CfnService(
|
|
|
9398
9399
|
def __init__(self, *, type: typing.Optional[builtins.str] = None) -> None:
|
|
9399
9400
|
'''The deployment controller to use for the service.
|
|
9400
9401
|
|
|
9401
|
-
For more information, see `Amazon ECS deployment types <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/deployment-types.html>`_ in the *Amazon Elastic Container Service Developer Guide* .
|
|
9402
|
-
|
|
9403
9402
|
:param type: The deployment controller type to use. There are three deployment controller types available:. - **ECS** - The rolling update ( ``ECS`` ) deployment type involves replacing the current running version of the container with the latest version. The number of containers Amazon ECS adds or removes from the service during a rolling update is controlled by adjusting the minimum and maximum number of healthy tasks allowed during a service deployment, as specified in the `DeploymentConfiguration <https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_DeploymentConfiguration.html>`_ . - **CODE_DEPLOY** - The blue/green ( ``CODE_DEPLOY`` ) deployment type uses the blue/green deployment model powered by AWS CodeDeploy , which allows you to verify a new deployment of a service before sending production traffic to it. - **EXTERNAL** - The external ( ``EXTERNAL`` ) deployment type enables you to use any third-party deployment controller for full control over the deployment process for an Amazon ECS service.
|
|
9404
9403
|
|
|
9405
9404
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-service-deploymentcontroller.html
|
|
@@ -11520,7 +11519,7 @@ class CfnServiceProps:
|
|
|
11520
11519
|
) -> None:
|
|
11521
11520
|
'''Properties for defining a ``CfnService``.
|
|
11522
11521
|
|
|
11523
|
-
:param availability_zone_rebalancing: Default: - "DISABLED"
|
|
11522
|
+
:param availability_zone_rebalancing: Indicates whether to use Availability Zone rebalancing for the service. For more information, see `Balancing an Amazon ECS service across Availability Zones <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-rebalancing.html>`_ in the *Amazon Elastic Container Service Developer Guide* . Default: - "DISABLED"
|
|
11524
11523
|
:param capacity_provider_strategy: The capacity provider strategy to use for the service. If a ``capacityProviderStrategy`` is specified, the ``launchType`` parameter must be omitted. If no ``capacityProviderStrategy`` or ``launchType`` is specified, the ``defaultCapacityProviderStrategy`` for the cluster is used. A capacity provider strategy may contain a maximum of 6 capacity providers.
|
|
11525
11524
|
:param cluster: The short name or full Amazon Resource Name (ARN) of the cluster that you run your service on. If you do not specify a cluster, the default cluster is assumed.
|
|
11526
11525
|
:param deployment_configuration: Optional deployment parameters that control how many tasks run during the deployment and the ordering of stopping and starting tasks.
|
|
@@ -11783,7 +11782,10 @@ class CfnServiceProps:
|
|
|
11783
11782
|
|
|
11784
11783
|
@builtins.property
|
|
11785
11784
|
def availability_zone_rebalancing(self) -> typing.Optional[builtins.str]:
|
|
11786
|
-
'''
|
|
11785
|
+
'''Indicates whether to use Availability Zone rebalancing for the service.
|
|
11786
|
+
|
|
11787
|
+
For more information, see `Balancing an Amazon ECS service across Availability Zones <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-rebalancing.html>`_ in the *Amazon Elastic Container Service Developer Guide* .
|
|
11788
|
+
|
|
11787
11789
|
:default: - "DISABLED"
|
|
11788
11790
|
|
|
11789
11791
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecs-service.html#cfn-ecs-service-availabilityzonerebalancing
|
|
@@ -12973,7 +12975,7 @@ class CfnTaskDefinition(
|
|
|
12973
12975
|
:param system_controls: A list of namespaced kernel parameters to set in the container. This parameter maps to ``Sysctls`` in the docker container create command and the ``--sysctl`` option to docker run. For example, you can configure ``net.ipv4.tcp_keepalive_time`` setting to maintain longer lived connections.
|
|
12974
12976
|
:param ulimits: A list of ``ulimits`` to set in the container. This parameter maps to ``Ulimits`` in the `Create a container <https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.35/#operation/ContainerCreate>`_ section of the `Docker Remote API <https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.35/>`_ and the ``--ulimit`` option to `docker run <https://docs.aws.amazon.com/https://docs.docker.com/engine/reference/run/>`_ . Valid naming values are displayed in the `Ulimit <https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_Ulimit.html>`_ data type. This parameter requires version 1.18 of the Docker Remote API or greater on your container instance. To check the Docker Remote API version on your container instance, log in to your container instance and run the following command: ``sudo docker version --format '{{.Server.APIVersion}}'`` .. epigraph:: This parameter is not supported for Windows containers.
|
|
12975
12977
|
:param user: The user to use inside the container. This parameter maps to ``User`` in the docker container create command and the ``--user`` option to docker run. .. epigraph:: When running tasks using the ``host`` network mode, don't run containers using the root user (UID 0). We recommend using a non-root user for better security. You can specify the ``user`` using the following formats. If specifying a UID or GID, you must specify it as a positive integer. - ``user`` - ``user:group`` - ``uid`` - ``uid:gid`` - ``user:gid`` - ``uid:group`` .. epigraph:: This parameter is not supported for Windows containers.
|
|
12976
|
-
:param version_consistency: Default: - "enabled"
|
|
12978
|
+
:param version_consistency: Specifies whether Amazon ECS will resolve the container image tag provided in the container definition to an image digest. By default, the value is ``enabled`` . If you set the value for a container as ``disabled`` , Amazon ECS will not resolve the provided container image tag to a digest and will use the original image URI specified in the container definition for deployment. For more information about container image resolution, see `Container image resolution <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/deployment-type-ecs.html#deployment-container-image-stability>`_ in the *Amazon ECS Developer Guide* . Default: - "enabled"
|
|
12977
12979
|
:param volumes_from: Data volumes to mount from another container. This parameter maps to ``VolumesFrom`` in the docker container create command and the ``--volumes-from`` option to docker run.
|
|
12978
12980
|
:param working_directory: The working directory to run commands inside the container in. This parameter maps to ``WorkingDir`` in the docker container create command and the ``--workdir`` option to docker run.
|
|
12979
12981
|
|
|
@@ -13900,7 +13902,10 @@ class CfnTaskDefinition(
|
|
|
13900
13902
|
|
|
13901
13903
|
@builtins.property
|
|
13902
13904
|
def version_consistency(self) -> typing.Optional[builtins.str]:
|
|
13903
|
-
'''
|
|
13905
|
+
'''Specifies whether Amazon ECS will resolve the container image tag provided in the container definition to an image digest.
|
|
13906
|
+
|
|
13907
|
+
By default, the value is ``enabled`` . If you set the value for a container as ``disabled`` , Amazon ECS will not resolve the provided container image tag to a digest and will use the original image URI specified in the container definition for deployment. For more information about container image resolution, see `Container image resolution <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/deployment-type-ecs.html#deployment-container-image-stability>`_ in the *Amazon ECS Developer Guide* .
|
|
13908
|
+
|
|
13904
13909
|
:default: - "enabled"
|
|
13905
13910
|
|
|
13906
13911
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-containerdefinition.html#cfn-ecs-taskdefinition-containerdefinition-versionconsistency
|