aws-cdk-lib 2.128.0__py3-none-any.whl → 2.129.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 +2 -10
- aws_cdk/_jsii/__init__.py +1 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.128.0.jsii.tgz → aws-cdk-lib@2.129.0.jsii.tgz} +0 -0
- aws_cdk/aws_amazonmq/__init__.py +6 -24
- aws_cdk/aws_amplify/__init__.py +1 -2
- aws_cdk/aws_appconfig/__init__.py +0 -16
- aws_cdk/aws_applicationautoscaling/__init__.py +55 -22
- aws_cdk/aws_appstream/__init__.py +14 -14
- aws_cdk/aws_appsync/__init__.py +334 -3
- aws_cdk/aws_autoscaling/__init__.py +11 -7
- aws_cdk/aws_batch/__init__.py +137 -16
- aws_cdk/aws_cleanrooms/__init__.py +1 -2
- aws_cdk/aws_cloudformation/__init__.py +2 -10
- aws_cdk/aws_cloudfront/__init__.py +15 -8
- aws_cdk/aws_cloudfront/experimental/__init__.py +22 -0
- aws_cdk/aws_cloudfront_origins/__init__.py +332 -0
- aws_cdk/aws_cloudtrail/__init__.py +12 -2
- aws_cdk/aws_cloudwatch/__init__.py +4 -0
- aws_cdk/aws_codepipeline/__init__.py +463 -11
- aws_cdk/aws_cognito/__init__.py +0 -9
- aws_cdk/aws_config/__init__.py +2 -2
- aws_cdk/aws_connect/__init__.py +6 -1
- aws_cdk/aws_controltower/__init__.py +527 -7
- aws_cdk/aws_datasync/__init__.py +2 -2
- aws_cdk/aws_directoryservice/__init__.py +2 -3
- aws_cdk/aws_dynamodb/__init__.py +7 -0
- aws_cdk/aws_ec2/__init__.py +117 -210
- aws_cdk/aws_ecs/__init__.py +537 -3
- aws_cdk/aws_eks/__init__.py +1 -1
- aws_cdk/aws_elasticache/__init__.py +27 -20
- aws_cdk/aws_elasticloadbalancingv2/__init__.py +3 -4
- aws_cdk/aws_emr/__init__.py +23 -3
- aws_cdk/aws_events_targets/__init__.py +64 -20
- aws_cdk/aws_fis/__init__.py +4 -4
- aws_cdk/aws_frauddetector/__init__.py +3 -3
- aws_cdk/aws_globalaccelerator/__init__.py +2 -6
- aws_cdk/aws_glue/__init__.py +84 -55
- aws_cdk/aws_groundstation/__init__.py +8 -12
- aws_cdk/aws_guardduty/__init__.py +74 -70
- aws_cdk/aws_iam/__init__.py +16 -23
- aws_cdk/aws_imagebuilder/__init__.py +178 -156
- aws_cdk/aws_internetmonitor/__init__.py +12 -10
- aws_cdk/aws_iot/__init__.py +17 -10
- aws_cdk/aws_iotevents/__init__.py +4 -4
- aws_cdk/aws_iotfleetwise/__init__.py +10 -5
- aws_cdk/aws_iottwinmaker/__init__.py +3 -5
- aws_cdk/aws_iotwireless/__init__.py +35 -23
- aws_cdk/aws_kendra/__init__.py +36 -15
- aws_cdk/aws_kinesisfirehose/__init__.py +155 -114
- aws_cdk/aws_lambda/__init__.py +157 -12
- aws_cdk/aws_lambda_nodejs/__init__.py +22 -0
- aws_cdk/aws_lightsail/__init__.py +14 -18
- aws_cdk/aws_logs/__init__.py +15 -15
- aws_cdk/aws_mediaconnect/__init__.py +5 -3
- aws_cdk/aws_medialive/__init__.py +3 -12
- aws_cdk/aws_mediapackagev2/__init__.py +287 -286
- aws_cdk/aws_mediatailor/__init__.py +2 -2
- aws_cdk/aws_memorydb/__init__.py +2 -2
- aws_cdk/aws_msk/__init__.py +6 -3
- aws_cdk/aws_mwaa/__init__.py +10 -5
- aws_cdk/aws_neptunegraph/__init__.py +84 -66
- aws_cdk/aws_networkfirewall/__init__.py +5 -8
- aws_cdk/aws_networkmanager/__init__.py +3 -3
- aws_cdk/aws_nimblestudio/__init__.py +2 -4
- aws_cdk/aws_opensearchservice/__init__.py +6 -7
- aws_cdk/aws_osis/__init__.py +1 -3
- aws_cdk/aws_pinpoint/__init__.py +5 -5
- aws_cdk/aws_pipes/__init__.py +5 -5
- aws_cdk/aws_quicksight/__init__.py +5 -10
- aws_cdk/aws_rds/__init__.py +38 -21
- aws_cdk/aws_redshift/__init__.py +9 -5
- aws_cdk/aws_redshiftserverless/__init__.py +62 -38
- aws_cdk/aws_rolesanywhere/__init__.py +41 -53
- aws_cdk/aws_route53/__init__.py +532 -6
- aws_cdk/aws_route53recoverycontrol/__init__.py +1 -3
- aws_cdk/aws_route53recoveryreadiness/__init__.py +2 -2
- aws_cdk/aws_route53resolver/__init__.py +1 -4
- aws_cdk/aws_s3/__init__.py +3 -1
- aws_cdk/aws_s3objectlambda/__init__.py +7 -4
- aws_cdk/aws_s3outposts/__init__.py +1 -1
- aws_cdk/aws_sagemaker/__init__.py +111 -11
- aws_cdk/aws_servicecatalogappregistry/__init__.py +3 -3
- aws_cdk/aws_sns/__init__.py +185 -38
- aws_cdk/aws_ssm/__init__.py +16 -16
- aws_cdk/aws_ssmincidents/__init__.py +1 -1
- aws_cdk/aws_synthetics/__init__.py +94 -21
- aws_cdk/aws_verifiedpermissions/__init__.py +1 -2
- aws_cdk/aws_vpclattice/__init__.py +8 -4
- aws_cdk/aws_wafv2/__init__.py +14 -59
- aws_cdk/aws_workspaces/__init__.py +5 -4
- aws_cdk/aws_workspacesweb/__init__.py +6 -12
- aws_cdk/triggers/__init__.py +22 -0
- {aws_cdk_lib-2.128.0.dist-info → aws_cdk_lib-2.129.0.dist-info}/METADATA +1 -1
- {aws_cdk_lib-2.128.0.dist-info → aws_cdk_lib-2.129.0.dist-info}/RECORD +98 -98
- {aws_cdk_lib-2.128.0.dist-info → aws_cdk_lib-2.129.0.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.128.0.dist-info → aws_cdk_lib-2.129.0.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.128.0.dist-info → aws_cdk_lib-2.129.0.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.128.0.dist-info → aws_cdk_lib-2.129.0.dist-info}/top_level.txt +0 -0
aws_cdk/aws_eks/__init__.py
CHANGED
|
@@ -4740,7 +4740,7 @@ class CfnCluster(
|
|
|
4740
4740
|
@builtins.property
|
|
4741
4741
|
@jsii.member(jsii_name="attrKubernetesNetworkConfigServiceIpv6Cidr")
|
|
4742
4742
|
def attr_kubernetes_network_config_service_ipv6_cidr(self) -> builtins.str:
|
|
4743
|
-
'''The CIDR block
|
|
4743
|
+
'''The CIDR block that Kubernetes Service IP addresses are assigned from if you created a ``1.21`` or later cluster with version ``>1.10.1`` or later of the Amazon VPC CNI add-on and specified ``ipv6`` for *ipFamily* when you created the cluster. Kubernetes assigns Service addresses from the unique local address range ( ``fc00::/7`` ) because you can't specify a custom ``IPv6`` CIDR block when you create the cluster.
|
|
4744
4744
|
|
|
4745
4745
|
:cloudformationAttribute: KubernetesNetworkConfig.ServiceIpv6Cidr
|
|
4746
4746
|
'''
|
|
@@ -166,7 +166,7 @@ class CfnCacheCluster(
|
|
|
166
166
|
:param port: The port number on which each of the cache nodes accepts connections.
|
|
167
167
|
:param preferred_availability_zone: The EC2 Availability Zone in which the cluster is created. All nodes belonging to this cluster are placed in the preferred Availability Zone. If you want to create your nodes across multiple Availability Zones, use ``PreferredAvailabilityZones`` . Default: System chosen Availability Zone.
|
|
168
168
|
:param preferred_availability_zones: A list of the Availability Zones in which cache nodes are created. The order of the zones in the list is not important. This option is only supported on Memcached. .. epigraph:: If you are creating your cluster in an Amazon VPC (recommended) you can only locate nodes in Availability Zones that are associated with the subnets in the selected subnet group. The number of Availability Zones listed must equal the value of ``NumCacheNodes`` . If you want all the nodes in the same Availability Zone, use ``PreferredAvailabilityZone`` instead, or repeat the Availability Zone multiple times in the list. Default: System chosen Availability Zones.
|
|
169
|
-
:param preferred_maintenance_window: Specifies the weekly time range during which maintenance on the cluster is performed. It is specified as a range in the format ddd:hh24:mi-ddd:hh24:mi (24H Clock UTC). The minimum maintenance window is a 60 minute period. Valid values for ``ddd`` are:
|
|
169
|
+
:param preferred_maintenance_window: Specifies the weekly time range during which maintenance on the cluster is performed. It is specified as a range in the format ddd:hh24:mi-ddd:hh24:mi (24H Clock UTC). The minimum maintenance window is a 60 minute period. Valid values for ``ddd`` are: - ``sun`` - ``mon`` - ``tue`` - ``wed`` - ``thu`` - ``fri`` - ``sat`` Example: ``sun:23:00-mon:01:30``
|
|
170
170
|
:param snapshot_arns: A single-element string list containing an Amazon Resource Name (ARN) that uniquely identifies a Redis RDB snapshot file stored in Amazon S3. The snapshot file is used to populate the node group (shard). The Amazon S3 object name in the ARN cannot contain any commas. .. epigraph:: This parameter is only valid if the ``Engine`` parameter is ``redis`` . Example of an Amazon S3 ARN: ``arn:aws:s3:::my_bucket/snapshot1.rdb``
|
|
171
171
|
:param snapshot_name: The name of a Redis snapshot from which to restore data into the new node group (shard). The snapshot status changes to ``restoring`` while the new node group (shard) is being created. .. epigraph:: This parameter is only valid if the ``Engine`` parameter is ``redis`` .
|
|
172
172
|
:param snapshot_retention_limit: The number of days for which ElastiCache retains automatic snapshots before deleting them. For example, if you set ``SnapshotRetentionLimit`` to 5, a snapshot taken today is retained for 5 days before being deleted. .. epigraph:: This parameter is only valid if the ``Engine`` parameter is ``redis`` . Default: 0 (i.e., automatic backups are disabled for this cache cluster).
|
|
@@ -1048,7 +1048,7 @@ class CfnCacheClusterProps:
|
|
|
1048
1048
|
:param port: The port number on which each of the cache nodes accepts connections.
|
|
1049
1049
|
:param preferred_availability_zone: The EC2 Availability Zone in which the cluster is created. All nodes belonging to this cluster are placed in the preferred Availability Zone. If you want to create your nodes across multiple Availability Zones, use ``PreferredAvailabilityZones`` . Default: System chosen Availability Zone.
|
|
1050
1050
|
:param preferred_availability_zones: A list of the Availability Zones in which cache nodes are created. The order of the zones in the list is not important. This option is only supported on Memcached. .. epigraph:: If you are creating your cluster in an Amazon VPC (recommended) you can only locate nodes in Availability Zones that are associated with the subnets in the selected subnet group. The number of Availability Zones listed must equal the value of ``NumCacheNodes`` . If you want all the nodes in the same Availability Zone, use ``PreferredAvailabilityZone`` instead, or repeat the Availability Zone multiple times in the list. Default: System chosen Availability Zones.
|
|
1051
|
-
:param preferred_maintenance_window: Specifies the weekly time range during which maintenance on the cluster is performed. It is specified as a range in the format ddd:hh24:mi-ddd:hh24:mi (24H Clock UTC). The minimum maintenance window is a 60 minute period. Valid values for ``ddd`` are:
|
|
1051
|
+
:param preferred_maintenance_window: Specifies the weekly time range during which maintenance on the cluster is performed. It is specified as a range in the format ddd:hh24:mi-ddd:hh24:mi (24H Clock UTC). The minimum maintenance window is a 60 minute period. Valid values for ``ddd`` are: - ``sun`` - ``mon`` - ``tue`` - ``wed`` - ``thu`` - ``fri`` - ``sat`` Example: ``sun:23:00-mon:01:30``
|
|
1052
1052
|
:param snapshot_arns: A single-element string list containing an Amazon Resource Name (ARN) that uniquely identifies a Redis RDB snapshot file stored in Amazon S3. The snapshot file is used to populate the node group (shard). The Amazon S3 object name in the ARN cannot contain any commas. .. epigraph:: This parameter is only valid if the ``Engine`` parameter is ``redis`` . Example of an Amazon S3 ARN: ``arn:aws:s3:::my_bucket/snapshot1.rdb``
|
|
1053
1053
|
:param snapshot_name: The name of a Redis snapshot from which to restore data into the new node group (shard). The snapshot status changes to ``restoring`` while the new node group (shard) is being created. .. epigraph:: This parameter is only valid if the ``Engine`` parameter is ``redis`` .
|
|
1054
1054
|
:param snapshot_retention_limit: The number of days for which ElastiCache retains automatic snapshots before deleting them. For example, if you set ``SnapshotRetentionLimit`` to 5, a snapshot taken today is retained for 5 days before being deleted. .. epigraph:: This parameter is only valid if the ``Engine`` parameter is ``redis`` . Default: 0 (i.e., automatic backups are disabled for this cache cluster).
|
|
@@ -1465,9 +1465,7 @@ class CfnCacheClusterProps:
|
|
|
1465
1465
|
def preferred_maintenance_window(self) -> typing.Optional[builtins.str]:
|
|
1466
1466
|
'''Specifies the weekly time range during which maintenance on the cluster is performed.
|
|
1467
1467
|
|
|
1468
|
-
It is specified as a range in the format ddd:hh24:mi-ddd:hh24:mi (24H Clock UTC). The minimum maintenance window is a 60 minute period.
|
|
1469
|
-
|
|
1470
|
-
Specifies the weekly time range during which maintenance on the cluster is performed. It is specified as a range in the format ddd:hh24:mi-ddd:hh24:mi (24H Clock UTC). The minimum maintenance window is a 60 minute period.
|
|
1468
|
+
It is specified as a range in the format ddd:hh24:mi-ddd:hh24:mi (24H Clock UTC). The minimum maintenance window is a 60 minute period.
|
|
1471
1469
|
|
|
1472
1470
|
Valid values for ``ddd`` are:
|
|
1473
1471
|
|
|
@@ -2447,6 +2445,15 @@ class CfnParameterGroup(
|
|
|
2447
2445
|
'''The CloudFormation resource type name for this resource class.'''
|
|
2448
2446
|
return typing.cast(builtins.str, jsii.sget(cls, "CFN_RESOURCE_TYPE_NAME"))
|
|
2449
2447
|
|
|
2448
|
+
@builtins.property
|
|
2449
|
+
@jsii.member(jsii_name="attrCacheParameterGroupName")
|
|
2450
|
+
def attr_cache_parameter_group_name(self) -> builtins.str:
|
|
2451
|
+
'''A user-specified name for the cache parameter group.
|
|
2452
|
+
|
|
2453
|
+
:cloudformationAttribute: CacheParameterGroupName
|
|
2454
|
+
'''
|
|
2455
|
+
return typing.cast(builtins.str, jsii.get(self, "attrCacheParameterGroupName"))
|
|
2456
|
+
|
|
2450
2457
|
@builtins.property
|
|
2451
2458
|
@jsii.member(jsii_name="attrId")
|
|
2452
2459
|
def attr_id(self) -> builtins.str:
|
|
@@ -2961,10 +2968,7 @@ class CfnReplicationGroup(
|
|
|
2961
2968
|
@builtins.property
|
|
2962
2969
|
@jsii.member(jsii_name="attrReadEndPointAddressesList")
|
|
2963
2970
|
def attr_read_end_point_addresses_list(self) -> typing.List[builtins.str]:
|
|
2964
|
-
'''
|
|
2965
|
-
|
|
2966
|
-
The order of the addresses maps to the order of the ports from the ``ReadEndPoint.Ports`` attribute.
|
|
2967
|
-
|
|
2971
|
+
'''
|
|
2968
2972
|
:cloudformationAttribute: ReadEndPoint.Addresses.List
|
|
2969
2973
|
'''
|
|
2970
2974
|
return typing.cast(typing.List[builtins.str], jsii.get(self, "attrReadEndPointAddressesList"))
|
|
@@ -2983,10 +2987,7 @@ class CfnReplicationGroup(
|
|
|
2983
2987
|
@builtins.property
|
|
2984
2988
|
@jsii.member(jsii_name="attrReadEndPointPortsList")
|
|
2985
2989
|
def attr_read_end_point_ports_list(self) -> typing.List[builtins.str]:
|
|
2986
|
-
'''
|
|
2987
|
-
|
|
2988
|
-
The order of the ports maps to the order of the addresses from the ReadEndPoint.Addresses attribute.
|
|
2989
|
-
|
|
2990
|
+
'''
|
|
2990
2991
|
:cloudformationAttribute: ReadEndPoint.Ports.List
|
|
2991
2992
|
'''
|
|
2992
2993
|
return typing.cast(typing.List[builtins.str], jsii.get(self, "attrReadEndPointPortsList"))
|
|
@@ -5457,11 +5458,11 @@ class CfnServerlessCache(
|
|
|
5457
5458
|
:param cache_usage_limits: The cache usage limit for the serverless cache.
|
|
5458
5459
|
:param daily_snapshot_time: The daily time that a cache snapshot will be created. Default is NULL, i.e. snapshots will not be created at a specific time on a daily basis. Available for Redis only.
|
|
5459
5460
|
:param description: A description of the serverless cache.
|
|
5460
|
-
:param endpoint: Represents the information required for client programs to connect to a cache node.
|
|
5461
|
+
:param endpoint: Represents the information required for client programs to connect to a cache node. This value is read-only.
|
|
5461
5462
|
:param final_snapshot_name: The name of the final snapshot taken of a cache before the cache is deleted.
|
|
5462
5463
|
:param kms_key_id: The ID of the AWS Key Management Service (KMS) key that is used to encrypt data at rest in the serverless cache.
|
|
5463
5464
|
:param major_engine_version: The version number of the engine the serverless cache is compatible with.
|
|
5464
|
-
:param reader_endpoint: Represents the information required for client programs to connect to a cache node.
|
|
5465
|
+
:param reader_endpoint: Represents the information required for client programs to connect to a cache node. This value is read-only.
|
|
5465
5466
|
:param security_group_ids: The IDs of the EC2 security groups associated with the serverless cache.
|
|
5466
5467
|
:param snapshot_arns_to_restore: The ARN of the snapshot from which to restore data into the new cache.
|
|
5467
5468
|
:param snapshot_retention_limit: The current setting for the number of serverless cache snapshots the system will retain. Available for Redis only.
|
|
@@ -6046,6 +6047,8 @@ class CfnServerlessCache(
|
|
|
6046
6047
|
) -> None:
|
|
6047
6048
|
'''Represents the information required for client programs to connect to a cache node.
|
|
6048
6049
|
|
|
6050
|
+
This value is read-only.
|
|
6051
|
+
|
|
6049
6052
|
:param address: The DNS hostname of the cache node.
|
|
6050
6053
|
:param port: The port number that the cache engine is listening on.
|
|
6051
6054
|
|
|
@@ -6153,11 +6156,11 @@ class CfnServerlessCacheProps:
|
|
|
6153
6156
|
:param cache_usage_limits: The cache usage limit for the serverless cache.
|
|
6154
6157
|
:param daily_snapshot_time: The daily time that a cache snapshot will be created. Default is NULL, i.e. snapshots will not be created at a specific time on a daily basis. Available for Redis only.
|
|
6155
6158
|
:param description: A description of the serverless cache.
|
|
6156
|
-
:param endpoint: Represents the information required for client programs to connect to a cache node.
|
|
6159
|
+
:param endpoint: Represents the information required for client programs to connect to a cache node. This value is read-only.
|
|
6157
6160
|
:param final_snapshot_name: The name of the final snapshot taken of a cache before the cache is deleted.
|
|
6158
6161
|
:param kms_key_id: The ID of the AWS Key Management Service (KMS) key that is used to encrypt data at rest in the serverless cache.
|
|
6159
6162
|
:param major_engine_version: The version number of the engine the serverless cache is compatible with.
|
|
6160
|
-
:param reader_endpoint: Represents the information required for client programs to connect to a cache node.
|
|
6163
|
+
:param reader_endpoint: Represents the information required for client programs to connect to a cache node. This value is read-only.
|
|
6161
6164
|
:param security_group_ids: The IDs of the EC2 security groups associated with the serverless cache.
|
|
6162
6165
|
:param snapshot_arns_to_restore: The ARN of the snapshot from which to restore data into the new cache.
|
|
6163
6166
|
:param snapshot_retention_limit: The current setting for the number of serverless cache snapshots the system will retain. Available for Redis only.
|
|
@@ -6320,6 +6323,8 @@ class CfnServerlessCacheProps:
|
|
|
6320
6323
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, CfnServerlessCache.EndpointProperty]]:
|
|
6321
6324
|
'''Represents the information required for client programs to connect to a cache node.
|
|
6322
6325
|
|
|
6326
|
+
This value is read-only.
|
|
6327
|
+
|
|
6323
6328
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticache-serverlesscache.html#cfn-elasticache-serverlesscache-endpoint
|
|
6324
6329
|
'''
|
|
6325
6330
|
result = self._values.get("endpoint")
|
|
@@ -6358,6 +6363,8 @@ class CfnServerlessCacheProps:
|
|
|
6358
6363
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, CfnServerlessCache.EndpointProperty]]:
|
|
6359
6364
|
'''Represents the information required for client programs to connect to a cache node.
|
|
6360
6365
|
|
|
6366
|
+
This value is read-only.
|
|
6367
|
+
|
|
6361
6368
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticache-serverlesscache.html#cfn-elasticache-serverlesscache-readerendpoint
|
|
6362
6369
|
'''
|
|
6363
6370
|
result = self._values.get("reader_endpoint")
|
|
@@ -6772,7 +6779,7 @@ class CfnUser(
|
|
|
6772
6779
|
:param user_id: The ID of the user.
|
|
6773
6780
|
:param user_name: The username of the user.
|
|
6774
6781
|
:param access_string: Access permissions string used for this user.
|
|
6775
|
-
:param authentication_mode: Specifies the authentication mode to use. Below is an example of the possible JSON values:. Example:: {
|
|
6782
|
+
:param authentication_mode: Specifies the authentication mode to use. Below is an example of the possible JSON values:. Example:: { Passwords: ["*****", "******"] // If Type is password. }
|
|
6776
6783
|
:param no_password_required: Indicates a password is not required for this user.
|
|
6777
6784
|
:param passwords: Passwords used for this user. You can create up to two passwords for each user.
|
|
6778
6785
|
:param tags: An array of key-value pairs to apply to this user.
|
|
@@ -7363,7 +7370,7 @@ class CfnUserProps:
|
|
|
7363
7370
|
:param user_id: The ID of the user.
|
|
7364
7371
|
:param user_name: The username of the user.
|
|
7365
7372
|
:param access_string: Access permissions string used for this user.
|
|
7366
|
-
:param authentication_mode: Specifies the authentication mode to use. Below is an example of the possible JSON values:. Example:: {
|
|
7373
|
+
:param authentication_mode: Specifies the authentication mode to use. Below is an example of the possible JSON values:. Example:: { Passwords: ["*****", "******"] // If Type is password. }
|
|
7367
7374
|
:param no_password_required: Indicates a password is not required for this user.
|
|
7368
7375
|
:param passwords: Passwords used for this user. You can create up to two passwords for each user.
|
|
7369
7376
|
:param tags: An array of key-value pairs to apply to this user.
|
|
@@ -7466,7 +7473,7 @@ class CfnUserProps:
|
|
|
7466
7473
|
|
|
7467
7474
|
Example::
|
|
7468
7475
|
|
|
7469
|
-
{
|
|
7476
|
+
{ Passwords: ["*****", "******"] // If Type is password.
|
|
7470
7477
|
}
|
|
7471
7478
|
|
|
7472
7479
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticache-user.html#cfn-elasticache-user-authenticationmode
|
|
@@ -7790,8 +7790,7 @@ class CfnLoadBalancer(
|
|
|
7790
7790
|
@builtins.property
|
|
7791
7791
|
@jsii.member(jsii_name="attrSecurityGroups")
|
|
7792
7792
|
def attr_security_groups(self) -> typing.List[builtins.str]:
|
|
7793
|
-
'''
|
|
7794
|
-
|
|
7793
|
+
'''
|
|
7795
7794
|
:cloudformationAttribute: SecurityGroups
|
|
7796
7795
|
'''
|
|
7797
7796
|
return typing.cast(typing.List[builtins.str], jsii.get(self, "attrSecurityGroups"))
|
|
@@ -8596,7 +8595,7 @@ class CfnTargetGroup(
|
|
|
8596
8595
|
@builtins.property
|
|
8597
8596
|
@jsii.member(jsii_name="attrLoadBalancerArns")
|
|
8598
8597
|
def attr_load_balancer_arns(self) -> typing.List[builtins.str]:
|
|
8599
|
-
'''The Amazon Resource
|
|
8598
|
+
'''The Amazon Resource Names (ARNs) of the load balancers that route traffic to this target group.
|
|
8600
8599
|
|
|
8601
8600
|
:cloudformationAttribute: LoadBalancerArns
|
|
8602
8601
|
'''
|
|
@@ -10053,7 +10052,7 @@ class CfnTrustStoreRevocation(
|
|
|
10053
10052
|
@builtins.property
|
|
10054
10053
|
@jsii.member(jsii_name="attrTrustStoreRevocations")
|
|
10055
10054
|
def attr_trust_store_revocations(self) -> _IResolvable_da3f097b:
|
|
10056
|
-
'''
|
|
10055
|
+
'''The data associated with a trust store revocation.
|
|
10057
10056
|
|
|
10058
10057
|
:cloudformationAttribute: TrustStoreRevocations
|
|
10059
10058
|
'''
|
aws_cdk/aws_emr/__init__.py
CHANGED
|
@@ -466,7 +466,8 @@ class CfnCluster(
|
|
|
466
466
|
market="market",
|
|
467
467
|
name="name"
|
|
468
468
|
)],
|
|
469
|
-
termination_protected=False
|
|
469
|
+
termination_protected=False,
|
|
470
|
+
unhealthy_node_replacement=False
|
|
470
471
|
),
|
|
471
472
|
job_flow_role="jobFlowRole",
|
|
472
473
|
name="name",
|
|
@@ -2999,6 +3000,7 @@ class CfnCluster(
|
|
|
2999
3000
|
"task_instance_fleets": "taskInstanceFleets",
|
|
3000
3001
|
"task_instance_groups": "taskInstanceGroups",
|
|
3001
3002
|
"termination_protected": "terminationProtected",
|
|
3003
|
+
"unhealthy_node_replacement": "unhealthyNodeReplacement",
|
|
3002
3004
|
},
|
|
3003
3005
|
)
|
|
3004
3006
|
class JobFlowInstancesConfigProperty:
|
|
@@ -3023,6 +3025,7 @@ class CfnCluster(
|
|
|
3023
3025
|
task_instance_fleets: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnCluster.InstanceFleetConfigProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
3024
3026
|
task_instance_groups: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnCluster.InstanceGroupConfigProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
3025
3027
|
termination_protected: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
3028
|
+
unhealthy_node_replacement: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
3026
3029
|
) -> None:
|
|
3027
3030
|
'''``JobFlowInstancesConfig`` is a property of the ``AWS::EMR::Cluster`` resource.
|
|
3028
3031
|
|
|
@@ -3048,6 +3051,7 @@ class CfnCluster(
|
|
|
3048
3051
|
:param task_instance_fleets: Describes the EC2 instances and instance configurations for the task instance fleets when using clusters with the instance fleet configuration. These task instance fleets are added to the cluster as part of the cluster launch. Each task instance fleet must have a unique name specified so that CloudFormation can differentiate between the task instance fleets. .. epigraph:: You can currently specify only one task instance fleet for a cluster. After creating the cluster, you can only modify the mutable properties of ``InstanceFleetConfig`` , which are ``TargetOnDemandCapacity`` and ``TargetSpotCapacity`` . Modifying any other property results in cluster replacement. > To allow a maximum of 30 Amazon EC2 instance types per fleet, include ``TaskInstanceFleets`` when you create your cluster. If you create your cluster without ``TaskInstanceFleets`` , Amazon EMR uses its default allocation strategy, which allows for a maximum of five Amazon EC2 instance types.
|
|
3049
3052
|
:param task_instance_groups: Describes the EC2 instances and instance configurations for task instance groups when using clusters with the uniform instance group configuration. These task instance groups are added to the cluster as part of the cluster launch. Each task instance group must have a unique name specified so that CloudFormation can differentiate between the task instance groups. .. epigraph:: After creating the cluster, you can only modify the mutable properties of ``InstanceGroupConfig`` , which are ``AutoScalingPolicy`` and ``InstanceCount`` . Modifying any other property results in cluster replacement.
|
|
3050
3053
|
:param termination_protected: Specifies whether to lock the cluster to prevent the Amazon EC2 instances from being terminated by API call, user intervention, or in the event of a job-flow error.
|
|
3054
|
+
:param unhealthy_node_replacement:
|
|
3051
3055
|
|
|
3052
3056
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-emr-cluster-jobflowinstancesconfig.html
|
|
3053
3057
|
:exampleMetadata: fixture=_generated
|
|
@@ -3449,7 +3453,8 @@ class CfnCluster(
|
|
|
3449
3453
|
market="market",
|
|
3450
3454
|
name="name"
|
|
3451
3455
|
)],
|
|
3452
|
-
termination_protected=False
|
|
3456
|
+
termination_protected=False,
|
|
3457
|
+
unhealthy_node_replacement=False
|
|
3453
3458
|
)
|
|
3454
3459
|
'''
|
|
3455
3460
|
if __debug__:
|
|
@@ -3472,6 +3477,7 @@ class CfnCluster(
|
|
|
3472
3477
|
check_type(argname="argument task_instance_fleets", value=task_instance_fleets, expected_type=type_hints["task_instance_fleets"])
|
|
3473
3478
|
check_type(argname="argument task_instance_groups", value=task_instance_groups, expected_type=type_hints["task_instance_groups"])
|
|
3474
3479
|
check_type(argname="argument termination_protected", value=termination_protected, expected_type=type_hints["termination_protected"])
|
|
3480
|
+
check_type(argname="argument unhealthy_node_replacement", value=unhealthy_node_replacement, expected_type=type_hints["unhealthy_node_replacement"])
|
|
3475
3481
|
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
3476
3482
|
if additional_master_security_groups is not None:
|
|
3477
3483
|
self._values["additional_master_security_groups"] = additional_master_security_groups
|
|
@@ -3509,6 +3515,8 @@ class CfnCluster(
|
|
|
3509
3515
|
self._values["task_instance_groups"] = task_instance_groups
|
|
3510
3516
|
if termination_protected is not None:
|
|
3511
3517
|
self._values["termination_protected"] = termination_protected
|
|
3518
|
+
if unhealthy_node_replacement is not None:
|
|
3519
|
+
self._values["unhealthy_node_replacement"] = unhealthy_node_replacement
|
|
3512
3520
|
|
|
3513
3521
|
@builtins.property
|
|
3514
3522
|
def additional_master_security_groups(
|
|
@@ -3717,6 +3725,16 @@ class CfnCluster(
|
|
|
3717
3725
|
result = self._values.get("termination_protected")
|
|
3718
3726
|
return typing.cast(typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]], result)
|
|
3719
3727
|
|
|
3728
|
+
@builtins.property
|
|
3729
|
+
def unhealthy_node_replacement(
|
|
3730
|
+
self,
|
|
3731
|
+
) -> typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]]:
|
|
3732
|
+
'''
|
|
3733
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-emr-cluster-jobflowinstancesconfig.html#cfn-emr-cluster-jobflowinstancesconfig-unhealthynodereplacement
|
|
3734
|
+
'''
|
|
3735
|
+
result = self._values.get("unhealthy_node_replacement")
|
|
3736
|
+
return typing.cast(typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]], result)
|
|
3737
|
+
|
|
3720
3738
|
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
3721
3739
|
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
3722
3740
|
|
|
@@ -5677,7 +5695,8 @@ class CfnClusterProps:
|
|
|
5677
5695
|
market="market",
|
|
5678
5696
|
name="name"
|
|
5679
5697
|
)],
|
|
5680
|
-
termination_protected=False
|
|
5698
|
+
termination_protected=False,
|
|
5699
|
+
unhealthy_node_replacement=False
|
|
5681
5700
|
),
|
|
5682
5701
|
job_flow_role="jobFlowRole",
|
|
5683
5702
|
name="name",
|
|
@@ -11825,6 +11844,7 @@ def _typecheckingstub__97053e1923915e0068df7012383808d225b615a5d3590985b1aa4048b
|
|
|
11825
11844
|
task_instance_fleets: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnCluster.InstanceFleetConfigProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
11826
11845
|
task_instance_groups: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnCluster.InstanceGroupConfigProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
11827
11846
|
termination_protected: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
11847
|
+
unhealthy_node_replacement: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
11828
11848
|
) -> None:
|
|
11829
11849
|
"""Type checking stubs"""
|
|
11830
11850
|
pass
|
|
@@ -22,6 +22,7 @@ Currently supported are:
|
|
|
22
22
|
* [Run an ECS Task](#run-an-ecs-task)
|
|
23
23
|
|
|
24
24
|
* [Tagging Tasks](#tagging-tasks)
|
|
25
|
+
* [Launch type for ECS Task](#launch-type-for-ecs-task)
|
|
25
26
|
* [Assign public IP addresses to tasks](#assign-public-ip-addresses-to-tasks)
|
|
26
27
|
* [Enable Amazon ECS Exec for ECS Task](#enable-amazon-ecs-exec-for-ecs-task)
|
|
27
28
|
|
|
@@ -386,6 +387,30 @@ rule.add_target(
|
|
|
386
387
|
))
|
|
387
388
|
```
|
|
388
389
|
|
|
390
|
+
### Launch type for ECS Task
|
|
391
|
+
|
|
392
|
+
By default, if `isEc2Compatible` for the `taskDefinition` is true, the EC2 type is used as
|
|
393
|
+
the launch type for the task, otherwise the FARGATE type.
|
|
394
|
+
If you want to override the default launch type, you can set the `launchType` property.
|
|
395
|
+
|
|
396
|
+
```python
|
|
397
|
+
import aws_cdk.aws_ecs as ecs
|
|
398
|
+
|
|
399
|
+
# cluster: ecs.ICluster
|
|
400
|
+
# task_definition: ecs.TaskDefinition
|
|
401
|
+
|
|
402
|
+
|
|
403
|
+
rule = events.Rule(self, "Rule",
|
|
404
|
+
schedule=events.Schedule.rate(cdk.Duration.hours(1))
|
|
405
|
+
)
|
|
406
|
+
|
|
407
|
+
rule.add_target(targets.EcsTask(
|
|
408
|
+
cluster=cluster,
|
|
409
|
+
task_definition=task_definition,
|
|
410
|
+
launch_type=ecs.LaunchType.FARGATE
|
|
411
|
+
))
|
|
412
|
+
```
|
|
413
|
+
|
|
389
414
|
### Assign public IP addresses to tasks
|
|
390
415
|
|
|
391
416
|
You can set the `assignPublicIp` flag to assign public IP addresses to tasks.
|
|
@@ -467,6 +492,7 @@ from ..aws_ecs import (
|
|
|
467
492
|
FargatePlatformVersion as _FargatePlatformVersion_55d8be5c,
|
|
468
493
|
ICluster as _ICluster_16cddd09,
|
|
469
494
|
ITaskDefinition as _ITaskDefinition_889ba4d8,
|
|
495
|
+
LaunchType as _LaunchType_6894135d,
|
|
470
496
|
PropagatedTagSource as _PropagatedTagSource_ad4e874a,
|
|
471
497
|
)
|
|
472
498
|
from ..aws_events import (
|
|
@@ -1560,6 +1586,7 @@ class EcsTask(
|
|
|
1560
1586
|
Example::
|
|
1561
1587
|
|
|
1562
1588
|
import aws_cdk.aws_ecs as ecs
|
|
1589
|
+
import aws_cdk.aws_ec2 as ec2
|
|
1563
1590
|
|
|
1564
1591
|
# cluster: ecs.ICluster
|
|
1565
1592
|
# task_definition: ecs.TaskDefinition
|
|
@@ -1569,16 +1596,13 @@ class EcsTask(
|
|
|
1569
1596
|
schedule=events.Schedule.rate(cdk.Duration.hours(1))
|
|
1570
1597
|
)
|
|
1571
1598
|
|
|
1572
|
-
rule.add_target(
|
|
1573
|
-
|
|
1574
|
-
|
|
1575
|
-
|
|
1576
|
-
|
|
1577
|
-
|
|
1578
|
-
|
|
1579
|
-
)],
|
|
1580
|
-
enable_execute_command=True
|
|
1581
|
-
))
|
|
1599
|
+
rule.add_target(
|
|
1600
|
+
targets.EcsTask(
|
|
1601
|
+
cluster=cluster,
|
|
1602
|
+
task_definition=task_definition,
|
|
1603
|
+
assign_public_ip=True,
|
|
1604
|
+
subnet_selection=ec2.SubnetSelection(subnet_type=ec2.SubnetType.PUBLIC)
|
|
1605
|
+
))
|
|
1582
1606
|
'''
|
|
1583
1607
|
|
|
1584
1608
|
def __init__(
|
|
@@ -1589,6 +1613,7 @@ class EcsTask(
|
|
|
1589
1613
|
assign_public_ip: typing.Optional[builtins.bool] = None,
|
|
1590
1614
|
container_overrides: typing.Optional[typing.Sequence[typing.Union[ContainerOverride, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
1591
1615
|
enable_execute_command: typing.Optional[builtins.bool] = None,
|
|
1616
|
+
launch_type: typing.Optional[_LaunchType_6894135d] = None,
|
|
1592
1617
|
platform_version: typing.Optional[_FargatePlatformVersion_55d8be5c] = None,
|
|
1593
1618
|
propagate_tags: typing.Optional[_PropagatedTagSource_ad4e874a] = None,
|
|
1594
1619
|
role: typing.Optional[_IRole_235f5d8e] = None,
|
|
@@ -1606,6 +1631,7 @@ class EcsTask(
|
|
|
1606
1631
|
:param assign_public_ip: Specifies whether the task's elastic network interface receives a public IP address. You can specify true only when LaunchType is set to FARGATE. Default: - true if the subnet type is PUBLIC, otherwise false
|
|
1607
1632
|
:param container_overrides: Container setting overrides. Key is the name of the container to override, value is the values you want to override.
|
|
1608
1633
|
:param enable_execute_command: Whether or not to enable the execute command functionality for the containers in this task. If true, this enables execute command functionality on all containers in the task. Default: - false
|
|
1634
|
+
:param launch_type: Specifies the launch type on which your task is running. The launch type that you specify here must match one of the launch type (compatibilities) of the target task. Default: - 'EC2' if ``isEc2Compatible`` for the ``taskDefinition`` is true, otherwise 'FARGATE'
|
|
1609
1635
|
:param platform_version: The platform version on which to run your task. Unless you have specific compatibility requirements, you don't need to specify this. Default: - ECS will set the Fargate platform version to 'LATEST'
|
|
1610
1636
|
:param propagate_tags: Specifies whether to propagate the tags from the task definition to the task. If no value is specified, the tags are not propagated. Default: - Tags will not be propagated
|
|
1611
1637
|
:param role: Existing IAM role to run the ECS task. Default: A new IAM role is created
|
|
@@ -1623,6 +1649,7 @@ class EcsTask(
|
|
|
1623
1649
|
assign_public_ip=assign_public_ip,
|
|
1624
1650
|
container_overrides=container_overrides,
|
|
1625
1651
|
enable_execute_command=enable_execute_command,
|
|
1652
|
+
launch_type=launch_type,
|
|
1626
1653
|
platform_version=platform_version,
|
|
1627
1654
|
propagate_tags=propagate_tags,
|
|
1628
1655
|
role=role,
|
|
@@ -3674,6 +3701,7 @@ class CodePipelineTargetOptions(TargetBaseProps):
|
|
|
3674
3701
|
"assign_public_ip": "assignPublicIp",
|
|
3675
3702
|
"container_overrides": "containerOverrides",
|
|
3676
3703
|
"enable_execute_command": "enableExecuteCommand",
|
|
3704
|
+
"launch_type": "launchType",
|
|
3677
3705
|
"platform_version": "platformVersion",
|
|
3678
3706
|
"propagate_tags": "propagateTags",
|
|
3679
3707
|
"role": "role",
|
|
@@ -3695,6 +3723,7 @@ class EcsTaskProps(TargetBaseProps):
|
|
|
3695
3723
|
assign_public_ip: typing.Optional[builtins.bool] = None,
|
|
3696
3724
|
container_overrides: typing.Optional[typing.Sequence[typing.Union[ContainerOverride, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
3697
3725
|
enable_execute_command: typing.Optional[builtins.bool] = None,
|
|
3726
|
+
launch_type: typing.Optional[_LaunchType_6894135d] = None,
|
|
3698
3727
|
platform_version: typing.Optional[_FargatePlatformVersion_55d8be5c] = None,
|
|
3699
3728
|
propagate_tags: typing.Optional[_PropagatedTagSource_ad4e874a] = None,
|
|
3700
3729
|
role: typing.Optional[_IRole_235f5d8e] = None,
|
|
@@ -3713,6 +3742,7 @@ class EcsTaskProps(TargetBaseProps):
|
|
|
3713
3742
|
:param assign_public_ip: Specifies whether the task's elastic network interface receives a public IP address. You can specify true only when LaunchType is set to FARGATE. Default: - true if the subnet type is PUBLIC, otherwise false
|
|
3714
3743
|
:param container_overrides: Container setting overrides. Key is the name of the container to override, value is the values you want to override.
|
|
3715
3744
|
:param enable_execute_command: Whether or not to enable the execute command functionality for the containers in this task. If true, this enables execute command functionality on all containers in the task. Default: - false
|
|
3745
|
+
:param launch_type: Specifies the launch type on which your task is running. The launch type that you specify here must match one of the launch type (compatibilities) of the target task. Default: - 'EC2' if ``isEc2Compatible`` for the ``taskDefinition`` is true, otherwise 'FARGATE'
|
|
3716
3746
|
:param platform_version: The platform version on which to run your task. Unless you have specific compatibility requirements, you don't need to specify this. Default: - ECS will set the Fargate platform version to 'LATEST'
|
|
3717
3747
|
:param propagate_tags: Specifies whether to propagate the tags from the task definition to the task. If no value is specified, the tags are not propagated. Default: - Tags will not be propagated
|
|
3718
3748
|
:param role: Existing IAM role to run the ECS task. Default: A new IAM role is created
|
|
@@ -3726,6 +3756,7 @@ class EcsTaskProps(TargetBaseProps):
|
|
|
3726
3756
|
Example::
|
|
3727
3757
|
|
|
3728
3758
|
import aws_cdk.aws_ecs as ecs
|
|
3759
|
+
import aws_cdk.aws_ec2 as ec2
|
|
3729
3760
|
|
|
3730
3761
|
# cluster: ecs.ICluster
|
|
3731
3762
|
# task_definition: ecs.TaskDefinition
|
|
@@ -3735,16 +3766,13 @@ class EcsTaskProps(TargetBaseProps):
|
|
|
3735
3766
|
schedule=events.Schedule.rate(cdk.Duration.hours(1))
|
|
3736
3767
|
)
|
|
3737
3768
|
|
|
3738
|
-
rule.add_target(
|
|
3739
|
-
|
|
3740
|
-
|
|
3741
|
-
|
|
3742
|
-
|
|
3743
|
-
|
|
3744
|
-
|
|
3745
|
-
)],
|
|
3746
|
-
enable_execute_command=True
|
|
3747
|
-
))
|
|
3769
|
+
rule.add_target(
|
|
3770
|
+
targets.EcsTask(
|
|
3771
|
+
cluster=cluster,
|
|
3772
|
+
task_definition=task_definition,
|
|
3773
|
+
assign_public_ip=True,
|
|
3774
|
+
subnet_selection=ec2.SubnetSelection(subnet_type=ec2.SubnetType.PUBLIC)
|
|
3775
|
+
))
|
|
3748
3776
|
'''
|
|
3749
3777
|
if isinstance(subnet_selection, dict):
|
|
3750
3778
|
subnet_selection = _SubnetSelection_e57d76df(**subnet_selection)
|
|
@@ -3758,6 +3786,7 @@ class EcsTaskProps(TargetBaseProps):
|
|
|
3758
3786
|
check_type(argname="argument assign_public_ip", value=assign_public_ip, expected_type=type_hints["assign_public_ip"])
|
|
3759
3787
|
check_type(argname="argument container_overrides", value=container_overrides, expected_type=type_hints["container_overrides"])
|
|
3760
3788
|
check_type(argname="argument enable_execute_command", value=enable_execute_command, expected_type=type_hints["enable_execute_command"])
|
|
3789
|
+
check_type(argname="argument launch_type", value=launch_type, expected_type=type_hints["launch_type"])
|
|
3761
3790
|
check_type(argname="argument platform_version", value=platform_version, expected_type=type_hints["platform_version"])
|
|
3762
3791
|
check_type(argname="argument propagate_tags", value=propagate_tags, expected_type=type_hints["propagate_tags"])
|
|
3763
3792
|
check_type(argname="argument role", value=role, expected_type=type_hints["role"])
|
|
@@ -3781,6 +3810,8 @@ class EcsTaskProps(TargetBaseProps):
|
|
|
3781
3810
|
self._values["container_overrides"] = container_overrides
|
|
3782
3811
|
if enable_execute_command is not None:
|
|
3783
3812
|
self._values["enable_execute_command"] = enable_execute_command
|
|
3813
|
+
if launch_type is not None:
|
|
3814
|
+
self._values["launch_type"] = launch_type
|
|
3784
3815
|
if platform_version is not None:
|
|
3785
3816
|
self._values["platform_version"] = platform_version
|
|
3786
3817
|
if propagate_tags is not None:
|
|
@@ -3879,6 +3910,18 @@ class EcsTaskProps(TargetBaseProps):
|
|
|
3879
3910
|
result = self._values.get("enable_execute_command")
|
|
3880
3911
|
return typing.cast(typing.Optional[builtins.bool], result)
|
|
3881
3912
|
|
|
3913
|
+
@builtins.property
|
|
3914
|
+
def launch_type(self) -> typing.Optional[_LaunchType_6894135d]:
|
|
3915
|
+
'''Specifies the launch type on which your task is running.
|
|
3916
|
+
|
|
3917
|
+
The launch type that you specify here
|
|
3918
|
+
must match one of the launch type (compatibilities) of the target task.
|
|
3919
|
+
|
|
3920
|
+
:default: - 'EC2' if ``isEc2Compatible`` for the ``taskDefinition`` is true, otherwise 'FARGATE'
|
|
3921
|
+
'''
|
|
3922
|
+
result = self._values.get("launch_type")
|
|
3923
|
+
return typing.cast(typing.Optional[_LaunchType_6894135d], result)
|
|
3924
|
+
|
|
3882
3925
|
@builtins.property
|
|
3883
3926
|
def platform_version(self) -> typing.Optional[_FargatePlatformVersion_55d8be5c]:
|
|
3884
3927
|
'''The platform version on which to run your task.
|
|
@@ -5105,6 +5148,7 @@ def _typecheckingstub__3624031da4f9372e2ccdb3e422123cc459d01922cc36bab5b96caa98f
|
|
|
5105
5148
|
assign_public_ip: typing.Optional[builtins.bool] = None,
|
|
5106
5149
|
container_overrides: typing.Optional[typing.Sequence[typing.Union[ContainerOverride, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
5107
5150
|
enable_execute_command: typing.Optional[builtins.bool] = None,
|
|
5151
|
+
launch_type: typing.Optional[_LaunchType_6894135d] = None,
|
|
5108
5152
|
platform_version: typing.Optional[_FargatePlatformVersion_55d8be5c] = None,
|
|
5109
5153
|
propagate_tags: typing.Optional[_PropagatedTagSource_ad4e874a] = None,
|
|
5110
5154
|
role: typing.Optional[_IRole_235f5d8e] = None,
|
aws_cdk/aws_fis/__init__.py
CHANGED
|
@@ -444,9 +444,9 @@ class CfnExperimentTemplate(
|
|
|
444
444
|
|
|
445
445
|
:param action_id: The ID of the action.
|
|
446
446
|
:param description: A description for the action.
|
|
447
|
-
:param parameters: The parameters for the action
|
|
447
|
+
:param parameters: The parameters for the action.
|
|
448
448
|
:param start_after: The name of the action that must be completed before the current action starts.
|
|
449
|
-
:param targets:
|
|
449
|
+
:param targets: The targets for the action.
|
|
450
450
|
|
|
451
451
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-fis-experimenttemplate-experimenttemplateaction.html
|
|
452
452
|
:exampleMetadata: fixture=_generated
|
|
@@ -513,7 +513,7 @@ class CfnExperimentTemplate(
|
|
|
513
513
|
def parameters(
|
|
514
514
|
self,
|
|
515
515
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Mapping[builtins.str, builtins.str]]]:
|
|
516
|
-
'''The parameters for the action
|
|
516
|
+
'''The parameters for the action.
|
|
517
517
|
|
|
518
518
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-fis-experimenttemplate-experimenttemplateaction.html#cfn-fis-experimenttemplate-experimenttemplateaction-parameters
|
|
519
519
|
'''
|
|
@@ -533,7 +533,7 @@ class CfnExperimentTemplate(
|
|
|
533
533
|
def targets(
|
|
534
534
|
self,
|
|
535
535
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Mapping[builtins.str, builtins.str]]]:
|
|
536
|
-
'''
|
|
536
|
+
'''The targets for the action.
|
|
537
537
|
|
|
538
538
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-fis-experimenttemplate-experimenttemplateaction.html#cfn-fis-experimenttemplate-experimenttemplateaction-targets
|
|
539
539
|
'''
|
|
@@ -268,7 +268,7 @@ class CfnDetector(
|
|
|
268
268
|
@builtins.property
|
|
269
269
|
@jsii.member(jsii_name="attrEventTypeArn")
|
|
270
270
|
def attr_event_type_arn(self) -> builtins.str:
|
|
271
|
-
'''The ARN
|
|
271
|
+
'''The detector ARN.
|
|
272
272
|
|
|
273
273
|
:cloudformationAttribute: EventType.Arn
|
|
274
274
|
'''
|
|
@@ -277,7 +277,7 @@ class CfnDetector(
|
|
|
277
277
|
@builtins.property
|
|
278
278
|
@jsii.member(jsii_name="attrEventTypeCreatedTime")
|
|
279
279
|
def attr_event_type_created_time(self) -> builtins.str:
|
|
280
|
-
'''
|
|
280
|
+
'''Timestamp of when the detector was created.
|
|
281
281
|
|
|
282
282
|
:cloudformationAttribute: EventType.CreatedTime
|
|
283
283
|
'''
|
|
@@ -286,7 +286,7 @@ class CfnDetector(
|
|
|
286
286
|
@builtins.property
|
|
287
287
|
@jsii.member(jsii_name="attrEventTypeLastUpdatedTime")
|
|
288
288
|
def attr_event_type_last_updated_time(self) -> builtins.str:
|
|
289
|
-
'''
|
|
289
|
+
'''Timestamp of when the detector was last updated.
|
|
290
290
|
|
|
291
291
|
:cloudformationAttribute: EventType.LastUpdatedTime
|
|
292
292
|
'''
|
|
@@ -583,9 +583,7 @@ class CfnAccelerator(
|
|
|
583
583
|
@builtins.property
|
|
584
584
|
@jsii.member(jsii_name="attrIpv4Addresses")
|
|
585
585
|
def attr_ipv4_addresses(self) -> typing.List[builtins.str]:
|
|
586
|
-
'''The
|
|
587
|
-
|
|
588
|
-
An IP address set can have a maximum of two IP addresses.
|
|
586
|
+
'''The IPv4 addresses assigned to the accelerator.
|
|
589
587
|
|
|
590
588
|
:cloudformationAttribute: Ipv4Addresses
|
|
591
589
|
'''
|
|
@@ -594,9 +592,7 @@ class CfnAccelerator(
|
|
|
594
592
|
@builtins.property
|
|
595
593
|
@jsii.member(jsii_name="attrIpv6Addresses")
|
|
596
594
|
def attr_ipv6_addresses(self) -> typing.List[builtins.str]:
|
|
597
|
-
'''The
|
|
598
|
-
|
|
599
|
-
An IP address set can have a maximum of two IP addresses.
|
|
595
|
+
'''The IPv6 addresses assigned if the accelerator is dualstack.
|
|
600
596
|
|
|
601
597
|
:cloudformationAttribute: Ipv6Addresses
|
|
602
598
|
'''
|