@awboost/cfn-resource-types 0.1.138 → 0.1.140

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.
Files changed (35) hide show
  1. package/lib/AWS-Amplify-App.d.ts +8 -0
  2. package/lib/AWS-ECS-Service.d.ts +36 -26
  3. package/lib/AWS-ECS-Service.js +2 -2
  4. package/lib/AWS-ECS-TaskDefinition.d.ts +53 -32
  5. package/lib/AWS-ElasticLoadBalancingV2-Listener.d.ts +9 -0
  6. package/lib/AWS-IoTFleetWise-DecoderManifest.d.ts +2 -2
  7. package/lib/AWS-MediaConnect-Flow.d.ts +15 -0
  8. package/lib/AWS-MediaLive-ChannelPlacementGroup.d.ts +70 -0
  9. package/lib/AWS-MediaLive-ChannelPlacementGroup.js +12 -0
  10. package/lib/AWS-MediaLive-CloudWatchAlarmTemplate.d.ts +139 -0
  11. package/lib/AWS-MediaLive-CloudWatchAlarmTemplate.js +12 -0
  12. package/lib/AWS-MediaLive-CloudWatchAlarmTemplateGroup.d.ts +61 -0
  13. package/lib/AWS-MediaLive-CloudWatchAlarmTemplateGroup.js +12 -0
  14. package/lib/AWS-MediaLive-Cluster.d.ts +112 -0
  15. package/lib/AWS-MediaLive-Cluster.js +12 -0
  16. package/lib/AWS-MediaLive-EventBridgeRuleTemplate.d.ts +110 -0
  17. package/lib/AWS-MediaLive-EventBridgeRuleTemplate.js +12 -0
  18. package/lib/AWS-MediaLive-EventBridgeRuleTemplateGroup.d.ts +61 -0
  19. package/lib/AWS-MediaLive-EventBridgeRuleTemplateGroup.js +12 -0
  20. package/lib/AWS-MediaLive-Network.d.ts +91 -0
  21. package/lib/AWS-MediaLive-Network.js +12 -0
  22. package/lib/AWS-MediaLive-SdiSource.d.ts +82 -0
  23. package/lib/AWS-MediaLive-SdiSource.js +12 -0
  24. package/lib/AWS-MediaLive-SignalMap.d.ts +307 -0
  25. package/lib/AWS-MediaLive-SignalMap.js +12 -0
  26. package/lib/AWS-Pipes-Pipe.d.ts +5 -0
  27. package/lib/AWS-QuickSight-Analysis.d.ts +13 -0
  28. package/lib/AWS-QuickSight-Template.d.ts +13 -0
  29. package/lib/AWS-SNS-Subscription.d.ts +41 -5
  30. package/lib/AWS-SageMaker-Cluster.d.ts +241 -0
  31. package/lib/AWS-SageMaker-Cluster.js +12 -0
  32. package/lib/AWS-SageMaker-Domain.d.ts +43 -0
  33. package/lib/AWS-SageMaker-Space.d.ts +21 -0
  34. package/lib/AWS-SageMaker-UserProfile.d.ts +43 -0
  35. package/package.json +1 -1
@@ -18,6 +18,7 @@ export type AmplifyAppProperties = {
18
18
  * @pattern `(?s).+`
19
19
  */
20
20
  BuildSpec?: string;
21
+ CacheConfig?: CacheConfig;
21
22
  /**
22
23
  * @minLength `0`
23
24
  * @maxLength `25000`
@@ -130,6 +131,13 @@ export type BasicAuthConfig = {
130
131
  */
131
132
  Username?: string;
132
133
  };
134
+ /**
135
+ * Type definition for `AWS::Amplify::App.CacheConfig`.
136
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amplify-app-cacheconfig.html}
137
+ */
138
+ export type CacheConfig = {
139
+ Type?: "AMPLIFY_MANAGED" | "AMPLIFY_MANAGED_NO_COOKIES";
140
+ };
133
141
  /**
134
142
  * Type definition for `AWS::Amplify::App.CustomRule`.
135
143
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amplify-app-customrule.html}
@@ -2,8 +2,8 @@ import { Resource as $Resource } from "@awboost/cfn-template-builder/template/re
2
2
  import type { ResourceOptions as $ResourceOptions } from "@awboost/cfn-template-builder/template";
3
3
  /**
4
4
  * The ``AWS::ECS::Service`` resource creates an Amazon Elastic Container Service (Amazon ECS) service that runs and maintains the requested number of tasks and associated load balancers.
5
- The stack update fails if you change any properties that require replacement and at least one Amazon ECS Service Connect ``ServiceConnectService`` is configured. This is because AWS CloudFormation creates the replacement service first, but each ``ServiceConnectService`` must have a name that is unique in the namespace.
6
- Starting April 15, 2023, AWS; will not onboard new customers to Amazon Elastic Inference (EI), and will help current customers migrate their workloads to options that offer better price and performance. After April 15, 2023, new customers will not be able to launch instances with Amazon EI accelerators in Amazon SageMaker, ECS, or EC2. However, customers who have used Amazon EI at least once during the past 30-day period are considered current customers and will be able to continue using the service.
5
+ The stack update fails if you change any properties that require replacement and at least one ECS Service Connect ``ServiceConnectConfiguration`` property the is configured. This is because AWS CloudFormation creates the replacement service first, but each ``ServiceConnectService`` must have a name that is unique in the namespace.
6
+ Starting April 15, 2023, AWS; will not onboard new customers to Amazon Elastic Inference (EI), and will help current customers migrate their workloads to options that offer better price and performance. After April 15, 2023, new customers will not be able to launch instances with Amazon EI accelerators in Amazon SageMaker, ECS, or EC2. However, customers who have used Amazon EI at least once during the past 30-day period are considered current customers and will be able to continue using the service.
7
7
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecs-service.html}
8
8
  */
9
9
  export type ECSServiceProperties = {
@@ -72,6 +72,7 @@ export type ECSServiceProperties = {
72
72
  PlatformVersion?: string;
73
73
  /**
74
74
  * Specifies whether to propagate the tags from the task definition to the task. If no value is specified, the tags aren't propagated. Tags can only be propagated to the task during task creation. To add tags to a task after task creation, use the [TagResource](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_TagResource.html) API action.
75
+ You must set this to a value other than ``NONE`` when you use Cost Explorer. For more information, see [Amazon ECS usage reports](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/usage-reports.html) in the *Amazon Elastic Container Service Developer Guide*.
75
76
  The default is ``NONE``.
76
77
  */
77
78
  PropagateTags?: "SERVICE" | "TASK_DEFINITION";
@@ -137,7 +138,7 @@ export type ECSServiceAttributes = {
137
138
  };
138
139
  /**
139
140
  * Type definition for `AWS::ECS::Service.AwsVpcConfiguration`.
140
- * An object representing the networking details for a task or service. For example ``awsvpcConfiguration={subnets=["subnet-12344321"],securityGroups=["sg-12344321"]}``
141
+ * An object representing the networking details for a task or service. For example ``awsVpcConfiguration={subnets=["subnet-12344321"],securityGroups=["sg-12344321"]}``.
141
142
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-service-awsvpcconfiguration.html}
142
143
  */
143
144
  export type AwsVpcConfiguration = {
@@ -146,12 +147,12 @@ export type AwsVpcConfiguration = {
146
147
  */
147
148
  AssignPublicIp?: "DISABLED" | "ENABLED";
148
149
  /**
149
- * 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``.
150
+ * 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``.
150
151
  All specified security groups must be from the same VPC.
151
152
  */
152
153
  SecurityGroups?: string[];
153
154
  /**
154
- * The IDs of the subnets associated with the task or service. There's a limit of 16 subnets that can be specified per ``AwsVpcConfiguration``.
155
+ * The IDs of the subnets associated with the task or service. There's a limit of 16 subnets that can be specified per ``awsvpcConfiguration``.
155
156
  All specified subnets must be from the same VPC.
156
157
  */
157
158
  Subnets?: string[];
@@ -221,7 +222,7 @@ export type DeploymentCircuitBreaker = {
221
222
  };
222
223
  /**
223
224
  * Type definition for `AWS::ECS::Service.DeploymentConfiguration`.
224
- * The ``DeploymentConfiguration`` property specifies optional deployment parameters that control how many tasks run during the deployment and the ordering of stopping and starting tasks.
225
+ * Optional deployment parameters that control how many tasks run during a deployment and the ordering of stopping and starting tasks.
225
226
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-service-deploymentconfiguration.html}
226
227
  */
227
228
  export type DeploymentConfiguration = {
@@ -236,7 +237,9 @@ export type DeploymentConfiguration = {
236
237
  DeploymentCircuitBreaker?: DeploymentCircuitBreaker;
237
238
  /**
238
239
  * If a service is using the rolling update (``ECS``) deployment type, the ``maximumPercent`` parameter represents an upper limit on the number of your service's tasks that are allowed in the ``RUNNING`` or ``PENDING`` state during a deployment, as a percentage of the ``desiredCount`` (rounded down to the nearest integer). This parameter enables you to define the deployment batch size. For example, if your service is using the ``REPLICA`` service scheduler and has a ``desiredCount`` of four tasks and a ``maximumPercent`` value of 200%, the scheduler may start four new tasks before stopping the four older tasks (provided that the cluster resources required to do this are available). The default ``maximumPercent`` value for a service using the ``REPLICA`` service scheduler is 200%.
239
- If a service is using either the blue/green (``CODE_DEPLOY``) or ``EXTERNAL`` deployment types and tasks that use the EC2 launch type, the *maximum percent* value is set to the default value and is used to define the upper limit on the number of the tasks in the service that remain in the ``RUNNING`` state while the container instances are in the ``DRAINING`` state. If the tasks in the service use the Fargate launch type, the maximum percent value is not used, although it is returned when describing your service.
240
+ If a service is using either the blue/green (``CODE_DEPLOY``) or ``EXTERNAL`` deployment types, and tasks in the service use the EC2 launch type, the *maximum percent* value is set to the default value. The *maximum percent* value is used to define the upper limit on the number of the tasks in the service that remain in the ``RUNNING`` state while the container instances are in the ``DRAINING`` state.
241
+ You can't specify a custom ``maximumPercent`` value for a service that uses either the blue/green (``CODE_DEPLOY``) or ``EXTERNAL`` deployment types and has tasks that use the EC2 launch type.
242
+ If the tasks in the service use the Fargate launch type, the maximum percent value is not used, although it is returned when describing your service.
240
243
  */
241
244
  MaximumPercent?: number;
242
245
  /**
@@ -250,7 +253,11 @@ export type DeploymentConfiguration = {
250
253
  + If a task has no essential containers with a health check defined, the service scheduler will wait for the load balancer target group health check to return a healthy status before counting the task towards the minimum healthy percent total.
251
254
  + If a task has an essential container with a health check defined, the service scheduler will wait for both the task to reach a healthy status and the load balancer target group health check to return a healthy status before counting the task towards the minimum healthy percent total.
252
255
 
253
- If a service is using either the blue/green (``CODE_DEPLOY``) or ``EXTERNAL`` deployment types and is running tasks that use the EC2 launch type, the *minimum healthy percent* value is set to the default value and is used to define the lower limit on the number of the tasks in the service that remain in the ``RUNNING`` state while the container instances are in the ``DRAINING`` state. If a service is using either the blue/green (``CODE_DEPLOY``) or ``EXTERNAL`` deployment types and is running tasks that use the Fargate launch type, the minimum healthy percent value is not used, although it is returned when describing your service.
256
+ The default value for a replica service for ``minimumHealthyPercent`` is 100%. The default ``minimumHealthyPercent`` value for a service using the ``DAEMON`` service schedule is 0% for the CLI, the AWS SDKs, and the APIs and 50% for the AWS Management Console.
257
+ The minimum number of healthy tasks during a deployment is the ``desiredCount`` multiplied by the ``minimumHealthyPercent``/100, rounded up to the nearest integer value.
258
+ If a service is using either the blue/green (``CODE_DEPLOY``) or ``EXTERNAL`` deployment types and is running tasks that use the EC2 launch type, the *minimum healthy percent* value is set to the default value. The *minimum healthy percent* value is used to define the lower limit on the number of the tasks in the service that remain in the ``RUNNING`` state while the container instances are in the ``DRAINING`` state.
259
+ You can't specify a custom ``minimumHealthyPercent`` value for a service that uses either the blue/green (``CODE_DEPLOY``) or ``EXTERNAL`` deployment types and has tasks that use the EC2 launch type.
260
+ If a service is using either the blue/green (``CODE_DEPLOY``) or ``EXTERNAL`` deployment types and is running tasks that use the Fargate launch type, the minimum healthy percent value is not used, although it is returned when describing your service.
254
261
  */
255
262
  MinimumHealthyPercent?: number;
256
263
  };
@@ -321,12 +328,12 @@ export type LoadBalancer = {
321
328
  };
322
329
  /**
323
330
  * Type definition for `AWS::ECS::Service.LogConfiguration`.
324
- * The log configuration for the container. This parameter maps to ``LogConfig`` 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 ``--log-driver`` option to [docker run](https://docs.aws.amazon.com/https://docs.docker.com/engine/reference/commandline/run/).
325
- By default, containers use the same logging driver that the Docker daemon uses. However, the container might use a different logging driver than the Docker daemon by specifying a log driver configuration in the container definition. For more information about the options for different supported log drivers, see [Configure logging drivers](https://docs.aws.amazon.com/https://docs.docker.com/engine/admin/logging/overview/) in the Docker documentation.
331
+ * The log configuration for the container. This parameter maps to ``LogConfig`` in the docker container create command and the ``--log-driver`` option to docker run.
332
+ By default, containers use the same logging driver that the Docker daemon uses. However, the container might use a different logging driver than the Docker daemon by specifying a log driver configuration in the container definition.
326
333
  Understand the following when specifying a log configuration for your containers.
327
334
  + Amazon ECS currently supports a subset of the logging drivers available to the Docker daemon. Additional log drivers may be available in future releases of the Amazon ECS container agent.
328
335
  For tasks on FARGATElong, the supported log drivers are ``awslogs``, ``splunk``, and ``awsfirelens``.
329
- For tasks hosted on Amazon EC2 instances, the supported log drivers are ``awslogs``, ``fluentd``, ``gelf``, ``json-file``, ``journald``, ``logentries``,``syslog``, ``splunk``, and ``awsfirelens``.
336
+ For tasks hosted on Amazon EC2 instances, the supported log drivers are ``awslogs``, ``fluentd``, ``gelf``, ``json-file``, ``journald``,``syslog``, ``splunk``, and ``awsfirelens``.
330
337
  + This parameter requires version 1.18 of the Docker Remote API or greater on your container instance.
331
338
  + For tasks that are hosted on Amazon EC2 instances, the Amazon ECS container agent must register the available logging drivers with the ``ECS_AVAILABLE_LOGGING_DRIVERS`` environment variable before containers placed on that instance can use these log configuration options. For more information, see [Amazon ECS container agent configuration](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-agent-config.html) in the *Amazon Elastic Container Service Developer Guide*.
332
339
  + For tasks that are on FARGATElong, because you don't have access to the underlying infrastructure your tasks are hosted on, any additional software needed must be installed outside of the task. For example, the Fluentd output aggregators or a remote host running Logstash to send Gelf logs to.
@@ -336,9 +343,9 @@ export type LogConfiguration = {
336
343
  /**
337
344
  * The log driver to use for the container.
338
345
  For tasks on FARGATElong, the supported log drivers are ``awslogs``, ``splunk``, and ``awsfirelens``.
339
- For tasks hosted on Amazon EC2 instances, the supported log drivers are ``awslogs``, ``fluentd``, ``gelf``, ``json-file``, ``journald``, ``logentries``,``syslog``, ``splunk``, and ``awsfirelens``.
340
- For more information about using the ``awslogs`` log driver, see [Using the awslogs log driver](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/using_awslogs.html) in the *Amazon Elastic Container Service Developer Guide*.
341
- For more information about using the ``awsfirelens`` log driver, see [Custom log routing](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/using_firelens.html) in the *Amazon Elastic Container Service Developer Guide*.
346
+ For tasks hosted on Amazon EC2 instances, the supported log drivers are ``awslogs``, ``fluentd``, ``gelf``, ``json-file``, ``journald``, ``syslog``, ``splunk``, and ``awsfirelens``.
347
+ For more information about using the ``awslogs`` log driver, see [Send Amazon ECS logs to CloudWatch](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/using_awslogs.html) in the *Amazon Elastic Container Service Developer Guide*.
348
+ For more information about using the ``awsfirelens`` log driver, see [Send Amazon ECS logs to an service or Partner](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/using_firelens.html).
342
349
  If you have a custom driver that isn't listed, you can fork the Amazon ECS container agent project that's [available on GitHub](https://docs.aws.amazon.com/https://github.com/aws/amazon-ecs-agent) and customize it to work with that driver. We encourage you to submit pull requests for changes that you would like to have included. However, we don't currently provide support for running modified copies of this software.
343
350
  */
344
351
  LogDriver?: string;
@@ -353,7 +360,7 @@ export type LogConfiguration = {
353
360
  };
354
361
  /**
355
362
  * Type definition for `AWS::ECS::Service.NetworkConfiguration`.
356
- * The ``NetworkConfiguration`` property specifies an object representing the network configuration for a task or service.
363
+ * The network configuration for a task or service.
357
364
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-service-networkconfiguration.html}
358
365
  */
359
366
  export type NetworkConfiguration = {
@@ -365,7 +372,8 @@ export type NetworkConfiguration = {
365
372
  };
366
373
  /**
367
374
  * Type definition for `AWS::ECS::Service.PlacementConstraint`.
368
- * The ``PlacementConstraint`` property specifies an object representing a constraint on task placement in the task definition. For more information, see [Task Placement Constraints](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-placement-constraints.html) in the *Amazon Elastic Container Service Developer Guide*.
375
+ * An object representing a constraint on task placement. For more information, see [Task placement constraints](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-placement-constraints.html) in the *Amazon Elastic Container Service Developer Guide*.
376
+ If you're using the Fargate launch type, task placement constraints aren't supported.
369
377
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-service-placementconstraint.html}
370
378
  */
371
379
  export type PlacementConstraint = {
@@ -380,12 +388,12 @@ export type PlacementConstraint = {
380
388
  };
381
389
  /**
382
390
  * Type definition for `AWS::ECS::Service.PlacementStrategy`.
383
- * The ``PlacementStrategy`` property specifies the task placement strategy for a task or service. For more information, see [Task Placement Strategies](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-placement-strategies.html) in the *Amazon Elastic Container Service Developer Guide*.
391
+ * The task placement strategy for a task or service. For more information, see [Task placement strategies](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-placement-strategies.html) in the *Amazon Elastic Container Service Developer Guide*.
384
392
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-service-placementstrategy.html}
385
393
  */
386
394
  export type PlacementStrategy = {
387
395
  /**
388
- * The field to apply the placement strategy against. For the ``spread`` placement strategy, valid values are ``instanceId`` (or ``host``, which has the same effect), or any platform or custom attribute that is applied to a container instance, such as ``attribute:ecs.availability-zone``. For the ``binpack`` placement strategy, valid values are ``CPU`` and ``MEMORY``. For the ``random`` placement strategy, this field is not used.
396
+ * The field to apply the placement strategy against. For the ``spread`` placement strategy, valid values are ``instanceId`` (or ``host``, which has the same effect), or any platform or custom attribute that's applied to a container instance, such as ``attribute:ecs.availability-zone``. For the ``binpack`` placement strategy, valid values are ``cpu`` and ``memory``. For the ``random`` placement strategy, this field is not used.
389
397
  */
390
398
  Field?: string;
391
399
  /**
@@ -446,12 +454,12 @@ export type ServiceConnectConfiguration = {
446
454
  */
447
455
  Enabled: boolean;
448
456
  /**
449
- * The log configuration for the container. This parameter maps to ``LogConfig`` 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 ``--log-driver`` option to [docker run](https://docs.aws.amazon.com/https://docs.docker.com/engine/reference/commandline/run/).
450
- By default, containers use the same logging driver that the Docker daemon uses. However, the container might use a different logging driver than the Docker daemon by specifying a log driver configuration in the container definition. For more information about the options for different supported log drivers, see [Configure logging drivers](https://docs.aws.amazon.com/https://docs.docker.com/engine/admin/logging/overview/) in the Docker documentation.
457
+ * The log configuration for the container. This parameter maps to ``LogConfig`` in the docker container create command and the ``--log-driver`` option to docker run.
458
+ By default, containers use the same logging driver that the Docker daemon uses. However, the container might use a different logging driver than the Docker daemon by specifying a log driver configuration in the container definition.
451
459
  Understand the following when specifying a log configuration for your containers.
452
460
  + Amazon ECS currently supports a subset of the logging drivers available to the Docker daemon. Additional log drivers may be available in future releases of the Amazon ECS container agent.
453
461
  For tasks on FARGATElong, the supported log drivers are ``awslogs``, ``splunk``, and ``awsfirelens``.
454
- For tasks hosted on Amazon EC2 instances, the supported log drivers are ``awslogs``, ``fluentd``, ``gelf``, ``json-file``, ``journald``, ``logentries``,``syslog``, ``splunk``, and ``awsfirelens``.
462
+ For tasks hosted on Amazon EC2 instances, the supported log drivers are ``awslogs``, ``fluentd``, ``gelf``, ``json-file``, ``journald``,``syslog``, ``splunk``, and ``awsfirelens``.
455
463
  + This parameter requires version 1.18 of the Docker Remote API or greater on your container instance.
456
464
  + For tasks that are hosted on Amazon EC2 instances, the Amazon ECS container agent must register the available logging drivers with the ``ECS_AVAILABLE_LOGGING_DRIVERS`` environment variable before containers placed on that instance can use these log configuration options. For more information, see [Amazon ECS container agent configuration](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-agent-config.html) in the *Amazon Elastic Container Service Developer Guide*.
457
465
  + For tasks that are on FARGATElong, because you don't have access to the underlying infrastructure your tasks are hosted on, any additional software needed must be installed outside of the task. For example, the Fluentd output aggregators or a remote host running Logstash to send Gelf logs to.
@@ -507,7 +515,7 @@ export type ServiceConnectService = {
507
515
  };
508
516
  /**
509
517
  * Type definition for `AWS::ECS::Service.ServiceConnectTlsCertificateAuthority`.
510
- * An object that represents the AWS Private Certificate Authority certificate.
518
+ * The certificate root authority that secures your service.
511
519
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-service-serviceconnecttlscertificateauthority.html}
512
520
  */
513
521
  export type ServiceConnectTlsCertificateAuthority = {
@@ -518,7 +526,7 @@ export type ServiceConnectTlsCertificateAuthority = {
518
526
  };
519
527
  /**
520
528
  * Type definition for `AWS::ECS::Service.ServiceConnectTlsConfiguration`.
521
- * An object that represents the configuration for Service Connect TLS.
529
+ * The key that encrypts and decrypts your resources for Service Connect TLS.
522
530
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-service-serviceconnecttlsconfiguration.html}
523
531
  */
524
532
  export type ServiceConnectTlsConfiguration = {
@@ -608,7 +616,9 @@ export type ServiceManagedEBSVolumeConfiguration = {
608
616
  };
609
617
  /**
610
618
  * Type definition for `AWS::ECS::Service.ServiceRegistry`.
611
- * The ``ServiceRegistry`` property specifies details of the service registry. For more information, see [Service Discovery](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-discovery.html) in the *Amazon Elastic Container Service Developer Guide*.
619
+ * The details for the service registry.
620
+ Each service may be associated with one service registry. Multiple service registries for each service are not supported.
621
+ When you add, update, or remove the service registries configuration, Amazon ECS starts a new deployment. New tasks are registered and deregistered to the updated service registry configuration.
612
622
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-service-serviceregistry.html}
613
623
  */
614
624
  export type ServiceRegistry = {
@@ -687,8 +697,8 @@ export type TimeoutConfiguration = {
687
697
  };
688
698
  /**
689
699
  * The ``AWS::ECS::Service`` resource creates an Amazon Elastic Container Service (Amazon ECS) service that runs and maintains the requested number of tasks and associated load balancers.
690
- The stack update fails if you change any properties that require replacement and at least one Amazon ECS Service Connect ``ServiceConnectService`` is configured. This is because AWS CloudFormation creates the replacement service first, but each ``ServiceConnectService`` must have a name that is unique in the namespace.
691
- Starting April 15, 2023, AWS; will not onboard new customers to Amazon Elastic Inference (EI), and will help current customers migrate their workloads to options that offer better price and performance. After April 15, 2023, new customers will not be able to launch instances with Amazon EI accelerators in Amazon SageMaker, ECS, or EC2. However, customers who have used Amazon EI at least once during the past 30-day period are considered current customers and will be able to continue using the service.
700
+ The stack update fails if you change any properties that require replacement and at least one ECS Service Connect ``ServiceConnectConfiguration`` property the is configured. This is because AWS CloudFormation creates the replacement service first, but each ``ServiceConnectService`` must have a name that is unique in the namespace.
701
+ Starting April 15, 2023, AWS; will not onboard new customers to Amazon Elastic Inference (EI), and will help current customers migrate their workloads to options that offer better price and performance. After April 15, 2023, new customers will not be able to launch instances with Amazon EI accelerators in Amazon SageMaker, ECS, or EC2. However, customers who have used Amazon EI at least once during the past 30-day period are considered current customers and will be able to continue using the service.
692
702
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecs-service.html}
693
703
  */
694
704
  export declare class ECSService extends $Resource<"AWS::ECS::Service", ECSServiceProperties, ECSServiceAttributes> {
@@ -1,8 +1,8 @@
1
1
  import { Resource as $Resource } from "@awboost/cfn-template-builder/template/resource";
2
2
  /**
3
3
  * The ``AWS::ECS::Service`` resource creates an Amazon Elastic Container Service (Amazon ECS) service that runs and maintains the requested number of tasks and associated load balancers.
4
- The stack update fails if you change any properties that require replacement and at least one Amazon ECS Service Connect ``ServiceConnectService`` is configured. This is because AWS CloudFormation creates the replacement service first, but each ``ServiceConnectService`` must have a name that is unique in the namespace.
5
- Starting April 15, 2023, AWS; will not onboard new customers to Amazon Elastic Inference (EI), and will help current customers migrate their workloads to options that offer better price and performance. After April 15, 2023, new customers will not be able to launch instances with Amazon EI accelerators in Amazon SageMaker, ECS, or EC2. However, customers who have used Amazon EI at least once during the past 30-day period are considered current customers and will be able to continue using the service.
4
+ The stack update fails if you change any properties that require replacement and at least one ECS Service Connect ``ServiceConnectConfiguration`` property the is configured. This is because AWS CloudFormation creates the replacement service first, but each ``ServiceConnectService`` must have a name that is unique in the namespace.
5
+ Starting April 15, 2023, AWS; will not onboard new customers to Amazon Elastic Inference (EI), and will help current customers migrate their workloads to options that offer better price and performance. After April 15, 2023, new customers will not be able to launch instances with Amazon EI accelerators in Amazon SageMaker, ECS, or EC2. However, customers who have used Amazon EI at least once during the past 30-day period are considered current customers and will be able to continue using the service.
6
6
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecs-service.html}
7
7
  */
8
8
  export class ECSService extends $Resource {
@@ -162,11 +162,11 @@ export type AuthorizationConfig = {
162
162
  */
163
163
  export type ContainerDefinition = {
164
164
  /**
165
- * The command that's passed to the container. This parameter maps to ``Cmd`` in the docker conainer create command and the ``COMMAND`` parameter to docker run. If there are multiple arguments, each argument is a separated string in the array.
165
+ * The command that's passed to the container. This parameter maps to ``Cmd`` in the docker container create command and the ``COMMAND`` parameter to docker run. If there are multiple arguments, each argument is a separated string in the array.
166
166
  */
167
167
  Command?: string[];
168
168
  /**
169
- * The number of ``cpu`` units reserved for the container. This parameter maps to ``CpuShares`` in the docker conainer create commandand the ``--cpu-shares`` option to docker run.
169
+ * The number of ``cpu`` units reserved for the container. This parameter maps to ``CpuShares`` in the docker container create commandand the ``--cpu-shares`` option to docker run.
170
170
  This field is optional for tasks using the Fargate launch type, and the only requirement is that the total amount of CPU reserved for all containers within a task be lower than the task-level ``cpu`` value.
171
171
  You can determine the number of CPU units that are available per EC2 instance type by multiplying the vCPUs listed for that instance type on the [Amazon EC2 Instances](https://docs.aws.amazon.com/ec2/instance-types/) detail page by 1,024.
172
172
  Linux containers share unallocated CPU units with other containers on the container instance with the same ratio as their allocated amount. For example, if you run a single-container task on a single-core instance type with 512 CPU units specified for that container, and that's the only task running on the container instance, that container could use the full 1,024 CPU unit share at any given time. However, if you launched another copy of the same task on that container instance, each task is guaranteed a minimum of 512 CPU units when needed. Moreover, each container could float to higher CPU usage if the other container was not using it. If both tasks were 100% active all of the time, they would be limited to 512 CPU units.
@@ -197,40 +197,40 @@ export type ContainerDefinition = {
197
197
  */
198
198
  DependsOn?: ContainerDependency[];
199
199
  /**
200
- * When this parameter is true, networking is off within the container. This parameter maps to ``NetworkDisabled`` in the docker conainer create command.
200
+ * When this parameter is true, networking is off within the container. This parameter maps to ``NetworkDisabled`` in the docker container create command.
201
201
  This parameter is not supported for Windows containers.
202
202
  */
203
203
  DisableNetworking?: boolean;
204
204
  /**
205
- * A list of DNS search domains that are presented to the container. This parameter maps to ``DnsSearch`` in the docker conainer create command and the ``--dns-search`` option to docker run.
205
+ * A list of DNS search domains that are presented to the container. This parameter maps to ``DnsSearch`` in the docker container create command and the ``--dns-search`` option to docker run.
206
206
  This parameter is not supported for Windows containers.
207
207
  */
208
208
  DnsSearchDomains?: string[];
209
209
  /**
210
- * A list of DNS servers that are presented to the container. This parameter maps to ``Dns`` in the the docker conainer create command and the ``--dns`` option to docker run.
210
+ * A list of DNS servers that are presented to the container. This parameter maps to ``Dns`` in the docker container create command and the ``--dns`` option to docker run.
211
211
  This parameter is not supported for Windows containers.
212
212
  */
213
213
  DnsServers?: string[];
214
214
  /**
215
- * A key/value map of labels to add to the container. This parameter maps to ``Labels`` in the docker conainer create command and the ``--label`` option to docker run. 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}}'``
215
+ * A key/value map of labels to add to the container. This parameter maps to ``Labels`` in the docker container create command and the ``--label`` option to docker run. 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}}'``
216
216
  */
217
217
  DockerLabels?: Record<string, string>;
218
218
  /**
219
219
  * A list of strings to provide custom configuration for multiple security systems. This field isn't valid for containers in tasks using the Fargate launch type.
220
220
  For Linux tasks on EC2, this parameter can be used to reference custom labels for SELinux and AppArmor multi-level security systems.
221
221
  For any tasks on EC2, this parameter can be used to reference a credential spec file that configures a container for Active Directory authentication. For more information, see [Using gMSAs for Windows Containers](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/windows-gmsa.html) and [Using gMSAs for Linux Containers](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/linux-gmsa.html) in the *Amazon Elastic Container Service Developer Guide*.
222
- This parameter maps to ``SecurityOpt`` in the docker conainer create command and the ``--security-opt`` option to docker run.
222
+ This parameter maps to ``SecurityOpt`` in the docker container create command and the ``--security-opt`` option to docker run.
223
223
  The Amazon ECS container agent running on a container instance must register with the ``ECS_SELINUX_CAPABLE=true`` or ``ECS_APPARMOR_CAPABLE=true`` environment variables before containers placed on that instance can use these security options. For more information, see [Amazon ECS Container Agent Configuration](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-agent-config.html) in the *Amazon Elastic Container Service Developer Guide*.
224
224
  Valid values: "no-new-privileges" | "apparmor:PROFILE" | "label:value" | "credentialspec:CredentialSpecFilePath"
225
225
  */
226
226
  DockerSecurityOptions?: string[];
227
227
  /**
228
228
  * Early versions of the Amazon ECS container agent don't properly handle ``entryPoint`` parameters. If you have problems using ``entryPoint``, update your container agent or enter your commands and arguments as ``command`` array items instead.
229
- The entry point that's passed to the container. This parameter maps to ``Entrypoint`` in tthe docker conainer create command and the ``--entrypoint`` option to docker run.
229
+ The entry point that's passed to the container. This parameter maps to ``Entrypoint`` in tthe docker container create command and the ``--entrypoint`` option to docker run.
230
230
  */
231
231
  EntryPoint?: string[];
232
232
  /**
233
- * The environment variables to pass to a container. This parameter maps to ``Env`` in the docker conainer create command and the ``--env`` option to docker run.
233
+ * The environment variables to pass to a container. This parameter maps to ``Env`` in the docker container create command and the ``--env`` option to docker run.
234
234
  We don't recommend that you use plaintext environment variables for sensitive information, such as credential data.
235
235
  */
236
236
  Environment?: KeyValuePair[];
@@ -246,7 +246,7 @@ export type ContainerDefinition = {
246
246
  */
247
247
  Essential?: boolean;
248
248
  /**
249
- * A list of hostnames and IP address mappings to append to the ``/etc/hosts`` file on the container. This parameter maps to ``ExtraHosts`` in the docker conainer create command and the ``--add-host`` option to docker run.
249
+ * A list of hostnames and IP address mappings to append to the ``/etc/hosts`` file on the container. This parameter maps to ``ExtraHosts`` in the docker container create command and the ``--add-host`` option to docker run.
250
250
  This parameter isn't supported for Windows containers or tasks that use the ``awsvpc`` network mode.
251
251
  */
252
252
  ExtraHosts?: HostEntry[];
@@ -255,16 +255,16 @@ export type ContainerDefinition = {
255
255
  */
256
256
  FirelensConfiguration?: FirelensConfiguration;
257
257
  /**
258
- * The container health check command and associated configuration parameters for the container. This parameter maps to ``HealthCheck`` in the docker conainer create command and the ``HEALTHCHECK`` parameter of docker run.
258
+ * The container health check command and associated configuration parameters for the container. This parameter maps to ``HealthCheck`` in the docker container create command and the ``HEALTHCHECK`` parameter of docker run.
259
259
  */
260
260
  HealthCheck?: HealthCheck;
261
261
  /**
262
- * The hostname to use for your container. This parameter maps to ``Hostname`` in thethe docker conainer create command and the ``--hostname`` option to docker run.
262
+ * The hostname to use for your container. This parameter maps to ``Hostname`` in thethe docker container create command and the ``--hostname`` option to docker run.
263
263
  The ``hostname`` parameter is not supported if you're using the ``awsvpc`` network mode.
264
264
  */
265
265
  Hostname?: string;
266
266
  /**
267
- * The image used to start a container. This string is passed directly to the Docker daemon. By default, images in the Docker Hub registry are available. Other repositories are specified with either ``repository-url/image:tag`` or ``repository-url/image@digest``. Up to 255 letters (uppercase and lowercase), numbers, hyphens, underscores, colons, periods, forward slashes, and number signs are allowed. This parameter maps to ``Image`` in the docker conainer create command and the ``IMAGE`` parameter of docker run.
267
+ * The image used to start a container. This string is passed directly to the Docker daemon. By default, images in the Docker Hub registry are available. Other repositories are specified with either ``repository-url/image:tag`` or ``repository-url/image@digest``. Up to 255 letters (uppercase and lowercase), numbers, hyphens, underscores, colons, periods, forward slashes, and number signs are allowed. This parameter maps to ``Image`` in the docker container create command and the ``IMAGE`` parameter of docker run.
268
268
  + When a new task starts, the Amazon ECS container agent pulls the latest version of the specified image and tag for the container to use. However, subsequent updates to a repository image aren't propagated to already running tasks.
269
269
  + Images in Amazon ECR repositories can be specified by either using the full ``registry/repository:tag`` or ``registry/repository@digest``. For example, ``012345678910.dkr.ecr.<region-name>.amazonaws.com/<repository-name>:latest`` or ``012345678910.dkr.ecr.<region-name>.amazonaws.com/<repository-name>@sha256:94afd1f2e64d908bc90dbca0035a5b567EXAMPLE``.
270
270
  + Images in official repositories on Docker Hub use a single name (for example, ``ubuntu`` or ``mongo``).
@@ -273,11 +273,11 @@ export type ContainerDefinition = {
273
273
  */
274
274
  Image: string;
275
275
  /**
276
- * When this parameter is ``true``, you can deploy containerized applications that require ``stdin`` or a ``tty`` to be allocated. This parameter maps to ``OpenStdin`` in the docker conainer create command and the ``--interactive`` option to docker run.
276
+ * When this parameter is ``true``, you can deploy containerized applications that require ``stdin`` or a ``tty`` to be allocated. This parameter maps to ``OpenStdin`` in the docker container create command and the ``--interactive`` option to docker run.
277
277
  */
278
278
  Interactive?: boolean;
279
279
  /**
280
- * The ``links`` parameter allows containers to communicate with each other without the need for port mappings. This parameter is only supported if the network mode of a task definition is ``bridge``. The ``name:internalName`` construct is analogous to ``name:alias`` in Docker links. Up to 255 letters (uppercase and lowercase), numbers, underscores, and hyphens are allowed.. This parameter maps to ``Links`` in the docker conainer create command and the ``--link`` option to docker run.
280
+ * The ``links`` parameter allows containers to communicate with each other without the need for port mappings. This parameter is only supported if the network mode of a task definition is ``bridge``. The ``name:internalName`` construct is analogous to ``name:alias`` in Docker links. Up to 255 letters (uppercase and lowercase), numbers, underscores, and hyphens are allowed.. This parameter maps to ``Links`` in the docker container create command and the ``--link`` option to docker run.
281
281
  This parameter is not supported for Windows containers.
282
282
  Containers that are collocated on a single container instance may be able to communicate with each other without requiring links or host port mappings. Network isolation is achieved on the container instance using security groups and VPC settings.
283
283
  */
@@ -304,7 +304,7 @@ export type ContainerDefinition = {
304
304
  */
305
305
  Memory?: number;
306
306
  /**
307
- * The soft limit (in MiB) of memory to reserve for the container. When system memory is under heavy contention, Docker attempts to keep the container memory to this soft limit. However, your container can consume more memory when it needs to, up to either the hard limit specified with the ``memory`` parameter (if applicable), or all of the available memory on the container instance, whichever comes first. This parameter maps to ``MemoryReservation`` in the the docker conainer create command and the ``--memory-reservation`` option to docker run.
307
+ * The soft limit (in MiB) of memory to reserve for the container. When system memory is under heavy contention, Docker attempts to keep the container memory to this soft limit. However, your container can consume more memory when it needs to, up to either the hard limit specified with the ``memory`` parameter (if applicable), or all of the available memory on the container instance, whichever comes first. This parameter maps to ``MemoryReservation`` in the docker container create command and the ``--memory-reservation`` option to docker run.
308
308
  If a task-level memory value is not specified, you must specify a non-zero integer for one or both of ``memory`` or ``memoryReservation`` in a container definition. If you specify both, ``memory`` must be greater than ``memoryReservation``. If you specify ``memoryReservation``, then that value is subtracted from the available memory resources for the container instance where the container is placed. Otherwise, the value of ``memory`` is used.
309
309
  For example, if your container normally uses 128 MiB of memory, but occasionally bursts to 256 MiB of memory for short periods of time, you can set a ``memoryReservation`` of 128 MiB, and a ``memory`` hard limit of 300 MiB. This configuration would allow the container to only reserve 128 MiB of memory from the remaining resources on the container instance, but also allow the container to consume more memory resources when needed.
310
310
  The Docker 20.10.0 or later daemon reserves a minimum of 6 MiB of memory for a container. So, don't specify less than 6 MiB of memory for your containers.
@@ -313,12 +313,12 @@ export type ContainerDefinition = {
313
313
  MemoryReservation?: number;
314
314
  /**
315
315
  * The mount points for data volumes in your container.
316
- This parameter maps to ``Volumes`` in the the docker conainer create command and the ``--volume`` option to docker run.
316
+ This parameter maps to ``Volumes`` in the docker container create command and the ``--volume`` option to docker run.
317
317
  Windows containers can mount whole directories on the same drive as ``$env:ProgramData``. Windows containers can't mount directories on a different drive, and mount point can't be across drives.
318
318
  */
319
319
  MountPoints?: MountPoint[];
320
320
  /**
321
- * The name of a container. If you're linking multiple containers together in a task definition, the ``name`` of one container can be entered in the ``links`` of another container to connect the containers. Up to 255 letters (uppercase and lowercase), numbers, underscores, and hyphens are allowed. This parameter maps to ``name`` in tthe docker conainer create command and the ``--name`` option to docker run.
321
+ * The name of a container. If you're linking multiple containers together in a task definition, the ``name`` of one container can be entered in the ``links`` of another container to connect the containers. Up to 255 letters (uppercase and lowercase), numbers, underscores, and hyphens are allowed. This parameter maps to ``name`` in tthe docker container create command and the ``--name`` option to docker run.
322
322
  */
323
323
  Name: string;
324
324
  /**
@@ -330,16 +330,16 @@ export type ContainerDefinition = {
330
330
  */
331
331
  PortMappings?: PortMapping[];
332
332
  /**
333
- * When this parameter is true, the container is given elevated privileges on the host container instance (similar to the ``root`` user). This parameter maps to ``Privileged`` in the the docker conainer create command and the ``--privileged`` option to docker run
333
+ * When this parameter is true, the container is given elevated privileges on the host container instance (similar to the ``root`` user). This parameter maps to ``Privileged`` in the docker container create command and the ``--privileged`` option to docker run
334
334
  This parameter is not supported for Windows containers or tasks run on FARGATElong.
335
335
  */
336
336
  Privileged?: boolean;
337
337
  /**
338
- * When this parameter is ``true``, a TTY is allocated. This parameter maps to ``Tty`` in tthe docker conainer create command and the ``--tty`` option to docker run.
338
+ * When this parameter is ``true``, a TTY is allocated. This parameter maps to ``Tty`` in tthe docker container create command and the ``--tty`` option to docker run.
339
339
  */
340
340
  PseudoTerminal?: boolean;
341
341
  /**
342
- * When this parameter is true, the container is given read-only access to its root file system. This parameter maps to ``ReadonlyRootfs`` in the docker conainer create command and the ``--read-only`` option to docker run.
342
+ * When this parameter is true, the container is given read-only access to its root file system. This parameter maps to ``ReadonlyRootfs`` in the docker container create command and the ``--read-only`` option to docker run.
343
343
  This parameter is not supported for Windows containers.
344
344
  */
345
345
  ReadonlyRootFilesystem?: boolean;
@@ -351,6 +351,9 @@ export type ContainerDefinition = {
351
351
  * The type and amount of a resource to assign to a container. The only supported resource is a GPU.
352
352
  */
353
353
  ResourceRequirements?: ResourceRequirement[];
354
+ /**
355
+ * The restart policy for a container. When you set up a restart policy, Amazon ECS can restart the container without needing to replace the task. For more information, see [Restart individual containers in Amazon ECS tasks with container restart policies](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/container-restart-policy.html) in the *Amazon Elastic Container Service Developer Guide*.
356
+ */
354
357
  RestartPolicy?: RestartPolicy;
355
358
  /**
356
359
  * The secrets to pass to the container. For more information, see [Specifying Sensitive Data](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/specifying-sensitive-data.html) in the *Amazon Elastic Container Service Developer Guide*.
@@ -379,7 +382,7 @@ export type ContainerDefinition = {
379
382
  */
380
383
  StopTimeout?: number;
381
384
  /**
382
- * A list of namespaced kernel parameters to set in the container. This parameter maps to ``Sysctls`` in tthe docker conainer 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.
385
+ * A list of namespaced kernel parameters to set in the container. This parameter maps to ``Sysctls`` in tthe 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.
383
386
  */
384
387
  SystemControls?: SystemControl[];
385
388
  /**
@@ -388,7 +391,7 @@ export type ContainerDefinition = {
388
391
  */
389
392
  Ulimits?: Ulimit[];
390
393
  /**
391
- * The user to use inside the container. This parameter maps to ``User`` in the docker conainer create command and the ``--user`` option to docker run.
394
+ * 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.
392
395
  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.
393
396
  You can specify the ``user`` using the following formats. If specifying a UID or GID, you must specify it as a positive integer.
394
397
  + ``user``
@@ -402,11 +405,11 @@ export type ContainerDefinition = {
402
405
  */
403
406
  User?: string;
404
407
  /**
405
- * Data volumes to mount from another container. This parameter maps to ``VolumesFrom`` in tthe docker conainer create command and the ``--volumes-from`` option to docker run.
408
+ * Data volumes to mount from another container. This parameter maps to ``VolumesFrom`` in tthe docker container create command and the ``--volumes-from`` option to docker run.
406
409
  */
407
410
  VolumesFrom?: VolumeFrom[];
408
411
  /**
409
- * The working directory to run commands inside the container in. This parameter maps to ``WorkingDir`` in the docker conainer create command and the ``--workdir`` option to docker run.
412
+ * 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.
410
413
  */
411
414
  WorkingDirectory?: string;
412
415
  };
@@ -462,7 +465,7 @@ export type DockerVolumeConfiguration = {
462
465
  */
463
466
  Autoprovision?: boolean;
464
467
  /**
465
- * The Docker volume driver to use. The driver value must match the driver name provided by Docker because it is used for task placement. If the driver was installed using the Docker plugin CLI, use ``docker plugin ls`` to retrieve the driver name from your container instance. If the driver was installed using another method, use Docker plugin discovery to retrieve the driver name. This parameter maps to ``Driver`` in the docker conainer create command and the ``xxdriver`` option to docker volume create.
468
+ * The Docker volume driver to use. The driver value must match the driver name provided by Docker because it is used for task placement. If the driver was installed using the Docker plugin CLI, use ``docker plugin ls`` to retrieve the driver name from your container instance. If the driver was installed using another method, use Docker plugin discovery to retrieve the driver name. This parameter maps to ``Driver`` in the docker container create command and the ``xxdriver`` option to docker volume create.
466
469
  */
467
470
  Driver?: string;
468
471
  /**
@@ -470,7 +473,7 @@ export type DockerVolumeConfiguration = {
470
473
  */
471
474
  DriverOpts?: Record<string, string>;
472
475
  /**
473
- * Custom metadata to add to your Docker volume. This parameter maps to ``Labels`` in the docker conainer create command and the ``xxlabel`` option to docker volume create.
476
+ * Custom metadata to add to your Docker volume. This parameter maps to ``Labels`` in the docker container create command and the ``xxlabel`` option to docker volume create.
474
477
  */
475
478
  Labels?: Record<string, string>;
476
479
  /**
@@ -566,10 +569,18 @@ export type FirelensConfiguration = {
566
569
  };
567
570
  /**
568
571
  * Type definition for `AWS::ECS::TaskDefinition.FSxAuthorizationConfig`.
572
+ * The authorization configuration details for Amazon FSx for Windows File Server file system. See [FSxWindowsFileServerVolumeConfiguration](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_FSxWindowsFileServerVolumeConfiguration.html) in the *Amazon ECS API Reference*.
573
+ For more information and the input format, see [Amazon FSx for Windows File Server Volumes](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/wfsx-volumes.html) in the *Amazon Elastic Container Service Developer Guide*.
569
574
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-fsxauthorizationconfig.html}
570
575
  */
571
576
  export type FSxAuthorizationConfig = {
577
+ /**
578
+ * The authorization credential option to use. The authorization credential options can be provided using either the Amazon Resource Name (ARN) of an ASMlong secret or SSM Parameter Store parameter. The ARN refers to the stored credentials.
579
+ */
572
580
  CredentialsParameter: string;
581
+ /**
582
+ * A fully qualified domain name hosted by an [](https://docs.aws.amazon.com/directoryservice/latest/admin-guide/directory_microsoft_ad.html) Managed Microsoft AD (Active Directory) or self-hosted AD on Amazon EC2.
583
+ */
573
584
  Domain: string;
574
585
  };
575
586
  /**
@@ -610,7 +621,7 @@ export type HealthCheck = {
610
621
  ``[ "CMD-SHELL", "curl -f http://localhost/ || exit 1" ]``
611
622
  You don't include the double quotes and brackets when you use the AWS Management Console.
612
623
  ``CMD-SHELL, curl -f http://localhost/ || exit 1``
613
- An exit code of 0 indicates success, and non-zero exit code indicates failure. For more information, see ``HealthCheck`` in tthe docker conainer create command
624
+ An exit code of 0 indicates success, and non-zero exit code indicates failure. For more information, see ``HealthCheck`` in tthe docker container create command
614
625
  */
615
626
  Command?: string[];
616
627
  /**
@@ -680,13 +691,13 @@ export type InferenceAccelerator = {
680
691
  */
681
692
  export type KernelCapabilities = {
682
693
  /**
683
- * The Linux capabilities for the container that have been added to the default configuration provided by Docker. This parameter maps to ``CapAdd`` in the docker conainer create command and the ``--cap-add`` option to docker run.
694
+ * The Linux capabilities for the container that have been added to the default configuration provided by Docker. This parameter maps to ``CapAdd`` in the docker container create command and the ``--cap-add`` option to docker run.
684
695
  Tasks launched on FARGATElong only support adding the ``SYS_PTRACE`` kernel capability.
685
696
  Valid values: ``"ALL" | "AUDIT_CONTROL" | "AUDIT_WRITE" | "BLOCK_SUSPEND" | "CHOWN" | "DAC_OVERRIDE" | "DAC_READ_SEARCH" | "FOWNER" | "FSETID" | "IPC_LOCK" | "IPC_OWNER" | "KILL" | "LEASE" | "LINUX_IMMUTABLE" | "MAC_ADMIN" | "MAC_OVERRIDE" | "MKNOD" | "NET_ADMIN" | "NET_BIND_SERVICE" | "NET_BROADCAST" | "NET_RAW" | "SETFCAP" | "SETGID" | "SETPCAP" | "SETUID" | "SYS_ADMIN" | "SYS_BOOT" | "SYS_CHROOT" | "SYS_MODULE" | "SYS_NICE" | "SYS_PACCT" | "SYS_PTRACE" | "SYS_RAWIO" | "SYS_RESOURCE" | "SYS_TIME" | "SYS_TTY_CONFIG" | "SYSLOG" | "WAKE_ALARM"``
686
697
  */
687
698
  Add?: string[];
688
699
  /**
689
- * The Linux capabilities for the container that have been removed from the default configuration provided by Docker. This parameter maps to ``CapDrop`` in the docker conainer create command and the ``--cap-drop`` option to docker run.
700
+ * The Linux capabilities for the container that have been removed from the default configuration provided by Docker. This parameter maps to ``CapDrop`` in the docker container create command and the ``--cap-drop`` option to docker run.
690
701
  Valid values: ``"ALL" | "AUDIT_CONTROL" | "AUDIT_WRITE" | "BLOCK_SUSPEND" | "CHOWN" | "DAC_OVERRIDE" | "DAC_READ_SEARCH" | "FOWNER" | "FSETID" | "IPC_LOCK" | "IPC_OWNER" | "KILL" | "LEASE" | "LINUX_IMMUTABLE" | "MAC_ADMIN" | "MAC_OVERRIDE" | "MKNOD" | "NET_ADMIN" | "NET_BIND_SERVICE" | "NET_BROADCAST" | "NET_RAW" | "SETFCAP" | "SETGID" | "SETPCAP" | "SETUID" | "SYS_ADMIN" | "SYS_BOOT" | "SYS_CHROOT" | "SYS_MODULE" | "SYS_NICE" | "SYS_PACCT" | "SYS_PTRACE" | "SYS_RAWIO" | "SYS_RESOURCE" | "SYS_TIME" | "SYS_TTY_CONFIG" | "SYSLOG" | "WAKE_ALARM"``
691
702
  */
692
703
  Drop?: string[];
@@ -718,7 +729,7 @@ export type LinuxParameters = {
718
729
  */
719
730
  Capabilities?: KernelCapabilities;
720
731
  /**
721
- * Any host devices to expose to the container. This parameter maps to ``Devices`` in tthe docker conainer create command and the ``--device`` option to docker run.
732
+ * Any host devices to expose to the container. This parameter maps to ``Devices`` in tthe docker container create command and the ``--device`` option to docker run.
722
733
  If you're using tasks that use the Fargate launch type, the ``devices`` parameter isn't supported.
723
734
  */
724
735
  Devices?: Device[];
@@ -917,11 +928,21 @@ export type ResourceRequirement = {
917
928
  };
918
929
  /**
919
930
  * Type definition for `AWS::ECS::TaskDefinition.RestartPolicy`.
931
+ * You can enable a restart policy for each container defined in your task definition, to overcome transient failures faster and maintain task availability. When you enable a restart policy for a container, Amazon ECS can restart the container if it exits, without needing to replace the task. For more information, see [Restart individual containers in Amazon ECS tasks with container restart policies](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/container-restart-policy.html) in the *Amazon Elastic Container Service Developer Guide*.
920
932
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-restartpolicy.html}
921
933
  */
922
934
  export type RestartPolicy = {
935
+ /**
936
+ * Specifies whether a restart policy is enabled for the container.
937
+ */
923
938
  Enabled?: boolean;
939
+ /**
940
+ * A list of exit codes that Amazon ECS will ignore and not attempt a restart on. You can specify a maximum of 50 container exit codes. By default, Amazon ECS does not ignore any exit codes.
941
+ */
924
942
  IgnoredExitCodes?: number[];
943
+ /**
944
+ * A period of time (in seconds) that the container must run for before a restart can be attempted. A container can be restarted only once every ``restartAttemptPeriod`` seconds. If a container isn't able to run for this time period and exits early, it will not be restarted. You can set a minimum ``restartAttemptPeriod`` of 60 seconds and a maximum ``restartAttemptPeriod`` of 1800 seconds. By default, a container must run for 300 seconds before it can be restarted.
945
+ */
925
946
  RestartAttemptPeriod?: number;
926
947
  };
927
948
  /**
@@ -964,7 +985,7 @@ export type Secret = {
964
985
  };
965
986
  /**
966
987
  * Type definition for `AWS::ECS::TaskDefinition.SystemControl`.
967
- * A list of namespaced kernel parameters to set in the container. This parameter maps to ``Sysctls`` in tthe docker conainer 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.
988
+ * A list of namespaced kernel parameters to set in the container. This parameter maps to ``Sysctls`` in tthe 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.
968
989
  We don't recommend that you specify network-related ``systemControls`` parameters for multiple containers in a single task that also uses either the ``awsvpc`` or ``host`` network mode. Doing this has the following disadvantages:
969
990
  + For tasks that use the ``awsvpc`` network mode including Fargate, if you set ``systemControls`` for any container, it applies to all containers in the task. If you set different ``systemControls`` for multiple containers in a single task, the container that's started last determines which ``systemControls`` take effect.
970
991
  + For tasks that use the ``host`` network mode, the network namespace ``systemControls`` aren't supported.
@@ -20,6 +20,7 @@ export type ElasticLoadBalancingV2ListenerProperties = {
20
20
  To create additional rules for an Application Load Balancer, use [AWS::ElasticLoadBalancingV2::ListenerRule](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticloadbalancingv2-listenerrule.html).
21
21
  */
22
22
  DefaultActions: Action[];
23
+ ListenerAttributes?: ListenerAttribute[];
23
24
  /**
24
25
  * The Amazon Resource Name (ARN) of the load balancer.
25
26
  */
@@ -237,6 +238,14 @@ export type ForwardConfig = {
237
238
  */
238
239
  TargetGroups?: TargetGroupTuple[];
239
240
  };
241
+ /**
242
+ * Type definition for `AWS::ElasticLoadBalancingV2::Listener.ListenerAttribute`.
243
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticloadbalancingv2-listener-listenerattribute.html}
244
+ */
245
+ export type ListenerAttribute = {
246
+ Key?: string;
247
+ Value?: string;
248
+ };
240
249
  /**
241
250
  * Type definition for `AWS::ElasticLoadBalancingV2::Listener.MutualAuthentication`.
242
251
  * Specifies the configuration information for mutual authentication.
@@ -22,12 +22,12 @@ export type IoTFleetWiseDecoderManifestProperties = {
22
22
  * @minLength `1`
23
23
  * @maxLength `500`
24
24
  */
25
- NetworkInterfaces?: (CanNetworkInterface | ObdNetworkInterface | unknown)[];
25
+ NetworkInterfaces?: (CanNetworkInterface | ObdNetworkInterface)[];
26
26
  /**
27
27
  * @minLength `1`
28
28
  * @maxLength `500`
29
29
  */
30
- SignalDecoders?: (CanSignalDecoder | ObdSignalDecoder | unknown)[];
30
+ SignalDecoders?: (CanSignalDecoder | ObdSignalDecoder)[];
31
31
  Status?: ManifestStatus;
32
32
  /**
33
33
  * @minLength `0`