@awboost/cfn-resource-types 0.1.139 → 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.
@@ -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 {
@@ -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`
@@ -19,6 +19,11 @@ export type PipesPipeProperties = {
19
19
  */
20
20
  Enrichment?: string;
21
21
  EnrichmentParameters?: PipeEnrichmentParameters;
22
+ /**
23
+ * @minLength `0`
24
+ * @maxLength `2048`
25
+ */
26
+ KmsKeyIdentifier?: string;
22
27
  LogConfiguration?: PipeLogConfiguration;
23
28
  /**
24
29
  * @minLength `1`
@@ -104,6 +104,13 @@ export type SageMakerDomainAttributes = {
104
104
  */
105
105
  Url: string;
106
106
  };
107
+ /**
108
+ * Type definition for `AWS::SageMaker::Domain.AppLifecycleManagement`.
109
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-domain-applifecyclemanagement.html}
110
+ */
111
+ export type AppLifecycleManagement = {
112
+ IdleSettings?: IdleSettings;
113
+ };
107
114
  /**
108
115
  * Type definition for `AWS::SageMaker::Domain.AppType`.
109
116
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-domain-apptype.html}
@@ -115,6 +122,7 @@ export type AppType = "JupyterServer" | "TensorBoard" | "RStudioServerPro" | "Ju
115
122
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-domain-codeeditorappsettings.html}
116
123
  */
117
124
  export type CodeEditorAppSettings = {
125
+ AppLifecycleManagement?: AppLifecycleManagement;
118
126
  /**
119
127
  * A list of custom images for use for CodeEditor apps.
120
128
  * @minLength `0`
@@ -322,12 +330,41 @@ export type EFSFileSystemConfig = {
322
330
  */
323
331
  FileSystemPath?: string;
324
332
  };
333
+ /**
334
+ * Type definition for `AWS::SageMaker::Domain.IdleSettings`.
335
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-domain-idlesettings.html}
336
+ */
337
+ export type IdleSettings = {
338
+ /**
339
+ * The idle timeout value set in minutes
340
+ * @min `60`
341
+ * @max `525600`
342
+ */
343
+ IdleTimeoutInMinutes?: number;
344
+ /**
345
+ * A flag to enable/disable AppLifecycleManagement settings
346
+ */
347
+ LifecycleManagement?: LifecycleManagement;
348
+ /**
349
+ * The maximum idle timeout value set in minutes
350
+ * @min `60`
351
+ * @max `525600`
352
+ */
353
+ MaxIdleTimeoutInMinutes?: number;
354
+ /**
355
+ * The minimum idle timeout value set in minutes
356
+ * @min `60`
357
+ * @max `525600`
358
+ */
359
+ MinIdleTimeoutInMinutes?: number;
360
+ };
325
361
  /**
326
362
  * Type definition for `AWS::SageMaker::Domain.JupyterLabAppSettings`.
327
363
  * The JupyterLab app settings.
328
364
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-domain-jupyterlabappsettings.html}
329
365
  */
330
366
  export type JupyterLabAppSettings = {
367
+ AppLifecycleManagement?: AppLifecycleManagement;
331
368
  /**
332
369
  * A list of CodeRepositories available for use with JupyterLab apps.
333
370
  * @minLength `0`
@@ -388,6 +425,12 @@ export type KernelGatewayAppSettings = {
388
425
  */
389
426
  LifecycleConfigArns?: string[];
390
427
  };
428
+ /**
429
+ * Type definition for `AWS::SageMaker::Domain.LifecycleManagement`.
430
+ * A flag to enable/disable AppLifecycleManagement settings
431
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-domain-lifecyclemanagement.html}
432
+ */
433
+ export type LifecycleManagement = "ENABLED" | "DISABLED";
391
434
  /**
392
435
  * Type definition for `AWS::SageMaker::Domain.MlTools`.
393
436
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-domain-mltools.html}
@@ -200,20 +200,41 @@ export type ResourceSpec = {
200
200
  */
201
201
  SageMakerImageVersionArn?: string;
202
202
  };
203
+ /**
204
+ * Type definition for `AWS::SageMaker::Space.SpaceAppLifecycleManagement`.
205
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-space-spaceapplifecyclemanagement.html}
206
+ */
207
+ export type SpaceAppLifecycleManagement = {
208
+ IdleSettings?: SpaceIdleSettings;
209
+ };
203
210
  /**
204
211
  * Type definition for `AWS::SageMaker::Space.SpaceCodeEditorAppSettings`.
205
212
  * The CodeEditor app settings.
206
213
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-space-spacecodeeditorappsettings.html}
207
214
  */
208
215
  export type SpaceCodeEditorAppSettings = {
216
+ AppLifecycleManagement?: SpaceAppLifecycleManagement;
209
217
  DefaultResourceSpec?: ResourceSpec;
210
218
  };
219
+ /**
220
+ * Type definition for `AWS::SageMaker::Space.SpaceIdleSettings`.
221
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-space-spaceidlesettings.html}
222
+ */
223
+ export type SpaceIdleSettings = {
224
+ /**
225
+ * The space idle timeout value set in minutes
226
+ * @min `60`
227
+ * @max `525600`
228
+ */
229
+ IdleTimeoutInMinutes?: number;
230
+ };
211
231
  /**
212
232
  * Type definition for `AWS::SageMaker::Space.SpaceJupyterLabAppSettings`.
213
233
  * The JupyterServer app settings.
214
234
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-space-spacejupyterlabappsettings.html}
215
235
  */
216
236
  export type SpaceJupyterLabAppSettings = {
237
+ AppLifecycleManagement?: SpaceAppLifecycleManagement;
217
238
  /**
218
239
  * A list of CodeRepositories available for use with JupyterLab apps.
219
240
  * @minLength `0`
@@ -51,6 +51,13 @@ export type SageMakerUserProfileAttributes = {
51
51
  */
52
52
  UserProfileArn: string;
53
53
  };
54
+ /**
55
+ * Type definition for `AWS::SageMaker::UserProfile.AppLifecycleManagement`.
56
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-userprofile-applifecyclemanagement.html}
57
+ */
58
+ export type AppLifecycleManagement = {
59
+ IdleSettings?: IdleSettings;
60
+ };
54
61
  /**
55
62
  * Type definition for `AWS::SageMaker::UserProfile.AppType`.
56
63
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-userprofile-apptype.html}
@@ -62,6 +69,7 @@ export type AppType = "JupyterServer" | "TensorBoard" | "RStudioServerPro" | "Ju
62
69
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-userprofile-codeeditorappsettings.html}
63
70
  */
64
71
  export type CodeEditorAppSettings = {
72
+ AppLifecycleManagement?: AppLifecycleManagement;
65
73
  /**
66
74
  * A list of custom images for use for CodeEditor apps.
67
75
  * @minLength `0`
@@ -186,12 +194,41 @@ export type EFSFileSystemConfig = {
186
194
  */
187
195
  FileSystemPath?: string;
188
196
  };
197
+ /**
198
+ * Type definition for `AWS::SageMaker::UserProfile.IdleSettings`.
199
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-userprofile-idlesettings.html}
200
+ */
201
+ export type IdleSettings = {
202
+ /**
203
+ * The idle timeout value set in minutes
204
+ * @min `60`
205
+ * @max `525600`
206
+ */
207
+ IdleTimeoutInMinutes?: number;
208
+ /**
209
+ * A flag to enable/disable AppLifecycleManagement settings
210
+ */
211
+ LifecycleManagement?: LifecycleManagement;
212
+ /**
213
+ * The maximum idle timeout value set in minutes
214
+ * @min `60`
215
+ * @max `525600`
216
+ */
217
+ MaxIdleTimeoutInMinutes?: number;
218
+ /**
219
+ * The minimum idle timeout value set in minutes
220
+ * @min `60`
221
+ * @max `525600`
222
+ */
223
+ MinIdleTimeoutInMinutes?: number;
224
+ };
189
225
  /**
190
226
  * Type definition for `AWS::SageMaker::UserProfile.JupyterLabAppSettings`.
191
227
  * The JupyterLab app settings.
192
228
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-userprofile-jupyterlabappsettings.html}
193
229
  */
194
230
  export type JupyterLabAppSettings = {
231
+ AppLifecycleManagement?: AppLifecycleManagement;
195
232
  /**
196
233
  * A list of CodeRepositories available for use with JupyterLab apps.
197
234
  * @minLength `0`
@@ -252,6 +289,12 @@ export type KernelGatewayAppSettings = {
252
289
  */
253
290
  LifecycleConfigArns?: string[];
254
291
  };
292
+ /**
293
+ * Type definition for `AWS::SageMaker::UserProfile.LifecycleManagement`.
294
+ * A flag to enable/disable AppLifecycleManagement settings
295
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-userprofile-lifecyclemanagement.html}
296
+ */
297
+ export type LifecycleManagement = "ENABLED" | "DISABLED";
255
298
  /**
256
299
  * Type definition for `AWS::SageMaker::UserProfile.MlTools`.
257
300
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-userprofile-mltools.html}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@awboost/cfn-resource-types",
3
- "version": "0.1.139",
3
+ "version": "0.1.140",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },