aws-cdk-lib 2.145.0__py3-none-any.whl → 2.147.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 +12 -11
- aws_cdk/_jsii/__init__.py +1 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.145.0.jsii.tgz → aws-cdk-lib@2.147.0.jsii.tgz} +0 -0
- aws_cdk/aws_apigateway/__init__.py +32 -12
- aws_cdk/aws_apigatewayv2/__init__.py +48 -2
- aws_cdk/aws_apigatewayv2_integrations/__init__.py +142 -4
- aws_cdk/aws_appconfig/__init__.py +8 -4
- aws_cdk/aws_applicationsignals/__init__.py +1766 -0
- aws_cdk/aws_appsync/__init__.py +62 -0
- aws_cdk/aws_auditmanager/__init__.py +5 -1
- aws_cdk/aws_autoscaling/__init__.py +457 -56
- aws_cdk/aws_batch/__init__.py +215 -0
- aws_cdk/aws_bedrock/__init__.py +272 -103
- aws_cdk/aws_cloudformation/__init__.py +5 -11
- aws_cdk/aws_cloudfront/__init__.py +10 -3
- aws_cdk/aws_cloudtrail/__init__.py +56 -2
- aws_cdk/aws_codebuild/__init__.py +85 -32
- aws_cdk/aws_codepipeline/__init__.py +10 -5
- aws_cdk/aws_connect/__init__.py +86 -0
- aws_cdk/aws_datazone/__init__.py +80 -68
- aws_cdk/aws_deadline/__init__.py +603 -17
- aws_cdk/aws_ec2/__init__.py +237 -112
- aws_cdk/aws_ecs/__init__.py +123 -12
- aws_cdk/aws_eks/__init__.py +1335 -50
- aws_cdk/aws_elasticloadbalancingv2/__init__.py +11 -5
- aws_cdk/aws_emrserverless/__init__.py +5 -5
- aws_cdk/aws_events/__init__.py +36 -16
- aws_cdk/aws_fsx/__init__.py +126 -21
- aws_cdk/aws_globalaccelerator/__init__.py +2 -1
- aws_cdk/aws_globalaccelerator_endpoints/__init__.py +35 -4
- aws_cdk/aws_glue/__init__.py +26 -0
- aws_cdk/aws_grafana/__init__.py +4 -4
- aws_cdk/aws_groundstation/__init__.py +55 -35
- aws_cdk/aws_guardduty/__init__.py +826 -0
- aws_cdk/aws_iam/__init__.py +13 -8
- aws_cdk/aws_iot/__init__.py +3 -3
- aws_cdk/aws_lambda/__init__.py +7 -5
- aws_cdk/aws_lightsail/__init__.py +1 -1
- aws_cdk/aws_location/__init__.py +10 -11
- aws_cdk/aws_mediapackagev2/__init__.py +38 -20
- aws_cdk/aws_mediatailor/__init__.py +2 -2
- aws_cdk/aws_msk/__init__.py +4 -4
- aws_cdk/aws_mwaa/__init__.py +16 -8
- aws_cdk/aws_nimblestudio/__init__.py +9 -9
- aws_cdk/aws_opensearchservice/__init__.py +11 -4
- aws_cdk/aws_opsworks/__init__.py +3 -3
- aws_cdk/aws_osis/__init__.py +33 -4
- aws_cdk/aws_pipes/__init__.py +691 -0
- aws_cdk/aws_quicksight/__init__.py +23 -21
- aws_cdk/aws_rds/__init__.py +55 -11
- aws_cdk/aws_refactorspaces/__init__.py +3 -3
- aws_cdk/aws_rolesanywhere/__init__.py +206 -3
- aws_cdk/aws_sagemaker/__init__.py +5 -2
- aws_cdk/aws_securityhub/__init__.py +163 -78
- aws_cdk/aws_securitylake/__init__.py +7 -5
- aws_cdk/aws_ses/__init__.py +117 -0
- aws_cdk/aws_simspaceweaver/__init__.py +2 -2
- aws_cdk/aws_sns/__init__.py +67 -13
- aws_cdk/aws_sqs/__init__.py +3 -3
- aws_cdk/aws_stepfunctions/__init__.py +51 -28
- aws_cdk/aws_stepfunctions_tasks/__init__.py +59 -5
- aws_cdk/aws_transfer/__init__.py +8 -2
- aws_cdk/aws_wafv2/__init__.py +10 -10
- aws_cdk/aws_workspacesweb/__init__.py +8 -8
- aws_cdk/region_info/__init__.py +6 -0
- {aws_cdk_lib-2.145.0.dist-info → aws_cdk_lib-2.147.0.dist-info}/METADATA +2 -2
- {aws_cdk_lib-2.145.0.dist-info → aws_cdk_lib-2.147.0.dist-info}/NOTICE +0 -35
- {aws_cdk_lib-2.145.0.dist-info → aws_cdk_lib-2.147.0.dist-info}/RECORD +71 -70
- {aws_cdk_lib-2.145.0.dist-info → aws_cdk_lib-2.147.0.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.145.0.dist-info → aws_cdk_lib-2.147.0.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.145.0.dist-info → aws_cdk_lib-2.147.0.dist-info}/top_level.txt +0 -0
aws_cdk/aws_ecs/__init__.py
CHANGED
|
@@ -6422,6 +6422,10 @@ class CfnCluster(
|
|
|
6422
6422
|
s3_key_prefix="s3KeyPrefix"
|
|
6423
6423
|
),
|
|
6424
6424
|
logging="logging"
|
|
6425
|
+
),
|
|
6426
|
+
managed_storage_configuration=ecs.CfnCluster.ManagedStorageConfigurationProperty(
|
|
6427
|
+
fargate_ephemeral_storage_kms_key_id="fargateEphemeralStorageKmsKeyId",
|
|
6428
|
+
kms_key_id="kmsKeyId"
|
|
6425
6429
|
)
|
|
6426
6430
|
),
|
|
6427
6431
|
default_capacity_provider_strategy=[ecs.CfnCluster.CapacityProviderStrategyItemProperty(
|
|
@@ -6458,7 +6462,7 @@ class CfnCluster(
|
|
|
6458
6462
|
: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.
|
|
6459
6463
|
: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.
|
|
6460
6464
|
:param cluster_settings: The settings to use when creating a cluster. This parameter is used to turn on CloudWatch Container Insights for a cluster.
|
|
6461
|
-
:param configuration: The execute command configuration for the cluster.
|
|
6465
|
+
:param configuration: The execute command and managed storage configuration for the cluster.
|
|
6462
6466
|
: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.
|
|
6463
6467
|
: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* .
|
|
6464
6468
|
:param tags: The metadata that you apply to the cluster to help you categorize and organize them. Each tag consists of a key and an optional value. You define both. The following basic restrictions apply to tags: - Maximum number of tags per resource - 50 - For each resource, each tag key must be unique, and each tag key can have only one value. - Maximum key length - 128 Unicode characters in UTF-8 - Maximum value length - 256 Unicode characters in UTF-8 - If your tagging schema is used across multiple services and resources, remember that other services may have restrictions on allowed characters. Generally allowed characters are: letters, numbers, and spaces representable in UTF-8, and the following characters: + - = . _ : /
|
|
@@ -6581,7 +6585,7 @@ class CfnCluster(
|
|
|
6581
6585
|
def configuration(
|
|
6582
6586
|
self,
|
|
6583
6587
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnCluster.ClusterConfigurationProperty"]]:
|
|
6584
|
-
'''The execute command configuration for the cluster.'''
|
|
6588
|
+
'''The execute command and managed storage configuration for the cluster.'''
|
|
6585
6589
|
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnCluster.ClusterConfigurationProperty"]], jsii.get(self, "configuration"))
|
|
6586
6590
|
|
|
6587
6591
|
@configuration.setter
|
|
@@ -6745,17 +6749,22 @@ class CfnCluster(
|
|
|
6745
6749
|
@jsii.data_type(
|
|
6746
6750
|
jsii_type="aws-cdk-lib.aws_ecs.CfnCluster.ClusterConfigurationProperty",
|
|
6747
6751
|
jsii_struct_bases=[],
|
|
6748
|
-
name_mapping={
|
|
6752
|
+
name_mapping={
|
|
6753
|
+
"execute_command_configuration": "executeCommandConfiguration",
|
|
6754
|
+
"managed_storage_configuration": "managedStorageConfiguration",
|
|
6755
|
+
},
|
|
6749
6756
|
)
|
|
6750
6757
|
class ClusterConfigurationProperty:
|
|
6751
6758
|
def __init__(
|
|
6752
6759
|
self,
|
|
6753
6760
|
*,
|
|
6754
6761
|
execute_command_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnCluster.ExecuteCommandConfigurationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
6762
|
+
managed_storage_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnCluster.ManagedStorageConfigurationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
6755
6763
|
) -> None:
|
|
6756
|
-
'''The execute command configuration for the cluster.
|
|
6764
|
+
'''The execute command and managed storage configuration for the cluster.
|
|
6757
6765
|
|
|
6758
6766
|
:param execute_command_configuration: The details of the execute command configuration.
|
|
6767
|
+
:param managed_storage_configuration: The details of the managed storage configuration.
|
|
6759
6768
|
|
|
6760
6769
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-cluster-clusterconfiguration.html
|
|
6761
6770
|
:exampleMetadata: fixture=_generated
|
|
@@ -6777,15 +6786,22 @@ class CfnCluster(
|
|
|
6777
6786
|
s3_key_prefix="s3KeyPrefix"
|
|
6778
6787
|
),
|
|
6779
6788
|
logging="logging"
|
|
6789
|
+
),
|
|
6790
|
+
managed_storage_configuration=ecs.CfnCluster.ManagedStorageConfigurationProperty(
|
|
6791
|
+
fargate_ephemeral_storage_kms_key_id="fargateEphemeralStorageKmsKeyId",
|
|
6792
|
+
kms_key_id="kmsKeyId"
|
|
6780
6793
|
)
|
|
6781
6794
|
)
|
|
6782
6795
|
'''
|
|
6783
6796
|
if __debug__:
|
|
6784
6797
|
type_hints = typing.get_type_hints(_typecheckingstub__d329e717aee636e9b40a663cb42030119882fdc5e5e743ac1d055ce0cbbadb3c)
|
|
6785
6798
|
check_type(argname="argument execute_command_configuration", value=execute_command_configuration, expected_type=type_hints["execute_command_configuration"])
|
|
6799
|
+
check_type(argname="argument managed_storage_configuration", value=managed_storage_configuration, expected_type=type_hints["managed_storage_configuration"])
|
|
6786
6800
|
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
6787
6801
|
if execute_command_configuration is not None:
|
|
6788
6802
|
self._values["execute_command_configuration"] = execute_command_configuration
|
|
6803
|
+
if managed_storage_configuration is not None:
|
|
6804
|
+
self._values["managed_storage_configuration"] = managed_storage_configuration
|
|
6789
6805
|
|
|
6790
6806
|
@builtins.property
|
|
6791
6807
|
def execute_command_configuration(
|
|
@@ -6798,6 +6814,17 @@ class CfnCluster(
|
|
|
6798
6814
|
result = self._values.get("execute_command_configuration")
|
|
6799
6815
|
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnCluster.ExecuteCommandConfigurationProperty"]], result)
|
|
6800
6816
|
|
|
6817
|
+
@builtins.property
|
|
6818
|
+
def managed_storage_configuration(
|
|
6819
|
+
self,
|
|
6820
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnCluster.ManagedStorageConfigurationProperty"]]:
|
|
6821
|
+
'''The details of the managed storage configuration.
|
|
6822
|
+
|
|
6823
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-cluster-clusterconfiguration.html#cfn-ecs-cluster-clusterconfiguration-managedstorageconfiguration
|
|
6824
|
+
'''
|
|
6825
|
+
result = self._values.get("managed_storage_configuration")
|
|
6826
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnCluster.ManagedStorageConfigurationProperty"]], result)
|
|
6827
|
+
|
|
6801
6828
|
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
6802
6829
|
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
6803
6830
|
|
|
@@ -7127,6 +7154,79 @@ class CfnCluster(
|
|
|
7127
7154
|
k + "=" + repr(v) for k, v in self._values.items()
|
|
7128
7155
|
)
|
|
7129
7156
|
|
|
7157
|
+
@jsii.data_type(
|
|
7158
|
+
jsii_type="aws-cdk-lib.aws_ecs.CfnCluster.ManagedStorageConfigurationProperty",
|
|
7159
|
+
jsii_struct_bases=[],
|
|
7160
|
+
name_mapping={
|
|
7161
|
+
"fargate_ephemeral_storage_kms_key_id": "fargateEphemeralStorageKmsKeyId",
|
|
7162
|
+
"kms_key_id": "kmsKeyId",
|
|
7163
|
+
},
|
|
7164
|
+
)
|
|
7165
|
+
class ManagedStorageConfigurationProperty:
|
|
7166
|
+
def __init__(
|
|
7167
|
+
self,
|
|
7168
|
+
*,
|
|
7169
|
+
fargate_ephemeral_storage_kms_key_id: typing.Optional[builtins.str] = None,
|
|
7170
|
+
kms_key_id: typing.Optional[builtins.str] = None,
|
|
7171
|
+
) -> None:
|
|
7172
|
+
'''The managed storage configuration for the cluster.
|
|
7173
|
+
|
|
7174
|
+
:param fargate_ephemeral_storage_kms_key_id: Specify the AWS Key Management Service key ID for the Fargate ephemeral storage.
|
|
7175
|
+
:param kms_key_id: Specify a AWS Key Management Service key ID to encrypt the managed storage.
|
|
7176
|
+
|
|
7177
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-cluster-managedstorageconfiguration.html
|
|
7178
|
+
:exampleMetadata: fixture=_generated
|
|
7179
|
+
|
|
7180
|
+
Example::
|
|
7181
|
+
|
|
7182
|
+
# The code below shows an example of how to instantiate this type.
|
|
7183
|
+
# The values are placeholders you should change.
|
|
7184
|
+
from aws_cdk import aws_ecs as ecs
|
|
7185
|
+
|
|
7186
|
+
managed_storage_configuration_property = ecs.CfnCluster.ManagedStorageConfigurationProperty(
|
|
7187
|
+
fargate_ephemeral_storage_kms_key_id="fargateEphemeralStorageKmsKeyId",
|
|
7188
|
+
kms_key_id="kmsKeyId"
|
|
7189
|
+
)
|
|
7190
|
+
'''
|
|
7191
|
+
if __debug__:
|
|
7192
|
+
type_hints = typing.get_type_hints(_typecheckingstub__ef7d3c502531d23e5b8dc81508f368488fbd4f169753407ac2ce4d3a7e39be73)
|
|
7193
|
+
check_type(argname="argument fargate_ephemeral_storage_kms_key_id", value=fargate_ephemeral_storage_kms_key_id, expected_type=type_hints["fargate_ephemeral_storage_kms_key_id"])
|
|
7194
|
+
check_type(argname="argument kms_key_id", value=kms_key_id, expected_type=type_hints["kms_key_id"])
|
|
7195
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
7196
|
+
if fargate_ephemeral_storage_kms_key_id is not None:
|
|
7197
|
+
self._values["fargate_ephemeral_storage_kms_key_id"] = fargate_ephemeral_storage_kms_key_id
|
|
7198
|
+
if kms_key_id is not None:
|
|
7199
|
+
self._values["kms_key_id"] = kms_key_id
|
|
7200
|
+
|
|
7201
|
+
@builtins.property
|
|
7202
|
+
def fargate_ephemeral_storage_kms_key_id(self) -> typing.Optional[builtins.str]:
|
|
7203
|
+
'''Specify the AWS Key Management Service key ID for the Fargate ephemeral storage.
|
|
7204
|
+
|
|
7205
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-cluster-managedstorageconfiguration.html#cfn-ecs-cluster-managedstorageconfiguration-fargateephemeralstoragekmskeyid
|
|
7206
|
+
'''
|
|
7207
|
+
result = self._values.get("fargate_ephemeral_storage_kms_key_id")
|
|
7208
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
7209
|
+
|
|
7210
|
+
@builtins.property
|
|
7211
|
+
def kms_key_id(self) -> typing.Optional[builtins.str]:
|
|
7212
|
+
'''Specify a AWS Key Management Service key ID to encrypt the managed storage.
|
|
7213
|
+
|
|
7214
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-cluster-managedstorageconfiguration.html#cfn-ecs-cluster-managedstorageconfiguration-kmskeyid
|
|
7215
|
+
'''
|
|
7216
|
+
result = self._values.get("kms_key_id")
|
|
7217
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
7218
|
+
|
|
7219
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
7220
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
7221
|
+
|
|
7222
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
7223
|
+
return not (rhs == self)
|
|
7224
|
+
|
|
7225
|
+
def __repr__(self) -> str:
|
|
7226
|
+
return "ManagedStorageConfigurationProperty(%s)" % ", ".join(
|
|
7227
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
7228
|
+
)
|
|
7229
|
+
|
|
7130
7230
|
@jsii.data_type(
|
|
7131
7231
|
jsii_type="aws-cdk-lib.aws_ecs.CfnCluster.ServiceConnectDefaultsProperty",
|
|
7132
7232
|
jsii_struct_bases=[],
|
|
@@ -7563,7 +7663,7 @@ class CfnClusterProps:
|
|
|
7563
7663
|
: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.
|
|
7564
7664
|
: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.
|
|
7565
7665
|
:param cluster_settings: The settings to use when creating a cluster. This parameter is used to turn on CloudWatch Container Insights for a cluster.
|
|
7566
|
-
:param configuration: The execute command configuration for the cluster.
|
|
7666
|
+
:param configuration: The execute command and managed storage configuration for the cluster.
|
|
7567
7667
|
: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.
|
|
7568
7668
|
: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* .
|
|
7569
7669
|
:param tags: The metadata that you apply to the cluster to help you categorize and organize them. Each tag consists of a key and an optional value. You define both. The following basic restrictions apply to tags: - Maximum number of tags per resource - 50 - For each resource, each tag key must be unique, and each tag key can have only one value. - Maximum key length - 128 Unicode characters in UTF-8 - Maximum value length - 256 Unicode characters in UTF-8 - If your tagging schema is used across multiple services and resources, remember that other services may have restrictions on allowed characters. Generally allowed characters are: letters, numbers, and spaces representable in UTF-8, and the following characters: + - = . _ : /
|
|
@@ -7595,6 +7695,10 @@ class CfnClusterProps:
|
|
|
7595
7695
|
s3_key_prefix="s3KeyPrefix"
|
|
7596
7696
|
),
|
|
7597
7697
|
logging="logging"
|
|
7698
|
+
),
|
|
7699
|
+
managed_storage_configuration=ecs.CfnCluster.ManagedStorageConfigurationProperty(
|
|
7700
|
+
fargate_ephemeral_storage_kms_key_id="fargateEphemeralStorageKmsKeyId",
|
|
7701
|
+
kms_key_id="kmsKeyId"
|
|
7598
7702
|
)
|
|
7599
7703
|
),
|
|
7600
7704
|
default_capacity_provider_strategy=[ecs.CfnCluster.CapacityProviderStrategyItemProperty(
|
|
@@ -7681,7 +7785,7 @@ class CfnClusterProps:
|
|
|
7681
7785
|
def configuration(
|
|
7682
7786
|
self,
|
|
7683
7787
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, CfnCluster.ClusterConfigurationProperty]]:
|
|
7684
|
-
'''The execute command configuration for the cluster.
|
|
7788
|
+
'''The execute command and managed storage configuration for the cluster.
|
|
7685
7789
|
|
|
7686
7790
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecs-cluster.html#cfn-ecs-cluster-configuration
|
|
7687
7791
|
'''
|
|
@@ -15653,8 +15757,8 @@ class CfnTaskDefinition(
|
|
|
15653
15757
|
|
|
15654
15758
|
The supported resource types are GPUs and Elastic Inference accelerators. For more information, see `Working with GPUs on Amazon ECS <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-gpu.html>`_ or `Working with Amazon Elastic Inference on Amazon ECS <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-inference.html>`_ in the *Amazon Elastic Container Service Developer Guide*
|
|
15655
15759
|
|
|
15656
|
-
:param type: The type of resource to assign to a container.
|
|
15657
|
-
:param value: The value for the specified resource type.
|
|
15760
|
+
:param type: The type of resource to assign to a container.
|
|
15761
|
+
:param value: The value for the specified resource type. When the type is ``GPU`` , the value is the number of physical ``GPUs`` the Amazon ECS container agent reserves for the container. The number of GPUs that's reserved for all containers in a task can't exceed the number of available GPUs on the container instance that the task is launched on. When the type is ``InferenceAccelerator`` , the ``value`` matches the ``deviceName`` for an `InferenceAccelerator <https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_InferenceAccelerator.html>`_ specified in a task definition.
|
|
15658
15762
|
|
|
15659
15763
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-resourcerequirement.html
|
|
15660
15764
|
:exampleMetadata: fixture=_generated
|
|
@@ -15683,8 +15787,6 @@ class CfnTaskDefinition(
|
|
|
15683
15787
|
def type(self) -> builtins.str:
|
|
15684
15788
|
'''The type of resource to assign to a container.
|
|
15685
15789
|
|
|
15686
|
-
The supported values are ``GPU`` or ``InferenceAccelerator`` .
|
|
15687
|
-
|
|
15688
15790
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-resourcerequirement.html#cfn-ecs-taskdefinition-resourcerequirement-type
|
|
15689
15791
|
'''
|
|
15690
15792
|
result = self._values.get("type")
|
|
@@ -15695,9 +15797,9 @@ class CfnTaskDefinition(
|
|
|
15695
15797
|
def value(self) -> builtins.str:
|
|
15696
15798
|
'''The value for the specified resource type.
|
|
15697
15799
|
|
|
15698
|
-
|
|
15800
|
+
When the type is ``GPU`` , the value is the number of physical ``GPUs`` the Amazon ECS container agent reserves for the container. The number of GPUs that's reserved for all containers in a task can't exceed the number of available GPUs on the container instance that the task is launched on.
|
|
15699
15801
|
|
|
15700
|
-
|
|
15802
|
+
When the type is ``InferenceAccelerator`` , the ``value`` matches the ``deviceName`` for an `InferenceAccelerator <https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_InferenceAccelerator.html>`_ specified in a task definition.
|
|
15701
15803
|
|
|
15702
15804
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-resourcerequirement.html#cfn-ecs-taskdefinition-resourcerequirement-value
|
|
15703
15805
|
'''
|
|
@@ -41288,6 +41390,7 @@ def _typecheckingstub__c0111db321c8b52d6283d3435e19f561034b11c2a7a4a80e235d2ee03
|
|
|
41288
41390
|
def _typecheckingstub__d329e717aee636e9b40a663cb42030119882fdc5e5e743ac1d055ce0cbbadb3c(
|
|
41289
41391
|
*,
|
|
41290
41392
|
execute_command_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnCluster.ExecuteCommandConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
41393
|
+
managed_storage_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnCluster.ManagedStorageConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
41291
41394
|
) -> None:
|
|
41292
41395
|
"""Type checking stubs"""
|
|
41293
41396
|
pass
|
|
@@ -41320,6 +41423,14 @@ def _typecheckingstub__c05052099f204719b48aff84daacc7380c4e383137e6a2a3c00551dee
|
|
|
41320
41423
|
"""Type checking stubs"""
|
|
41321
41424
|
pass
|
|
41322
41425
|
|
|
41426
|
+
def _typecheckingstub__ef7d3c502531d23e5b8dc81508f368488fbd4f169753407ac2ce4d3a7e39be73(
|
|
41427
|
+
*,
|
|
41428
|
+
fargate_ephemeral_storage_kms_key_id: typing.Optional[builtins.str] = None,
|
|
41429
|
+
kms_key_id: typing.Optional[builtins.str] = None,
|
|
41430
|
+
) -> None:
|
|
41431
|
+
"""Type checking stubs"""
|
|
41432
|
+
pass
|
|
41433
|
+
|
|
41323
41434
|
def _typecheckingstub__406d33f45440b3838cc9c39ff62fb2d038305a2814d49c398a3ffa7e3abbd9cd(
|
|
41324
41435
|
*,
|
|
41325
41436
|
namespace: typing.Optional[builtins.str] = None,
|