import { Value } from '../../../cloudformation/Value';
import { PlacementConstraintProps } from './PlacementConstraintProps';
import { PlacementStrategyProps } from './PlacementStrategyProps';
import { CapacityProviderStrategyItemProps } from './CapacityProviderStrategyItemProps';
import { EcsTaskOverrideProps } from './EcsTaskOverrideProps';
import { NetworkConfigurationProps } from './NetworkConfigurationProps';
import { Tag } from '../../Tag';
/**
  The parameters for using an Amazon ECS task as a target.
  For full documentation go to <a href="http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pipes-pipe-pipetargetecstaskparameters.html">the AWS Docs</a>
*/
export interface PipeTargetEcsTaskParametersProps {
    /** <code>PlatformVersion</code>  <a name="cfn-pipes-pipe-pipetargetecstaskparameters-platformversion"></a>
  Specifies the platform version for the task. Specify only the numeric portion of the platform version, such as <code>1.1.0</code>.<br />
  This structure is used only if <code>LaunchType</code> is <code>FARGATE</code>. For more information about valid platform versions, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/platform_versions.html">AWS Fargate Platform Versions</a> in the
  Amazon Elastic Container Service Developer Guide: br />
  
  Required: No<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    platformVersion?: Value<string>;
    /** <code>Group</code>  <a name="cfn-pipes-pipe-pipetargetecstaskparameters-group"></a>
  Specifies an Amazon ECS task group for the task. The maximum length is 255 characters.<br />
  
  Required: No<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    group?: Value<string>;
    /** <code>EnableECSManagedTags</code>  <a name="cfn-pipes-pipe-pipetargetecstaskparameters-enableecsmanagedtags"></a>
  Specifies whether to enable Amazon ECS managed tags for the task. For more information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-using-tags.html">Tagging Your Amazon ECS Resources</a> in the Amazon Elastic Container Service Developer Guide.<br />
  
  Required: No<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    enableECSManagedTags?: Value<boolean>;
    /** <code>TaskCount</code>  <a name="cfn-pipes-pipe-pipetargetecstaskparameters-taskcount"></a>
  The number of tasks to create based on <code>TaskDefinition</code>. The default is 1.<br />
  
  Required: No<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    taskCount?: Value<number>;
    /** <code>EnableExecuteCommand</code>  <a name="cfn-pipes-pipe-pipetargetecstaskparameters-enableexecutecommand"></a>
  Whether or not to enable the execute command functionality for the containers in this task. If true, this enables execute command functionality on all containers in the task.<br />
  
  Required: No<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    enableExecuteCommand?: Value<boolean>;
    /** <code>PlacementConstraints</code>  <a name="cfn-pipes-pipe-pipetargetecstaskparameters-placementconstraints"></a>
  An array of placement constraint objects to use for the task. You can specify up to 10 constraints per task (including constraints in the task definition and those specified at runtime).<br />
  
  Required: No<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    placementConstraints?: PlacementConstraintProps[];
    /** <code>PropagateTags</code>  <a name="cfn-pipes-pipe-pipetargetecstaskparameters-propagatetags"></a>
  Specifies whether to propagate the tags from the task definition to the task. If no value is specified, the tags are not propagated. Tags can only be propagated to the task during task creation. To add tags to a task after task creation, use the <code>TagResource</code> API action.<br />
  
  Required: No<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    propagateTags?: Value<string>;
    /** <code>PlacementStrategy</code>  <a name="cfn-pipes-pipe-pipetargetecstaskparameters-placementstrategy"></a>
  The placement strategy objects to use for the task. You can specify a maximum of five strategy rules per task.<br />
  
  Required: No<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    placementStrategy?: PlacementStrategyProps[];
    /** <code>LaunchType</code>  <a name="cfn-pipes-pipe-pipetargetecstaskparameters-launchtype"></a>
  Specifies the launch type on which your task is running. The launch type that you specify here must match one of the launch type (compatibilities) of the target task. The <code>FARGATE</code> value is supported only in the Regions where AWS Fargate with Amazon ECS is supported. For more information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/AWS-Fargate.html">AWS Fargate on Amazon ECS</a> in the
  Amazon Elastic Container Service Developer Guide: br />
  
  Required: No<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    launchType?: Value<string>;
    /** <code>CapacityProviderStrategy</code>  <a name="cfn-pipes-pipe-pipetargetecstaskparameters-capacityproviderstrategy"></a>
  The capacity provider strategy to use for the task.<br />
  If a <code>capacityProviderStrategy</code> is specified, the <code>launchType</code> parameter must be omitted. If no <code>capacityProviderStrategy</code> or launchType is specified, the <code>defaultCapacityProviderStrategy</code> for the cluster is used.<br />
  
  Required: No<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    capacityProviderStrategy?: CapacityProviderStrategyItemProps[];
    /** <code>ReferenceId</code>  <a name="cfn-pipes-pipe-pipetargetecstaskparameters-referenceid"></a>
  The reference ID to use for the task.<br />
  
  Required: No<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    referenceId?: Value<string>;
    /** <code>Overrides</code>  <a name="cfn-pipes-pipe-pipetargetecstaskparameters-overrides"></a>
  The overrides that are associated with a task.<br />
  
  Required: No<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    overrides?: EcsTaskOverrideProps;
    /** <code>NetworkConfiguration</code>  <a name="cfn-pipes-pipe-pipetargetecstaskparameters-networkconfiguration"></a>
  Use this structure if the Amazon ECS task uses the <code>awsvpc</code> network mode. This structure specifies the VPC subnets and security groups associated with the task, and whether a public IP address is to be used. This structure is required if <code>LaunchType</code> is <code>FARGATE</code> because the <code>awsvpc</code> mode is required for Fargate tasks.<br />
  If you specify <code>NetworkConfiguration</code> when the target ECS task does not use the <code>awsvpc</code> network mode, the task fails.<br />
  
  Required: No<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    networkConfiguration?: NetworkConfigurationProps;
    /** <code>Tags</code>  <a name="cfn-pipes-pipe-pipetargetecstaskparameters-tags"></a>
  The metadata that you apply to the task to help you categorize and organize them. Each tag consists of a key and an optional value, both of which you define. To learn more, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_RunTask.html#ECS-RunTask-request-tags">RunTask</a> in the Amazon ECS API Reference.<br />
  
  Required: No<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    tags?: Tag[];
    /** <code>TaskDefinitionArn</code>  <a name="cfn-pipes-pipe-pipetargetecstaskparameters-taskdefinitionarn"></a>
  The ARN of the task definition to use if the event target is an Amazon ECS task.<br />
  
  Required: Yes<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    taskDefinitionArn: Value<string>;
}
