View a markdown version of this page

AWS::ECS::TaskDefinition SharingStrategy - Amazon CloudFormation
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

This is the new Amazon CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the Amazon CloudFormation User Guide.

AWS::ECS::TaskDefinition SharingStrategy

The strategy that a container uses to share a GPU with other containers. Specify exactly one member.

Syntax

To declare this entity in your Amazon CloudFormation template, use the following syntax:

Properties

NvidiaMps

Shares a GPU between containers by using NVIDIA Multi-Process Service (MPS). You specify the GPU memory to allocate to the container and, optionally, the maximum percentage of the GPU's compute capacity that the container can use.

Required: Yes

Type: NvidiaMpsAllocation

Update requires: Replacement