aws-cdk-lib 2.171.1__py3-none-any.whl → 2.173.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 +528 -161
- aws_cdk/_jsii/__init__.py +1 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.171.1.jsii.tgz → aws-cdk-lib@2.173.0.jsii.tgz} +0 -0
- aws_cdk/aws_amazonmq/__init__.py +40 -40
- aws_cdk/aws_apigateway/__init__.py +1357 -120
- aws_cdk/aws_applicationautoscaling/__init__.py +141 -66
- aws_cdk/aws_appsync/__init__.py +163 -139
- aws_cdk/aws_autoscaling/__init__.py +96 -30
- aws_cdk/aws_bedrock/__init__.py +80 -44
- aws_cdk/aws_chatbot/__init__.py +803 -2
- aws_cdk/aws_cleanrooms/__init__.py +4 -6
- aws_cdk/aws_cloudformation/__init__.py +240 -159
- aws_cdk/aws_cloudfront/__init__.py +15 -7
- aws_cdk/aws_cloudtrail/__init__.py +802 -13
- aws_cdk/aws_cloudwatch/__init__.py +51 -14
- aws_cdk/aws_codebuild/__init__.py +39 -0
- aws_cdk/aws_codepipeline/__init__.py +4 -4
- aws_cdk/aws_cognito/__init__.py +1032 -43
- aws_cdk/aws_config/__init__.py +13 -10
- aws_cdk/aws_connect/__init__.py +454 -23
- aws_cdk/aws_connectcampaignsv2/__init__.py +187 -176
- aws_cdk/aws_customerprofiles/__init__.py +3148 -0
- aws_cdk/aws_docdb/__init__.py +128 -0
- aws_cdk/aws_dynamodb/__init__.py +256 -0
- aws_cdk/aws_ec2/__init__.py +976 -27
- aws_cdk/aws_ecs/__init__.py +37 -20
- aws_cdk/aws_eks/__init__.py +771 -0
- aws_cdk/aws_elasticache/__init__.py +22 -22
- aws_cdk/aws_elasticloadbalancingv2/__init__.py +441 -177
- aws_cdk/aws_events/__init__.py +550 -30
- aws_cdk/aws_fsx/__init__.py +134 -10
- aws_cdk/aws_imagebuilder/__init__.py +8 -8
- aws_cdk/aws_invoicing/__init__.py +651 -0
- aws_cdk/aws_iot/__init__.py +70 -26
- aws_cdk/aws_iotfleetwise/__init__.py +1033 -382
- aws_cdk/aws_iotsitewise/__init__.py +158 -0
- aws_cdk/aws_ivs/__init__.py +43 -31
- aws_cdk/aws_kendra/__init__.py +4 -0
- aws_cdk/aws_lakeformation/__init__.py +2 -1
- aws_cdk/aws_lambda/__init__.py +272 -164
- aws_cdk/aws_lambda_event_sources/__init__.py +2 -1
- aws_cdk/aws_lambda_nodejs/__init__.py +11 -11
- aws_cdk/aws_logs/__init__.py +532 -0
- aws_cdk/aws_m2/__init__.py +289 -0
- aws_cdk/aws_mediaconnect/__init__.py +24 -14
- aws_cdk/aws_medialive/__init__.py +2359 -5
- aws_cdk/aws_mediapackage/__init__.py +3 -9
- aws_cdk/aws_mediapackagev2/__init__.py +19 -17
- aws_cdk/aws_memorydb/__init__.py +664 -4
- 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 +2021 -67
- aws_cdk/aws_quicksight/__init__.py +8270 -10
- aws_cdk/aws_rbin/__init__.py +53 -34
- aws_cdk/aws_rds/__init__.py +170 -8
- aws_cdk/aws_resourcegroups/__init__.py +362 -4
- aws_cdk/aws_route53/__init__.py +1177 -10
- aws_cdk/aws_route53_targets/__init__.py +297 -91
- aws_cdk/aws_route53resolver/__init__.py +19 -8
- aws_cdk/aws_s3/__init__.py +4 -4
- aws_cdk/aws_s3express/__init__.py +421 -9
- aws_cdk/aws_sagemaker/__init__.py +905 -119
- aws_cdk/aws_secretsmanager/__init__.py +20 -6
- aws_cdk/aws_securityhub/__init__.py +64 -32
- aws_cdk/aws_servicediscovery/__init__.py +43 -0
- aws_cdk/aws_ses/__init__.py +188 -41
- aws_cdk/aws_stepfunctions_tasks/__init__.py +190 -35
- aws_cdk/aws_synthetics/__init__.py +7 -5
- aws_cdk/aws_vpclattice/__init__.py +1479 -122
- aws_cdk/aws_wisdom/__init__.py +8509 -1502
- aws_cdk/aws_workspacesweb/__init__.py +1081 -0
- {aws_cdk_lib-2.171.1.dist-info → aws_cdk_lib-2.173.0.dist-info}/METADATA +1 -1
- {aws_cdk_lib-2.171.1.dist-info → aws_cdk_lib-2.173.0.dist-info}/RECORD +78 -77
- {aws_cdk_lib-2.171.1.dist-info → aws_cdk_lib-2.173.0.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.171.1.dist-info → aws_cdk_lib-2.173.0.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.171.1.dist-info → aws_cdk_lib-2.173.0.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.171.1.dist-info → aws_cdk_lib-2.173.0.dist-info}/top_level.txt +0 -0
aws_cdk/aws_ecs/__init__.py
CHANGED
|
@@ -6510,7 +6510,7 @@ class CfnCluster(
|
|
|
6510
6510
|
:param id: Construct identifier for this resource (unique in its scope).
|
|
6511
6511
|
:param capacity_providers: The short name of one or more capacity providers to associate with the cluster. A capacity provider must be associated with a cluster before it can be included as part of the default capacity provider strategy of the cluster or used in a capacity provider strategy when calling the `CreateService <https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_CreateService.html>`_ or `RunTask <https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_RunTask.html>`_ actions. If specifying a capacity provider that uses an Auto Scaling group, the capacity provider must be created but not associated with another cluster. New Auto Scaling group capacity providers can be created with the `CreateCapacityProvider <https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_CreateCapacityProvider.html>`_ API operation. To use a AWS Fargate capacity provider, specify either the ``FARGATE`` or ``FARGATE_SPOT`` capacity providers. The AWS Fargate capacity providers are available to all accounts and only need to be associated with a cluster to be used. The `PutCapacityProvider <https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_PutCapacityProvider.html>`_ API operation is used to update the list of available capacity providers for a cluster after the cluster is created.
|
|
6512
6512
|
:param cluster_name: A user-generated string that you use to identify your cluster. If you don't specify a name, AWS CloudFormation generates a unique physical ID for the name.
|
|
6513
|
-
:param cluster_settings: The settings to use when creating a cluster. This parameter is used to turn on CloudWatch Container Insights for a cluster.
|
|
6513
|
+
:param cluster_settings: The settings to use when creating a cluster. This parameter is used to turn on CloudWatch Container Insights with enhanced observability or CloudWatch Container Insights for a cluster. Container Insights with enhanced observability provides all the Container Insights metrics, plus additional task and container metrics. This version supports enhanced observability for Amazon ECS clusters using the Amazon EC2 and Fargate launch types. After you configure Container Insights with enhanced observability on Amazon ECS, Container Insights auto-collects detailed infrastructure telemetry from the cluster level down to the container level in your environment and displays these critical performance data in curated dashboards removing the heavy lifting in observability set-up. For more information, see `Monitor Amazon ECS containers using Container Insights with enhanced observability <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/cloudwatch-container-insights.html>`_ in the *Amazon Elastic Container Service Developer Guide* .
|
|
6514
6514
|
:param configuration: The execute command and managed storage configuration for the cluster.
|
|
6515
6515
|
:param default_capacity_provider_strategy: The default capacity provider strategy for the cluster. When services or tasks are run in the cluster with no launch type or capacity provider strategy specified, the default capacity provider strategy is used.
|
|
6516
6516
|
:param service_connect_defaults: Use this parameter to set a default Service Connect namespace. After you set a default Service Connect namespace, any new services with Service Connect turned on that are created in the cluster are added as client services in the namespace. This setting only applies to new services that set the ``enabled`` parameter to ``true`` in the ``ServiceConnectConfiguration`` . You can set the namespace of each service individually in the ``ServiceConnectConfiguration`` to override this default parameter. Tasks that run in a namespace can use short names to connect to services in the namespace. Tasks can connect to services across all of the clusters in the namespace. Tasks connect through a managed proxy container that collects logs and metrics for increased visibility. Only the tasks that Amazon ECS services create are supported with Service Connect. For more information, see `Service Connect <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-connect.html>`_ in the *Amazon Elastic Container Service Developer Guide* .
|
|
@@ -6899,10 +6899,14 @@ class CfnCluster(
|
|
|
6899
6899
|
) -> None:
|
|
6900
6900
|
'''The settings to use when creating a cluster.
|
|
6901
6901
|
|
|
6902
|
-
This parameter is used to turn on CloudWatch Container Insights for a cluster.
|
|
6902
|
+
This parameter is used to turn on CloudWatch Container Insights with enhanced observability or CloudWatch Container Insights for a cluster.
|
|
6903
|
+
|
|
6904
|
+
Container Insights with enhanced observability provides all the Container Insights metrics, plus additional task and container metrics. This version supports enhanced observability for Amazon ECS clusters using the Amazon EC2 and Fargate launch types. After you configure Container Insights with enhanced observability on Amazon ECS, Container Insights auto-collects detailed infrastructure telemetry from the cluster level down to the container level in your environment and displays these critical performance data in curated dashboards removing the heavy lifting in observability set-up.
|
|
6905
|
+
|
|
6906
|
+
For more information, see `Monitor Amazon ECS containers using Container Insights with enhanced observability <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/cloudwatch-container-insights.html>`_ in the *Amazon Elastic Container Service Developer Guide* .
|
|
6903
6907
|
|
|
6904
6908
|
:param name: The name of the cluster setting. The value is ``containerInsights`` .
|
|
6905
|
-
:param value: The value to set for the cluster setting. The supported values are ``enabled`` and ``disabled`` .
|
|
6909
|
+
:param value: The value to set for the cluster setting. The supported values are ``enhanced`` , ``enabled`` , and ``disabled`` . To use Container Insights with enhanced observability, set the ``containerInsights`` account setting to ``enhanced`` . To use Container Insights, set the ``containerInsights`` account setting to ``enabled`` . If a cluster value is specified, it will override the ``containerInsights`` value set with `PutAccountSetting <https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_PutAccountSetting.html>`_ or `PutAccountSettingDefault <https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_PutAccountSettingDefault.html>`_ .
|
|
6906
6910
|
|
|
6907
6911
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-cluster-clustersettings.html
|
|
6908
6912
|
:exampleMetadata: fixture=_generated
|
|
@@ -6941,9 +6945,13 @@ class CfnCluster(
|
|
|
6941
6945
|
|
|
6942
6946
|
@builtins.property
|
|
6943
6947
|
def value(self) -> typing.Optional[builtins.str]:
|
|
6944
|
-
'''The value to set for the cluster setting. The supported values are ``enabled`` and ``disabled`` .
|
|
6948
|
+
'''The value to set for the cluster setting. The supported values are ``enhanced`` , ``enabled`` , and ``disabled`` .
|
|
6949
|
+
|
|
6950
|
+
To use Container Insights with enhanced observability, set the ``containerInsights`` account setting to ``enhanced`` .
|
|
6951
|
+
|
|
6952
|
+
To use Container Insights, set the ``containerInsights`` account setting to ``enabled`` .
|
|
6945
6953
|
|
|
6946
|
-
If
|
|
6954
|
+
If a cluster value is specified, it will override the ``containerInsights`` value set with `PutAccountSetting <https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_PutAccountSetting.html>`_ or `PutAccountSettingDefault <https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_PutAccountSettingDefault.html>`_ .
|
|
6947
6955
|
|
|
6948
6956
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-cluster-clustersettings.html#cfn-ecs-cluster-clustersettings-value
|
|
6949
6957
|
'''
|
|
@@ -7711,7 +7719,7 @@ class CfnClusterProps:
|
|
|
7711
7719
|
|
|
7712
7720
|
:param capacity_providers: The short name of one or more capacity providers to associate with the cluster. A capacity provider must be associated with a cluster before it can be included as part of the default capacity provider strategy of the cluster or used in a capacity provider strategy when calling the `CreateService <https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_CreateService.html>`_ or `RunTask <https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_RunTask.html>`_ actions. If specifying a capacity provider that uses an Auto Scaling group, the capacity provider must be created but not associated with another cluster. New Auto Scaling group capacity providers can be created with the `CreateCapacityProvider <https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_CreateCapacityProvider.html>`_ API operation. To use a AWS Fargate capacity provider, specify either the ``FARGATE`` or ``FARGATE_SPOT`` capacity providers. The AWS Fargate capacity providers are available to all accounts and only need to be associated with a cluster to be used. The `PutCapacityProvider <https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_PutCapacityProvider.html>`_ API operation is used to update the list of available capacity providers for a cluster after the cluster is created.
|
|
7713
7721
|
:param cluster_name: A user-generated string that you use to identify your cluster. If you don't specify a name, AWS CloudFormation generates a unique physical ID for the name.
|
|
7714
|
-
:param cluster_settings: The settings to use when creating a cluster. This parameter is used to turn on CloudWatch Container Insights for a cluster.
|
|
7722
|
+
:param cluster_settings: The settings to use when creating a cluster. This parameter is used to turn on CloudWatch Container Insights with enhanced observability or CloudWatch Container Insights for a cluster. Container Insights with enhanced observability provides all the Container Insights metrics, plus additional task and container metrics. This version supports enhanced observability for Amazon ECS clusters using the Amazon EC2 and Fargate launch types. After you configure Container Insights with enhanced observability on Amazon ECS, Container Insights auto-collects detailed infrastructure telemetry from the cluster level down to the container level in your environment and displays these critical performance data in curated dashboards removing the heavy lifting in observability set-up. For more information, see `Monitor Amazon ECS containers using Container Insights with enhanced observability <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/cloudwatch-container-insights.html>`_ in the *Amazon Elastic Container Service Developer Guide* .
|
|
7715
7723
|
:param configuration: The execute command and managed storage configuration for the cluster.
|
|
7716
7724
|
:param default_capacity_provider_strategy: The default capacity provider strategy for the cluster. When services or tasks are run in the cluster with no launch type or capacity provider strategy specified, the default capacity provider strategy is used.
|
|
7717
7725
|
:param service_connect_defaults: Use this parameter to set a default Service Connect namespace. After you set a default Service Connect namespace, any new services with Service Connect turned on that are created in the cluster are added as client services in the namespace. This setting only applies to new services that set the ``enabled`` parameter to ``true`` in the ``ServiceConnectConfiguration`` . You can set the namespace of each service individually in the ``ServiceConnectConfiguration`` to override this default parameter. Tasks that run in a namespace can use short names to connect to services in the namespace. Tasks can connect to services across all of the clusters in the namespace. Tasks connect through a managed proxy container that collects logs and metrics for increased visibility. Only the tasks that Amazon ECS services create are supported with Service Connect. For more information, see `Service Connect <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-connect.html>`_ in the *Amazon Elastic Container Service Developer Guide* .
|
|
@@ -7823,7 +7831,11 @@ class CfnClusterProps:
|
|
|
7823
7831
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, CfnCluster.ClusterSettingsProperty]]]]:
|
|
7824
7832
|
'''The settings to use when creating a cluster.
|
|
7825
7833
|
|
|
7826
|
-
This parameter is used to turn on CloudWatch Container Insights for a cluster.
|
|
7834
|
+
This parameter is used to turn on CloudWatch Container Insights with enhanced observability or CloudWatch Container Insights for a cluster.
|
|
7835
|
+
|
|
7836
|
+
Container Insights with enhanced observability provides all the Container Insights metrics, plus additional task and container metrics. This version supports enhanced observability for Amazon ECS clusters using the Amazon EC2 and Fargate launch types. After you configure Container Insights with enhanced observability on Amazon ECS, Container Insights auto-collects detailed infrastructure telemetry from the cluster level down to the container level in your environment and displays these critical performance data in curated dashboards removing the heavy lifting in observability set-up.
|
|
7837
|
+
|
|
7838
|
+
For more information, see `Monitor Amazon ECS containers using Container Insights with enhanced observability <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/cloudwatch-container-insights.html>`_ in the *Amazon Elastic Container Service Developer Guide* .
|
|
7827
7839
|
|
|
7828
7840
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecs-cluster.html#cfn-ecs-cluster-clustersettings
|
|
7829
7841
|
'''
|
|
@@ -8329,7 +8341,7 @@ class CfnService(
|
|
|
8329
8341
|
'''
|
|
8330
8342
|
:param scope: Scope in which this resource is defined.
|
|
8331
8343
|
:param id: Construct identifier for this resource (unique in its scope).
|
|
8332
|
-
:param availability_zone_rebalancing: Default: - "DISABLED"
|
|
8344
|
+
: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
8345
|
: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
8346
|
: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
8347
|
: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 +8463,7 @@ class CfnService(
|
|
|
8451
8463
|
@builtins.property
|
|
8452
8464
|
@jsii.member(jsii_name="availabilityZoneRebalancing")
|
|
8453
8465
|
def availability_zone_rebalancing(self) -> typing.Optional[builtins.str]:
|
|
8466
|
+
'''Indicates whether to use Availability Zone rebalancing for the service.'''
|
|
8454
8467
|
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "availabilityZoneRebalancing"))
|
|
8455
8468
|
|
|
8456
8469
|
@availability_zone_rebalancing.setter
|
|
@@ -8870,7 +8883,7 @@ class CfnService(
|
|
|
8870
8883
|
|
|
8871
8884
|
For example ``awsVpcConfiguration={subnets=["subnet-12344321"],securityGroups=["sg-12344321"]}`` .
|
|
8872
8885
|
|
|
8873
|
-
:param assign_public_ip: Whether the task's elastic network interface receives a public IP address. The default value is ``
|
|
8886
|
+
:param assign_public_ip: Whether the task's elastic network interface receives a public IP address. The default value is ``ENABLED`` .
|
|
8874
8887
|
:param security_groups: The IDs of the security groups associated with the task or service. If you don't specify a security group, the default security group for the VPC is used. There's a limit of 5 security groups that can be specified per ``awsvpcConfiguration`` . .. epigraph:: All specified security groups must be from the same VPC.
|
|
8875
8888
|
:param subnets: The IDs of the subnets associated with the task or service. There's a limit of 16 subnets that can be specified per ``awsvpcConfiguration`` . .. epigraph:: All specified subnets must be from the same VPC.
|
|
8876
8889
|
|
|
@@ -8906,7 +8919,7 @@ class CfnService(
|
|
|
8906
8919
|
def assign_public_ip(self) -> typing.Optional[builtins.str]:
|
|
8907
8920
|
'''Whether the task's elastic network interface receives a public IP address.
|
|
8908
8921
|
|
|
8909
|
-
The default value is ``
|
|
8922
|
+
The default value is ``ENABLED`` .
|
|
8910
8923
|
|
|
8911
8924
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-service-awsvpcconfiguration.html#cfn-ecs-service-awsvpcconfiguration-assignpublicip
|
|
8912
8925
|
'''
|
|
@@ -9398,8 +9411,6 @@ class CfnService(
|
|
|
9398
9411
|
def __init__(self, *, type: typing.Optional[builtins.str] = None) -> None:
|
|
9399
9412
|
'''The deployment controller to use for the service.
|
|
9400
9413
|
|
|
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
9414
|
: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
9415
|
|
|
9405
9416
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-service-deploymentcontroller.html
|
|
@@ -11520,7 +11531,7 @@ class CfnServiceProps:
|
|
|
11520
11531
|
) -> None:
|
|
11521
11532
|
'''Properties for defining a ``CfnService``.
|
|
11522
11533
|
|
|
11523
|
-
:param availability_zone_rebalancing: Default: - "DISABLED"
|
|
11534
|
+
: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
11535
|
: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
11536
|
: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
11537
|
: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 +11794,10 @@ class CfnServiceProps:
|
|
|
11783
11794
|
|
|
11784
11795
|
@builtins.property
|
|
11785
11796
|
def availability_zone_rebalancing(self) -> typing.Optional[builtins.str]:
|
|
11786
|
-
'''
|
|
11797
|
+
'''Indicates whether to use Availability Zone rebalancing for the service.
|
|
11798
|
+
|
|
11799
|
+
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* .
|
|
11800
|
+
|
|
11787
11801
|
:default: - "DISABLED"
|
|
11788
11802
|
|
|
11789
11803
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecs-service.html#cfn-ecs-service-availabilityzonerebalancing
|
|
@@ -12973,7 +12987,7 @@ class CfnTaskDefinition(
|
|
|
12973
12987
|
: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
12988
|
: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
12989
|
: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"
|
|
12990
|
+
: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
12991
|
: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
12992
|
: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
12993
|
|
|
@@ -13900,7 +13914,10 @@ class CfnTaskDefinition(
|
|
|
13900
13914
|
|
|
13901
13915
|
@builtins.property
|
|
13902
13916
|
def version_consistency(self) -> typing.Optional[builtins.str]:
|
|
13903
|
-
'''
|
|
13917
|
+
'''Specifies whether Amazon ECS will resolve the container image tag provided in the container definition to an image digest.
|
|
13918
|
+
|
|
13919
|
+
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* .
|
|
13920
|
+
|
|
13904
13921
|
:default: - "enabled"
|
|
13905
13922
|
|
|
13906
13923
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-containerdefinition.html#cfn-ecs-taskdefinition-containerdefinition-versionconsistency
|
|
@@ -14507,7 +14524,7 @@ class CfnTaskDefinition(
|
|
|
14507
14524
|
- Linux platform version ``1.4.0`` or later.
|
|
14508
14525
|
- Windows platform version ``1.0.0`` or later.
|
|
14509
14526
|
|
|
14510
|
-
:param size_in_gib: The total amount, in GiB, of ephemeral storage to set for the task. The minimum supported value is ``
|
|
14527
|
+
:param size_in_gib: The total amount, in GiB, of ephemeral storage to set for the task. The minimum supported value is ``21`` GiB and the maximum supported value is ``200`` GiB.
|
|
14511
14528
|
|
|
14512
14529
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-ephemeralstorage.html
|
|
14513
14530
|
:exampleMetadata: fixture=_generated
|
|
@@ -14533,7 +14550,7 @@ class CfnTaskDefinition(
|
|
|
14533
14550
|
def size_in_gib(self) -> typing.Optional[jsii.Number]:
|
|
14534
14551
|
'''The total amount, in GiB, of ephemeral storage to set for the task.
|
|
14535
14552
|
|
|
14536
|
-
The minimum supported value is ``
|
|
14553
|
+
The minimum supported value is ``21`` GiB and the maximum supported value is ``200`` GiB.
|
|
14537
14554
|
|
|
14538
14555
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-ephemeralstorage.html#cfn-ecs-taskdefinition-ephemeralstorage-sizeingib
|
|
14539
14556
|
'''
|
|
@@ -18196,7 +18213,7 @@ class CfnTaskSet(
|
|
|
18196
18213
|
For example ``awsVpcConfiguration={subnets=["subnet-12344321"],securityGroups=["sg-12344321"]}`` .
|
|
18197
18214
|
|
|
18198
18215
|
:param subnets: The IDs of the subnets associated with the task or service. There's a limit of 16 subnets that can be specified per ``awsvpcConfiguration`` . .. epigraph:: All specified subnets must be from the same VPC.
|
|
18199
|
-
:param assign_public_ip: Whether the task's elastic network interface receives a public IP address. The default value is ``
|
|
18216
|
+
:param assign_public_ip: Whether the task's elastic network interface receives a public IP address. The default value is ``ENABLED`` .
|
|
18200
18217
|
:param security_groups: The IDs of the security groups associated with the task or service. If you don't specify a security group, the default security group for the VPC is used. There's a limit of 5 security groups that can be specified per ``awsvpcConfiguration`` . .. epigraph:: All specified security groups must be from the same VPC.
|
|
18201
18218
|
|
|
18202
18219
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskset-awsvpcconfiguration.html
|
|
@@ -18248,7 +18265,7 @@ class CfnTaskSet(
|
|
|
18248
18265
|
def assign_public_ip(self) -> typing.Optional[builtins.str]:
|
|
18249
18266
|
'''Whether the task's elastic network interface receives a public IP address.
|
|
18250
18267
|
|
|
18251
|
-
The default value is ``
|
|
18268
|
+
The default value is ``ENABLED`` .
|
|
18252
18269
|
|
|
18253
18270
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskset-awsvpcconfiguration.html#cfn-ecs-taskset-awsvpcconfiguration-assignpublicip
|
|
18254
18271
|
'''
|