diff --git a/VERSION b/VERSION
index 09f72237caf..751d42c14c4 100644
--- a/VERSION
+++ b/VERSION
@@ -1 +1 @@
-1.11.274
\ No newline at end of file
+1.11.275
\ No newline at end of file
diff --git a/generated/src/aws-cpp-sdk-batch/include/aws/batch/model/ComputeEnvironmentOrder.h b/generated/src/aws-cpp-sdk-batch/include/aws/batch/model/ComputeEnvironmentOrder.h
index 2eb1dc7d744..f671b90c90d 100644
--- a/generated/src/aws-cpp-sdk-batch/include/aws/batch/model/ComputeEnvironmentOrder.h
+++ b/generated/src/aws-cpp-sdk-batch/include/aws/batch/model/ComputeEnvironmentOrder.h
@@ -31,7 +31,7 @@ namespace Model
* environments must be in the VALID
state before you can associate
* them with a job queue. All of the compute environments must be either EC2
* (EC2
or SPOT
) or Fargate (FARGATE
or
- * FARGATE_SPOT
); EC2 and Fargate compute environments can't be
+ * FARGATE_SPOT
); Amazon EC2 and Fargate compute environments can't be
* mixed.
All compute environments that are associated with a job * queue must share the same architecture. Batch doesn't support mixing compute * environment architecture types in a single job queue.
Key-value pair tags to be applied to EC2 resources that are launched in the
- * compute environment. For Batch, these take the form of Key-value pair tags to be applied to Amazon EC2 resources that are launched
+ * in the compute environment. For Batch, these take the form of Key-value pair tags to be applied to EC2 resources that are launched in the
- * compute environment. For Batch, these take the form of Key-value pair tags to be applied to Amazon EC2 resources that are launched
+ * in the compute environment. For Batch, these take the form of Key-value pair tags to be applied to EC2 resources that are launched in the
- * compute environment. For Batch, these take the form of Key-value pair tags to be applied to Amazon EC2 resources that are launched
+ * in the compute environment. For Batch, these take the form of Key-value pair tags to be applied to EC2 resources that are launched in the
- * compute environment. For Batch, these take the form of Key-value pair tags to be applied to Amazon EC2 resources that are launched
+ * in the compute environment. For Batch, these take the form of Key-value pair tags to be applied to EC2 resources that are launched in the
- * compute environment. For Batch, these take the form of Key-value pair tags to be applied to Amazon EC2 resources that are launched
+ * in the compute environment. For Batch, these take the form of Key-value pair tags to be applied to EC2 resources that are launched in the
- * compute environment. For Batch, these take the form of Key-value pair tags to be applied to Amazon EC2 resources that are launched
+ * in the compute environment. For Batch, these take the form of Key-value pair tags to be applied to EC2 resources that are launched in the
- * compute environment. For Batch, these take the form of Key-value pair tags to be applied to Amazon EC2 resources that are launched
+ * in the compute environment. For Batch, these take the form of Key-value pair tags to be applied to EC2 resources that are launched in the
- * compute environment. For Batch, these take the form of Key-value pair tags to be applied to Amazon EC2 resources that are launched
+ * in the compute environment. For Batch, these take the form of Key-value pair tags to be applied to EC2 resources that are launched in the
- * compute environment. For Batch, these take the form of Key-value pair tags to be applied to Amazon EC2 resources that are launched
+ * in the compute environment. For Batch, these take the form of Key-value pair tags to be applied to EC2 resources that are launched in the
- * compute environment. For Batch, these take the form of Key-value pair tags to be applied to Amazon EC2 resources that are launched
+ * in the compute environment. For Batch, these take the form of Key-value pair tags to be applied to EC2 resources that are launched in the
- * compute environment. For Batch, these take the form of Key-value pair tags to be applied to Amazon EC2 resources that are launched
+ * in the compute environment. For Batch, these take the form of Key-value pair tags to be applied to EC2 resources that are launched in the
- * compute environment. For Batch, these take the form of Key-value pair tags to be applied to Amazon EC2 resources that are launched
+ * in the compute environment. For Batch, these take the form of Key-value pair tags to be applied to EC2 resources that are launched in the
- * compute environment. For Batch, these take the form of Key-value pair tags to be applied to Amazon EC2 resources that are launched
+ * in the compute environment. For Batch, these take the form of The launch template to use for your compute resources. Any other compute
- * resource parameters that you specify in a CreateComputeEnvironment API
- * operation override the same parameters in the launch template. You must specify
- * either the launch template ID or launch template name in the request, but not
- * both. For more information, see CreateComputeEnvironment
+ * API operation override the same parameters in the launch template. You must
+ * specify either the launch template ID or launch template name in the request,
+ * but not both. For more information, see Launch
* template support in the Batch User Guide. This
* parameter isn't applicable to jobs that are running on Fargate resources. Don't
@@ -1679,10 +1680,11 @@ namespace Model
/**
* The launch template to use for your compute resources. Any other compute
- * resource parameters that you specify in a CreateComputeEnvironment API
- * operation override the same parameters in the launch template. You must specify
- * either the launch template ID or launch template name in the request, but not
- * both. For more information, see CreateComputeEnvironment
+ * API operation override the same parameters in the launch template. You must
+ * specify either the launch template ID or launch template name in the request,
+ * but not both. For more information, see Launch
* template support in the Batch User Guide. This
* parameter isn't applicable to jobs that are running on Fargate resources. Don't
@@ -1692,10 +1694,11 @@ namespace Model
/**
* The launch template to use for your compute resources. Any other compute
- * resource parameters that you specify in a CreateComputeEnvironment API
- * operation override the same parameters in the launch template. You must specify
- * either the launch template ID or launch template name in the request, but not
- * both. For more information, see CreateComputeEnvironment
+ * API operation override the same parameters in the launch template. You must
+ * specify either the launch template ID or launch template name in the request,
+ * but not both. For more information, see Launch
* template support in the Batch User Guide. This
* parameter isn't applicable to jobs that are running on Fargate resources. Don't
@@ -1705,10 +1708,11 @@ namespace Model
/**
* The launch template to use for your compute resources. Any other compute
- * resource parameters that you specify in a CreateComputeEnvironment API
- * operation override the same parameters in the launch template. You must specify
- * either the launch template ID or launch template name in the request, but not
- * both. For more information, see CreateComputeEnvironment
+ * API operation override the same parameters in the launch template. You must
+ * specify either the launch template ID or launch template name in the request,
+ * but not both. For more information, see Launch
* template support in the Batch User Guide. This
* parameter isn't applicable to jobs that are running on Fargate resources. Don't
@@ -1718,10 +1722,11 @@ namespace Model
/**
* The launch template to use for your compute resources. Any other compute
- * resource parameters that you specify in a CreateComputeEnvironment API
- * operation override the same parameters in the launch template. You must specify
- * either the launch template ID or launch template name in the request, but not
- * both. For more information, see CreateComputeEnvironment
+ * API operation override the same parameters in the launch template. You must
+ * specify either the launch template ID or launch template name in the request,
+ * but not both. For more information, see Launch
* template support in the Batch User Guide. This
* parameter isn't applicable to jobs that are running on Fargate resources. Don't
@@ -1731,10 +1736,11 @@ namespace Model
/**
* The launch template to use for your compute resources. Any other compute
- * resource parameters that you specify in a CreateComputeEnvironment API
- * operation override the same parameters in the launch template. You must specify
- * either the launch template ID or launch template name in the request, but not
- * both. For more information, see CreateComputeEnvironment
+ * API operation override the same parameters in the launch template. You must
+ * specify either the launch template ID or launch template name in the request,
+ * but not both. For more information, see Launch
* template support in the Batch User Guide. This
* parameter isn't applicable to jobs that are running on Fargate resources. Don't
@@ -1745,73 +1751,81 @@ namespace Model
/**
* Provides information that's used to select Amazon Machine Images (AMIs) for
- * EC2 instances in the compute environment. If One or two values can be
- * provided. This parameter isn't applicable to jobs that are running
- * on Fargate resources. Don't specify it. One or two values can be provided. This parameter isn't applicable to jobs that are running on Fargate
+ * resources. Don't specify it. Provides information that's used to select Amazon Machine Images (AMIs) for
- * EC2 instances in the compute environment. If One or two values can be
- * provided. This parameter isn't applicable to jobs that are running
- * on Fargate resources. Don't specify it. One or two values can be provided. This parameter isn't applicable to jobs that are running on Fargate
+ * resources. Don't specify it. Provides information that's used to select Amazon Machine Images (AMIs) for
- * EC2 instances in the compute environment. If One or two values can be
- * provided. This parameter isn't applicable to jobs that are running
- * on Fargate resources. Don't specify it. One or two values can be provided. This parameter isn't applicable to jobs that are running on Fargate
+ * resources. Don't specify it. Provides information that's used to select Amazon Machine Images (AMIs) for
- * EC2 instances in the compute environment. If One or two values can be
- * provided. This parameter isn't applicable to jobs that are running
- * on Fargate resources. Don't specify it. One or two values can be provided. This parameter isn't applicable to jobs that are running on Fargate
+ * resources. Don't specify it. Provides information that's used to select Amazon Machine Images (AMIs) for
- * EC2 instances in the compute environment. If One or two values can be
- * provided. This parameter isn't applicable to jobs that are running
- * on Fargate resources. Don't specify it. One or two values can be provided. This parameter isn't applicable to jobs that are running on Fargate
+ * resources. Don't specify it. Provides information that's used to select Amazon Machine Images (AMIs) for
- * EC2 instances in the compute environment. If One or two values can be
- * provided. This parameter isn't applicable to jobs that are running
- * on Fargate resources. Don't specify it. One or two values can be provided. This parameter isn't applicable to jobs that are running on Fargate
+ * resources. Don't specify it. Provides information that's used to select Amazon Machine Images (AMIs) for
- * EC2 instances in the compute environment. If One or two values can be
- * provided. This parameter isn't applicable to jobs that are running
- * on Fargate resources. Don't specify it. One or two values can be provided. This parameter isn't applicable to jobs that are running on Fargate
+ * resources. Don't specify it. Provides information that's used to select Amazon Machine Images (AMIs) for
- * EC2 instances in the compute environment. If One or two values can be
- * provided. This parameter isn't applicable to jobs that are running
- * on Fargate resources. Don't specify it. One or two values can be provided. This parameter isn't applicable to jobs that are running on Fargate
+ * resources. Don't specify it. The VPC subnets where the compute resources are launched. Fargate compute
* resources can contain up to 16 subnets. For Fargate compute resources, providing
* an empty list will be handled as if this parameter wasn't specified and no
- * change is made. For EC2 compute resources, providing an empty list removes the
- * VPC subnets from the compute resource. For more information, see VPCs
* and subnets in the Amazon VPC User Guide. When updating a
* compute environment, changing the VPC subnets requires an infrastructure update
@@ -228,8 +228,8 @@ namespace Model
* The VPC subnets where the compute resources are launched. Fargate compute
* resources can contain up to 16 subnets. For Fargate compute resources, providing
* an empty list will be handled as if this parameter wasn't specified and no
- * change is made. For EC2 compute resources, providing an empty list removes the
- * VPC subnets from the compute resource. For more information, see VPCs
* and subnets in the Amazon VPC User Guide. When updating a
* compute environment, changing the VPC subnets requires an infrastructure update
@@ -254,8 +254,8 @@ namespace Model
* The VPC subnets where the compute resources are launched. Fargate compute
* resources can contain up to 16 subnets. For Fargate compute resources, providing
* an empty list will be handled as if this parameter wasn't specified and no
- * change is made. For EC2 compute resources, providing an empty list removes the
- * VPC subnets from the compute resource. For more information, see VPCs
* and subnets in the Amazon VPC User Guide. When updating a
* compute environment, changing the VPC subnets requires an infrastructure update
@@ -280,8 +280,8 @@ namespace Model
* The VPC subnets where the compute resources are launched. Fargate compute
* resources can contain up to 16 subnets. For Fargate compute resources, providing
* an empty list will be handled as if this parameter wasn't specified and no
- * change is made. For EC2 compute resources, providing an empty list removes the
- * VPC subnets from the compute resource. For more information, see VPCs
* and subnets in the Amazon VPC User Guide. When updating a
* compute environment, changing the VPC subnets requires an infrastructure update
@@ -306,8 +306,8 @@ namespace Model
* The VPC subnets where the compute resources are launched. Fargate compute
* resources can contain up to 16 subnets. For Fargate compute resources, providing
* an empty list will be handled as if this parameter wasn't specified and no
- * change is made. For EC2 compute resources, providing an empty list removes the
- * VPC subnets from the compute resource. For more information, see VPCs
* and subnets in the Amazon VPC User Guide. When updating a
* compute environment, changing the VPC subnets requires an infrastructure update
@@ -332,8 +332,8 @@ namespace Model
* The VPC subnets where the compute resources are launched. Fargate compute
* resources can contain up to 16 subnets. For Fargate compute resources, providing
* an empty list will be handled as if this parameter wasn't specified and no
- * change is made. For EC2 compute resources, providing an empty list removes the
- * VPC subnets from the compute resource. For more information, see VPCs
* and subnets in the Amazon VPC User Guide. When updating a
* compute environment, changing the VPC subnets requires an infrastructure update
@@ -358,8 +358,8 @@ namespace Model
* The VPC subnets where the compute resources are launched. Fargate compute
* resources can contain up to 16 subnets. For Fargate compute resources, providing
* an empty list will be handled as if this parameter wasn't specified and no
- * change is made. For EC2 compute resources, providing an empty list removes the
- * VPC subnets from the compute resource. For more information, see VPCs
* and subnets in the Amazon VPC User Guide. When updating a
* compute environment, changing the VPC subnets requires an infrastructure update
@@ -384,8 +384,8 @@ namespace Model
* The VPC subnets where the compute resources are launched. Fargate compute
* resources can contain up to 16 subnets. For Fargate compute resources, providing
* an empty list will be handled as if this parameter wasn't specified and no
- * change is made. For EC2 compute resources, providing an empty list removes the
- * VPC subnets from the compute resource. For more information, see VPCs
* and subnets in the Amazon VPC User Guide. When updating a
* compute environment, changing the VPC subnets requires an infrastructure update
@@ -410,8 +410,8 @@ namespace Model
* The VPC subnets where the compute resources are launched. Fargate compute
* resources can contain up to 16 subnets. For Fargate compute resources, providing
* an empty list will be handled as if this parameter wasn't specified and no
- * change is made. For EC2 compute resources, providing an empty list removes the
- * VPC subnets from the compute resource. For more information, see VPCs
* and subnets in the Amazon VPC User Guide. When updating a
* compute environment, changing the VPC subnets requires an infrastructure update
@@ -438,10 +438,11 @@ namespace Model
* the compute environment. This parameter is required for Fargate compute
* resources, where it can contain up to 5 security groups. For Fargate compute
* resources, providing an empty list is handled as if this parameter wasn't
- * specified and no change is made. For EC2 compute resources, providing an empty
- * list removes the security groups from the compute resource. When updating
- * a compute environment, changing the EC2 security groups requires an
- * infrastructure update of the compute environment. For more information, see When
+ * updating a compute environment, changing the Amazon EC2 security groups requires
+ * an infrastructure update of the compute environment. For more information, see
+ * Updating
* compute environments in the Batch User Guide. When updating
- * a compute environment, changing the EC2 security groups requires an
- * infrastructure update of the compute environment. For more information, see When
+ * updating a compute environment, changing the Amazon EC2 security groups requires
+ * an infrastructure update of the compute environment. For more information, see
+ * Updating
* compute environments in the Batch User Guide. When updating
- * a compute environment, changing the EC2 security groups requires an
- * infrastructure update of the compute environment. For more information, see When
+ * updating a compute environment, changing the Amazon EC2 security groups requires
+ * an infrastructure update of the compute environment. For more information, see
+ * Updating
* compute environments in the Batch User Guide. When updating
- * a compute environment, changing the EC2 security groups requires an
- * infrastructure update of the compute environment. For more information, see When
+ * updating a compute environment, changing the Amazon EC2 security groups requires
+ * an infrastructure update of the compute environment. For more information, see
+ * Updating
* compute environments in the Batch User Guide. When updating
- * a compute environment, changing the EC2 security groups requires an
- * infrastructure update of the compute environment. For more information, see When
+ * updating a compute environment, changing the Amazon EC2 security groups requires
+ * an infrastructure update of the compute environment. For more information, see
+ * Updating
* compute environments in the Batch User Guide. When updating
- * a compute environment, changing the EC2 security groups requires an
- * infrastructure update of the compute environment. For more information, see When
+ * updating a compute environment, changing the Amazon EC2 security groups requires
+ * an infrastructure update of the compute environment. For more information, see
+ * Updating
* compute environments in the Batch User Guide. When updating
- * a compute environment, changing the EC2 security groups requires an
- * infrastructure update of the compute environment. For more information, see When
+ * updating a compute environment, changing the Amazon EC2 security groups requires
+ * an infrastructure update of the compute environment. For more information, see
+ * Updating
* compute environments in the Batch User Guide. When updating
- * a compute environment, changing the EC2 security groups requires an
- * infrastructure update of the compute environment. For more information, see When
+ * updating a compute environment, changing the Amazon EC2 security groups requires
+ * an infrastructure update of the compute environment. For more information, see
+ * Updating
* compute environments in the Batch User Guide. When updating
- * a compute environment, changing the EC2 security groups requires an
- * infrastructure update of the compute environment. For more information, see When
+ * updating a compute environment, changing the Amazon EC2 security groups requires
+ * an infrastructure update of the compute environment. For more information, see
+ * Updating
* compute environments in the Batch User Guide. The Amazon EC2 key pair that's used for instances launched in the compute
* environment. You can use this key pair to log in to your instances with SSH. To
* remove the Amazon EC2 key pair, set this value to an empty string. When
- * updating a compute environment, changing the EC2 key pair requires an
+ * updating a compute environment, changing the Amazon EC2 key pair requires an
* infrastructure update of the compute environment. For more information, see Updating
* compute environments in the Batch User Guide. This
@@ -999,7 +1008,7 @@ namespace Model
* The Amazon EC2 key pair that's used for instances launched in the compute
* environment. You can use this key pair to log in to your instances with SSH. To
* remove the Amazon EC2 key pair, set this value to an empty string. When
- * updating a compute environment, changing the EC2 key pair requires an
+ * updating a compute environment, changing the Amazon EC2 key pair requires an
* infrastructure update of the compute environment. For more information, see Updating
* compute environments in the Batch User Guide. This
@@ -1012,7 +1021,7 @@ namespace Model
* The Amazon EC2 key pair that's used for instances launched in the compute
* environment. You can use this key pair to log in to your instances with SSH. To
* remove the Amazon EC2 key pair, set this value to an empty string. When
- * updating a compute environment, changing the EC2 key pair requires an
+ * updating a compute environment, changing the Amazon EC2 key pair requires an
* infrastructure update of the compute environment. For more information, see Updating
* compute environments in the Batch User Guide. This
@@ -1025,7 +1034,7 @@ namespace Model
* The Amazon EC2 key pair that's used for instances launched in the compute
* environment. You can use this key pair to log in to your instances with SSH. To
* remove the Amazon EC2 key pair, set this value to an empty string. When
- * updating a compute environment, changing the EC2 key pair requires an
+ * updating a compute environment, changing the Amazon EC2 key pair requires an
* infrastructure update of the compute environment. For more information, see Updating
* compute environments in the Batch User Guide. This
@@ -1038,7 +1047,7 @@ namespace Model
* The Amazon EC2 key pair that's used for instances launched in the compute
* environment. You can use this key pair to log in to your instances with SSH. To
* remove the Amazon EC2 key pair, set this value to an empty string. When
- * updating a compute environment, changing the EC2 key pair requires an
+ * updating a compute environment, changing the Amazon EC2 key pair requires an
* infrastructure update of the compute environment. For more information, see Updating
* compute environments in the Batch User Guide. This
@@ -1051,7 +1060,7 @@ namespace Model
* The Amazon EC2 key pair that's used for instances launched in the compute
* environment. You can use this key pair to log in to your instances with SSH. To
* remove the Amazon EC2 key pair, set this value to an empty string. When
- * updating a compute environment, changing the EC2 key pair requires an
+ * updating a compute environment, changing the Amazon EC2 key pair requires an
* infrastructure update of the compute environment. For more information, see Updating
* compute environments in the Batch User Guide. This
@@ -1064,7 +1073,7 @@ namespace Model
* The Amazon EC2 key pair that's used for instances launched in the compute
* environment. You can use this key pair to log in to your instances with SSH. To
* remove the Amazon EC2 key pair, set this value to an empty string. When
- * updating a compute environment, changing the EC2 key pair requires an
+ * updating a compute environment, changing the Amazon EC2 key pair requires an
* infrastructure update of the compute environment. For more information, see Updating
* compute environments in the Batch User Guide. This
@@ -1077,7 +1086,7 @@ namespace Model
* The Amazon EC2 key pair that's used for instances launched in the compute
* environment. You can use this key pair to log in to your instances with SSH. To
* remove the Amazon EC2 key pair, set this value to an empty string. When
- * updating a compute environment, changing the EC2 key pair requires an
+ * updating a compute environment, changing the Amazon EC2 key pair requires an
* infrastructure update of the compute environment. For more information, see Updating
* compute environments in the Batch User Guide. This
@@ -1233,8 +1242,8 @@ namespace Model
/**
- * Key-value pair tags to be applied to EC2 resources that are launched in the
- * compute environment. For Batch, these take the form of Key-value pair tags to be applied to Amazon EC2 resources that are launched
+ * in the compute environment. For Batch, these take the form of Key-value pair tags to be applied to EC2 resources that are launched in the
- * compute environment. For Batch, these take the form of Key-value pair tags to be applied to Amazon EC2 resources that are launched
+ * in the compute environment. For Batch, these take the form of Key-value pair tags to be applied to EC2 resources that are launched in the
- * compute environment. For Batch, these take the form of Key-value pair tags to be applied to Amazon EC2 resources that are launched
+ * in the compute environment. For Batch, these take the form of Key-value pair tags to be applied to EC2 resources that are launched in the
- * compute environment. For Batch, these take the form of Key-value pair tags to be applied to Amazon EC2 resources that are launched
+ * in the compute environment. For Batch, these take the form of Key-value pair tags to be applied to EC2 resources that are launched in the
- * compute environment. For Batch, these take the form of Key-value pair tags to be applied to Amazon EC2 resources that are launched
+ * in the compute environment. For Batch, these take the form of Key-value pair tags to be applied to EC2 resources that are launched in the
- * compute environment. For Batch, these take the form of Key-value pair tags to be applied to Amazon EC2 resources that are launched
+ * in the compute environment. For Batch, these take the form of Key-value pair tags to be applied to EC2 resources that are launched in the
- * compute environment. For Batch, these take the form of Key-value pair tags to be applied to Amazon EC2 resources that are launched
+ * in the compute environment. For Batch, these take the form of Key-value pair tags to be applied to EC2 resources that are launched in the
- * compute environment. For Batch, these take the form of Key-value pair tags to be applied to Amazon EC2 resources that are launched
+ * in the compute environment. For Batch, these take the form of Key-value pair tags to be applied to EC2 resources that are launched in the
- * compute environment. For Batch, these take the form of Key-value pair tags to be applied to Amazon EC2 resources that are launched
+ * in the compute environment. For Batch, these take the form of Key-value pair tags to be applied to EC2 resources that are launched in the
- * compute environment. For Batch, these take the form of Key-value pair tags to be applied to Amazon EC2 resources that are launched
+ * in the compute environment. For Batch, these take the form of Key-value pair tags to be applied to EC2 resources that are launched in the
- * compute environment. For Batch, these take the form of Key-value pair tags to be applied to Amazon EC2 resources that are launched
+ * in the compute environment. For Batch, these take the form of Key-value pair tags to be applied to EC2 resources that are launched in the
- * compute environment. For Batch, these take the form of Key-value pair tags to be applied to Amazon EC2 resources that are launched
+ * in the compute environment. For Batch, these take the form of Key-value pair tags to be applied to EC2 resources that are launched in the
- * compute environment. For Batch, these take the form of Key-value pair tags to be applied to Amazon EC2 resources that are launched
+ * in the compute environment. For Batch, these take the form of Provides information used to select Amazon Machine Images (AMIs) for EC2
- * instances in the compute environment. If Provides information used to select Amazon Machine Images (AMIs) for Amazon
+ * EC2 instances in the compute environment. If When updating a compute
* environment, changing this setting requires an infrastructure update of the
* compute environment. For more information, see Updating
- * compute environments in the Batch User Guide. To remove the EC2
- * configuration and any custom AMI ID specified in One or two values can be provided. This parameter isn't applicable to jobs that are running on Fargate
- * resources. Don't specify it. One or
+ * two values can be provided. This parameter isn't applicable to
+ * jobs that are running on Fargate resources. Don't specify it. Provides information used to select Amazon Machine Images (AMIs) for EC2
- * instances in the compute environment. If Provides information used to select Amazon Machine Images (AMIs) for Amazon
+ * EC2 instances in the compute environment. If When updating a compute
* environment, changing this setting requires an infrastructure update of the
* compute environment. For more information, see Updating
- * compute environments in the Batch User Guide. To remove the EC2
- * configuration and any custom AMI ID specified in One or two values can be provided. This parameter isn't applicable to jobs that are running on Fargate
- * resources. Don't specify it. One or
+ * two values can be provided. This parameter isn't applicable to
+ * jobs that are running on Fargate resources. Don't specify it. Provides information used to select Amazon Machine Images (AMIs) for EC2
- * instances in the compute environment. If Provides information used to select Amazon Machine Images (AMIs) for Amazon
+ * EC2 instances in the compute environment. If When updating a compute
* environment, changing this setting requires an infrastructure update of the
* compute environment. For more information, see Updating
- * compute environments in the Batch User Guide. To remove the EC2
- * configuration and any custom AMI ID specified in One or two values can be provided. This parameter isn't applicable to jobs that are running on Fargate
- * resources. Don't specify it. One or
+ * two values can be provided. This parameter isn't applicable to
+ * jobs that are running on Fargate resources. Don't specify it. Provides information used to select Amazon Machine Images (AMIs) for EC2
- * instances in the compute environment. If Provides information used to select Amazon Machine Images (AMIs) for Amazon
+ * EC2 instances in the compute environment. If When updating a compute
* environment, changing this setting requires an infrastructure update of the
* compute environment. For more information, see Updating
- * compute environments in the Batch User Guide. To remove the EC2
- * configuration and any custom AMI ID specified in One or two values can be provided. This parameter isn't applicable to jobs that are running on Fargate
- * resources. Don't specify it. One or
+ * two values can be provided. This parameter isn't applicable to
+ * jobs that are running on Fargate resources. Don't specify it. Provides information used to select Amazon Machine Images (AMIs) for EC2
- * instances in the compute environment. If Provides information used to select Amazon Machine Images (AMIs) for Amazon
+ * EC2 instances in the compute environment. If When updating a compute
* environment, changing this setting requires an infrastructure update of the
* compute environment. For more information, see Updating
- * compute environments in the Batch User Guide. To remove the EC2
- * configuration and any custom AMI ID specified in One or two values can be provided. This parameter isn't applicable to jobs that are running on Fargate
- * resources. Don't specify it. One or
+ * two values can be provided. This parameter isn't applicable to
+ * jobs that are running on Fargate resources. Don't specify it. Provides information used to select Amazon Machine Images (AMIs) for EC2
- * instances in the compute environment. If Provides information used to select Amazon Machine Images (AMIs) for Amazon
+ * EC2 instances in the compute environment. If When updating a compute
* environment, changing this setting requires an infrastructure update of the
* compute environment. For more information, see Updating
- * compute environments in the Batch User Guide. To remove the EC2
- * configuration and any custom AMI ID specified in One or two values can be provided. This parameter isn't applicable to jobs that are running on Fargate
- * resources. Don't specify it. One or
+ * two values can be provided. This parameter isn't applicable to
+ * jobs that are running on Fargate resources. Don't specify it. Provides information used to select Amazon Machine Images (AMIs) for EC2
- * instances in the compute environment. If Provides information used to select Amazon Machine Images (AMIs) for Amazon
+ * EC2 instances in the compute environment. If When updating a compute
* environment, changing this setting requires an infrastructure update of the
* compute environment. For more information, see Updating
- * compute environments in the Batch User Guide. To remove the EC2
- * configuration and any custom AMI ID specified in One or two values can be provided. This parameter isn't applicable to jobs that are running on Fargate
- * resources. Don't specify it. One or
+ * two values can be provided. This parameter isn't applicable to
+ * jobs that are running on Fargate resources. Don't specify it. Provides information used to select Amazon Machine Images (AMIs) for EC2
- * instances in the compute environment. If Provides information used to select Amazon Machine Images (AMIs) for Amazon
+ * EC2 instances in the compute environment. If When updating a compute
* environment, changing this setting requires an infrastructure update of the
* compute environment. For more information, see Updating
- * compute environments in the Batch User Guide. To remove the EC2
- * configuration and any custom AMI ID specified in One or two values can be provided. This parameter isn't applicable to jobs that are running on Fargate
- * resources. Don't specify it. One or
+ * two values can be provided. This parameter isn't applicable to
+ * jobs that are running on Fargate resources. Don't specify it. The number of vCPUs reserved for the container. For jobs that run on EC2
- * resources, you can specify the vCPU requirement for the job using
+ * The number of vCPUs reserved for the container. For jobs that run on Amazon
+ * EC2 resources, you can specify the vCPU requirement for the job using
* The number of vCPUs reserved for the container. For jobs that run on Amazon
+ * EC2 resources, you can specify the vCPU requirement for the job using
* The number of vCPUs reserved for the container. For jobs that run on Amazon
+ * EC2 resources, you can specify the vCPU requirement for the job using
* The number of vCPUs reserved for the container. For jobs that run on Amazon
+ * EC2 resources, you can specify the vCPU requirement for the job using
* For jobs running on Amazon EC2 resources that didn't specify memory
+ * requirements using For jobs running on EC2 resources that didn't specify memory requirements
- * using For jobs running on Amazon EC2 resources that didn't specify memory
+ * requirements using For jobs running on EC2 resources that didn't specify memory requirements
- * using For jobs running on Amazon EC2 resources that didn't specify memory
+ * requirements using For jobs running on EC2 resources that didn't specify memory requirements
- * using For jobs running on Amazon EC2 resources that didn't specify memory
+ * requirements using The exit code to return upon completion. The exit code returned upon completion. The exit code to return upon completion. The exit code returned upon completion. The exit code to return upon completion. The exit code returned upon completion. The exit code to return upon completion. The exit code returned upon completion. Batch currently supports
- * a subset of the logging drivers available to the Docker daemon (shown in the
- * LogConfiguration data type). Additional log drivers might be available in
- * future releases of the Amazon ECS container agent. 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: The Amazon ECS
- * container agent running on a container instance must register the logging
- * drivers available on that instance with the
- * 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: The Amazon ECS container agent running on a
+ * container instance must register the logging drivers available on that instance
+ * with the Batch currently supports
- * a subset of the logging drivers available to the Docker daemon (shown in the
- * LogConfiguration data type). Additional log drivers might be available in
- * future releases of the Amazon ECS container agent. 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: The Amazon ECS
- * container agent running on a container instance must register the logging
- * drivers available on that instance with the
- * 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: The Amazon ECS container agent running on a
+ * container instance must register the logging drivers available on that instance
+ * with the Batch currently supports
- * a subset of the logging drivers available to the Docker daemon (shown in the
- * LogConfiguration data type). Additional log drivers might be available in
- * future releases of the Amazon ECS container agent. 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: The Amazon ECS
- * container agent running on a container instance must register the logging
- * drivers available on that instance with the
- * 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: The Amazon ECS container agent running on a
+ * container instance must register the logging drivers available on that instance
+ * with the Batch currently supports
- * a subset of the logging drivers available to the Docker daemon (shown in the
- * LogConfiguration data type). Additional log drivers might be available in
- * future releases of the Amazon ECS container agent. 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: The Amazon ECS
- * container agent running on a container instance must register the logging
- * drivers available on that instance with the
- * 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: The Amazon ECS container agent running on a
+ * container instance must register the logging drivers available on that instance
+ * with the Batch currently supports
- * a subset of the logging drivers available to the Docker daemon (shown in the
- * LogConfiguration data type). Additional log drivers might be available in
- * future releases of the Amazon ECS container agent. 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: The Amazon ECS
- * container agent running on a container instance must register the logging
- * drivers available on that instance with the
- * 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: The Amazon ECS container agent running on a
+ * container instance must register the logging drivers available on that instance
+ * with the Batch currently supports
- * a subset of the logging drivers available to the Docker daemon (shown in the
- * LogConfiguration data type). Additional log drivers might be available in
- * future releases of the Amazon ECS container agent. 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: The Amazon ECS
- * container agent running on a container instance must register the logging
- * drivers available on that instance with the
- * 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: The Amazon ECS container agent running on a
+ * container instance must register the logging drivers available on that instance
+ * with the The network configuration for jobs that are running on Fargate resources.
- * Jobs that are running on EC2 resources must not specify this parameter. The network configuration for jobs that are running on Fargate resources.
- * Jobs that are running on EC2 resources must not specify this parameter. The network configuration for jobs that are running on Fargate resources.
- * Jobs that are running on EC2 resources must not specify this parameter. The network configuration for jobs that are running on Fargate resources.
- * Jobs that are running on EC2 resources must not specify this parameter. The network configuration for jobs that are running on Fargate resources.
- * Jobs that are running on EC2 resources must not specify this parameter. The network configuration for jobs that are running on Fargate resources.
- * Jobs that are running on EC2 resources must not specify this parameter."String1":
+ *
"String1":
* "String2"
, where String1
is the tag key and
* String2
is the tag value-for example, { "Name": "Batch
* Instance - C4OnDemand" }
. This is helpful for recognizing your Batch
@@ -1153,8 +1153,8 @@ namespace Model
inline const Aws::Map"String1":
+ *
"String1":
* "String2"
, where String1
is the tag key and
* String2
is the tag value-for example, { "Name": "Batch
* Instance - C4OnDemand" }
. This is helpful for recognizing your Batch
@@ -1169,8 +1169,8 @@ namespace Model
inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
/**
- * "String1":
+ *
"String1":
* "String2"
, where String1
is the tag key and
* String2
is the tag value-for example, { "Name": "Batch
* Instance - C4OnDemand" }
. This is helpful for recognizing your Batch
@@ -1185,8 +1185,8 @@ namespace Model
inline void SetTags(const Aws::Map"String1":
+ *
"String1":
* "String2"
, where String1
is the tag key and
* String2
is the tag value-for example, { "Name": "Batch
* Instance - C4OnDemand" }
. This is helpful for recognizing your Batch
@@ -1201,8 +1201,8 @@ namespace Model
inline void SetTags(Aws::Map"String1":
+ *
"String1":
* "String2"
, where String1
is the tag key and
* String2
is the tag value-for example, { "Name": "Batch
* Instance - C4OnDemand" }
. This is helpful for recognizing your Batch
@@ -1217,8 +1217,8 @@ namespace Model
inline ComputeResource& WithTags(const Aws::Map"String1":
+ *
"String1":
* "String2"
, where String1
is the tag key and
* String2
is the tag value-for example, { "Name": "Batch
* Instance - C4OnDemand" }
. This is helpful for recognizing your Batch
@@ -1233,8 +1233,8 @@ namespace Model
inline ComputeResource& WithTags(Aws::Map"String1":
+ *
"String1":
* "String2"
, where String1
is the tag key and
* String2
is the tag value-for example, { "Name": "Batch
* Instance - C4OnDemand" }
. This is helpful for recognizing your Batch
@@ -1249,8 +1249,8 @@ namespace Model
inline ComputeResource& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
/**
- * "String1":
+ *
"String1":
* "String2"
, where String1
is the tag key and
* String2
is the tag value-for example, { "Name": "Batch
* Instance - C4OnDemand" }
. This is helpful for recognizing your Batch
@@ -1265,8 +1265,8 @@ namespace Model
inline ComputeResource& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
/**
- * "String1":
+ *
"String1":
* "String2"
, where String1
is the tag key and
* String2
is the tag value-for example, { "Name": "Batch
* Instance - C4OnDemand" }
. This is helpful for recognizing your Batch
@@ -1281,8 +1281,8 @@ namespace Model
inline ComputeResource& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
/**
- * "String1":
+ *
"String1":
* "String2"
, where String1
is the tag key and
* String2
is the tag value-for example, { "Name": "Batch
* Instance - C4OnDemand" }
. This is helpful for recognizing your Batch
@@ -1297,8 +1297,8 @@ namespace Model
inline ComputeResource& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
/**
- * "String1":
+ *
"String1":
* "String2"
, where String1
is the tag key and
* String2
is the tag value-for example, { "Name": "Batch
* Instance - C4OnDemand" }
. This is helpful for recognizing your Batch
@@ -1313,8 +1313,8 @@ namespace Model
inline ComputeResource& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
/**
- * "String1":
+ *
"String1":
* "String2"
, where String1
is the tag key and
* String2
is the tag value-for example, { "Name": "Batch
* Instance - C4OnDemand" }
. This is helpful for recognizing your Batch
@@ -1329,8 +1329,8 @@ namespace Model
inline ComputeResource& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
/**
- * "String1":
+ *
"String1":
* "String2"
, where String1
is the tag key and
* String2
is the tag value-for example, { "Name": "Batch
* Instance - C4OnDemand" }
. This is helpful for recognizing your Batch
@@ -1666,10 +1666,11 @@ namespace Model
/**
* Ec2Configuration
isn't
- * specified, the default is ECS_AL2
.Ec2Configuration
isn't specified, the default is
+ * ECS_AL2
.Ec2Configuration
isn't
- * specified, the default is ECS_AL2
.Ec2Configuration
isn't specified, the default is
+ * ECS_AL2
.Ec2Configuration
isn't
- * specified, the default is ECS_AL2
.Ec2Configuration
isn't specified, the default is
+ * ECS_AL2
.Ec2Configuration
isn't
- * specified, the default is ECS_AL2
.Ec2Configuration
isn't specified, the default is
+ * ECS_AL2
.Ec2Configuration
isn't
- * specified, the default is ECS_AL2
.Ec2Configuration
isn't specified, the default is
+ * ECS_AL2
.Ec2Configuration
isn't
- * specified, the default is ECS_AL2
.Ec2Configuration
isn't specified, the default is
+ * ECS_AL2
.Ec2Configuration
isn't
- * specified, the default is ECS_AL2
.Ec2Configuration
isn't specified, the default is
+ * ECS_AL2
.Ec2Configuration
isn't
- * specified, the default is ECS_AL2
.Ec2Configuration
isn't specified, the default is
+ * ECS_AL2
."String1":
+ *
"String1":
* "String2"
, where String1
is the tag key and
* String2
is the tag value-for example, { "Name": "Batch
* Instance - C4OnDemand" }
. This is helpful for recognizing your Batch
@@ -1250,8 +1259,8 @@ namespace Model
inline const Aws::Map"String1":
+ *
"String1":
* "String2"
, where String1
is the tag key and
* String2
is the tag value-for example, { "Name": "Batch
* Instance - C4OnDemand" }
. This is helpful for recognizing your Batch
@@ -1267,8 +1276,8 @@ namespace Model
inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
/**
- * "String1":
+ *
"String1":
* "String2"
, where String1
is the tag key and
* String2
is the tag value-for example, { "Name": "Batch
* Instance - C4OnDemand" }
. This is helpful for recognizing your Batch
@@ -1284,8 +1293,8 @@ namespace Model
inline void SetTags(const Aws::Map"String1":
+ *
"String1":
* "String2"
, where String1
is the tag key and
* String2
is the tag value-for example, { "Name": "Batch
* Instance - C4OnDemand" }
. This is helpful for recognizing your Batch
@@ -1301,8 +1310,8 @@ namespace Model
inline void SetTags(Aws::Map"String1":
+ *
"String1":
* "String2"
, where String1
is the tag key and
* String2
is the tag value-for example, { "Name": "Batch
* Instance - C4OnDemand" }
. This is helpful for recognizing your Batch
@@ -1318,8 +1327,8 @@ namespace Model
inline ComputeResourceUpdate& WithTags(const Aws::Map"String1":
+ *
"String1":
* "String2"
, where String1
is the tag key and
* String2
is the tag value-for example, { "Name": "Batch
* Instance - C4OnDemand" }
. This is helpful for recognizing your Batch
@@ -1335,8 +1344,8 @@ namespace Model
inline ComputeResourceUpdate& WithTags(Aws::Map"String1":
+ *
"String1":
* "String2"
, where String1
is the tag key and
* String2
is the tag value-for example, { "Name": "Batch
* Instance - C4OnDemand" }
. This is helpful for recognizing your Batch
@@ -1352,8 +1361,8 @@ namespace Model
inline ComputeResourceUpdate& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
/**
- * "String1":
+ *
"String1":
* "String2"
, where String1
is the tag key and
* String2
is the tag value-for example, { "Name": "Batch
* Instance - C4OnDemand" }
. This is helpful for recognizing your Batch
@@ -1369,8 +1378,8 @@ namespace Model
inline ComputeResourceUpdate& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
/**
- * "String1":
+ *
"String1":
* "String2"
, where String1
is the tag key and
* String2
is the tag value-for example, { "Name": "Batch
* Instance - C4OnDemand" }
. This is helpful for recognizing your Batch
@@ -1386,8 +1395,8 @@ namespace Model
inline ComputeResourceUpdate& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
/**
- * "String1":
+ *
"String1":
* "String2"
, where String1
is the tag key and
* String2
is the tag value-for example, { "Name": "Batch
* Instance - C4OnDemand" }
. This is helpful for recognizing your Batch
@@ -1403,8 +1412,8 @@ namespace Model
inline ComputeResourceUpdate& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
/**
- * "String1":
+ *
"String1":
* "String2"
, where String1
is the tag key and
* String2
is the tag value-for example, { "Name": "Batch
* Instance - C4OnDemand" }
. This is helpful for recognizing your Batch
@@ -1420,8 +1429,8 @@ namespace Model
inline ComputeResourceUpdate& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
/**
- * "String1":
+ *
"String1":
* "String2"
, where String1
is the tag key and
* String2
is the tag value-for example, { "Name": "Batch
* Instance - C4OnDemand" }
. This is helpful for recognizing your Batch
@@ -1437,8 +1446,8 @@ namespace Model
inline ComputeResourceUpdate& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
/**
- * "String1":
+ *
"String1":
* "String2"
, where String1
is the tag key and
* String2
is the tag value-for example, { "Name": "Batch
* Instance - C4OnDemand" }
. This is helpful for recognizing your Batch
@@ -1792,122 +1801,122 @@ namespace Model
/**
- * Ec2Configuration
isn't
+ * Ec2Configuration
isn't
* specified, the default is ECS_AL2
.imageIdOverride
,
- * set this value to an empty string.imageIdOverride
, set this value to an empty string.Ec2Configuration
isn't
+ * Ec2Configuration
isn't
* specified, the default is ECS_AL2
.imageIdOverride
,
- * set this value to an empty string.imageIdOverride
, set this value to an empty string.Ec2Configuration
isn't
+ * Ec2Configuration
isn't
* specified, the default is ECS_AL2
.imageIdOverride
,
- * set this value to an empty string.imageIdOverride
, set this value to an empty string.Ec2Configuration
isn't
+ * Ec2Configuration
isn't
* specified, the default is ECS_AL2
.imageIdOverride
,
- * set this value to an empty string.imageIdOverride
, set this value to an empty string.Ec2Configuration
isn't
+ * Ec2Configuration
isn't
* specified, the default is ECS_AL2
.imageIdOverride
,
- * set this value to an empty string.imageIdOverride
, set this value to an empty string.Ec2Configuration
isn't
+ * Ec2Configuration
isn't
* specified, the default is ECS_AL2
.imageIdOverride
,
- * set this value to an empty string.imageIdOverride
, set this value to an empty string.Ec2Configuration
isn't
+ * Ec2Configuration
isn't
* specified, the default is ECS_AL2
.imageIdOverride
,
- * set this value to an empty string.imageIdOverride
, set this value to an empty string.Ec2Configuration
isn't
+ * Ec2Configuration
isn't
* specified, the default is ECS_AL2
.imageIdOverride
,
- * set this value to an empty string.imageIdOverride
, set this value to an empty string.resourceRequirements
, but you can't specify the vCPU requirements
* in both the vcpus
and resourceRequirements
object.
* This parameter maps to CpuShares
in the The number of vCPUs reserved for the container. For jobs that run on EC2
- * resources, you can specify the vCPU requirement for the job using
+ * resourceRequirements
, but you can't specify the vCPU requirements
* in both the vcpus
and resourceRequirements
object.
* This parameter maps to CpuShares
in the The number of vCPUs reserved for the container. For jobs that run on EC2
- * resources, you can specify the vCPU requirement for the job using
+ * resourceRequirements
, but you can't specify the vCPU requirements
* in both the vcpus
and resourceRequirements
object.
* This parameter maps to CpuShares
in the The number of vCPUs reserved for the container. For jobs that run on EC2
- * resources, you can specify the vCPU requirement for the job using
+ * resourceRequirements
, but you can't specify the vCPU requirements
* in both the vcpus
and resourceRequirements
object.
* This parameter maps to CpuShares
in the For jobs running on EC2 resources that didn't specify memory requirements
- * using resourceRequirements
, the number of MiB of memory reserved
- * for the job. For other jobs, including all run on Fargate resources, see
- * resourceRequirements
.resourceRequirements
, the number of MiB of
+ * memory reserved for the job. For other jobs, including all run on Fargate
+ * resources, see resourceRequirements
.resourceRequirements
, the number of MiB of memory reserved
- * for the job. For other jobs, including all run on Fargate resources, see
- * resourceRequirements
.resourceRequirements
, the number of MiB of
+ * memory reserved for the job. For other jobs, including all run on Fargate
+ * resources, see resourceRequirements
.resourceRequirements
, the number of MiB of memory reserved
- * for the job. For other jobs, including all run on Fargate resources, see
- * resourceRequirements
.resourceRequirements
, the number of MiB of
+ * memory reserved for the job. For other jobs, including all run on Fargate
+ * resources, see resourceRequirements
.resourceRequirements
, the number of MiB of memory reserved
- * for the job. For other jobs, including all run on Fargate resources, see
- * resourceRequirements
.resourceRequirements
, the number of MiB of
+ * memory reserved for the job. For other jobs, including all run on Fargate
+ * resources, see resourceRequirements
.sudo docker
- * version | grep "Server API version"
ECS_AVAILABLE_LOGGING_DRIVERS
environment variable before
+ * a subset of the logging drivers available to the Docker daemon (shown in the LogConfiguration
+ * data type). Additional log drivers might be available in future releases of the
+ * Amazon ECS container agent.sudo docker version | grep "Server
+ * API version"
ECS_AVAILABLE_LOGGING_DRIVERS
environment variable before
* containers placed on that instance can use these log configuration options. For
* more information, see Amazon
@@ -1264,16 +1264,16 @@ namespace Model
* options for different supported log drivers, see Configure logging
* drivers in the Docker documentation.sudo docker
- * version | grep "Server API version"
ECS_AVAILABLE_LOGGING_DRIVERS
environment variable before
+ * a subset of the logging drivers available to the Docker daemon (shown in the LogConfiguration
+ * data type). Additional log drivers might be available in future releases of the
+ * Amazon ECS container agent.sudo docker version | grep "Server
+ * API version"
ECS_AVAILABLE_LOGGING_DRIVERS
environment variable before
* containers placed on that instance can use these log configuration options. For
* more information, see Amazon
@@ -1299,16 +1299,16 @@ namespace Model
* options for different supported log drivers, see Configure logging
* drivers in the Docker documentation.sudo docker
- * version | grep "Server API version"
ECS_AVAILABLE_LOGGING_DRIVERS
environment variable before
+ * a subset of the logging drivers available to the Docker daemon (shown in the LogConfiguration
+ * data type). Additional log drivers might be available in future releases of the
+ * Amazon ECS container agent.sudo docker version | grep "Server
+ * API version"
ECS_AVAILABLE_LOGGING_DRIVERS
environment variable before
* containers placed on that instance can use these log configuration options. For
* more information, see Amazon
@@ -1334,16 +1334,16 @@ namespace Model
* options for different supported log drivers, see Configure logging
* drivers in the Docker documentation.sudo docker
- * version | grep "Server API version"
ECS_AVAILABLE_LOGGING_DRIVERS
environment variable before
+ * a subset of the logging drivers available to the Docker daemon (shown in the LogConfiguration
+ * data type). Additional log drivers might be available in future releases of the
+ * Amazon ECS container agent.sudo docker version | grep "Server
+ * API version"
ECS_AVAILABLE_LOGGING_DRIVERS
environment variable before
* containers placed on that instance can use these log configuration options. For
* more information, see Amazon
@@ -1369,16 +1369,16 @@ namespace Model
* options for different supported log drivers, see Configure logging
* drivers in the Docker documentation.sudo docker
- * version | grep "Server API version"
ECS_AVAILABLE_LOGGING_DRIVERS
environment variable before
+ * a subset of the logging drivers available to the Docker daemon (shown in the LogConfiguration
+ * data type). Additional log drivers might be available in future releases of the
+ * Amazon ECS container agent.sudo docker version | grep "Server
+ * API version"
ECS_AVAILABLE_LOGGING_DRIVERS
environment variable before
* containers placed on that instance can use these log configuration options. For
* more information, see Amazon
@@ -1404,16 +1404,16 @@ namespace Model
* options for different supported log drivers, see Configure logging
* drivers in the Docker documentation.sudo docker
- * version | grep "Server API version"
ECS_AVAILABLE_LOGGING_DRIVERS
environment variable before
+ * a subset of the logging drivers available to the Docker daemon (shown in the LogConfiguration
+ * data type). Additional log drivers might be available in future releases of the
+ * Amazon ECS container agent.sudo docker version | grep "Server
+ * API version"
ECS_AVAILABLE_LOGGING_DRIVERS
environment variable before
* containers placed on that instance can use these log configuration options. For
* more information, see Amazon
@@ -1482,74 +1482,86 @@ namespace Model
/**
*
The platform configuration for jobs that are running on Fargate resources. - * Jobs that are running on EC2 resources must not specify this parameter.
+ * Jobs that are running on Amazon EC2 resources must not specify this + * parameter. */ inline const FargatePlatformConfiguration& GetFargatePlatformConfiguration() const{ return m_fargatePlatformConfiguration; } /** *The platform configuration for jobs that are running on Fargate resources. - * Jobs that are running on EC2 resources must not specify this parameter.
+ * Jobs that are running on Amazon EC2 resources must not specify this + * parameter. */ inline bool FargatePlatformConfigurationHasBeenSet() const { return m_fargatePlatformConfigurationHasBeenSet; } /** *The platform configuration for jobs that are running on Fargate resources. - * Jobs that are running on EC2 resources must not specify this parameter.
+ * Jobs that are running on Amazon EC2 resources must not specify this + * parameter. */ inline void SetFargatePlatformConfiguration(const FargatePlatformConfiguration& value) { m_fargatePlatformConfigurationHasBeenSet = true; m_fargatePlatformConfiguration = value; } /** *The platform configuration for jobs that are running on Fargate resources. - * Jobs that are running on EC2 resources must not specify this parameter.
+ * Jobs that are running on Amazon EC2 resources must not specify this + * parameter. */ inline void SetFargatePlatformConfiguration(FargatePlatformConfiguration&& value) { m_fargatePlatformConfigurationHasBeenSet = true; m_fargatePlatformConfiguration = std::move(value); } /** *The platform configuration for jobs that are running on Fargate resources. - * Jobs that are running on EC2 resources must not specify this parameter.
+ * Jobs that are running on Amazon EC2 resources must not specify this + * parameter. */ inline ContainerDetail& WithFargatePlatformConfiguration(const FargatePlatformConfiguration& value) { SetFargatePlatformConfiguration(value); return *this;} /** *The platform configuration for jobs that are running on Fargate resources. - * Jobs that are running on EC2 resources must not specify this parameter.
+ * Jobs that are running on Amazon EC2 resources must not specify this + * parameter. */ inline ContainerDetail& WithFargatePlatformConfiguration(FargatePlatformConfiguration&& value) { SetFargatePlatformConfiguration(std::move(value)); return *this;} diff --git a/generated/src/aws-cpp-sdk-batch/include/aws/batch/model/ContainerProperties.h b/generated/src/aws-cpp-sdk-batch/include/aws/batch/model/ContainerProperties.h index df82aa43c61..d97ed532ce6 100644 --- a/generated/src/aws-cpp-sdk-batch/include/aws/batch/model/ContainerProperties.h +++ b/generated/src/aws-cpp-sdk-batch/include/aws/batch/model/ContainerProperties.h @@ -1297,16 +1297,17 @@ namespace Model * log drivers, see Configure logging * drivers in the Docker documentation.Batch currently supports - * a subset of the logging drivers available to the Docker daemon (shown in the - * LogConfiguration data type).
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 |
- * grep "Server API version"
The Amazon ECS container agent
- * running on a container instance must register the logging drivers available on
- * that instance with the ECS_AVAILABLE_LOGGING_DRIVERS
environment
- * variable before containers placed on that instance can use these log
- * configuration options. For more information, see LogConfiguration
+ * data type).
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 | grep "Server API
+ * version"
The Amazon ECS container agent running on a
+ * container instance must register the logging drivers available on that instance
+ * 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 in the Amazon Elastic Container Service
* Developer Guide.
Batch currently supports - * a subset of the logging drivers available to the Docker daemon (shown in the - * LogConfiguration data type).
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 |
- * grep "Server API version"
The Amazon ECS container agent
- * running on a container instance must register the logging drivers available on
- * that instance with the ECS_AVAILABLE_LOGGING_DRIVERS
environment
- * variable before containers placed on that instance can use these log
- * configuration options. For more information, see LogConfiguration
+ * data type).
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 | grep "Server API
+ * version"
The Amazon ECS container agent running on a
+ * container instance must register the logging drivers available on that instance
+ * 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 in the Amazon Elastic Container Service
* Developer Guide.
Batch currently supports - * a subset of the logging drivers available to the Docker daemon (shown in the - * LogConfiguration data type).
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 |
- * grep "Server API version"
The Amazon ECS container agent
- * running on a container instance must register the logging drivers available on
- * that instance with the ECS_AVAILABLE_LOGGING_DRIVERS
environment
- * variable before containers placed on that instance can use these log
- * configuration options. For more information, see LogConfiguration
+ * data type).
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 | grep "Server API
+ * version"
The Amazon ECS container agent running on a
+ * container instance must register the logging drivers available on that instance
+ * 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 in the Amazon Elastic Container Service
* Developer Guide.
Batch currently supports - * a subset of the logging drivers available to the Docker daemon (shown in the - * LogConfiguration data type).
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 |
- * grep "Server API version"
The Amazon ECS container agent
- * running on a container instance must register the logging drivers available on
- * that instance with the ECS_AVAILABLE_LOGGING_DRIVERS
environment
- * variable before containers placed on that instance can use these log
- * configuration options. For more information, see LogConfiguration
+ * data type).
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 | grep "Server API
+ * version"
The Amazon ECS container agent running on a
+ * container instance must register the logging drivers available on that instance
+ * 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 in the Amazon Elastic Container Service
* Developer Guide.
Batch currently supports - * a subset of the logging drivers available to the Docker daemon (shown in the - * LogConfiguration data type).
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 |
- * grep "Server API version"
The Amazon ECS container agent
- * running on a container instance must register the logging drivers available on
- * that instance with the ECS_AVAILABLE_LOGGING_DRIVERS
environment
- * variable before containers placed on that instance can use these log
- * configuration options. For more information, see LogConfiguration
+ * data type).
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 | grep "Server API
+ * version"
The Amazon ECS container agent running on a
+ * container instance must register the logging drivers available on that instance
+ * 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 in the Amazon Elastic Container Service
* Developer Guide.
Batch currently supports - * a subset of the logging drivers available to the Docker daemon (shown in the - * LogConfiguration data type).
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 |
- * grep "Server API version"
The Amazon ECS container agent
- * running on a container instance must register the logging drivers available on
- * that instance with the ECS_AVAILABLE_LOGGING_DRIVERS
environment
- * variable before containers placed on that instance can use these log
- * configuration options. For more information, see LogConfiguration
+ * data type).
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 | grep "Server API
+ * version"
The Amazon ECS container agent running on a
+ * container instance must register the logging drivers available on that instance
+ * 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 in the Amazon Elastic Container Service
* Developer Guide.
The network configuration for jobs that are running on Fargate resources. - * Jobs that are running on EC2 resources must not specify this parameter.
+ * Jobs that are running on Amazon EC2 resources must not specify this + * parameter. */ inline const NetworkConfiguration& GetNetworkConfiguration() const{ return m_networkConfiguration; } /** *The network configuration for jobs that are running on Fargate resources. - * Jobs that are running on EC2 resources must not specify this parameter.
+ * Jobs that are running on Amazon EC2 resources must not specify this + * parameter. */ inline bool NetworkConfigurationHasBeenSet() const { return m_networkConfigurationHasBeenSet; } /** *The network configuration for jobs that are running on Fargate resources. - * Jobs that are running on EC2 resources must not specify this parameter.
+ * Jobs that are running on Amazon EC2 resources must not specify this + * parameter. */ inline void SetNetworkConfiguration(const NetworkConfiguration& value) { m_networkConfigurationHasBeenSet = true; m_networkConfiguration = value; } /** *The network configuration for jobs that are running on Fargate resources. - * Jobs that are running on EC2 resources must not specify this parameter.
+ * Jobs that are running on Amazon EC2 resources must not specify this + * parameter. */ inline void SetNetworkConfiguration(NetworkConfiguration&& value) { m_networkConfigurationHasBeenSet = true; m_networkConfiguration = std::move(value); } /** *The network configuration for jobs that are running on Fargate resources. - * Jobs that are running on EC2 resources must not specify this parameter.
+ * Jobs that are running on Amazon EC2 resources must not specify this + * parameter. */ inline ContainerProperties& WithNetworkConfiguration(const NetworkConfiguration& value) { SetNetworkConfiguration(value); return *this;} /** *The network configuration for jobs that are running on Fargate resources. - * Jobs that are running on EC2 resources must not specify this parameter.
+ * Jobs that are running on Amazon EC2 resources must not specify this + * parameter. */ inline ContainerProperties& WithNetworkConfiguration(NetworkConfiguration&& value) { SetNetworkConfiguration(std::move(value)); return *this;} /** *The platform configuration for jobs that are running on Fargate resources. - * Jobs that are running on EC2 resources must not specify this parameter.
+ * Jobs that are running on Amazon EC2 resources must not specify this + * parameter. */ inline const FargatePlatformConfiguration& GetFargatePlatformConfiguration() const{ return m_fargatePlatformConfiguration; } /** *The platform configuration for jobs that are running on Fargate resources. - * Jobs that are running on EC2 resources must not specify this parameter.
+ * Jobs that are running on Amazon EC2 resources must not specify this + * parameter. */ inline bool FargatePlatformConfigurationHasBeenSet() const { return m_fargatePlatformConfigurationHasBeenSet; } /** *The platform configuration for jobs that are running on Fargate resources. - * Jobs that are running on EC2 resources must not specify this parameter.
+ * Jobs that are running on Amazon EC2 resources must not specify this + * parameter. */ inline void SetFargatePlatformConfiguration(const FargatePlatformConfiguration& value) { m_fargatePlatformConfigurationHasBeenSet = true; m_fargatePlatformConfiguration = value; } /** *The platform configuration for jobs that are running on Fargate resources. - * Jobs that are running on EC2 resources must not specify this parameter.
+ * Jobs that are running on Amazon EC2 resources must not specify this + * parameter. */ inline void SetFargatePlatformConfiguration(FargatePlatformConfiguration&& value) { m_fargatePlatformConfigurationHasBeenSet = true; m_fargatePlatformConfiguration = std::move(value); } /** *The platform configuration for jobs that are running on Fargate resources. - * Jobs that are running on EC2 resources must not specify this parameter.
+ * Jobs that are running on Amazon EC2 resources must not specify this + * parameter. */ inline ContainerProperties& WithFargatePlatformConfiguration(const FargatePlatformConfiguration& value) { SetFargatePlatformConfiguration(value); return *this;} /** *The platform configuration for jobs that are running on Fargate resources. - * Jobs that are running on EC2 resources must not specify this parameter.
+ * Jobs that are running on Amazon EC2 resources must not specify this + * parameter. */ inline ContainerProperties& WithFargatePlatformConfiguration(FargatePlatformConfiguration&& value) { SetFargatePlatformConfiguration(std::move(value)); return *this;} diff --git a/generated/src/aws-cpp-sdk-batch/include/aws/batch/model/EcsProperties.h b/generated/src/aws-cpp-sdk-batch/include/aws/batch/model/EcsProperties.h new file mode 100644 index 00000000000..d60b637c34b --- /dev/null +++ b/generated/src/aws-cpp-sdk-batch/include/aws/batch/model/EcsProperties.h @@ -0,0 +1,106 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#includeAn object that contains the properties for the Amazon ECS resources of a + * job.
An object that contains the properties for the Amazon ECS task definition of + * a job.
This object is currently limited to one element.
+ * + */ + inline const Aws::VectorAn object that contains the properties for the Amazon ECS task definition of + * a job.
This object is currently limited to one element.
+ * + */ + inline bool TaskPropertiesHasBeenSet() const { return m_taskPropertiesHasBeenSet; } + + /** + *An object that contains the properties for the Amazon ECS task definition of + * a job.
This object is currently limited to one element.
+ * + */ + inline void SetTaskProperties(const Aws::VectorAn object that contains the properties for the Amazon ECS task definition of + * a job.
This object is currently limited to one element.
+ * + */ + inline void SetTaskProperties(Aws::VectorAn object that contains the properties for the Amazon ECS task definition of + * a job.
This object is currently limited to one element.
+ * + */ + inline EcsProperties& WithTaskProperties(const Aws::VectorAn object that contains the properties for the Amazon ECS task definition of + * a job.
This object is currently limited to one element.
+ * + */ + inline EcsProperties& WithTaskProperties(Aws::VectorAn object that contains the properties for the Amazon ECS task definition of + * a job.
This object is currently limited to one element.
+ * + */ + inline EcsProperties& AddTaskProperties(const EcsTaskProperties& value) { m_taskPropertiesHasBeenSet = true; m_taskProperties.push_back(value); return *this; } + + /** + *An object that contains the properties for the Amazon ECS task definition of + * a job.
This object is currently limited to one element.
+ * + */ + inline EcsProperties& AddTaskProperties(EcsTaskProperties&& value) { m_taskPropertiesHasBeenSet = true; m_taskProperties.push_back(std::move(value)); return *this; } + + private: + + Aws::VectorAn object that contains the details for the Amazon ECS resources of a + * job.
The properties for the Amazon ECS task definition of a job.
+ */ + inline const Aws::VectorThe properties for the Amazon ECS task definition of a job.
+ */ + inline bool TaskPropertiesHasBeenSet() const { return m_taskPropertiesHasBeenSet; } + + /** + *The properties for the Amazon ECS task definition of a job.
+ */ + inline void SetTaskProperties(const Aws::VectorThe properties for the Amazon ECS task definition of a job.
+ */ + inline void SetTaskProperties(Aws::VectorThe properties for the Amazon ECS task definition of a job.
+ */ + inline EcsPropertiesDetail& WithTaskProperties(const Aws::VectorThe properties for the Amazon ECS task definition of a job.
+ */ + inline EcsPropertiesDetail& WithTaskProperties(Aws::VectorThe properties for the Amazon ECS task definition of a job.
+ */ + inline EcsPropertiesDetail& AddTaskProperties(const EcsTaskDetails& value) { m_taskPropertiesHasBeenSet = true; m_taskProperties.push_back(value); return *this; } + + /** + *The properties for the Amazon ECS task definition of a job.
+ */ + inline EcsPropertiesDetail& AddTaskProperties(EcsTaskDetails&& value) { m_taskPropertiesHasBeenSet = true; m_taskProperties.push_back(std::move(value)); return *this; } + + private: + + Aws::VectorAn object that contains overrides for the Amazon ECS task definition of a + * job.
The overrides for the Amazon ECS task definition of a job.
This + * object is currently limited to one element.
+ */ + inline const Aws::VectorThe overrides for the Amazon ECS task definition of a job.
This + * object is currently limited to one element.
+ */ + inline bool TaskPropertiesHasBeenSet() const { return m_taskPropertiesHasBeenSet; } + + /** + *The overrides for the Amazon ECS task definition of a job.
This + * object is currently limited to one element.
+ */ + inline void SetTaskProperties(const Aws::VectorThe overrides for the Amazon ECS task definition of a job.
This + * object is currently limited to one element.
+ */ + inline void SetTaskProperties(Aws::VectorThe overrides for the Amazon ECS task definition of a job.
This + * object is currently limited to one element.
+ */ + inline EcsPropertiesOverride& WithTaskProperties(const Aws::VectorThe overrides for the Amazon ECS task definition of a job.
This + * object is currently limited to one element.
+ */ + inline EcsPropertiesOverride& WithTaskProperties(Aws::VectorThe overrides for the Amazon ECS task definition of a job.
This + * object is currently limited to one element.
+ */ + inline EcsPropertiesOverride& AddTaskProperties(const TaskPropertiesOverride& value) { m_taskPropertiesHasBeenSet = true; m_taskProperties.push_back(value); return *this; } + + /** + *The overrides for the Amazon ECS task definition of a job.
This + * object is currently limited to one element.
+ */ + inline EcsPropertiesOverride& AddTaskProperties(TaskPropertiesOverride&& value) { m_taskPropertiesHasBeenSet = true; m_taskProperties.push_back(std::move(value)); return *this; } + + private: + + Aws::VectorThe details of a task definition that describes the container and volume + * definitions of an Amazon ECS task.
A list of containers that are included in the taskProperties
+ * list.
A list of containers that are included in the taskProperties
+ * list.
A list of containers that are included in the taskProperties
+ * list.
A list of containers that are included in the taskProperties
+ * list.
A list of containers that are included in the taskProperties
+ * list.
A list of containers that are included in the taskProperties
+ * list.
A list of containers that are included in the taskProperties
+ * list.
A list of containers that are included in the taskProperties
+ * list.
The Amazon Resource Name (ARN) of the container instance that hosts the + * task.
+ */ + inline const Aws::String& GetContainerInstanceArn() const{ return m_containerInstanceArn; } + + /** + *The Amazon Resource Name (ARN) of the container instance that hosts the + * task.
+ */ + inline bool ContainerInstanceArnHasBeenSet() const { return m_containerInstanceArnHasBeenSet; } + + /** + *The Amazon Resource Name (ARN) of the container instance that hosts the + * task.
+ */ + inline void SetContainerInstanceArn(const Aws::String& value) { m_containerInstanceArnHasBeenSet = true; m_containerInstanceArn = value; } + + /** + *The Amazon Resource Name (ARN) of the container instance that hosts the + * task.
+ */ + inline void SetContainerInstanceArn(Aws::String&& value) { m_containerInstanceArnHasBeenSet = true; m_containerInstanceArn = std::move(value); } + + /** + *The Amazon Resource Name (ARN) of the container instance that hosts the + * task.
+ */ + inline void SetContainerInstanceArn(const char* value) { m_containerInstanceArnHasBeenSet = true; m_containerInstanceArn.assign(value); } + + /** + *The Amazon Resource Name (ARN) of the container instance that hosts the + * task.
+ */ + inline EcsTaskDetails& WithContainerInstanceArn(const Aws::String& value) { SetContainerInstanceArn(value); return *this;} + + /** + *The Amazon Resource Name (ARN) of the container instance that hosts the + * task.
+ */ + inline EcsTaskDetails& WithContainerInstanceArn(Aws::String&& value) { SetContainerInstanceArn(std::move(value)); return *this;} + + /** + *The Amazon Resource Name (ARN) of the container instance that hosts the + * task.
+ */ + inline EcsTaskDetails& WithContainerInstanceArn(const char* value) { SetContainerInstanceArn(value); return *this;} + + + /** + *The ARN of the Amazon ECS task.
+ */ + inline const Aws::String& GetTaskArn() const{ return m_taskArn; } + + /** + *The ARN of the Amazon ECS task.
+ */ + inline bool TaskArnHasBeenSet() const { return m_taskArnHasBeenSet; } + + /** + *The ARN of the Amazon ECS task.
+ */ + inline void SetTaskArn(const Aws::String& value) { m_taskArnHasBeenSet = true; m_taskArn = value; } + + /** + *The ARN of the Amazon ECS task.
+ */ + inline void SetTaskArn(Aws::String&& value) { m_taskArnHasBeenSet = true; m_taskArn = std::move(value); } + + /** + *The ARN of the Amazon ECS task.
+ */ + inline void SetTaskArn(const char* value) { m_taskArnHasBeenSet = true; m_taskArn.assign(value); } + + /** + *The ARN of the Amazon ECS task.
+ */ + inline EcsTaskDetails& WithTaskArn(const Aws::String& value) { SetTaskArn(value); return *this;} + + /** + *The ARN of the Amazon ECS task.
+ */ + inline EcsTaskDetails& WithTaskArn(Aws::String&& value) { SetTaskArn(std::move(value)); return *this;} + + /** + *The ARN of the Amazon ECS task.
+ */ + inline EcsTaskDetails& WithTaskArn(const char* value) { SetTaskArn(value); return *this;} + + + /** + *The amount of ephemeral storage allocated for the task.
+ */ + inline const EphemeralStorage& GetEphemeralStorage() const{ return m_ephemeralStorage; } + + /** + *The amount of ephemeral storage allocated for the task.
+ */ + inline bool EphemeralStorageHasBeenSet() const { return m_ephemeralStorageHasBeenSet; } + + /** + *The amount of ephemeral storage allocated for the task.
+ */ + inline void SetEphemeralStorage(const EphemeralStorage& value) { m_ephemeralStorageHasBeenSet = true; m_ephemeralStorage = value; } + + /** + *The amount of ephemeral storage allocated for the task.
+ */ + inline void SetEphemeralStorage(EphemeralStorage&& value) { m_ephemeralStorageHasBeenSet = true; m_ephemeralStorage = std::move(value); } + + /** + *The amount of ephemeral storage allocated for the task.
+ */ + inline EcsTaskDetails& WithEphemeralStorage(const EphemeralStorage& value) { SetEphemeralStorage(value); return *this;} + + /** + *The amount of ephemeral storage allocated for the task.
+ */ + inline EcsTaskDetails& WithEphemeralStorage(EphemeralStorage&& value) { SetEphemeralStorage(std::move(value)); return *this;} + + + /** + *The Amazon Resource Name (ARN) of the execution role that Batch can assume. + * For more information, see Batch + * execution IAM role in the Batch User Guide.
+ */ + inline const Aws::String& GetExecutionRoleArn() const{ return m_executionRoleArn; } + + /** + *The Amazon Resource Name (ARN) of the execution role that Batch can assume. + * For more information, see Batch + * execution IAM role in the Batch User Guide.
+ */ + inline bool ExecutionRoleArnHasBeenSet() const { return m_executionRoleArnHasBeenSet; } + + /** + *The Amazon Resource Name (ARN) of the execution role that Batch can assume. + * For more information, see Batch + * execution IAM role in the Batch User Guide.
+ */ + inline void SetExecutionRoleArn(const Aws::String& value) { m_executionRoleArnHasBeenSet = true; m_executionRoleArn = value; } + + /** + *The Amazon Resource Name (ARN) of the execution role that Batch can assume. + * For more information, see Batch + * execution IAM role in the Batch User Guide.
+ */ + inline void SetExecutionRoleArn(Aws::String&& value) { m_executionRoleArnHasBeenSet = true; m_executionRoleArn = std::move(value); } + + /** + *The Amazon Resource Name (ARN) of the execution role that Batch can assume. + * For more information, see Batch + * execution IAM role in the Batch User Guide.
+ */ + inline void SetExecutionRoleArn(const char* value) { m_executionRoleArnHasBeenSet = true; m_executionRoleArn.assign(value); } + + /** + *The Amazon Resource Name (ARN) of the execution role that Batch can assume. + * For more information, see Batch + * execution IAM role in the Batch User Guide.
+ */ + inline EcsTaskDetails& WithExecutionRoleArn(const Aws::String& value) { SetExecutionRoleArn(value); return *this;} + + /** + *The Amazon Resource Name (ARN) of the execution role that Batch can assume. + * For more information, see Batch + * execution IAM role in the Batch User Guide.
+ */ + inline EcsTaskDetails& WithExecutionRoleArn(Aws::String&& value) { SetExecutionRoleArn(std::move(value)); return *this;} + + /** + *The Amazon Resource Name (ARN) of the execution role that Batch can assume. + * For more information, see Batch + * execution IAM role in the Batch User Guide.
+ */ + inline EcsTaskDetails& WithExecutionRoleArn(const char* value) { SetExecutionRoleArn(value); return *this;} + + + /** + *The Fargate platform version where the jobs are running.
+ */ + inline const Aws::String& GetPlatformVersion() const{ return m_platformVersion; } + + /** + *The Fargate platform version where the jobs are running.
+ */ + inline bool PlatformVersionHasBeenSet() const { return m_platformVersionHasBeenSet; } + + /** + *The Fargate platform version where the jobs are running.
+ */ + inline void SetPlatformVersion(const Aws::String& value) { m_platformVersionHasBeenSet = true; m_platformVersion = value; } + + /** + *The Fargate platform version where the jobs are running.
+ */ + inline void SetPlatformVersion(Aws::String&& value) { m_platformVersionHasBeenSet = true; m_platformVersion = std::move(value); } + + /** + *The Fargate platform version where the jobs are running.
+ */ + inline void SetPlatformVersion(const char* value) { m_platformVersionHasBeenSet = true; m_platformVersion.assign(value); } + + /** + *The Fargate platform version where the jobs are running.
+ */ + inline EcsTaskDetails& WithPlatformVersion(const Aws::String& value) { SetPlatformVersion(value); return *this;} + + /** + *The Fargate platform version where the jobs are running.
+ */ + inline EcsTaskDetails& WithPlatformVersion(Aws::String&& value) { SetPlatformVersion(std::move(value)); return *this;} + + /** + *The Fargate platform version where the jobs are running.
+ */ + inline EcsTaskDetails& WithPlatformVersion(const char* value) { SetPlatformVersion(value); return *this;} + + + /** + *The IPC resource namespace to use for the containers in the task.
+ */ + inline const Aws::String& GetIpcMode() const{ return m_ipcMode; } + + /** + *The IPC resource namespace to use for the containers in the task.
+ */ + inline bool IpcModeHasBeenSet() const { return m_ipcModeHasBeenSet; } + + /** + *The IPC resource namespace to use for the containers in the task.
+ */ + inline void SetIpcMode(const Aws::String& value) { m_ipcModeHasBeenSet = true; m_ipcMode = value; } + + /** + *The IPC resource namespace to use for the containers in the task.
+ */ + inline void SetIpcMode(Aws::String&& value) { m_ipcModeHasBeenSet = true; m_ipcMode = std::move(value); } + + /** + *The IPC resource namespace to use for the containers in the task.
+ */ + inline void SetIpcMode(const char* value) { m_ipcModeHasBeenSet = true; m_ipcMode.assign(value); } + + /** + *The IPC resource namespace to use for the containers in the task.
+ */ + inline EcsTaskDetails& WithIpcMode(const Aws::String& value) { SetIpcMode(value); return *this;} + + /** + *The IPC resource namespace to use for the containers in the task.
+ */ + inline EcsTaskDetails& WithIpcMode(Aws::String&& value) { SetIpcMode(std::move(value)); return *this;} + + /** + *The IPC resource namespace to use for the containers in the task.
+ */ + inline EcsTaskDetails& WithIpcMode(const char* value) { SetIpcMode(value); return *this;} + + + /** + *The Amazon Resource Name (ARN) of the IAM role that the container can assume + * for Amazon Web Services permissions. For more information, see IAM + * roles for tasks in the Amazon Elastic Container Service Developer + * Guide.
This is object is comparable to ContainerProperties:jobRoleArn.
+ * + */ + inline const Aws::String& GetTaskRoleArn() const{ return m_taskRoleArn; } + + /** + *The Amazon Resource Name (ARN) of the IAM role that the container can assume + * for Amazon Web Services permissions. For more information, see IAM + * roles for tasks in the Amazon Elastic Container Service Developer + * Guide.
This is object is comparable to ContainerProperties:jobRoleArn.
+ * + */ + inline bool TaskRoleArnHasBeenSet() const { return m_taskRoleArnHasBeenSet; } + + /** + *The Amazon Resource Name (ARN) of the IAM role that the container can assume + * for Amazon Web Services permissions. For more information, see IAM + * roles for tasks in the Amazon Elastic Container Service Developer + * Guide.
This is object is comparable to ContainerProperties:jobRoleArn.
+ * + */ + inline void SetTaskRoleArn(const Aws::String& value) { m_taskRoleArnHasBeenSet = true; m_taskRoleArn = value; } + + /** + *The Amazon Resource Name (ARN) of the IAM role that the container can assume + * for Amazon Web Services permissions. For more information, see IAM + * roles for tasks in the Amazon Elastic Container Service Developer + * Guide.
This is object is comparable to ContainerProperties:jobRoleArn.
+ * + */ + inline void SetTaskRoleArn(Aws::String&& value) { m_taskRoleArnHasBeenSet = true; m_taskRoleArn = std::move(value); } + + /** + *The Amazon Resource Name (ARN) of the IAM role that the container can assume + * for Amazon Web Services permissions. For more information, see IAM + * roles for tasks in the Amazon Elastic Container Service Developer + * Guide.
This is object is comparable to ContainerProperties:jobRoleArn.
+ * + */ + inline void SetTaskRoleArn(const char* value) { m_taskRoleArnHasBeenSet = true; m_taskRoleArn.assign(value); } + + /** + *The Amazon Resource Name (ARN) of the IAM role that the container can assume + * for Amazon Web Services permissions. For more information, see IAM + * roles for tasks in the Amazon Elastic Container Service Developer + * Guide.
This is object is comparable to ContainerProperties:jobRoleArn.
+ * + */ + inline EcsTaskDetails& WithTaskRoleArn(const Aws::String& value) { SetTaskRoleArn(value); return *this;} + + /** + *The Amazon Resource Name (ARN) of the IAM role that the container can assume + * for Amazon Web Services permissions. For more information, see IAM + * roles for tasks in the Amazon Elastic Container Service Developer + * Guide.
This is object is comparable to ContainerProperties:jobRoleArn.
+ * + */ + inline EcsTaskDetails& WithTaskRoleArn(Aws::String&& value) { SetTaskRoleArn(std::move(value)); return *this;} + + /** + *The Amazon Resource Name (ARN) of the IAM role that the container can assume + * for Amazon Web Services permissions. For more information, see IAM + * roles for tasks in the Amazon Elastic Container Service Developer + * Guide.
This is object is comparable to ContainerProperties:jobRoleArn.
+ * + */ + inline EcsTaskDetails& WithTaskRoleArn(const char* value) { SetTaskRoleArn(value); return *this;} + + + /** + *The process namespace to use for the containers in the task.
+ */ + inline const Aws::String& GetPidMode() const{ return m_pidMode; } + + /** + *The process namespace to use for the containers in the task.
+ */ + inline bool PidModeHasBeenSet() const { return m_pidModeHasBeenSet; } + + /** + *The process namespace to use for the containers in the task.
+ */ + inline void SetPidMode(const Aws::String& value) { m_pidModeHasBeenSet = true; m_pidMode = value; } + + /** + *The process namespace to use for the containers in the task.
+ */ + inline void SetPidMode(Aws::String&& value) { m_pidModeHasBeenSet = true; m_pidMode = std::move(value); } + + /** + *The process namespace to use for the containers in the task.
+ */ + inline void SetPidMode(const char* value) { m_pidModeHasBeenSet = true; m_pidMode.assign(value); } + + /** + *The process namespace to use for the containers in the task.
+ */ + inline EcsTaskDetails& WithPidMode(const Aws::String& value) { SetPidMode(value); return *this;} + + /** + *The process namespace to use for the containers in the task.
+ */ + inline EcsTaskDetails& WithPidMode(Aws::String&& value) { SetPidMode(std::move(value)); return *this;} + + /** + *The process namespace to use for the containers in the task.
+ */ + inline EcsTaskDetails& WithPidMode(const char* value) { SetPidMode(value); return *this;} + + + /** + *The network configuration for jobs that are running on Fargate resources. + * Jobs that are running on Amazon EC2 resources must not specify this + * parameter.
+ */ + inline const NetworkConfiguration& GetNetworkConfiguration() const{ return m_networkConfiguration; } + + /** + *The network configuration for jobs that are running on Fargate resources. + * Jobs that are running on Amazon EC2 resources must not specify this + * parameter.
+ */ + inline bool NetworkConfigurationHasBeenSet() const { return m_networkConfigurationHasBeenSet; } + + /** + *The network configuration for jobs that are running on Fargate resources. + * Jobs that are running on Amazon EC2 resources must not specify this + * parameter.
+ */ + inline void SetNetworkConfiguration(const NetworkConfiguration& value) { m_networkConfigurationHasBeenSet = true; m_networkConfiguration = value; } + + /** + *The network configuration for jobs that are running on Fargate resources. + * Jobs that are running on Amazon EC2 resources must not specify this + * parameter.
+ */ + inline void SetNetworkConfiguration(NetworkConfiguration&& value) { m_networkConfigurationHasBeenSet = true; m_networkConfiguration = std::move(value); } + + /** + *The network configuration for jobs that are running on Fargate resources. + * Jobs that are running on Amazon EC2 resources must not specify this + * parameter.
+ */ + inline EcsTaskDetails& WithNetworkConfiguration(const NetworkConfiguration& value) { SetNetworkConfiguration(value); return *this;} + + /** + *The network configuration for jobs that are running on Fargate resources. + * Jobs that are running on Amazon EC2 resources must not specify this + * parameter.
+ */ + inline EcsTaskDetails& WithNetworkConfiguration(NetworkConfiguration&& value) { SetNetworkConfiguration(std::move(value)); return *this;} + + + /** + *An object that represents the compute environment architecture for Batch jobs + * on Fargate.
+ */ + inline const RuntimePlatform& GetRuntimePlatform() const{ return m_runtimePlatform; } + + /** + *An object that represents the compute environment architecture for Batch jobs + * on Fargate.
+ */ + inline bool RuntimePlatformHasBeenSet() const { return m_runtimePlatformHasBeenSet; } + + /** + *An object that represents the compute environment architecture for Batch jobs + * on Fargate.
+ */ + inline void SetRuntimePlatform(const RuntimePlatform& value) { m_runtimePlatformHasBeenSet = true; m_runtimePlatform = value; } + + /** + *An object that represents the compute environment architecture for Batch jobs + * on Fargate.
+ */ + inline void SetRuntimePlatform(RuntimePlatform&& value) { m_runtimePlatformHasBeenSet = true; m_runtimePlatform = std::move(value); } + + /** + *An object that represents the compute environment architecture for Batch jobs + * on Fargate.
+ */ + inline EcsTaskDetails& WithRuntimePlatform(const RuntimePlatform& value) { SetRuntimePlatform(value); return *this;} + + /** + *An object that represents the compute environment architecture for Batch jobs + * on Fargate.
+ */ + inline EcsTaskDetails& WithRuntimePlatform(RuntimePlatform&& value) { SetRuntimePlatform(std::move(value)); return *this;} + + + /** + *A list of data volumes used in a job.
+ */ + inline const Aws::VectorA list of data volumes used in a job.
+ */ + inline bool VolumesHasBeenSet() const { return m_volumesHasBeenSet; } + + /** + *A list of data volumes used in a job.
+ */ + inline void SetVolumes(const Aws::VectorA list of data volumes used in a job.
+ */ + inline void SetVolumes(Aws::VectorA list of data volumes used in a job.
+ */ + inline EcsTaskDetails& WithVolumes(const Aws::VectorA list of data volumes used in a job.
+ */ + inline EcsTaskDetails& WithVolumes(Aws::VectorA list of data volumes used in a job.
+ */ + inline EcsTaskDetails& AddVolumes(const Volume& value) { m_volumesHasBeenSet = true; m_volumes.push_back(value); return *this; } + + /** + *A list of data volumes used in a job.
+ */ + inline EcsTaskDetails& AddVolumes(Volume&& value) { m_volumesHasBeenSet = true; m_volumes.push_back(std::move(value)); return *this; } + + private: + + Aws::VectorThe properties for a task definition that describes the container and volume + * definitions of an Amazon ECS task. You can specify which Docker images to use, + * the required resources, and other configurations related to launching the task + * definition through an Amazon ECS service or task.
This object is a list of containers.
+ */ + inline const Aws::VectorThis object is a list of containers.
+ */ + inline bool ContainersHasBeenSet() const { return m_containersHasBeenSet; } + + /** + *This object is a list of containers.
+ */ + inline void SetContainers(const Aws::VectorThis object is a list of containers.
+ */ + inline void SetContainers(Aws::VectorThis object is a list of containers.
+ */ + inline EcsTaskProperties& WithContainers(const Aws::VectorThis object is a list of containers.
+ */ + inline EcsTaskProperties& WithContainers(Aws::VectorThis object is a list of containers.
+ */ + inline EcsTaskProperties& AddContainers(const TaskContainerProperties& value) { m_containersHasBeenSet = true; m_containers.push_back(value); return *this; } + + /** + *This object is a list of containers.
+ */ + inline EcsTaskProperties& AddContainers(TaskContainerProperties&& value) { m_containersHasBeenSet = true; m_containers.push_back(std::move(value)); return *this; } + + + /** + *The amount of ephemeral storage to allocate for the task. This parameter is + * used to expand the total amount of ephemeral storage available, beyond the + * default amount, for tasks hosted on Fargate.
+ */ + inline const EphemeralStorage& GetEphemeralStorage() const{ return m_ephemeralStorage; } + + /** + *The amount of ephemeral storage to allocate for the task. This parameter is + * used to expand the total amount of ephemeral storage available, beyond the + * default amount, for tasks hosted on Fargate.
+ */ + inline bool EphemeralStorageHasBeenSet() const { return m_ephemeralStorageHasBeenSet; } + + /** + *The amount of ephemeral storage to allocate for the task. This parameter is + * used to expand the total amount of ephemeral storage available, beyond the + * default amount, for tasks hosted on Fargate.
+ */ + inline void SetEphemeralStorage(const EphemeralStorage& value) { m_ephemeralStorageHasBeenSet = true; m_ephemeralStorage = value; } + + /** + *The amount of ephemeral storage to allocate for the task. This parameter is + * used to expand the total amount of ephemeral storage available, beyond the + * default amount, for tasks hosted on Fargate.
+ */ + inline void SetEphemeralStorage(EphemeralStorage&& value) { m_ephemeralStorageHasBeenSet = true; m_ephemeralStorage = std::move(value); } + + /** + *The amount of ephemeral storage to allocate for the task. This parameter is + * used to expand the total amount of ephemeral storage available, beyond the + * default amount, for tasks hosted on Fargate.
+ */ + inline EcsTaskProperties& WithEphemeralStorage(const EphemeralStorage& value) { SetEphemeralStorage(value); return *this;} + + /** + *The amount of ephemeral storage to allocate for the task. This parameter is + * used to expand the total amount of ephemeral storage available, beyond the + * default amount, for tasks hosted on Fargate.
+ */ + inline EcsTaskProperties& WithEphemeralStorage(EphemeralStorage&& value) { SetEphemeralStorage(std::move(value)); return *this;} + + + /** + *The Amazon Resource Name (ARN) of the execution role that Batch can assume. + * For jobs that run on Fargate resources, you must provide an execution role. For + * more information, see Batch + * execution IAM role in the Batch User Guide.
+ */ + inline const Aws::String& GetExecutionRoleArn() const{ return m_executionRoleArn; } + + /** + *The Amazon Resource Name (ARN) of the execution role that Batch can assume. + * For jobs that run on Fargate resources, you must provide an execution role. For + * more information, see Batch + * execution IAM role in the Batch User Guide.
+ */ + inline bool ExecutionRoleArnHasBeenSet() const { return m_executionRoleArnHasBeenSet; } + + /** + *The Amazon Resource Name (ARN) of the execution role that Batch can assume. + * For jobs that run on Fargate resources, you must provide an execution role. For + * more information, see Batch + * execution IAM role in the Batch User Guide.
+ */ + inline void SetExecutionRoleArn(const Aws::String& value) { m_executionRoleArnHasBeenSet = true; m_executionRoleArn = value; } + + /** + *The Amazon Resource Name (ARN) of the execution role that Batch can assume. + * For jobs that run on Fargate resources, you must provide an execution role. For + * more information, see Batch + * execution IAM role in the Batch User Guide.
+ */ + inline void SetExecutionRoleArn(Aws::String&& value) { m_executionRoleArnHasBeenSet = true; m_executionRoleArn = std::move(value); } + + /** + *The Amazon Resource Name (ARN) of the execution role that Batch can assume. + * For jobs that run on Fargate resources, you must provide an execution role. For + * more information, see Batch + * execution IAM role in the Batch User Guide.
+ */ + inline void SetExecutionRoleArn(const char* value) { m_executionRoleArnHasBeenSet = true; m_executionRoleArn.assign(value); } + + /** + *The Amazon Resource Name (ARN) of the execution role that Batch can assume. + * For jobs that run on Fargate resources, you must provide an execution role. For + * more information, see Batch + * execution IAM role in the Batch User Guide.
+ */ + inline EcsTaskProperties& WithExecutionRoleArn(const Aws::String& value) { SetExecutionRoleArn(value); return *this;} + + /** + *The Amazon Resource Name (ARN) of the execution role that Batch can assume. + * For jobs that run on Fargate resources, you must provide an execution role. For + * more information, see Batch + * execution IAM role in the Batch User Guide.
+ */ + inline EcsTaskProperties& WithExecutionRoleArn(Aws::String&& value) { SetExecutionRoleArn(std::move(value)); return *this;} + + /** + *The Amazon Resource Name (ARN) of the execution role that Batch can assume. + * For jobs that run on Fargate resources, you must provide an execution role. For + * more information, see Batch + * execution IAM role in the Batch User Guide.
+ */ + inline EcsTaskProperties& WithExecutionRoleArn(const char* value) { SetExecutionRoleArn(value); return *this;} + + + /** + *The Fargate platform version where the jobs are running. A platform version
+ * is specified only for jobs that are running on Fargate resources. If one isn't
+ * specified, the LATEST
platform version is used by default. This
+ * uses a recent, approved version of the Fargate platform for compute resources.
+ * For more information, see Fargate
+ * platform versions in the Amazon Elastic Container Service Developer
+ * Guide.
The Fargate platform version where the jobs are running. A platform version
+ * is specified only for jobs that are running on Fargate resources. If one isn't
+ * specified, the LATEST
platform version is used by default. This
+ * uses a recent, approved version of the Fargate platform for compute resources.
+ * For more information, see Fargate
+ * platform versions in the Amazon Elastic Container Service Developer
+ * Guide.
The Fargate platform version where the jobs are running. A platform version
+ * is specified only for jobs that are running on Fargate resources. If one isn't
+ * specified, the LATEST
platform version is used by default. This
+ * uses a recent, approved version of the Fargate platform for compute resources.
+ * For more information, see Fargate
+ * platform versions in the Amazon Elastic Container Service Developer
+ * Guide.
The Fargate platform version where the jobs are running. A platform version
+ * is specified only for jobs that are running on Fargate resources. If one isn't
+ * specified, the LATEST
platform version is used by default. This
+ * uses a recent, approved version of the Fargate platform for compute resources.
+ * For more information, see Fargate
+ * platform versions in the Amazon Elastic Container Service Developer
+ * Guide.
The Fargate platform version where the jobs are running. A platform version
+ * is specified only for jobs that are running on Fargate resources. If one isn't
+ * specified, the LATEST
platform version is used by default. This
+ * uses a recent, approved version of the Fargate platform for compute resources.
+ * For more information, see Fargate
+ * platform versions in the Amazon Elastic Container Service Developer
+ * Guide.
The Fargate platform version where the jobs are running. A platform version
+ * is specified only for jobs that are running on Fargate resources. If one isn't
+ * specified, the LATEST
platform version is used by default. This
+ * uses a recent, approved version of the Fargate platform for compute resources.
+ * For more information, see Fargate
+ * platform versions in the Amazon Elastic Container Service Developer
+ * Guide.
The Fargate platform version where the jobs are running. A platform version
+ * is specified only for jobs that are running on Fargate resources. If one isn't
+ * specified, the LATEST
platform version is used by default. This
+ * uses a recent, approved version of the Fargate platform for compute resources.
+ * For more information, see Fargate
+ * platform versions in the Amazon Elastic Container Service Developer
+ * Guide.
The Fargate platform version where the jobs are running. A platform version
+ * is specified only for jobs that are running on Fargate resources. If one isn't
+ * specified, the LATEST
platform version is used by default. This
+ * uses a recent, approved version of the Fargate platform for compute resources.
+ * For more information, see Fargate
+ * platform versions in the Amazon Elastic Container Service Developer
+ * Guide.
The IPC resource namespace to use for the containers in the task. The valid
+ * values are host
, task
, or none
.
If
+ * host
is specified, all containers within the tasks that specified
+ * the host
IPC mode on the same container instance share the same IPC
+ * resources with the host Amazon EC2 instance.
If task
is
+ * specified, all containers within the specified task
share the same
+ * IPC resources.
If none
is specified, the IPC resources
+ * within the containers of a task are private, and are not shared with other
+ * containers in a task or on the container instance.
If no value is + * specified, then the IPC resource namespace sharing depends on the Docker daemon + * setting on the container instance. For more information, see IPC + * settings in the Docker run reference.
+ */ + inline const Aws::String& GetIpcMode() const{ return m_ipcMode; } + + /** + *The IPC resource namespace to use for the containers in the task. The valid
+ * values are host
, task
, or none
.
If
+ * host
is specified, all containers within the tasks that specified
+ * the host
IPC mode on the same container instance share the same IPC
+ * resources with the host Amazon EC2 instance.
If task
is
+ * specified, all containers within the specified task
share the same
+ * IPC resources.
If none
is specified, the IPC resources
+ * within the containers of a task are private, and are not shared with other
+ * containers in a task or on the container instance.
If no value is + * specified, then the IPC resource namespace sharing depends on the Docker daemon + * setting on the container instance. For more information, see IPC + * settings in the Docker run reference.
+ */ + inline bool IpcModeHasBeenSet() const { return m_ipcModeHasBeenSet; } + + /** + *The IPC resource namespace to use for the containers in the task. The valid
+ * values are host
, task
, or none
.
If
+ * host
is specified, all containers within the tasks that specified
+ * the host
IPC mode on the same container instance share the same IPC
+ * resources with the host Amazon EC2 instance.
If task
is
+ * specified, all containers within the specified task
share the same
+ * IPC resources.
If none
is specified, the IPC resources
+ * within the containers of a task are private, and are not shared with other
+ * containers in a task or on the container instance.
If no value is + * specified, then the IPC resource namespace sharing depends on the Docker daemon + * setting on the container instance. For more information, see IPC + * settings in the Docker run reference.
+ */ + inline void SetIpcMode(const Aws::String& value) { m_ipcModeHasBeenSet = true; m_ipcMode = value; } + + /** + *The IPC resource namespace to use for the containers in the task. The valid
+ * values are host
, task
, or none
.
If
+ * host
is specified, all containers within the tasks that specified
+ * the host
IPC mode on the same container instance share the same IPC
+ * resources with the host Amazon EC2 instance.
If task
is
+ * specified, all containers within the specified task
share the same
+ * IPC resources.
If none
is specified, the IPC resources
+ * within the containers of a task are private, and are not shared with other
+ * containers in a task or on the container instance.
If no value is + * specified, then the IPC resource namespace sharing depends on the Docker daemon + * setting on the container instance. For more information, see IPC + * settings in the Docker run reference.
+ */ + inline void SetIpcMode(Aws::String&& value) { m_ipcModeHasBeenSet = true; m_ipcMode = std::move(value); } + + /** + *The IPC resource namespace to use for the containers in the task. The valid
+ * values are host
, task
, or none
.
If
+ * host
is specified, all containers within the tasks that specified
+ * the host
IPC mode on the same container instance share the same IPC
+ * resources with the host Amazon EC2 instance.
If task
is
+ * specified, all containers within the specified task
share the same
+ * IPC resources.
If none
is specified, the IPC resources
+ * within the containers of a task are private, and are not shared with other
+ * containers in a task or on the container instance.
If no value is + * specified, then the IPC resource namespace sharing depends on the Docker daemon + * setting on the container instance. For more information, see IPC + * settings in the Docker run reference.
+ */ + inline void SetIpcMode(const char* value) { m_ipcModeHasBeenSet = true; m_ipcMode.assign(value); } + + /** + *The IPC resource namespace to use for the containers in the task. The valid
+ * values are host
, task
, or none
.
If
+ * host
is specified, all containers within the tasks that specified
+ * the host
IPC mode on the same container instance share the same IPC
+ * resources with the host Amazon EC2 instance.
If task
is
+ * specified, all containers within the specified task
share the same
+ * IPC resources.
If none
is specified, the IPC resources
+ * within the containers of a task are private, and are not shared with other
+ * containers in a task or on the container instance.
If no value is + * specified, then the IPC resource namespace sharing depends on the Docker daemon + * setting on the container instance. For more information, see IPC + * settings in the Docker run reference.
+ */ + inline EcsTaskProperties& WithIpcMode(const Aws::String& value) { SetIpcMode(value); return *this;} + + /** + *The IPC resource namespace to use for the containers in the task. The valid
+ * values are host
, task
, or none
.
If
+ * host
is specified, all containers within the tasks that specified
+ * the host
IPC mode on the same container instance share the same IPC
+ * resources with the host Amazon EC2 instance.
If task
is
+ * specified, all containers within the specified task
share the same
+ * IPC resources.
If none
is specified, the IPC resources
+ * within the containers of a task are private, and are not shared with other
+ * containers in a task or on the container instance.
If no value is + * specified, then the IPC resource namespace sharing depends on the Docker daemon + * setting on the container instance. For more information, see IPC + * settings in the Docker run reference.
+ */ + inline EcsTaskProperties& WithIpcMode(Aws::String&& value) { SetIpcMode(std::move(value)); return *this;} + + /** + *The IPC resource namespace to use for the containers in the task. The valid
+ * values are host
, task
, or none
.
If
+ * host
is specified, all containers within the tasks that specified
+ * the host
IPC mode on the same container instance share the same IPC
+ * resources with the host Amazon EC2 instance.
If task
is
+ * specified, all containers within the specified task
share the same
+ * IPC resources.
If none
is specified, the IPC resources
+ * within the containers of a task are private, and are not shared with other
+ * containers in a task or on the container instance.
If no value is + * specified, then the IPC resource namespace sharing depends on the Docker daemon + * setting on the container instance. For more information, see IPC + * settings in the Docker run reference.
+ */ + inline EcsTaskProperties& WithIpcMode(const char* value) { SetIpcMode(value); return *this;} + + + /** + *The Amazon Resource Name (ARN) that's associated with the Amazon ECS + * task.
This is object is comparable to ContainerProperties:jobRoleArn.
+ * + */ + inline const Aws::String& GetTaskRoleArn() const{ return m_taskRoleArn; } + + /** + *The Amazon Resource Name (ARN) that's associated with the Amazon ECS + * task.
This is object is comparable to ContainerProperties:jobRoleArn.
+ * + */ + inline bool TaskRoleArnHasBeenSet() const { return m_taskRoleArnHasBeenSet; } + + /** + *The Amazon Resource Name (ARN) that's associated with the Amazon ECS + * task.
This is object is comparable to ContainerProperties:jobRoleArn.
+ * + */ + inline void SetTaskRoleArn(const Aws::String& value) { m_taskRoleArnHasBeenSet = true; m_taskRoleArn = value; } + + /** + *The Amazon Resource Name (ARN) that's associated with the Amazon ECS + * task.
This is object is comparable to ContainerProperties:jobRoleArn.
+ * + */ + inline void SetTaskRoleArn(Aws::String&& value) { m_taskRoleArnHasBeenSet = true; m_taskRoleArn = std::move(value); } + + /** + *The Amazon Resource Name (ARN) that's associated with the Amazon ECS + * task.
This is object is comparable to ContainerProperties:jobRoleArn.
+ * + */ + inline void SetTaskRoleArn(const char* value) { m_taskRoleArnHasBeenSet = true; m_taskRoleArn.assign(value); } + + /** + *The Amazon Resource Name (ARN) that's associated with the Amazon ECS + * task.
This is object is comparable to ContainerProperties:jobRoleArn.
+ * + */ + inline EcsTaskProperties& WithTaskRoleArn(const Aws::String& value) { SetTaskRoleArn(value); return *this;} + + /** + *The Amazon Resource Name (ARN) that's associated with the Amazon ECS + * task.
This is object is comparable to ContainerProperties:jobRoleArn.
+ * + */ + inline EcsTaskProperties& WithTaskRoleArn(Aws::String&& value) { SetTaskRoleArn(std::move(value)); return *this;} + + /** + *The Amazon Resource Name (ARN) that's associated with the Amazon ECS + * task.
This is object is comparable to ContainerProperties:jobRoleArn.
+ * + */ + inline EcsTaskProperties& WithTaskRoleArn(const char* value) { SetTaskRoleArn(value); return *this;} + + + /** + *The process namespace to use for the containers in the task. The valid values
+ * are host
or task
. For example, monitoring sidecars
+ * might need pidMode
to access information about other containers
+ * running in the same task.
If host
is specified, all
+ * containers within the tasks that specified the host
PID mode on the
+ * same container instance share the process namespace with the host Amazon EC2
+ * instance.
If task
is specified, all containers within the
+ * specified task share the same process namespace.
If no value is + * specified, the default is a private namespace for each container. For more + * information, see PID + * settings in the Docker run reference.
+ */ + inline const Aws::String& GetPidMode() const{ return m_pidMode; } + + /** + *The process namespace to use for the containers in the task. The valid values
+ * are host
or task
. For example, monitoring sidecars
+ * might need pidMode
to access information about other containers
+ * running in the same task.
If host
is specified, all
+ * containers within the tasks that specified the host
PID mode on the
+ * same container instance share the process namespace with the host Amazon EC2
+ * instance.
If task
is specified, all containers within the
+ * specified task share the same process namespace.
If no value is + * specified, the default is a private namespace for each container. For more + * information, see PID + * settings in the Docker run reference.
+ */ + inline bool PidModeHasBeenSet() const { return m_pidModeHasBeenSet; } + + /** + *The process namespace to use for the containers in the task. The valid values
+ * are host
or task
. For example, monitoring sidecars
+ * might need pidMode
to access information about other containers
+ * running in the same task.
If host
is specified, all
+ * containers within the tasks that specified the host
PID mode on the
+ * same container instance share the process namespace with the host Amazon EC2
+ * instance.
If task
is specified, all containers within the
+ * specified task share the same process namespace.
If no value is + * specified, the default is a private namespace for each container. For more + * information, see PID + * settings in the Docker run reference.
+ */ + inline void SetPidMode(const Aws::String& value) { m_pidModeHasBeenSet = true; m_pidMode = value; } + + /** + *The process namespace to use for the containers in the task. The valid values
+ * are host
or task
. For example, monitoring sidecars
+ * might need pidMode
to access information about other containers
+ * running in the same task.
If host
is specified, all
+ * containers within the tasks that specified the host
PID mode on the
+ * same container instance share the process namespace with the host Amazon EC2
+ * instance.
If task
is specified, all containers within the
+ * specified task share the same process namespace.
If no value is + * specified, the default is a private namespace for each container. For more + * information, see PID + * settings in the Docker run reference.
+ */ + inline void SetPidMode(Aws::String&& value) { m_pidModeHasBeenSet = true; m_pidMode = std::move(value); } + + /** + *The process namespace to use for the containers in the task. The valid values
+ * are host
or task
. For example, monitoring sidecars
+ * might need pidMode
to access information about other containers
+ * running in the same task.
If host
is specified, all
+ * containers within the tasks that specified the host
PID mode on the
+ * same container instance share the process namespace with the host Amazon EC2
+ * instance.
If task
is specified, all containers within the
+ * specified task share the same process namespace.
If no value is + * specified, the default is a private namespace for each container. For more + * information, see PID + * settings in the Docker run reference.
+ */ + inline void SetPidMode(const char* value) { m_pidModeHasBeenSet = true; m_pidMode.assign(value); } + + /** + *The process namespace to use for the containers in the task. The valid values
+ * are host
or task
. For example, monitoring sidecars
+ * might need pidMode
to access information about other containers
+ * running in the same task.
If host
is specified, all
+ * containers within the tasks that specified the host
PID mode on the
+ * same container instance share the process namespace with the host Amazon EC2
+ * instance.
If task
is specified, all containers within the
+ * specified task share the same process namespace.
If no value is + * specified, the default is a private namespace for each container. For more + * information, see PID + * settings in the Docker run reference.
+ */ + inline EcsTaskProperties& WithPidMode(const Aws::String& value) { SetPidMode(value); return *this;} + + /** + *The process namespace to use for the containers in the task. The valid values
+ * are host
or task
. For example, monitoring sidecars
+ * might need pidMode
to access information about other containers
+ * running in the same task.
If host
is specified, all
+ * containers within the tasks that specified the host
PID mode on the
+ * same container instance share the process namespace with the host Amazon EC2
+ * instance.
If task
is specified, all containers within the
+ * specified task share the same process namespace.
If no value is + * specified, the default is a private namespace for each container. For more + * information, see PID + * settings in the Docker run reference.
+ */ + inline EcsTaskProperties& WithPidMode(Aws::String&& value) { SetPidMode(std::move(value)); return *this;} + + /** + *The process namespace to use for the containers in the task. The valid values
+ * are host
or task
. For example, monitoring sidecars
+ * might need pidMode
to access information about other containers
+ * running in the same task.
If host
is specified, all
+ * containers within the tasks that specified the host
PID mode on the
+ * same container instance share the process namespace with the host Amazon EC2
+ * instance.
If task
is specified, all containers within the
+ * specified task share the same process namespace.
If no value is + * specified, the default is a private namespace for each container. For more + * information, see PID + * settings in the Docker run reference.
+ */ + inline EcsTaskProperties& WithPidMode(const char* value) { SetPidMode(value); return *this;} + + + /** + *The network configuration for jobs that are running on Fargate resources. + * Jobs that are running on Amazon EC2 resources must not specify this + * parameter.
+ */ + inline const NetworkConfiguration& GetNetworkConfiguration() const{ return m_networkConfiguration; } + + /** + *The network configuration for jobs that are running on Fargate resources. + * Jobs that are running on Amazon EC2 resources must not specify this + * parameter.
+ */ + inline bool NetworkConfigurationHasBeenSet() const { return m_networkConfigurationHasBeenSet; } + + /** + *The network configuration for jobs that are running on Fargate resources. + * Jobs that are running on Amazon EC2 resources must not specify this + * parameter.
+ */ + inline void SetNetworkConfiguration(const NetworkConfiguration& value) { m_networkConfigurationHasBeenSet = true; m_networkConfiguration = value; } + + /** + *The network configuration for jobs that are running on Fargate resources. + * Jobs that are running on Amazon EC2 resources must not specify this + * parameter.
+ */ + inline void SetNetworkConfiguration(NetworkConfiguration&& value) { m_networkConfigurationHasBeenSet = true; m_networkConfiguration = std::move(value); } + + /** + *The network configuration for jobs that are running on Fargate resources. + * Jobs that are running on Amazon EC2 resources must not specify this + * parameter.
+ */ + inline EcsTaskProperties& WithNetworkConfiguration(const NetworkConfiguration& value) { SetNetworkConfiguration(value); return *this;} + + /** + *The network configuration for jobs that are running on Fargate resources. + * Jobs that are running on Amazon EC2 resources must not specify this + * parameter.
+ */ + inline EcsTaskProperties& WithNetworkConfiguration(NetworkConfiguration&& value) { SetNetworkConfiguration(std::move(value)); return *this;} + + + /** + *An object that represents the compute environment architecture for Batch jobs + * on Fargate.
+ */ + inline const RuntimePlatform& GetRuntimePlatform() const{ return m_runtimePlatform; } + + /** + *An object that represents the compute environment architecture for Batch jobs + * on Fargate.
+ */ + inline bool RuntimePlatformHasBeenSet() const { return m_runtimePlatformHasBeenSet; } + + /** + *An object that represents the compute environment architecture for Batch jobs + * on Fargate.
+ */ + inline void SetRuntimePlatform(const RuntimePlatform& value) { m_runtimePlatformHasBeenSet = true; m_runtimePlatform = value; } + + /** + *An object that represents the compute environment architecture for Batch jobs + * on Fargate.
+ */ + inline void SetRuntimePlatform(RuntimePlatform&& value) { m_runtimePlatformHasBeenSet = true; m_runtimePlatform = std::move(value); } + + /** + *An object that represents the compute environment architecture for Batch jobs + * on Fargate.
+ */ + inline EcsTaskProperties& WithRuntimePlatform(const RuntimePlatform& value) { SetRuntimePlatform(value); return *this;} + + /** + *An object that represents the compute environment architecture for Batch jobs + * on Fargate.
+ */ + inline EcsTaskProperties& WithRuntimePlatform(RuntimePlatform&& value) { SetRuntimePlatform(std::move(value)); return *this;} + + + /** + *A list of volumes that are associated with the job.
+ */ + inline const Aws::VectorA list of volumes that are associated with the job.
+ */ + inline bool VolumesHasBeenSet() const { return m_volumesHasBeenSet; } + + /** + *A list of volumes that are associated with the job.
+ */ + inline void SetVolumes(const Aws::VectorA list of volumes that are associated with the job.
+ */ + inline void SetVolumes(Aws::VectorA list of volumes that are associated with the job.
+ */ + inline EcsTaskProperties& WithVolumes(const Aws::VectorA list of volumes that are associated with the job.
+ */ + inline EcsTaskProperties& WithVolumes(Aws::VectorA list of volumes that are associated with the job.
+ */ + inline EcsTaskProperties& AddVolumes(const Volume& value) { m_volumesHasBeenSet = true; m_volumes.push_back(value); return *this; } + + /** + *A list of volumes that are associated with the job.
+ */ + inline EcsTaskProperties& AddVolumes(Volume&& value) { m_volumesHasBeenSet = true; m_volumes.push_back(std::move(value)); return *this; } + + private: + + Aws::VectorThe exit code for the job attempt. A non-zero exit code is considered - * failed.
+ *The exit code returned for the job attempt. A non-zero exit code is + * considered failed.
*/ inline int GetExitCode() const{ return m_exitCode; } /** - *The exit code for the job attempt. A non-zero exit code is considered - * failed.
+ *The exit code returned for the job attempt. A non-zero exit code is + * considered failed.
*/ inline bool ExitCodeHasBeenSet() const { return m_exitCodeHasBeenSet; } /** - *The exit code for the job attempt. A non-zero exit code is considered - * failed.
+ *The exit code returned for the job attempt. A non-zero exit code is + * considered failed.
*/ inline void SetExitCode(int value) { m_exitCodeHasBeenSet = true; m_exitCode = value; } /** - *The exit code for the job attempt. A non-zero exit code is considered - * failed.
+ *The exit code returned for the job attempt. A non-zero exit code is + * considered failed.
*/ inline EksAttemptContainerDetail& WithExitCode(int value) { SetExitCode(value); return *this;} diff --git a/generated/src/aws-cpp-sdk-batch/include/aws/batch/model/EksAttemptDetail.h b/generated/src/aws-cpp-sdk-batch/include/aws/batch/model/EksAttemptDetail.h index a4a36698583..cecfbfb44d1 100644 --- a/generated/src/aws-cpp-sdk-batch/include/aws/batch/model/EksAttemptDetail.h +++ b/generated/src/aws-cpp-sdk-batch/include/aws/batch/model/EksAttemptDetail.h @@ -81,6 +81,47 @@ namespace Model inline EksAttemptDetail& AddContainers(EksAttemptContainerDetail&& value) { m_containersHasBeenSet = true; m_containers.push_back(std::move(value)); return *this; } + /** + *The details for the init containers.
+ */ + inline const Aws::VectorThe details for the init containers.
+ */ + inline bool InitContainersHasBeenSet() const { return m_initContainersHasBeenSet; } + + /** + *The details for the init containers.
+ */ + inline void SetInitContainers(const Aws::VectorThe details for the init containers.
+ */ + inline void SetInitContainers(Aws::VectorThe details for the init containers.
+ */ + inline EksAttemptDetail& WithInitContainers(const Aws::VectorThe details for the init containers.
+ */ + inline EksAttemptDetail& WithInitContainers(Aws::VectorThe details for the init containers.
+ */ + inline EksAttemptDetail& AddInitContainers(const EksAttemptContainerDetail& value) { m_initContainersHasBeenSet = true; m_initContainers.push_back(value); return *this; } + + /** + *The details for the init containers.
+ */ + inline EksAttemptDetail& AddInitContainers(EksAttemptContainerDetail&& value) { m_initContainersHasBeenSet = true; m_initContainers.push_back(std::move(value)); return *this; } + + /** *The name of the pod for this job attempt.
*/ @@ -274,6 +315,9 @@ namespace Model Aws::Vector$$(VAR_NAME)
is passed as
* $(VAR_NAME)
whether or not the VAR_NAME
environment
* variable exists. For more information, see CMD in the
- * Dockerfile reference and Dockerfile
+ * reference: CMD and Define
* a command and arguments for a pod in the Kubernetes
* documentation.
@@ -462,8 +462,8 @@ namespace Model
* expanded. For example, $$(VAR_NAME)
is passed as
* $(VAR_NAME)
whether or not the VAR_NAME
environment
* variable exists. For more information, see CMD in the
- * Dockerfile reference and Dockerfile
+ * reference: CMD and Define
* a command and arguments for a pod in the Kubernetes
* documentation.
@@ -486,8 +486,8 @@ namespace Model
* expanded. For example, $$(VAR_NAME)
is passed as
* $(VAR_NAME)
whether or not the VAR_NAME
environment
* variable exists. For more information, see CMD in the
- * Dockerfile reference and Dockerfile
+ * reference: CMD and Define
* a command and arguments for a pod in the Kubernetes
* documentation.
@@ -510,8 +510,8 @@ namespace Model
* expanded. For example, $$(VAR_NAME)
is passed as
* $(VAR_NAME)
whether or not the VAR_NAME
environment
* variable exists. For more information, see CMD in the
- * Dockerfile reference and Dockerfile
+ * reference: CMD and Define
* a command and arguments for a pod in the Kubernetes
* documentation.
@@ -534,8 +534,8 @@ namespace Model
* expanded. For example, $$(VAR_NAME)
is passed as
* $(VAR_NAME)
whether or not the VAR_NAME
environment
* variable exists. For more information, see CMD in the
- * Dockerfile reference and Dockerfile
+ * reference: CMD and Define
* a command and arguments for a pod in the Kubernetes
* documentation.
@@ -558,8 +558,8 @@ namespace Model
* expanded. For example, $$(VAR_NAME)
is passed as
* $(VAR_NAME)
whether or not the VAR_NAME
environment
* variable exists. For more information, see CMD in the
- * Dockerfile reference and Dockerfile
+ * reference: CMD and Define
* a command and arguments for a pod in the Kubernetes
* documentation.
@@ -582,8 +582,8 @@ namespace Model
* expanded. For example, $$(VAR_NAME)
is passed as
* $(VAR_NAME)
whether or not the VAR_NAME
environment
* variable exists. For more information, see CMD in the
- * Dockerfile reference and Dockerfile
+ * reference: CMD and Define
* a command and arguments for a pod in the Kubernetes
* documentation.
@@ -606,8 +606,8 @@ namespace Model
* expanded. For example, $$(VAR_NAME)
is passed as
* $(VAR_NAME)
whether or not the VAR_NAME
environment
* variable exists. For more information, see CMD in the
- * Dockerfile reference and Dockerfile
+ * reference: CMD and Define
* a command and arguments for a pod in the Kubernetes
* documentation.
@@ -630,8 +630,8 @@ namespace Model
* expanded. For example, $$(VAR_NAME)
is passed as
* $(VAR_NAME)
whether or not the VAR_NAME
environment
* variable exists. For more information, see CMD in the
- * Dockerfile reference and Dockerfile
+ * reference: CMD and Define
* a command and arguments for a pod in the Kubernetes
* documentation.
diff --git a/generated/src/aws-cpp-sdk-batch/include/aws/batch/model/EksContainerDetail.h b/generated/src/aws-cpp-sdk-batch/include/aws/batch/model/EksContainerDetail.h
index 77fbd2bc973..7f273c9afc6 100644
--- a/generated/src/aws-cpp-sdk-batch/include/aws/batch/model/EksContainerDetail.h
+++ b/generated/src/aws-cpp-sdk-batch/include/aws/batch/model/EksContainerDetail.h
@@ -303,8 +303,8 @@ namespace Model
* expanded. For example, $$(VAR_NAME)
is passed as
* $(VAR_NAME)
whether or not the VAR_NAME
environment
* variable exists. For more information, see CMD in the
- * Dockerfile reference and Dockerfile
+ * reference: CMD and Define
* a command and arguments for a pod in the Kubernetes
* documentation.
@@ -327,8 +327,8 @@ namespace Model
* expanded. For example, $$(VAR_NAME)
is passed as
* $(VAR_NAME)
whether or not the VAR_NAME
environment
* variable exists. For more information, see CMD in the
- * Dockerfile reference and Dockerfile
+ * reference: CMD and Define
* a command and arguments for a pod in the Kubernetes
* documentation.
@@ -351,8 +351,8 @@ namespace Model
* expanded. For example, $$(VAR_NAME)
is passed as
* $(VAR_NAME)
whether or not the VAR_NAME
environment
* variable exists. For more information, see CMD in the
- * Dockerfile reference and Dockerfile
+ * reference: CMD and Define
* a command and arguments for a pod in the Kubernetes
* documentation.
@@ -375,8 +375,8 @@ namespace Model
* expanded. For example, $$(VAR_NAME)
is passed as
* $(VAR_NAME)
whether or not the VAR_NAME
environment
* variable exists. For more information, see CMD in the
- * Dockerfile reference and Dockerfile
+ * reference: CMD and Define
* a command and arguments for a pod in the Kubernetes
* documentation.
@@ -399,8 +399,8 @@ namespace Model
* expanded. For example, $$(VAR_NAME)
is passed as
* $(VAR_NAME)
whether or not the VAR_NAME
environment
* variable exists. For more information, see CMD in the
- * Dockerfile reference and Dockerfile
+ * reference: CMD and Define
* a command and arguments for a pod in the Kubernetes
* documentation.
@@ -423,8 +423,8 @@ namespace Model
* expanded. For example, $$(VAR_NAME)
is passed as
* $(VAR_NAME)
whether or not the VAR_NAME
environment
* variable exists. For more information, see CMD in the
- * Dockerfile reference and Dockerfile
+ * reference: CMD and Define
* a command and arguments for a pod in the Kubernetes
* documentation.
@@ -447,8 +447,8 @@ namespace Model
* expanded. For example, $$(VAR_NAME)
is passed as
* $(VAR_NAME)
whether or not the VAR_NAME
environment
* variable exists. For more information, see CMD in the
- * Dockerfile reference and Dockerfile
+ * reference: CMD and Define
* a command and arguments for a pod in the Kubernetes
* documentation.
@@ -471,8 +471,8 @@ namespace Model
* expanded. For example, $$(VAR_NAME)
is passed as
* $(VAR_NAME)
whether or not the VAR_NAME
environment
* variable exists. For more information, see CMD in the
- * Dockerfile reference and Dockerfile
+ * reference: CMD and Define
* a command and arguments for a pod in the Kubernetes
* documentation.
@@ -495,8 +495,8 @@ namespace Model
* expanded. For example, $$(VAR_NAME)
is passed as
* $(VAR_NAME)
whether or not the VAR_NAME
environment
* variable exists. For more information, see CMD in the
- * Dockerfile reference and Dockerfile
+ * reference: CMD and Define
* a command and arguments for a pod in the Kubernetes
* documentation.
@@ -623,26 +623,26 @@ namespace Model
/**
- * The exit code for the job attempt. A non-zero exit code is considered - * failed.
+ *The exit code returned for the job attempt. A non-zero exit code is + * considered failed.
*/ inline int GetExitCode() const{ return m_exitCode; } /** - *The exit code for the job attempt. A non-zero exit code is considered - * failed.
+ *The exit code returned for the job attempt. A non-zero exit code is + * considered failed.
*/ inline bool ExitCodeHasBeenSet() const { return m_exitCodeHasBeenSet; } /** - *The exit code for the job attempt. A non-zero exit code is considered - * failed.
+ *The exit code returned for the job attempt. A non-zero exit code is + * considered failed.
*/ inline void SetExitCode(int value) { m_exitCodeHasBeenSet = true; m_exitCode = value; } /** - *The exit code for the job attempt. A non-zero exit code is considered - * failed.
+ *The exit code returned for the job attempt. A non-zero exit code is + * considered failed.
*/ inline EksContainerDetail& WithExitCode(int value) { SetExitCode(value); return *this;} diff --git a/generated/src/aws-cpp-sdk-batch/include/aws/batch/model/EksContainerOverride.h b/generated/src/aws-cpp-sdk-batch/include/aws/batch/model/EksContainerOverride.h index b10064c9cf5..75be30476c5 100644 --- a/generated/src/aws-cpp-sdk-batch/include/aws/batch/model/EksContainerOverride.h +++ b/generated/src/aws-cpp-sdk-batch/include/aws/batch/model/EksContainerOverride.h @@ -28,7 +28,9 @@ namespace Model /** *Object representing any Kubernetes overrides to a job definition that's used - * in a SubmitJob API operation.
A pointer to the container that you want to override. The name must match a + * unique container name that you wish to override.
+ */ + inline const Aws::String& GetName() const{ return m_name; } + + /** + *A pointer to the container that you want to override. The name must match a + * unique container name that you wish to override.
+ */ + inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } + + /** + *A pointer to the container that you want to override. The name must match a + * unique container name that you wish to override.
+ */ + inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } + + /** + *A pointer to the container that you want to override. The name must match a + * unique container name that you wish to override.
+ */ + inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } + + /** + *A pointer to the container that you want to override. The name must match a + * unique container name that you wish to override.
+ */ + inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } + + /** + *A pointer to the container that you want to override. The name must match a + * unique container name that you wish to override.
+ */ + inline EksContainerOverride& WithName(const Aws::String& value) { SetName(value); return *this;} + + /** + *A pointer to the container that you want to override. The name must match a + * unique container name that you wish to override.
+ */ + inline EksContainerOverride& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} + + /** + *A pointer to the container that you want to override. The name must match a + * unique container name that you wish to override.
+ */ + inline EksContainerOverride& WithName(const char* value) { SetName(value); return *this;} + + /** *The override of the Docker image that's used to start the container.
*/ @@ -141,8 +192,8 @@ namespace Model *The arguments to the entrypoint to send to the container that overrides the * default arguments from the Docker image or the job definition. For more * information, see CMD in the - * Dockerfile reference and Dockerfile + * reference: CMD and Define * a command an arguments for a pod in the Kubernetes documentation.
*/ @@ -152,8 +203,8 @@ namespace Model *The arguments to the entrypoint to send to the container that overrides the * default arguments from the Docker image or the job definition. For more * information, see CMD in the - * Dockerfile reference and Dockerfile + * reference: CMD and Define * a command an arguments for a pod in the Kubernetes documentation.
*/ @@ -163,8 +214,8 @@ namespace Model *The arguments to the entrypoint to send to the container that overrides the * default arguments from the Docker image or the job definition. For more * information, see CMD in the - * Dockerfile reference and Dockerfile + * reference: CMD and Define * a command an arguments for a pod in the Kubernetes documentation.
*/ @@ -174,8 +225,8 @@ namespace Model *The arguments to the entrypoint to send to the container that overrides the * default arguments from the Docker image or the job definition. For more * information, see CMD in the - * Dockerfile reference and Dockerfile + * reference: CMD and Define * a command an arguments for a pod in the Kubernetes documentation.
*/ @@ -185,8 +236,8 @@ namespace Model *The arguments to the entrypoint to send to the container that overrides the * default arguments from the Docker image or the job definition. For more * information, see CMD in the - * Dockerfile reference and Dockerfile + * reference: CMD and Define * a command an arguments for a pod in the Kubernetes documentation.
*/ @@ -196,8 +247,8 @@ namespace Model *The arguments to the entrypoint to send to the container that overrides the * default arguments from the Docker image or the job definition. For more * information, see CMD in the - * Dockerfile reference and Dockerfile + * reference: CMD and Define * a command an arguments for a pod in the Kubernetes documentation.
*/ @@ -207,8 +258,8 @@ namespace Model *The arguments to the entrypoint to send to the container that overrides the * default arguments from the Docker image or the job definition. For more * information, see CMD in the - * Dockerfile reference and Dockerfile + * reference: CMD and Define * a command an arguments for a pod in the Kubernetes documentation.
*/ @@ -218,8 +269,8 @@ namespace Model *The arguments to the entrypoint to send to the container that overrides the * default arguments from the Docker image or the job definition. For more * information, see CMD in the - * Dockerfile reference and Dockerfile + * reference: CMD and Define * a command an arguments for a pod in the Kubernetes documentation.
*/ @@ -229,8 +280,8 @@ namespace Model *The arguments to the entrypoint to send to the container that overrides the * default arguments from the Docker image or the job definition. For more * information, see CMD in the - * Dockerfile reference and Dockerfile + * reference: CMD and Define * a command an arguments for a pod in the Kubernetes documentation.
*/ @@ -386,6 +437,9 @@ namespace Model private: + Aws::String m_name; + bool m_nameHasBeenSet = false; + Aws::String m_image; bool m_imageHasBeenSet = false; diff --git a/generated/src/aws-cpp-sdk-batch/include/aws/batch/model/EksPodProperties.h b/generated/src/aws-cpp-sdk-batch/include/aws/batch/model/EksPodProperties.h index baf5758e9f5..2f59c01a6f8 100644 --- a/generated/src/aws-cpp-sdk-batch/include/aws/batch/model/EksPodProperties.h +++ b/generated/src/aws-cpp-sdk-batch/include/aws/batch/model/EksPodProperties.h @@ -353,6 +353,103 @@ namespace Model inline EksPodProperties& AddContainers(EksContainer&& value) { m_containersHasBeenSet = true; m_containers.push_back(std::move(value)); return *this; } + /** + *These containers run before application containers, always runs to + * completion, and must complete successfully before the next container starts. + * These containers are registered with the Amazon EKS Connector agent and persists + * the registration information in the Kubernetes backend data store. For more + * information, see Init + * Containers in the Kubernetes documentation.
This object + * is limited to 10 elements
+ */ + inline const Aws::VectorThese containers run before application containers, always runs to + * completion, and must complete successfully before the next container starts. + * These containers are registered with the Amazon EKS Connector agent and persists + * the registration information in the Kubernetes backend data store. For more + * information, see Init + * Containers in the Kubernetes documentation.
This object + * is limited to 10 elements
+ */ + inline bool InitContainersHasBeenSet() const { return m_initContainersHasBeenSet; } + + /** + *These containers run before application containers, always runs to + * completion, and must complete successfully before the next container starts. + * These containers are registered with the Amazon EKS Connector agent and persists + * the registration information in the Kubernetes backend data store. For more + * information, see Init + * Containers in the Kubernetes documentation.
This object + * is limited to 10 elements
+ */ + inline void SetInitContainers(const Aws::VectorThese containers run before application containers, always runs to + * completion, and must complete successfully before the next container starts. + * These containers are registered with the Amazon EKS Connector agent and persists + * the registration information in the Kubernetes backend data store. For more + * information, see Init + * Containers in the Kubernetes documentation.
This object + * is limited to 10 elements
+ */ + inline void SetInitContainers(Aws::VectorThese containers run before application containers, always runs to + * completion, and must complete successfully before the next container starts. + * These containers are registered with the Amazon EKS Connector agent and persists + * the registration information in the Kubernetes backend data store. For more + * information, see Init + * Containers in the Kubernetes documentation.
This object + * is limited to 10 elements
+ */ + inline EksPodProperties& WithInitContainers(const Aws::VectorThese containers run before application containers, always runs to + * completion, and must complete successfully before the next container starts. + * These containers are registered with the Amazon EKS Connector agent and persists + * the registration information in the Kubernetes backend data store. For more + * information, see Init + * Containers in the Kubernetes documentation.
This object + * is limited to 10 elements
+ */ + inline EksPodProperties& WithInitContainers(Aws::VectorThese containers run before application containers, always runs to + * completion, and must complete successfully before the next container starts. + * These containers are registered with the Amazon EKS Connector agent and persists + * the registration information in the Kubernetes backend data store. For more + * information, see Init + * Containers in the Kubernetes documentation.
This object + * is limited to 10 elements
+ */ + inline EksPodProperties& AddInitContainers(const EksContainer& value) { m_initContainersHasBeenSet = true; m_initContainers.push_back(value); return *this; } + + /** + *These containers run before application containers, always runs to + * completion, and must complete successfully before the next container starts. + * These containers are registered with the Amazon EKS Connector agent and persists + * the registration information in the Kubernetes backend data store. For more + * information, see Init + * Containers in the Kubernetes documentation.
This object + * is limited to 10 elements
+ */ + inline EksPodProperties& AddInitContainers(EksContainer&& value) { m_initContainersHasBeenSet = true; m_initContainers.push_back(std::move(value)); return *this; } + + /** *Specifies the volumes for a job definition that uses Amazon EKS * resources.
@@ -444,6 +541,39 @@ namespace Model */ inline EksPodProperties& WithMetadata(EksMetadata&& value) { SetMetadata(std::move(value)); return *this;} + + /** + *Indicates if the processes in a container are shared, or visible, to other + * containers in the same pod. For more information, see Share + * Process Namespace between Containers in a Pod.
+ */ + inline bool GetShareProcessNamespace() const{ return m_shareProcessNamespace; } + + /** + *Indicates if the processes in a container are shared, or visible, to other + * containers in the same pod. For more information, see Share + * Process Namespace between Containers in a Pod.
+ */ + inline bool ShareProcessNamespaceHasBeenSet() const { return m_shareProcessNamespaceHasBeenSet; } + + /** + *Indicates if the processes in a container are shared, or visible, to other + * containers in the same pod. For more information, see Share + * Process Namespace between Containers in a Pod.
+ */ + inline void SetShareProcessNamespace(bool value) { m_shareProcessNamespaceHasBeenSet = true; m_shareProcessNamespace = value; } + + /** + *Indicates if the processes in a container are shared, or visible, to other + * containers in the same pod. For more information, see Share + * Process Namespace between Containers in a Pod.
+ */ + inline EksPodProperties& WithShareProcessNamespace(bool value) { SetShareProcessNamespace(value); return *this;} + private: Aws::String m_serviceAccountName; @@ -458,11 +588,17 @@ namespace Model Aws::VectorThe container registered with the Amazon EKS Connector agent and persists the + * registration information in the Kubernetes backend data store.
+ */ + inline const Aws::VectorThe container registered with the Amazon EKS Connector agent and persists the + * registration information in the Kubernetes backend data store.
+ */ + inline bool InitContainersHasBeenSet() const { return m_initContainersHasBeenSet; } + + /** + *The container registered with the Amazon EKS Connector agent and persists the + * registration information in the Kubernetes backend data store.
+ */ + inline void SetInitContainers(const Aws::VectorThe container registered with the Amazon EKS Connector agent and persists the + * registration information in the Kubernetes backend data store.
+ */ + inline void SetInitContainers(Aws::VectorThe container registered with the Amazon EKS Connector agent and persists the + * registration information in the Kubernetes backend data store.
+ */ + inline EksPodPropertiesDetail& WithInitContainers(const Aws::VectorThe container registered with the Amazon EKS Connector agent and persists the + * registration information in the Kubernetes backend data store.
+ */ + inline EksPodPropertiesDetail& WithInitContainers(Aws::VectorThe container registered with the Amazon EKS Connector agent and persists the + * registration information in the Kubernetes backend data store.
+ */ + inline EksPodPropertiesDetail& AddInitContainers(const EksContainerDetail& value) { m_initContainersHasBeenSet = true; m_initContainers.push_back(value); return *this; } + + /** + *The container registered with the Amazon EKS Connector agent and persists the + * registration information in the Kubernetes backend data store.
+ */ + inline EksPodPropertiesDetail& AddInitContainers(EksContainerDetail&& value) { m_initContainersHasBeenSet = true; m_initContainers.push_back(std::move(value)); return *this; } + + /** *Specifies the volumes for a job definition using Amazon EKS resources.
*/ @@ -610,6 +659,39 @@ namespace Model */ inline EksPodPropertiesDetail& WithMetadata(EksMetadata&& value) { SetMetadata(std::move(value)); return *this;} + + /** + *Indicates if the processes in a container are shared, or visible, to other + * containers in the same pod. For more information, see Share + * Process Namespace between Containers in a Pod.
+ */ + inline bool GetShareProcessNamespace() const{ return m_shareProcessNamespace; } + + /** + *Indicates if the processes in a container are shared, or visible, to other + * containers in the same pod. For more information, see Share + * Process Namespace between Containers in a Pod.
+ */ + inline bool ShareProcessNamespaceHasBeenSet() const { return m_shareProcessNamespaceHasBeenSet; } + + /** + *Indicates if the processes in a container are shared, or visible, to other + * containers in the same pod. For more information, see Share + * Process Namespace between Containers in a Pod.
+ */ + inline void SetShareProcessNamespace(bool value) { m_shareProcessNamespaceHasBeenSet = true; m_shareProcessNamespace = value; } + + /** + *Indicates if the processes in a container are shared, or visible, to other + * containers in the same pod. For more information, see Share + * Process Namespace between Containers in a Pod.
+ */ + inline EksPodPropertiesDetail& WithShareProcessNamespace(bool value) { SetShareProcessNamespace(value); return *this;} + private: Aws::String m_serviceAccountName; @@ -624,6 +706,9 @@ namespace Model Aws::VectorThe overrides for the conatainers defined in the Amazon EKS pod. These + * containers run before application containers, always runs to completion, and + * must complete successfully before the next container starts. These containers + * are registered with the Amazon EKS Connector agent and persists the registration + * information in the Kubernetes backend data store. For more information, see Init + * Containers in the Kubernetes documentation.
This object + * is limited to 10 elements
+ */ + inline const Aws::VectorThe overrides for the conatainers defined in the Amazon EKS pod. These + * containers run before application containers, always runs to completion, and + * must complete successfully before the next container starts. These containers + * are registered with the Amazon EKS Connector agent and persists the registration + * information in the Kubernetes backend data store. For more information, see Init + * Containers in the Kubernetes documentation.
This object + * is limited to 10 elements
+ */ + inline bool InitContainersHasBeenSet() const { return m_initContainersHasBeenSet; } + + /** + *The overrides for the conatainers defined in the Amazon EKS pod. These + * containers run before application containers, always runs to completion, and + * must complete successfully before the next container starts. These containers + * are registered with the Amazon EKS Connector agent and persists the registration + * information in the Kubernetes backend data store. For more information, see Init + * Containers in the Kubernetes documentation.
This object + * is limited to 10 elements
+ */ + inline void SetInitContainers(const Aws::VectorThe overrides for the conatainers defined in the Amazon EKS pod. These + * containers run before application containers, always runs to completion, and + * must complete successfully before the next container starts. These containers + * are registered with the Amazon EKS Connector agent and persists the registration + * information in the Kubernetes backend data store. For more information, see Init + * Containers in the Kubernetes documentation.
This object + * is limited to 10 elements
+ */ + inline void SetInitContainers(Aws::VectorThe overrides for the conatainers defined in the Amazon EKS pod. These + * containers run before application containers, always runs to completion, and + * must complete successfully before the next container starts. These containers + * are registered with the Amazon EKS Connector agent and persists the registration + * information in the Kubernetes backend data store. For more information, see Init + * Containers in the Kubernetes documentation.
This object + * is limited to 10 elements
+ */ + inline EksPodPropertiesOverride& WithInitContainers(const Aws::VectorThe overrides for the conatainers defined in the Amazon EKS pod. These + * containers run before application containers, always runs to completion, and + * must complete successfully before the next container starts. These containers + * are registered with the Amazon EKS Connector agent and persists the registration + * information in the Kubernetes backend data store. For more information, see Init + * Containers in the Kubernetes documentation.
This object + * is limited to 10 elements
+ */ + inline EksPodPropertiesOverride& WithInitContainers(Aws::VectorThe overrides for the conatainers defined in the Amazon EKS pod. These + * containers run before application containers, always runs to completion, and + * must complete successfully before the next container starts. These containers + * are registered with the Amazon EKS Connector agent and persists the registration + * information in the Kubernetes backend data store. For more information, see Init + * Containers in the Kubernetes documentation.
This object + * is limited to 10 elements
+ */ + inline EksPodPropertiesOverride& AddInitContainers(const EksContainerOverride& value) { m_initContainersHasBeenSet = true; m_initContainers.push_back(value); return *this; } + + /** + *The overrides for the conatainers defined in the Amazon EKS pod. These + * containers run before application containers, always runs to completion, and + * must complete successfully before the next container starts. These containers + * are registered with the Amazon EKS Connector agent and persists the registration + * information in the Kubernetes backend data store. For more information, see Init + * Containers in the Kubernetes documentation.
This object + * is limited to 10 elements
+ */ + inline EksPodPropertiesOverride& AddInitContainers(EksContainerOverride&& value) { m_initContainersHasBeenSet = true; m_initContainers.push_back(std::move(value)); return *this; } + + /** *Metadata about the overrides for the container that's used on the Amazon EKS * pod.
@@ -122,6 +219,9 @@ namespace Model Aws::VectorThe platform configuration for jobs that are running on Fargate resources. - * Jobs that run on EC2 resources must not specify this parameter.
An object with various properties specific to Amazon ECS based jobs. Valid
- * values are containerProperties
, eksProperties
, and
- * nodeProperties
. Only one can be specified.
An object with properties specific to Amazon ECS-based jobs. When
+ * containerProperties
is used in the job definition, it can't be used
+ * in addition to eksProperties
, ecsProperties
, or
+ * nodeProperties
.
An object with various properties specific to Amazon ECS based jobs. Valid
- * values are containerProperties
, eksProperties
, and
- * nodeProperties
. Only one can be specified.
An object with properties specific to Amazon ECS-based jobs. When
+ * containerProperties
is used in the job definition, it can't be used
+ * in addition to eksProperties
, ecsProperties
, or
+ * nodeProperties
.
An object with various properties specific to Amazon ECS based jobs. Valid
- * values are containerProperties
, eksProperties
, and
- * nodeProperties
. Only one can be specified.
An object with properties specific to Amazon ECS-based jobs. When
+ * containerProperties
is used in the job definition, it can't be used
+ * in addition to eksProperties
, ecsProperties
, or
+ * nodeProperties
.
An object with various properties specific to Amazon ECS based jobs. Valid
- * values are containerProperties
, eksProperties
, and
- * nodeProperties
. Only one can be specified.
An object with properties specific to Amazon ECS-based jobs. When
+ * containerProperties
is used in the job definition, it can't be used
+ * in addition to eksProperties
, ecsProperties
, or
+ * nodeProperties
.
An object with various properties specific to Amazon ECS based jobs. Valid
- * values are containerProperties
, eksProperties
, and
- * nodeProperties
. Only one can be specified.
An object with properties specific to Amazon ECS-based jobs. When
+ * containerProperties
is used in the job definition, it can't be used
+ * in addition to eksProperties
, ecsProperties
, or
+ * nodeProperties
.
An object with various properties specific to Amazon ECS based jobs. Valid
- * values are containerProperties
, eksProperties
, and
- * nodeProperties
. Only one can be specified.
An object with properties specific to Amazon ECS-based jobs. When
+ * containerProperties
is used in the job definition, it can't be used
+ * in addition to eksProperties
, ecsProperties
, or
+ * nodeProperties
.
An object with various properties that are specific to multi-node parallel
- * jobs. Valid values are containerProperties
,
- * eksProperties
, and nodeProperties
. Only one can be
- * specified.
If the job runs on Fargate resources, don't specify
- * nodeProperties
. Use containerProperties
instead.
An object with properties that are specific to multi-node parallel jobs. When
+ * nodeProperties
is used in the job definition, it can't be used in
+ * addition to containerProperties
, ecsProperties
, or
+ * eksProperties
.
If the job runs on Fargate resources,
+ * don't specify nodeProperties
. Use containerProperties
+ * instead.
An object with various properties that are specific to multi-node parallel
- * jobs. Valid values are containerProperties
,
- * eksProperties
, and nodeProperties
. Only one can be
- * specified.
If the job runs on Fargate resources, don't specify
- * nodeProperties
. Use containerProperties
instead.
An object with properties that are specific to multi-node parallel jobs. When
+ * nodeProperties
is used in the job definition, it can't be used in
+ * addition to containerProperties
, ecsProperties
, or
+ * eksProperties
.
If the job runs on Fargate resources,
+ * don't specify nodeProperties
. Use containerProperties
+ * instead.
An object with various properties that are specific to multi-node parallel
- * jobs. Valid values are containerProperties
,
- * eksProperties
, and nodeProperties
. Only one can be
- * specified.
If the job runs on Fargate resources, don't specify
- * nodeProperties
. Use containerProperties
instead.
An object with properties that are specific to multi-node parallel jobs. When
+ * nodeProperties
is used in the job definition, it can't be used in
+ * addition to containerProperties
, ecsProperties
, or
+ * eksProperties
.
If the job runs on Fargate resources,
+ * don't specify nodeProperties
. Use containerProperties
+ * instead.
An object with various properties that are specific to multi-node parallel
- * jobs. Valid values are containerProperties
,
- * eksProperties
, and nodeProperties
. Only one can be
- * specified.
If the job runs on Fargate resources, don't specify
- * nodeProperties
. Use containerProperties
instead.
An object with properties that are specific to multi-node parallel jobs. When
+ * nodeProperties
is used in the job definition, it can't be used in
+ * addition to containerProperties
, ecsProperties
, or
+ * eksProperties
.
If the job runs on Fargate resources,
+ * don't specify nodeProperties
. Use containerProperties
+ * instead.
An object with various properties that are specific to multi-node parallel
- * jobs. Valid values are containerProperties
,
- * eksProperties
, and nodeProperties
. Only one can be
- * specified.
If the job runs on Fargate resources, don't specify
- * nodeProperties
. Use containerProperties
instead.
An object with properties that are specific to multi-node parallel jobs. When
+ * nodeProperties
is used in the job definition, it can't be used in
+ * addition to containerProperties
, ecsProperties
, or
+ * eksProperties
.
If the job runs on Fargate resources,
+ * don't specify nodeProperties
. Use containerProperties
+ * instead.
An object with various properties that are specific to multi-node parallel
- * jobs. Valid values are containerProperties
,
- * eksProperties
, and nodeProperties
. Only one can be
- * specified.
If the job runs on Fargate resources, don't specify
- * nodeProperties
. Use containerProperties
instead.
An object with properties that are specific to multi-node parallel jobs. When
+ * nodeProperties
is used in the job definition, it can't be used in
+ * addition to containerProperties
, ecsProperties
, or
+ * eksProperties
.
If the job runs on Fargate resources,
+ * don't specify nodeProperties
. Use containerProperties
+ * instead.
An object with various properties that are specific to Amazon EKS based jobs.
- * Valid values are containerProperties
, eksProperties
,
- * and nodeProperties
. Only one can be specified.
An object that contains the properties for the Amazon ECS resources of a
+ * job.When ecsProperties
is used in the job definition, it can't be
+ * used in addition to containerProperties
,
+ * eksProperties
, or nodeProperties
.
An object that contains the properties for the Amazon ECS resources of a
+ * job.When ecsProperties
is used in the job definition, it can't be
+ * used in addition to containerProperties
,
+ * eksProperties
, or nodeProperties
.
An object that contains the properties for the Amazon ECS resources of a
+ * job.When ecsProperties
is used in the job definition, it can't be
+ * used in addition to containerProperties
,
+ * eksProperties
, or nodeProperties
.
An object that contains the properties for the Amazon ECS resources of a
+ * job.When ecsProperties
is used in the job definition, it can't be
+ * used in addition to containerProperties
,
+ * eksProperties
, or nodeProperties
.
An object that contains the properties for the Amazon ECS resources of a
+ * job.When ecsProperties
is used in the job definition, it can't be
+ * used in addition to containerProperties
,
+ * eksProperties
, or nodeProperties
.
An object that contains the properties for the Amazon ECS resources of a
+ * job.When ecsProperties
is used in the job definition, it can't be
+ * used in addition to containerProperties
,
+ * eksProperties
, or nodeProperties
.
An object with properties that are specific to Amazon EKS-based jobs. When
+ * eksProperties
is used in the job definition, it can't be used in
+ * addition to containerProperties
, ecsProperties
, or
+ * nodeProperties
.
An object with various properties that are specific to Amazon EKS based jobs.
- * Valid values are containerProperties
, eksProperties
,
- * and nodeProperties
. Only one can be specified.
An object with properties that are specific to Amazon EKS-based jobs. When
+ * eksProperties
is used in the job definition, it can't be used in
+ * addition to containerProperties
, ecsProperties
, or
+ * nodeProperties
.
An object with various properties that are specific to Amazon EKS based jobs.
- * Valid values are containerProperties
, eksProperties
,
- * and nodeProperties
. Only one can be specified.
An object with properties that are specific to Amazon EKS-based jobs. When
+ * eksProperties
is used in the job definition, it can't be used in
+ * addition to containerProperties
, ecsProperties
, or
+ * nodeProperties
.
An object with various properties that are specific to Amazon EKS based jobs.
- * Valid values are containerProperties
, eksProperties
,
- * and nodeProperties
. Only one can be specified.
An object with properties that are specific to Amazon EKS-based jobs. When
+ * eksProperties
is used in the job definition, it can't be used in
+ * addition to containerProperties
, ecsProperties
, or
+ * nodeProperties
.
An object with various properties that are specific to Amazon EKS based jobs.
- * Valid values are containerProperties
, eksProperties
,
- * and nodeProperties
. Only one can be specified.
An object with properties that are specific to Amazon EKS-based jobs. When
+ * eksProperties
is used in the job definition, it can't be used in
+ * addition to containerProperties
, ecsProperties
, or
+ * nodeProperties
.
An object with various properties that are specific to Amazon EKS based jobs.
- * Valid values are containerProperties
, eksProperties
,
- * and nodeProperties
. Only one can be specified.
An object with properties that are specific to Amazon EKS-based jobs. When
+ * eksProperties
is used in the job definition, it can't be used in
+ * addition to containerProperties
, ecsProperties
, or
+ * nodeProperties
.
The Unix timestamp (in milliseconds) for when the job was created. For
* non-array jobs and parent array jobs, this is when the job entered the
- * SUBMITTED
state. This is specifically at the time SubmitJob
+ * SUBMITTED
state. This is specifically at the time SubmitJob
* was called. For array child jobs, this is when the child job was spawned by its
* parent and entered the PENDING
state.
The Unix timestamp (in milliseconds) for when the job was created. For
* non-array jobs and parent array jobs, this is when the job entered the
- * SUBMITTED
state. This is specifically at the time SubmitJob
+ * SUBMITTED
state. This is specifically at the time SubmitJob
* was called. For array child jobs, this is when the child job was spawned by its
* parent and entered the PENDING
state.
The Unix timestamp (in milliseconds) for when the job was created. For
* non-array jobs and parent array jobs, this is when the job entered the
- * SUBMITTED
state. This is specifically at the time SubmitJob
+ * SUBMITTED
state. This is specifically at the time SubmitJob
* was called. For array child jobs, this is when the child job was spawned by its
* parent and entered the PENDING
state.
The Unix timestamp (in milliseconds) for when the job was created. For
* non-array jobs and parent array jobs, this is when the job entered the
- * SUBMITTED
state. This is specifically at the time SubmitJob
+ * SUBMITTED
state. This is specifically at the time SubmitJob
* was called. For array child jobs, this is when the child job was spawned by its
* parent and entered the PENDING
state.
An object that represents the details for the container that's associated - * with the job.
+ * with the job. If the details are for a multiple-container job, this object will + * be empty. */ inline const ContainerDetail& GetContainer() const{ return m_container; } /** *An object that represents the details for the container that's associated - * with the job.
+ * with the job. If the details are for a multiple-container job, this object will + * be empty. */ inline bool ContainerHasBeenSet() const { return m_containerHasBeenSet; } /** *An object that represents the details for the container that's associated - * with the job.
+ * with the job. If the details are for a multiple-container job, this object will + * be empty. */ inline void SetContainer(const ContainerDetail& value) { m_containerHasBeenSet = true; m_container = value; } /** *An object that represents the details for the container that's associated - * with the job.
+ * with the job. If the details are for a multiple-container job, this object will + * be empty. */ inline void SetContainer(ContainerDetail&& value) { m_containerHasBeenSet = true; m_container = std::move(value); } /** *An object that represents the details for the container that's associated - * with the job.
+ * with the job. If the details are for a multiple-container job, this object will + * be empty. */ inline JobDetail& WithContainer(const ContainerDetail& value) { SetContainer(value); return *this;} /** *An object that represents the details for the container that's associated - * with the job.
+ * with the job. If the details are for a multiple-container job, this object will + * be empty. */ inline JobDetail& WithContainer(ContainerDetail&& value) { SetContainer(std::move(value)); return *this;} @@ -1083,43 +1094,37 @@ namespace Model /** *An object with various properties that are specific to Amazon EKS based jobs.
- * Only one of container
, eksProperties
, or
- * nodeDetails
is specified.
An object with various properties that are specific to Amazon EKS based jobs.
- * Only one of container
, eksProperties
, or
- * nodeDetails
is specified.
An object with various properties that are specific to Amazon EKS based jobs.
- * Only one of container
, eksProperties
, or
- * nodeDetails
is specified.
An object with various properties that are specific to Amazon EKS based jobs.
- * Only one of container
, eksProperties
, or
- * nodeDetails
is specified.
An object with various properties that are specific to Amazon EKS based jobs.
- * Only one of container
, eksProperties
, or
- * nodeDetails
is specified.
An object with various properties that are specific to Amazon EKS based jobs.
- * Only one of container
, eksProperties
, or
- * nodeDetails
is specified.
An object with properties that are specific to Amazon ECS-based jobs.
+ */ + inline const EcsPropertiesDetail& GetEcsProperties() const{ return m_ecsProperties; } + + /** + *An object with properties that are specific to Amazon ECS-based jobs.
+ */ + inline bool EcsPropertiesHasBeenSet() const { return m_ecsPropertiesHasBeenSet; } + + /** + *An object with properties that are specific to Amazon ECS-based jobs.
+ */ + inline void SetEcsProperties(const EcsPropertiesDetail& value) { m_ecsPropertiesHasBeenSet = true; m_ecsProperties = value; } + + /** + *An object with properties that are specific to Amazon ECS-based jobs.
+ */ + inline void SetEcsProperties(EcsPropertiesDetail&& value) { m_ecsPropertiesHasBeenSet = true; m_ecsProperties = std::move(value); } + + /** + *An object with properties that are specific to Amazon ECS-based jobs.
+ */ + inline JobDetail& WithEcsProperties(const EcsPropertiesDetail& value) { SetEcsProperties(value); return *this;} + + /** + *An object with properties that are specific to Amazon ECS-based jobs.
+ */ + inline JobDetail& WithEcsProperties(EcsPropertiesDetail&& value) { SetEcsProperties(std::move(value)); return *this;} + + /** *Indicates whether the job is canceled.
*/ @@ -1286,6 +1322,9 @@ namespace Model Aws::Vector10
is given scheduling preference over a job queue with a priority
- * value of 1
. All of the compute environments must be either EC2
- * (EC2
or SPOT
) or Fargate (FARGATE
or
- * FARGATE_SPOT
). EC2 and Fargate compute environments can't be
+ * value of 1
. All of the compute environments must be either Amazon
+ * EC2 (EC2
or SPOT
) or Fargate (FARGATE
or
+ * FARGATE_SPOT
). Amazon EC2 and Fargate compute environments can't be
* mixed.
*/
inline int GetPriority() const{ return m_priority; }
@@ -344,9 +344,9 @@ namespace Model
* associated with the same compute environment. Priority is determined in
* descending order. For example, a job queue with a priority value of
* 10
is given scheduling preference over a job queue with a priority
- * value of 1
. All of the compute environments must be either EC2
- * (EC2
or SPOT
) or Fargate (FARGATE
or
- * FARGATE_SPOT
). EC2 and Fargate compute environments can't be
+ * value of 1
. All of the compute environments must be either Amazon
+ * EC2 (EC2
or SPOT
) or Fargate (FARGATE
or
+ * FARGATE_SPOT
). Amazon EC2 and Fargate compute environments can't be
* mixed.
*/
inline bool PriorityHasBeenSet() const { return m_priorityHasBeenSet; }
@@ -357,9 +357,9 @@ namespace Model
* associated with the same compute environment. Priority is determined in
* descending order. For example, a job queue with a priority value of
* 10
is given scheduling preference over a job queue with a priority
- * value of 1
. All of the compute environments must be either EC2
- * (EC2
or SPOT
) or Fargate (FARGATE
or
- * FARGATE_SPOT
). EC2 and Fargate compute environments can't be
+ * value of 1
. All of the compute environments must be either Amazon
+ * EC2 (EC2
or SPOT
) or Fargate (FARGATE
or
+ * FARGATE_SPOT
). Amazon EC2 and Fargate compute environments can't be
* mixed.
*/
inline void SetPriority(int value) { m_priorityHasBeenSet = true; m_priority = value; }
@@ -370,9 +370,9 @@ namespace Model
* associated with the same compute environment. Priority is determined in
* descending order. For example, a job queue with a priority value of
* 10
is given scheduling preference over a job queue with a priority
- * value of 1
. All of the compute environments must be either EC2
- * (EC2
or SPOT
) or Fargate (FARGATE
or
- * FARGATE_SPOT
). EC2 and Fargate compute environments can't be
+ * value of 1
. All of the compute environments must be either Amazon
+ * EC2 (EC2
or SPOT
) or Fargate (FARGATE
or
+ * FARGATE_SPOT
). Amazon EC2 and Fargate compute environments can't be
* mixed.
*/
inline JobQueueDetail& WithPriority(int value) { SetPriority(value); return *this;}
diff --git a/generated/src/aws-cpp-sdk-batch/include/aws/batch/model/JobSummary.h b/generated/src/aws-cpp-sdk-batch/include/aws/batch/model/JobSummary.h
index 5d1a5c847c4..96e7247419f 100644
--- a/generated/src/aws-cpp-sdk-batch/include/aws/batch/model/JobSummary.h
+++ b/generated/src/aws-cpp-sdk-batch/include/aws/batch/model/JobSummary.h
@@ -167,36 +167,40 @@ namespace Model
/**
* The Unix timestamp (in milliseconds) for when the job was created. For
* non-array jobs and parent array jobs, this is when the job entered the
- * SUBMITTED
state (at the time SubmitJob was called). For
- * array child jobs, this is when the child job was spawned by its parent and
- * entered the PENDING
state.
SUBMITTED
state (at the time SubmitJob
+ * was called). For array child jobs, this is when the child job was spawned by its
+ * parent and entered the PENDING
state.
*/
inline long long GetCreatedAt() const{ return m_createdAt; }
/**
* The Unix timestamp (in milliseconds) for when the job was created. For
* non-array jobs and parent array jobs, this is when the job entered the
- * SUBMITTED
state (at the time SubmitJob was called). For
- * array child jobs, this is when the child job was spawned by its parent and
- * entered the PENDING
state.
SUBMITTED
state (at the time SubmitJob
+ * was called). For array child jobs, this is when the child job was spawned by its
+ * parent and entered the PENDING
state.
*/
inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
/**
* The Unix timestamp (in milliseconds) for when the job was created. For
* non-array jobs and parent array jobs, this is when the job entered the
- * SUBMITTED
state (at the time SubmitJob was called). For
- * array child jobs, this is when the child job was spawned by its parent and
- * entered the PENDING
state.
SUBMITTED
state (at the time SubmitJob
+ * was called). For array child jobs, this is when the child job was spawned by its
+ * parent and entered the PENDING
state.
*/
inline void SetCreatedAt(long long value) { m_createdAtHasBeenSet = true; m_createdAt = value; }
/**
* The Unix timestamp (in milliseconds) for when the job was created. For
* non-array jobs and parent array jobs, this is when the job entered the
- * SUBMITTED
state (at the time SubmitJob was called). For
- * array child jobs, this is when the child job was spawned by its parent and
- * entered the PENDING
state.
SUBMITTED
state (at the time SubmitJob
+ * was called). For array child jobs, this is when the child job was spawned by its
+ * parent and entered the PENDING
state.
*/
inline JobSummary& WithCreatedAt(long long value) { SetCreatedAt(value); return *this;}
diff --git a/generated/src/aws-cpp-sdk-batch/include/aws/batch/model/NetworkConfiguration.h b/generated/src/aws-cpp-sdk-batch/include/aws/batch/model/NetworkConfiguration.h
index b0e11b1e3c9..a3aa850baaf 100644
--- a/generated/src/aws-cpp-sdk-batch/include/aws/batch/model/NetworkConfiguration.h
+++ b/generated/src/aws-cpp-sdk-batch/include/aws/batch/model/NetworkConfiguration.h
@@ -25,7 +25,7 @@ namespace Model
/**
* The network configuration for jobs that are running on Fargate resources. - * Jobs that are running on EC2 resources must not specify this + * Jobs that are running on Amazon EC2 resources must not specify this * parameter.
An object that represents any node overrides to a job definition that's used - * in a SubmitJob API operation.
This parameter isn't
- * applicable to jobs that are running on Fargate resources. Don't provide it for
- * these jobs. Rather, use containerOverrides
instead.
This parameter isn't applicable to jobs that are
+ * running on Fargate resources. Don't provide it for these jobs. Rather, use
+ * containerOverrides
instead.
The object that represents any node overrides to a job definition that's used - * in a SubmitJob API operation.
An object that contains the properties that you want to replace for the + * existing Amazon ECS resources of a job.
+ */ + inline const EcsPropertiesOverride& GetEcsPropertiesOverride() const{ return m_ecsPropertiesOverride; } + + /** + *An object that contains the properties that you want to replace for the + * existing Amazon ECS resources of a job.
+ */ + inline bool EcsPropertiesOverrideHasBeenSet() const { return m_ecsPropertiesOverrideHasBeenSet; } + + /** + *An object that contains the properties that you want to replace for the + * existing Amazon ECS resources of a job.
+ */ + inline void SetEcsPropertiesOverride(const EcsPropertiesOverride& value) { m_ecsPropertiesOverrideHasBeenSet = true; m_ecsPropertiesOverride = value; } + + /** + *An object that contains the properties that you want to replace for the + * existing Amazon ECS resources of a job.
+ */ + inline void SetEcsPropertiesOverride(EcsPropertiesOverride&& value) { m_ecsPropertiesOverrideHasBeenSet = true; m_ecsPropertiesOverride = std::move(value); } + + /** + *An object that contains the properties that you want to replace for the + * existing Amazon ECS resources of a job.
+ */ + inline NodePropertyOverride& WithEcsPropertiesOverride(const EcsPropertiesOverride& value) { SetEcsPropertiesOverride(value); return *this;} + + /** + *An object that contains the properties that you want to replace for the + * existing Amazon ECS resources of a job.
+ */ + inline NodePropertyOverride& WithEcsPropertiesOverride(EcsPropertiesOverride&& value) { SetEcsPropertiesOverride(std::move(value)); return *this;} + + + /** + *An object that contains the instance types that you want to replace for the + * existing resources of a job.
+ */ + inline const Aws::VectorAn object that contains the instance types that you want to replace for the + * existing resources of a job.
+ */ + inline bool InstanceTypesHasBeenSet() const { return m_instanceTypesHasBeenSet; } + + /** + *An object that contains the instance types that you want to replace for the + * existing resources of a job.
+ */ + inline void SetInstanceTypes(const Aws::VectorAn object that contains the instance types that you want to replace for the + * existing resources of a job.
+ */ + inline void SetInstanceTypes(Aws::VectorAn object that contains the instance types that you want to replace for the + * existing resources of a job.
+ */ + inline NodePropertyOverride& WithInstanceTypes(const Aws::VectorAn object that contains the instance types that you want to replace for the + * existing resources of a job.
+ */ + inline NodePropertyOverride& WithInstanceTypes(Aws::VectorAn object that contains the instance types that you want to replace for the + * existing resources of a job.
+ */ + inline NodePropertyOverride& AddInstanceTypes(const Aws::String& value) { m_instanceTypesHasBeenSet = true; m_instanceTypes.push_back(value); return *this; } + + /** + *An object that contains the instance types that you want to replace for the + * existing resources of a job.
+ */ + inline NodePropertyOverride& AddInstanceTypes(Aws::String&& value) { m_instanceTypesHasBeenSet = true; m_instanceTypes.push_back(std::move(value)); return *this; } + + /** + *An object that contains the instance types that you want to replace for the + * existing resources of a job.
+ */ + inline NodePropertyOverride& AddInstanceTypes(const char* value) { m_instanceTypesHasBeenSet = true; m_instanceTypes.push_back(value); return *this; } + private: Aws::String m_targetNodes; @@ -157,6 +253,12 @@ namespace Model ContainerOverrides m_containerOverrides; bool m_containerOverridesHasBeenSet = false; + + EcsPropertiesOverride m_ecsPropertiesOverride; + bool m_ecsPropertiesOverrideHasBeenSet = false; + + Aws::VectorAn object that represents the properties of the node range for a multi-node - * parallel job.
The instance types of the underlying host infrastructure of a multi-node + * parallel job.
This parameter isn't applicable to jobs that are + * running on Fargate resources.
In addition, this list object is currently + * limited to one element.
+ */ + inline const Aws::VectorThe instance types of the underlying host infrastructure of a multi-node + * parallel job.
This parameter isn't applicable to jobs that are + * running on Fargate resources.
In addition, this list object is currently + * limited to one element.
+ */ + inline bool InstanceTypesHasBeenSet() const { return m_instanceTypesHasBeenSet; } + + /** + *The instance types of the underlying host infrastructure of a multi-node + * parallel job.
This parameter isn't applicable to jobs that are + * running on Fargate resources.
In addition, this list object is currently + * limited to one element.
+ */ + inline void SetInstanceTypes(const Aws::VectorThe instance types of the underlying host infrastructure of a multi-node + * parallel job.
This parameter isn't applicable to jobs that are + * running on Fargate resources.
In addition, this list object is currently + * limited to one element.
+ */ + inline void SetInstanceTypes(Aws::VectorThe instance types of the underlying host infrastructure of a multi-node + * parallel job.
This parameter isn't applicable to jobs that are + * running on Fargate resources.
In addition, this list object is currently + * limited to one element.
+ */ + inline NodeRangeProperty& WithInstanceTypes(const Aws::VectorThe instance types of the underlying host infrastructure of a multi-node + * parallel job.
This parameter isn't applicable to jobs that are + * running on Fargate resources.
In addition, this list object is currently + * limited to one element.
+ */ + inline NodeRangeProperty& WithInstanceTypes(Aws::VectorThe instance types of the underlying host infrastructure of a multi-node + * parallel job.
This parameter isn't applicable to jobs that are + * running on Fargate resources.
In addition, this list object is currently + * limited to one element.
+ */ + inline NodeRangeProperty& AddInstanceTypes(const Aws::String& value) { m_instanceTypesHasBeenSet = true; m_instanceTypes.push_back(value); return *this; } + + /** + *The instance types of the underlying host infrastructure of a multi-node + * parallel job.
This parameter isn't applicable to jobs that are + * running on Fargate resources.
In addition, this list object is currently + * limited to one element.
+ */ + inline NodeRangeProperty& AddInstanceTypes(Aws::String&& value) { m_instanceTypesHasBeenSet = true; m_instanceTypes.push_back(std::move(value)); return *this; } + + /** + *The instance types of the underlying host infrastructure of a multi-node + * parallel job.
This parameter isn't applicable to jobs that are + * running on Fargate resources.
In addition, this list object is currently + * limited to one element.
+ */ + inline NodeRangeProperty& AddInstanceTypes(const char* value) { m_instanceTypesHasBeenSet = true; m_instanceTypes.push_back(value); return *this; } + + + /** + *This is an object that represents the properties of the node range for a + * multi-node parallel job.
+ */ + inline const EcsProperties& GetEcsProperties() const{ return m_ecsProperties; } + + /** + *This is an object that represents the properties of the node range for a + * multi-node parallel job.
+ */ + inline bool EcsPropertiesHasBeenSet() const { return m_ecsPropertiesHasBeenSet; } + + /** + *This is an object that represents the properties of the node range for a + * multi-node parallel job.
+ */ + inline void SetEcsProperties(const EcsProperties& value) { m_ecsPropertiesHasBeenSet = true; m_ecsProperties = value; } + + /** + *This is an object that represents the properties of the node range for a + * multi-node parallel job.
+ */ + inline void SetEcsProperties(EcsProperties&& value) { m_ecsPropertiesHasBeenSet = true; m_ecsProperties = std::move(value); } + + /** + *This is an object that represents the properties of the node range for a + * multi-node parallel job.
+ */ + inline NodeRangeProperty& WithEcsProperties(const EcsProperties& value) { SetEcsProperties(value); return *this;} + + /** + *This is an object that represents the properties of the node range for a + * multi-node parallel job.
+ */ + inline NodeRangeProperty& WithEcsProperties(EcsProperties&& value) { SetEcsProperties(std::move(value)); return *this;} + private: Aws::String m_targetNodes; @@ -173,6 +285,12 @@ namespace Model ContainerProperties m_container; bool m_containerHasBeenSet = false; + + Aws::VectorIf the job is run on Fargate resources, then multinode
- * isn't supported.
If the value is container
, then one of the following
+ * is required: containerProperties
, ecsProperties
, or
+ * eksProperties
.
If the value is
+ * multinode
, then nodeProperties
is required.
If the job is run on Fargate resources, then
+ * multinode
isn't supported.
If the job is run on Fargate resources, then multinode
- * isn't supported.
If the value is container
, then one of the following
+ * is required: containerProperties
, ecsProperties
, or
+ * eksProperties
.
If the value is
+ * multinode
, then nodeProperties
is required.
If the job is run on Fargate resources, then
+ * multinode
isn't supported.
If the job is run on Fargate resources, then multinode
- * isn't supported.
If the value is container
, then one of the following
+ * is required: containerProperties
, ecsProperties
, or
+ * eksProperties
.
If the value is
+ * multinode
, then nodeProperties
is required.
If the job is run on Fargate resources, then
+ * multinode
isn't supported.
If the job is run on Fargate resources, then multinode
- * isn't supported.
If the value is container
, then one of the following
+ * is required: containerProperties
, ecsProperties
, or
+ * eksProperties
.
If the value is
+ * multinode
, then nodeProperties
is required.
If the job is run on Fargate resources, then
+ * multinode
isn't supported.
If the job is run on Fargate resources, then multinode
- * isn't supported.
If the value is container
, then one of the following
+ * is required: containerProperties
, ecsProperties
, or
+ * eksProperties
.
If the value is
+ * multinode
, then nodeProperties
is required.
If the job is run on Fargate resources, then
+ * multinode
isn't supported.
If the job is run on Fargate resources, then multinode
- * isn't supported.
If the value is container
, then one of the following
+ * is required: containerProperties
, ecsProperties
, or
+ * eksProperties
.
If the value is
+ * multinode
, then nodeProperties
is required.
If the job is run on Fargate resources, then
+ * multinode
isn't supported.
An object with various properties specific to Amazon ECS based single-node + *
An object with properties specific to Amazon ECS-based single-node
* container-based jobs. If the job definition's type
parameter is
* container
, then you must specify either
* containerProperties
or nodeProperties
. This must not
- * be specified for Amazon EKS based job definitions.
If the job runs + * be specified for Amazon EKS-based job definitions.
If the job runs
* on Fargate resources, then you must not specify nodeProperties
; use
* only containerProperties
.
An object with various properties specific to Amazon ECS based single-node + *
An object with properties specific to Amazon ECS-based single-node
* container-based jobs. If the job definition's type
parameter is
* container
, then you must specify either
* containerProperties
or nodeProperties
. This must not
- * be specified for Amazon EKS based job definitions.
If the job runs + * be specified for Amazon EKS-based job definitions.
If the job runs
* on Fargate resources, then you must not specify nodeProperties
; use
* only containerProperties
.
An object with various properties specific to Amazon ECS based single-node + *
An object with properties specific to Amazon ECS-based single-node
* container-based jobs. If the job definition's type
parameter is
* container
, then you must specify either
* containerProperties
or nodeProperties
. This must not
- * be specified for Amazon EKS based job definitions.
If the job runs + * be specified for Amazon EKS-based job definitions.
If the job runs
* on Fargate resources, then you must not specify nodeProperties
; use
* only containerProperties
.
An object with various properties specific to Amazon ECS based single-node + *
An object with properties specific to Amazon ECS-based single-node
* container-based jobs. If the job definition's type
parameter is
* container
, then you must specify either
* containerProperties
or nodeProperties
. This must not
- * be specified for Amazon EKS based job definitions.
If the job runs + * be specified for Amazon EKS-based job definitions.
If the job runs
* on Fargate resources, then you must not specify nodeProperties
; use
* only containerProperties
.
An object with various properties specific to Amazon ECS based single-node + *
An object with properties specific to Amazon ECS-based single-node
* container-based jobs. If the job definition's type
parameter is
* container
, then you must specify either
* containerProperties
or nodeProperties
. This must not
- * be specified for Amazon EKS based job definitions.
If the job runs + * be specified for Amazon EKS-based job definitions.
If the job runs
* on Fargate resources, then you must not specify nodeProperties
; use
* only containerProperties
.
An object with various properties specific to Amazon ECS based single-node + *
An object with properties specific to Amazon ECS-based single-node
* container-based jobs. If the job definition's type
parameter is
* container
, then you must specify either
* containerProperties
or nodeProperties
. This must not
- * be specified for Amazon EKS based job definitions.
If the job runs + * be specified for Amazon EKS-based job definitions.
If the job runs
* on Fargate resources, then you must not specify nodeProperties
; use
* only containerProperties
.
An object with various properties specific to multi-node parallel jobs. If - * you specify node properties for a job, it becomes a multi-node parallel job. For + *
An object with properties specific to multi-node parallel jobs. If you
+ * specify node properties for a job, it becomes a multi-node parallel job. For
* more information, see Multi-node
- * Parallel Jobs in the Batch User Guide. If the job definition's
- * type
parameter is container
, then you must specify
- * either containerProperties
or nodeProperties
.
If the job runs on Fargate resources, then you must not specify
- * nodeProperties
; use containerProperties
instead.
If the job runs on Amazon EKS resources, then you must not
- * specify nodeProperties
.
If the job runs
+ * on Fargate resources, then you must not specify nodeProperties
; use
+ * containerProperties
instead.
If the job runs
+ * on Amazon EKS resources, then you must not specify
+ * nodeProperties
.
An object with various properties specific to multi-node parallel jobs. If - * you specify node properties for a job, it becomes a multi-node parallel job. For + *
An object with properties specific to multi-node parallel jobs. If you
+ * specify node properties for a job, it becomes a multi-node parallel job. For
* more information, see Multi-node
- * Parallel Jobs in the Batch User Guide. If the job definition's
- * type
parameter is container
, then you must specify
- * either containerProperties
or nodeProperties
.
If the job runs on Fargate resources, then you must not specify
- * nodeProperties
; use containerProperties
instead.
If the job runs on Amazon EKS resources, then you must not
- * specify nodeProperties
.
If the job runs
+ * on Fargate resources, then you must not specify nodeProperties
; use
+ * containerProperties
instead.
If the job runs
+ * on Amazon EKS resources, then you must not specify
+ * nodeProperties
.
An object with various properties specific to multi-node parallel jobs. If - * you specify node properties for a job, it becomes a multi-node parallel job. For + *
An object with properties specific to multi-node parallel jobs. If you
+ * specify node properties for a job, it becomes a multi-node parallel job. For
* more information, see Multi-node
- * Parallel Jobs in the Batch User Guide. If the job definition's
- * type
parameter is container
, then you must specify
- * either containerProperties
or nodeProperties
.
If the job runs on Fargate resources, then you must not specify
- * nodeProperties
; use containerProperties
instead.
If the job runs on Amazon EKS resources, then you must not
- * specify nodeProperties
.
If the job runs
+ * on Fargate resources, then you must not specify nodeProperties
; use
+ * containerProperties
instead.
If the job runs
+ * on Amazon EKS resources, then you must not specify
+ * nodeProperties
.
An object with various properties specific to multi-node parallel jobs. If - * you specify node properties for a job, it becomes a multi-node parallel job. For + *
An object with properties specific to multi-node parallel jobs. If you
+ * specify node properties for a job, it becomes a multi-node parallel job. For
* more information, see Multi-node
- * Parallel Jobs in the Batch User Guide. If the job definition's
- * type
parameter is container
, then you must specify
- * either containerProperties
or nodeProperties
.
If the job runs on Fargate resources, then you must not specify
- * nodeProperties
; use containerProperties
instead.
If the job runs on Amazon EKS resources, then you must not
- * specify nodeProperties
.
If the job runs
+ * on Fargate resources, then you must not specify nodeProperties
; use
+ * containerProperties
instead.
If the job runs
+ * on Amazon EKS resources, then you must not specify
+ * nodeProperties
.
An object with various properties specific to multi-node parallel jobs. If - * you specify node properties for a job, it becomes a multi-node parallel job. For + *
An object with properties specific to multi-node parallel jobs. If you
+ * specify node properties for a job, it becomes a multi-node parallel job. For
* more information, see Multi-node
- * Parallel Jobs in the Batch User Guide. If the job definition's
- * type
parameter is container
, then you must specify
- * either containerProperties
or nodeProperties
.
If the job runs on Fargate resources, then you must not specify
- * nodeProperties
; use containerProperties
instead.
If the job runs on Amazon EKS resources, then you must not
- * specify nodeProperties
.
If the job runs
+ * on Fargate resources, then you must not specify nodeProperties
; use
+ * containerProperties
instead.
If the job runs
+ * on Amazon EKS resources, then you must not specify
+ * nodeProperties
.
An object with various properties specific to multi-node parallel jobs. If - * you specify node properties for a job, it becomes a multi-node parallel job. For + *
An object with properties specific to multi-node parallel jobs. If you
+ * specify node properties for a job, it becomes a multi-node parallel job. For
* more information, see Multi-node
- * Parallel Jobs in the Batch User Guide. If the job definition's
- * type
parameter is container
, then you must specify
- * either containerProperties
or nodeProperties
.
If the job runs on Fargate resources, then you must not specify
- * nodeProperties
; use containerProperties
instead.
If the job runs on Amazon EKS resources, then you must not
- * specify nodeProperties
.
If the job runs
+ * on Fargate resources, then you must not specify nodeProperties
; use
+ * containerProperties
instead.
If the job runs
+ * on Amazon EKS resources, then you must not specify
+ * nodeProperties
.
An object with various properties that are specific to Amazon EKS based jobs. - * This must not be specified for Amazon ECS based job definitions.
+ *An object with properties that are specific to Amazon EKS-based jobs. This + * must not be specified for Amazon ECS based job definitions.
*/ inline const EksProperties& GetEksProperties() const{ return m_eksProperties; } /** - *An object with various properties that are specific to Amazon EKS based jobs. - * This must not be specified for Amazon ECS based job definitions.
+ *An object with properties that are specific to Amazon EKS-based jobs. This + * must not be specified for Amazon ECS based job definitions.
*/ inline bool EksPropertiesHasBeenSet() const { return m_eksPropertiesHasBeenSet; } /** - *An object with various properties that are specific to Amazon EKS based jobs. - * This must not be specified for Amazon ECS based job definitions.
+ *An object with properties that are specific to Amazon EKS-based jobs. This + * must not be specified for Amazon ECS based job definitions.
*/ inline void SetEksProperties(const EksProperties& value) { m_eksPropertiesHasBeenSet = true; m_eksProperties = value; } /** - *An object with various properties that are specific to Amazon EKS based jobs. - * This must not be specified for Amazon ECS based job definitions.
+ *An object with properties that are specific to Amazon EKS-based jobs. This + * must not be specified for Amazon ECS based job definitions.
*/ inline void SetEksProperties(EksProperties&& value) { m_eksPropertiesHasBeenSet = true; m_eksProperties = std::move(value); } /** - *An object with various properties that are specific to Amazon EKS based jobs. - * This must not be specified for Amazon ECS based job definitions.
+ *An object with properties that are specific to Amazon EKS-based jobs. This + * must not be specified for Amazon ECS based job definitions.
*/ inline RegisterJobDefinitionRequest& WithEksProperties(const EksProperties& value) { SetEksProperties(value); return *this;} /** - *An object with various properties that are specific to Amazon EKS based jobs. - * This must not be specified for Amazon ECS based job definitions.
+ *An object with properties that are specific to Amazon EKS-based jobs. This + * must not be specified for Amazon ECS based job definitions.
*/ inline RegisterJobDefinitionRequest& WithEksProperties(EksProperties&& value) { SetEksProperties(std::move(value)); return *this;} + + /** + *An object with properties that are specific to Amazon ECS-based jobs. This + * must not be specified for Amazon EKS-based job definitions.
+ */ + inline const EcsProperties& GetEcsProperties() const{ return m_ecsProperties; } + + /** + *An object with properties that are specific to Amazon ECS-based jobs. This + * must not be specified for Amazon EKS-based job definitions.
+ */ + inline bool EcsPropertiesHasBeenSet() const { return m_ecsPropertiesHasBeenSet; } + + /** + *An object with properties that are specific to Amazon ECS-based jobs. This + * must not be specified for Amazon EKS-based job definitions.
+ */ + inline void SetEcsProperties(const EcsProperties& value) { m_ecsPropertiesHasBeenSet = true; m_ecsProperties = value; } + + /** + *An object with properties that are specific to Amazon ECS-based jobs. This + * must not be specified for Amazon EKS-based job definitions.
+ */ + inline void SetEcsProperties(EcsProperties&& value) { m_ecsPropertiesHasBeenSet = true; m_ecsProperties = std::move(value); } + + /** + *An object with properties that are specific to Amazon ECS-based jobs. This + * must not be specified for Amazon EKS-based job definitions.
+ */ + inline RegisterJobDefinitionRequest& WithEcsProperties(const EcsProperties& value) { SetEcsProperties(value); return *this;} + + /** + *An object with properties that are specific to Amazon ECS-based jobs. This + * must not be specified for Amazon EKS-based job definitions.
+ */ + inline RegisterJobDefinitionRequest& WithEcsProperties(EcsProperties&& value) { SetEcsProperties(std::move(value)); return *this;} + private: Aws::String m_jobDefinitionName; @@ -898,6 +948,9 @@ namespace Model EksProperties m_eksProperties; bool m_eksPropertiesHasBeenSet = false; + + EcsProperties m_ecsProperties; + bool m_ecsPropertiesHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-batch/include/aws/batch/model/ResourceRequirement.h b/generated/src/aws-cpp-sdk-batch/include/aws/batch/model/ResourceRequirement.h index 34e86f2f99f..f5e165a58b7 100644 --- a/generated/src/aws-cpp-sdk-batch/include/aws/batch/model/ResourceRequirement.h +++ b/generated/src/aws-cpp-sdk-batch/include/aws/batch/model/ResourceRequirement.h @@ -49,9 +49,9 @@ namespace Model * job is launched on.GPUs aren't available for jobs that are * running on Fargate resources.
The memory hard limit (in MiB) present to the container. This parameter is
- * supported for jobs that are running on EC2 resources. If your container attempts
- * to exceed the memory specified, the container is terminated. This parameter maps
- * to Memory
in the Memory in the Create a
* container section of the Docker Remote API and the
@@ -96,9 +96,9 @@ namespace Model
* href="https://docs.docker.com/engine/api/v1.23/">Docker Remote API and the
* --cpu-shares
option to docker run. Each vCPU
- * is equivalent to 1,024 CPU shares. For EC2 resources, you must specify at least
- * one vCPU. This is required but can be specified in several places; it must be
- * specified for each node at least once.
The default for the Fargate + * is equivalent to 1,024 CPU shares. For Amazon EC2 resources, you must specify at + * least one vCPU. This is required but can be specified in several places; it must + * be specified for each node at least once.
The default for the Fargate * On-Demand vCPU resource count quota is 6 vCPUs. For more information about * Fargate quotas, see Fargate @@ -131,9 +131,9 @@ namespace Model * job is launched on.
GPUs aren't available for jobs that are * running on Fargate resources.
The memory hard limit (in MiB) present to the container. This parameter is
- * supported for jobs that are running on EC2 resources. If your container attempts
- * to exceed the memory specified, the container is terminated. This parameter maps
- * to Memory
in the Memory in the Create a
* container section of the Docker Remote API and the
@@ -178,9 +178,9 @@ namespace Model
* href="https://docs.docker.com/engine/api/v1.23/">Docker Remote API and the
* --cpu-shares
option to docker run. Each vCPU
- * is equivalent to 1,024 CPU shares. For EC2 resources, you must specify at least
- * one vCPU. This is required but can be specified in several places; it must be
- * specified for each node at least once.
The default for the Fargate + * is equivalent to 1,024 CPU shares. For Amazon EC2 resources, you must specify at + * least one vCPU. This is required but can be specified in several places; it must + * be specified for each node at least once.
The default for the Fargate * On-Demand vCPU resource count quota is 6 vCPUs. For more information about * Fargate quotas, see Fargate @@ -213,9 +213,9 @@ namespace Model * job is launched on.
GPUs aren't available for jobs that are * running on Fargate resources.
The memory hard limit (in MiB) present to the container. This parameter is
- * supported for jobs that are running on EC2 resources. If your container attempts
- * to exceed the memory specified, the container is terminated. This parameter maps
- * to Memory
in the Memory in the Create a
* container section of the Docker Remote API and the
@@ -260,9 +260,9 @@ namespace Model
* href="https://docs.docker.com/engine/api/v1.23/">Docker Remote API and the
* --cpu-shares
option to docker run. Each vCPU
- * is equivalent to 1,024 CPU shares. For EC2 resources, you must specify at least
- * one vCPU. This is required but can be specified in several places; it must be
- * specified for each node at least once.
The default for the Fargate + * is equivalent to 1,024 CPU shares. For Amazon EC2 resources, you must specify at + * least one vCPU. This is required but can be specified in several places; it must + * be specified for each node at least once.
The default for the Fargate * On-Demand vCPU resource count quota is 6 vCPUs. For more information about * Fargate quotas, see Fargate @@ -295,9 +295,9 @@ namespace Model * job is launched on.
GPUs aren't available for jobs that are * running on Fargate resources.
The memory hard limit (in MiB) present to the container. This parameter is
- * supported for jobs that are running on EC2 resources. If your container attempts
- * to exceed the memory specified, the container is terminated. This parameter maps
- * to Memory
in the Memory in the Create a
* container section of the Docker Remote API and the
@@ -342,9 +342,9 @@ namespace Model
* href="https://docs.docker.com/engine/api/v1.23/">Docker Remote API and the
* --cpu-shares
option to docker run. Each vCPU
- * is equivalent to 1,024 CPU shares. For EC2 resources, you must specify at least
- * one vCPU. This is required but can be specified in several places; it must be
- * specified for each node at least once.
The default for the Fargate + * is equivalent to 1,024 CPU shares. For Amazon EC2 resources, you must specify at + * least one vCPU. This is required but can be specified in several places; it must + * be specified for each node at least once.
The default for the Fargate * On-Demand vCPU resource count quota is 6 vCPUs. For more information about * Fargate quotas, see Fargate @@ -377,9 +377,9 @@ namespace Model * job is launched on.
GPUs aren't available for jobs that are * running on Fargate resources.
The memory hard limit (in MiB) present to the container. This parameter is
- * supported for jobs that are running on EC2 resources. If your container attempts
- * to exceed the memory specified, the container is terminated. This parameter maps
- * to Memory
in the Memory in the Create a
* container section of the Docker Remote API and the
@@ -424,9 +424,9 @@ namespace Model
* href="https://docs.docker.com/engine/api/v1.23/">Docker Remote API and the
* --cpu-shares
option to docker run. Each vCPU
- * is equivalent to 1,024 CPU shares. For EC2 resources, you must specify at least
- * one vCPU. This is required but can be specified in several places; it must be
- * specified for each node at least once.
The default for the Fargate + * is equivalent to 1,024 CPU shares. For Amazon EC2 resources, you must specify at + * least one vCPU. This is required but can be specified in several places; it must + * be specified for each node at least once.
The default for the Fargate * On-Demand vCPU resource count quota is 6 vCPUs. For more information about * Fargate quotas, see Fargate @@ -459,9 +459,9 @@ namespace Model * job is launched on.
GPUs aren't available for jobs that are * running on Fargate resources.
The memory hard limit (in MiB) present to the container. This parameter is
- * supported for jobs that are running on EC2 resources. If your container attempts
- * to exceed the memory specified, the container is terminated. This parameter maps
- * to Memory
in the Memory in the Create a
* container section of the Docker Remote API and the
@@ -506,9 +506,9 @@ namespace Model
* href="https://docs.docker.com/engine/api/v1.23/">Docker Remote API and the
* --cpu-shares
option to docker run. Each vCPU
- * is equivalent to 1,024 CPU shares. For EC2 resources, you must specify at least
- * one vCPU. This is required but can be specified in several places; it must be
- * specified for each node at least once.
The default for the Fargate + * is equivalent to 1,024 CPU shares. For Amazon EC2 resources, you must specify at + * least one vCPU. This is required but can be specified in several places; it must + * be specified for each node at least once.
The default for the Fargate * On-Demand vCPU resource count quota is 6 vCPUs. For more information about * Fargate quotas, see Fargate @@ -541,9 +541,9 @@ namespace Model * job is launched on.
GPUs aren't available for jobs that are * running on Fargate resources.
The memory hard limit (in MiB) present to the container. This parameter is
- * supported for jobs that are running on EC2 resources. If your container attempts
- * to exceed the memory specified, the container is terminated. This parameter maps
- * to Memory
in the Memory in the Create a
* container section of the Docker Remote API and the
@@ -588,9 +588,9 @@ namespace Model
* href="https://docs.docker.com/engine/api/v1.23/">Docker Remote API and the
* --cpu-shares
option to docker run. Each vCPU
- * is equivalent to 1,024 CPU shares. For EC2 resources, you must specify at least
- * one vCPU. This is required but can be specified in several places; it must be
- * specified for each node at least once.
The default for the Fargate + * is equivalent to 1,024 CPU shares. For Amazon EC2 resources, you must specify at + * least one vCPU. This is required but can be specified in several places; it must + * be specified for each node at least once.
The default for the Fargate * On-Demand vCPU resource count quota is 6 vCPUs. For more information about * Fargate quotas, see Fargate @@ -623,9 +623,9 @@ namespace Model * job is launched on.
GPUs aren't available for jobs that are * running on Fargate resources.
The memory hard limit (in MiB) present to the container. This parameter is
- * supported for jobs that are running on EC2 resources. If your container attempts
- * to exceed the memory specified, the container is terminated. This parameter maps
- * to Memory
in the Memory in the Create a
* container section of the Docker Remote API and the
@@ -670,9 +670,9 @@ namespace Model
* href="https://docs.docker.com/engine/api/v1.23/">Docker Remote API and the
* --cpu-shares
option to docker run. Each vCPU
- * is equivalent to 1,024 CPU shares. For EC2 resources, you must specify at least
- * one vCPU. This is required but can be specified in several places; it must be
- * specified for each node at least once.
The default for the Fargate + * is equivalent to 1,024 CPU shares. For Amazon EC2 resources, you must specify at + * least one vCPU. This is required but can be specified in several places; it must + * be specified for each node at least once.
The default for the Fargate
* On-Demand vCPU resource count quota is 6 vCPUs. For more information about
* Fargate quotas, see Fargate
diff --git a/generated/src/aws-cpp-sdk-batch/include/aws/batch/model/SubmitJobRequest.h b/generated/src/aws-cpp-sdk-batch/include/aws/batch/model/SubmitJobRequest.h
index b1c1b786764..16cbe20bad7 100644
--- a/generated/src/aws-cpp-sdk-batch/include/aws/batch/model/SubmitJobRequest.h
+++ b/generated/src/aws-cpp-sdk-batch/include/aws/batch/model/SubmitJobRequest.h
@@ -15,6 +15,7 @@
#include An object with various properties that override the defaults for the job
- * definition that specify the name of a container in the specified job definition
- * and the overrides it should receive. You can override the default command for a
+ * An object with properties that override the defaults for the job definition
+ * that specify the name of a container in the specified job definition and the
+ * overrides it should receive. You can override the default command for a
* container, which is specified in the job definition or the Docker image, with a
* An object with various properties that override the defaults for the job
- * definition that specify the name of a container in the specified job definition
- * and the overrides it should receive. You can override the default command for a
+ * An object with properties that override the defaults for the job definition
+ * that specify the name of a container in the specified job definition and the
+ * overrides it should receive. You can override the default command for a
* container, which is specified in the job definition or the Docker image, with a
* An object with various properties that override the defaults for the job
- * definition that specify the name of a container in the specified job definition
- * and the overrides it should receive. You can override the default command for a
+ * An object with properties that override the defaults for the job definition
+ * that specify the name of a container in the specified job definition and the
+ * overrides it should receive. You can override the default command for a
* container, which is specified in the job definition or the Docker image, with a
* An object with various properties that override the defaults for the job
- * definition that specify the name of a container in the specified job definition
- * and the overrides it should receive. You can override the default command for a
+ * An object with properties that override the defaults for the job definition
+ * that specify the name of a container in the specified job definition and the
+ * overrides it should receive. You can override the default command for a
* container, which is specified in the job definition or the Docker image, with a
* An object with various properties that override the defaults for the job
- * definition that specify the name of a container in the specified job definition
- * and the overrides it should receive. You can override the default command for a
+ * An object with properties that override the defaults for the job definition
+ * that specify the name of a container in the specified job definition and the
+ * overrides it should receive. You can override the default command for a
* container, which is specified in the job definition or the Docker image, with a
* An object with various properties that override the defaults for the job
- * definition that specify the name of a container in the specified job definition
- * and the overrides it should receive. You can override the default command for a
+ * An object with properties that override the defaults for the job definition
+ * that specify the name of a container in the specified job definition and the
+ * overrides it should receive. You can override the default command for a
* container, which is specified in the job definition or the Docker image, with a
* An object that can only be specified for jobs that are run on Amazon EKS
- * resources with various properties that override defaults for the job
- * definition. An object, with properties that override defaults for the job definition, can
+ * only be specified for jobs that are run on Amazon EKS resources. An object that can only be specified for jobs that are run on Amazon EKS
- * resources with various properties that override defaults for the job
- * definition. An object, with properties that override defaults for the job definition, can
+ * only be specified for jobs that are run on Amazon EKS resources. An object that can only be specified for jobs that are run on Amazon EKS
- * resources with various properties that override defaults for the job
- * definition. An object, with properties that override defaults for the job definition, can
+ * only be specified for jobs that are run on Amazon EKS resources. An object that can only be specified for jobs that are run on Amazon EKS
- * resources with various properties that override defaults for the job
- * definition. An object, with properties that override defaults for the job definition, can
+ * only be specified for jobs that are run on Amazon EKS resources. An object that can only be specified for jobs that are run on Amazon EKS
- * resources with various properties that override defaults for the job
- * definition. An object, with properties that override defaults for the job definition, can
+ * only be specified for jobs that are run on Amazon EKS resources. An object that can only be specified for jobs that are run on Amazon EKS
- * resources with various properties that override defaults for the job
- * definition. An object, with properties that override defaults for the job definition, can
+ * only be specified for jobs that are run on Amazon EKS resources. An object, with properties that override defaults for the job definition, can
+ * only be specified for jobs that are run on Amazon ECS resources. An object, with properties that override defaults for the job definition, can
+ * only be specified for jobs that are run on Amazon ECS resources. An object, with properties that override defaults for the job definition, can
+ * only be specified for jobs that are run on Amazon ECS resources. An object, with properties that override defaults for the job definition, can
+ * only be specified for jobs that are run on Amazon ECS resources. An object, with properties that override defaults for the job definition, can
+ * only be specified for jobs that are run on Amazon ECS resources. An object, with properties that override defaults for the job definition, can
+ * only be specified for jobs that are run on Amazon ECS resources. A list of containers that this task depends on.command
override. You can also override existing environment
* variables on a container or add new environment variables to it with an
@@ -615,9 +616,9 @@ namespace Model
inline const ContainerOverrides& GetContainerOverrides() const{ return m_containerOverrides; }
/**
- * command
override. You can also override existing environment
* variables on a container or add new environment variables to it with an
@@ -626,9 +627,9 @@ namespace Model
inline bool ContainerOverridesHasBeenSet() const { return m_containerOverridesHasBeenSet; }
/**
- * command
override. You can also override existing environment
* variables on a container or add new environment variables to it with an
@@ -637,9 +638,9 @@ namespace Model
inline void SetContainerOverrides(const ContainerOverrides& value) { m_containerOverridesHasBeenSet = true; m_containerOverrides = value; }
/**
- * command
override. You can also override existing environment
* variables on a container or add new environment variables to it with an
@@ -648,9 +649,9 @@ namespace Model
inline void SetContainerOverrides(ContainerOverrides&& value) { m_containerOverridesHasBeenSet = true; m_containerOverrides = std::move(value); }
/**
- * command
override. You can also override existing environment
* variables on a container or add new environment variables to it with an
@@ -659,9 +660,9 @@ namespace Model
inline SubmitJobRequest& WithContainerOverrides(const ContainerOverrides& value) { SetContainerOverrides(value); return *this;}
/**
- * command
override. You can also override existing environment
* variables on a container or add new environment variables to it with an
@@ -1018,47 +1019,78 @@ namespace Model
/**
- * See Also:
AWS
+ * API Reference
A unique identifier for the container.
+ */ + inline const Aws::String& GetContainerName() const{ return m_containerName; } + + /** + *A unique identifier for the container.
+ */ + inline bool ContainerNameHasBeenSet() const { return m_containerNameHasBeenSet; } + + /** + *A unique identifier for the container.
+ */ + inline void SetContainerName(const Aws::String& value) { m_containerNameHasBeenSet = true; m_containerName = value; } + + /** + *A unique identifier for the container.
+ */ + inline void SetContainerName(Aws::String&& value) { m_containerNameHasBeenSet = true; m_containerName = std::move(value); } + + /** + *A unique identifier for the container.
+ */ + inline void SetContainerName(const char* value) { m_containerNameHasBeenSet = true; m_containerName.assign(value); } + + /** + *A unique identifier for the container.
+ */ + inline TaskContainerDependency& WithContainerName(const Aws::String& value) { SetContainerName(value); return *this;} + + /** + *A unique identifier for the container.
+ */ + inline TaskContainerDependency& WithContainerName(Aws::String&& value) { SetContainerName(std::move(value)); return *this;} + + /** + *A unique identifier for the container.
+ */ + inline TaskContainerDependency& WithContainerName(const char* value) { SetContainerName(value); return *this;} + + + /** + *The dependency condition of the container. The following are the available + * conditions and their behavior:
START
- This
+ * condition emulates the behavior of links and volumes today. It validates that a
+ * dependent container is started before permitting other containers to start.
COMPLETE
- This condition validates that a dependent
+ * container runs to completion (exits) before permitting other containers to
+ * start. This can be useful for nonessential containers that run a script and then
+ * exit. This condition can't be set on an essential container.
+ * SUCCESS
- This condition is the same as COMPLETE
, but
+ * it also requires that the container exits with a zero status. This condition
+ * can't be set on an essential container.
The dependency condition of the container. The following are the available + * conditions and their behavior:
START
- This
+ * condition emulates the behavior of links and volumes today. It validates that a
+ * dependent container is started before permitting other containers to start.
COMPLETE
- This condition validates that a dependent
+ * container runs to completion (exits) before permitting other containers to
+ * start. This can be useful for nonessential containers that run a script and then
+ * exit. This condition can't be set on an essential container.
+ * SUCCESS
- This condition is the same as COMPLETE
, but
+ * it also requires that the container exits with a zero status. This condition
+ * can't be set on an essential container.
The dependency condition of the container. The following are the available + * conditions and their behavior:
START
- This
+ * condition emulates the behavior of links and volumes today. It validates that a
+ * dependent container is started before permitting other containers to start.
COMPLETE
- This condition validates that a dependent
+ * container runs to completion (exits) before permitting other containers to
+ * start. This can be useful for nonessential containers that run a script and then
+ * exit. This condition can't be set on an essential container.
+ * SUCCESS
- This condition is the same as COMPLETE
, but
+ * it also requires that the container exits with a zero status. This condition
+ * can't be set on an essential container.
The dependency condition of the container. The following are the available + * conditions and their behavior:
START
- This
+ * condition emulates the behavior of links and volumes today. It validates that a
+ * dependent container is started before permitting other containers to start.
COMPLETE
- This condition validates that a dependent
+ * container runs to completion (exits) before permitting other containers to
+ * start. This can be useful for nonessential containers that run a script and then
+ * exit. This condition can't be set on an essential container.
+ * SUCCESS
- This condition is the same as COMPLETE
, but
+ * it also requires that the container exits with a zero status. This condition
+ * can't be set on an essential container.
The dependency condition of the container. The following are the available + * conditions and their behavior:
START
- This
+ * condition emulates the behavior of links and volumes today. It validates that a
+ * dependent container is started before permitting other containers to start.
COMPLETE
- This condition validates that a dependent
+ * container runs to completion (exits) before permitting other containers to
+ * start. This can be useful for nonessential containers that run a script and then
+ * exit. This condition can't be set on an essential container.
+ * SUCCESS
- This condition is the same as COMPLETE
, but
+ * it also requires that the container exits with a zero status. This condition
+ * can't be set on an essential container.
The dependency condition of the container. The following are the available + * conditions and their behavior:
START
- This
+ * condition emulates the behavior of links and volumes today. It validates that a
+ * dependent container is started before permitting other containers to start.
COMPLETE
- This condition validates that a dependent
+ * container runs to completion (exits) before permitting other containers to
+ * start. This can be useful for nonessential containers that run a script and then
+ * exit. This condition can't be set on an essential container.
+ * SUCCESS
- This condition is the same as COMPLETE
, but
+ * it also requires that the container exits with a zero status. This condition
+ * can't be set on an essential container.
The dependency condition of the container. The following are the available + * conditions and their behavior:
START
- This
+ * condition emulates the behavior of links and volumes today. It validates that a
+ * dependent container is started before permitting other containers to start.
COMPLETE
- This condition validates that a dependent
+ * container runs to completion (exits) before permitting other containers to
+ * start. This can be useful for nonessential containers that run a script and then
+ * exit. This condition can't be set on an essential container.
+ * SUCCESS
- This condition is the same as COMPLETE
, but
+ * it also requires that the container exits with a zero status. This condition
+ * can't be set on an essential container.
The dependency condition of the container. The following are the available + * conditions and their behavior:
START
- This
+ * condition emulates the behavior of links and volumes today. It validates that a
+ * dependent container is started before permitting other containers to start.
COMPLETE
- This condition validates that a dependent
+ * container runs to completion (exits) before permitting other containers to
+ * start. This can be useful for nonessential containers that run a script and then
+ * exit. This condition can't be set on an essential container.
+ * SUCCESS
- This condition is the same as COMPLETE
, but
+ * it also requires that the container exits with a zero status. This condition
+ * can't be set on an essential container.
The details for the container in this task attempt.
The command that's passed to the container. This parameter maps to
+ * Cmd
in the Create a
+ * container section of the Docker Remote API and the
+ * COMMAND
parameter to docker run. For more
+ * information, see https://docs.docker.com/engine/reference/builder/#cmd.
The command that's passed to the container. This parameter maps to
+ * Cmd
in the Create a
+ * container section of the Docker Remote API and the
+ * COMMAND
parameter to docker run. For more
+ * information, see https://docs.docker.com/engine/reference/builder/#cmd.
The command that's passed to the container. This parameter maps to
+ * Cmd
in the Create a
+ * container section of the Docker Remote API and the
+ * COMMAND
parameter to docker run. For more
+ * information, see https://docs.docker.com/engine/reference/builder/#cmd.
The command that's passed to the container. This parameter maps to
+ * Cmd
in the Create a
+ * container section of the Docker Remote API and the
+ * COMMAND
parameter to docker run. For more
+ * information, see https://docs.docker.com/engine/reference/builder/#cmd.
The command that's passed to the container. This parameter maps to
+ * Cmd
in the Create a
+ * container section of the Docker Remote API and the
+ * COMMAND
parameter to docker run. For more
+ * information, see https://docs.docker.com/engine/reference/builder/#cmd.
The command that's passed to the container. This parameter maps to
+ * Cmd
in the Create a
+ * container section of the Docker Remote API and the
+ * COMMAND
parameter to docker run. For more
+ * information, see https://docs.docker.com/engine/reference/builder/#cmd.
The command that's passed to the container. This parameter maps to
+ * Cmd
in the Create a
+ * container section of the Docker Remote API and the
+ * COMMAND
parameter to docker run. For more
+ * information, see https://docs.docker.com/engine/reference/builder/#cmd.
The command that's passed to the container. This parameter maps to
+ * Cmd
in the Create a
+ * container section of the Docker Remote API and the
+ * COMMAND
parameter to docker run. For more
+ * information, see https://docs.docker.com/engine/reference/builder/#cmd.
The command that's passed to the container. This parameter maps to
+ * Cmd
in the Create a
+ * container section of the Docker Remote API and the
+ * COMMAND
parameter to docker run. For more
+ * information, see https://docs.docker.com/engine/reference/builder/#cmd.
A list of containers that this container depends on.
+ */ + inline const Aws::VectorA list of containers that this container depends on.
+ */ + inline bool DependsOnHasBeenSet() const { return m_dependsOnHasBeenSet; } + + /** + *A list of containers that this container depends on.
+ */ + inline void SetDependsOn(const Aws::VectorA list of containers that this container depends on.
+ */ + inline void SetDependsOn(Aws::VectorA list of containers that this container depends on.
+ */ + inline TaskContainerDetails& WithDependsOn(const Aws::VectorA list of containers that this container depends on.
+ */ + inline TaskContainerDetails& WithDependsOn(Aws::VectorA list of containers that this container depends on.
+ */ + inline TaskContainerDetails& AddDependsOn(const TaskContainerDependency& value) { m_dependsOnHasBeenSet = true; m_dependsOn.push_back(value); return *this; } + + /** + *A list of containers that this container depends on.
+ */ + inline TaskContainerDetails& AddDependsOn(TaskContainerDependency&& value) { m_dependsOnHasBeenSet = true; m_dependsOn.push_back(std::move(value)); return *this; } + + + /** + *The environment variables to pass to a container. This parameter maps to
+ * Env
in the Create a
+ * container section of the Docker Remote API and the
+ * --env
option to docker run.
We don't recommend using plaintext environment variables for + * sensitive information, such as credential data.
+ */ + inline const Aws::VectorThe environment variables to pass to a container. This parameter maps to
+ * Env
in the Create a
+ * container section of the Docker Remote API and the
+ * --env
option to docker run.
We don't recommend using plaintext environment variables for + * sensitive information, such as credential data.
+ */ + inline bool EnvironmentHasBeenSet() const { return m_environmentHasBeenSet; } + + /** + *The environment variables to pass to a container. This parameter maps to
+ * Env
in the Create a
+ * container section of the Docker Remote API and the
+ * --env
option to docker run.
We don't recommend using plaintext environment variables for + * sensitive information, such as credential data.
+ */ + inline void SetEnvironment(const Aws::VectorThe environment variables to pass to a container. This parameter maps to
+ * Env
in the Create a
+ * container section of the Docker Remote API and the
+ * --env
option to docker run.
We don't recommend using plaintext environment variables for + * sensitive information, such as credential data.
+ */ + inline void SetEnvironment(Aws::VectorThe environment variables to pass to a container. This parameter maps to
+ * Env
in the Create a
+ * container section of the Docker Remote API and the
+ * --env
option to docker run.
We don't recommend using plaintext environment variables for + * sensitive information, such as credential data.
+ */ + inline TaskContainerDetails& WithEnvironment(const Aws::VectorThe environment variables to pass to a container. This parameter maps to
+ * Env
in the Create a
+ * container section of the Docker Remote API and the
+ * --env
option to docker run.
We don't recommend using plaintext environment variables for + * sensitive information, such as credential data.
+ */ + inline TaskContainerDetails& WithEnvironment(Aws::VectorThe environment variables to pass to a container. This parameter maps to
+ * Env
in the Create a
+ * container section of the Docker Remote API and the
+ * --env
option to docker run.
We don't recommend using plaintext environment variables for + * sensitive information, such as credential data.
+ */ + inline TaskContainerDetails& AddEnvironment(const KeyValuePair& value) { m_environmentHasBeenSet = true; m_environment.push_back(value); return *this; } + + /** + *The environment variables to pass to a container. This parameter maps to
+ * Env
in the Create a
+ * container section of the Docker Remote API and the
+ * --env
option to docker run.
We don't recommend using plaintext environment variables for + * sensitive information, such as credential data.
+ */ + inline TaskContainerDetails& AddEnvironment(KeyValuePair&& value) { m_environmentHasBeenSet = true; m_environment.push_back(std::move(value)); return *this; } + + + /** + *If the essential parameter of a container is marked as true
, and
+ * that container fails or stops for any reason, all other containers that are part
+ * of the task are stopped. If the essential
parameter of a container
+ * is marked as false, its failure doesn't affect the rest of the containers in a
+ * task. If this parameter is omitted, a container is assumed to be essential.
All tasks must have at least one essential container. If you have an + * application that's composed of multiple containers, group containers that are + * used for a common purpose into components, and separate the different components + * into multiple task definitions. For more information, see Application + * Architecture in the Amazon Elastic Container Service Developer + * Guide.
+ */ + inline bool GetEssential() const{ return m_essential; } + + /** + *If the essential parameter of a container is marked as true
, and
+ * that container fails or stops for any reason, all other containers that are part
+ * of the task are stopped. If the essential
parameter of a container
+ * is marked as false, its failure doesn't affect the rest of the containers in a
+ * task. If this parameter is omitted, a container is assumed to be essential.
All tasks must have at least one essential container. If you have an + * application that's composed of multiple containers, group containers that are + * used for a common purpose into components, and separate the different components + * into multiple task definitions. For more information, see Application + * Architecture in the Amazon Elastic Container Service Developer + * Guide.
+ */ + inline bool EssentialHasBeenSet() const { return m_essentialHasBeenSet; } + + /** + *If the essential parameter of a container is marked as true
, and
+ * that container fails or stops for any reason, all other containers that are part
+ * of the task are stopped. If the essential
parameter of a container
+ * is marked as false, its failure doesn't affect the rest of the containers in a
+ * task. If this parameter is omitted, a container is assumed to be essential.
All tasks must have at least one essential container. If you have an + * application that's composed of multiple containers, group containers that are + * used for a common purpose into components, and separate the different components + * into multiple task definitions. For more information, see Application + * Architecture in the Amazon Elastic Container Service Developer + * Guide.
+ */ + inline void SetEssential(bool value) { m_essentialHasBeenSet = true; m_essential = value; } + + /** + *If the essential parameter of a container is marked as true
, and
+ * that container fails or stops for any reason, all other containers that are part
+ * of the task are stopped. If the essential
parameter of a container
+ * is marked as false, its failure doesn't affect the rest of the containers in a
+ * task. If this parameter is omitted, a container is assumed to be essential.
All tasks must have at least one essential container. If you have an + * application that's composed of multiple containers, group containers that are + * used for a common purpose into components, and separate the different components + * into multiple task definitions. For more information, see Application + * Architecture in the Amazon Elastic Container Service Developer + * Guide.
+ */ + inline TaskContainerDetails& WithEssential(bool value) { SetEssential(value); return *this;} + + + /** + *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 Create
+ * a container section of the Docker Remote API and the
+ * IMAGE
parameter of the
+ * docker run .
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 Create
+ * a container section of the Docker Remote API and the
+ * IMAGE
parameter of the
+ * docker run .
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 Create
+ * a container section of the Docker Remote API and the
+ * IMAGE
parameter of the
+ * docker run .
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 Create
+ * a container section of the Docker Remote API and the
+ * IMAGE
parameter of the
+ * docker run .
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 Create
+ * a container section of the Docker Remote API and the
+ * IMAGE
parameter of the
+ * docker run .
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 Create
+ * a container section of the Docker Remote API and the
+ * IMAGE
parameter of the
+ * docker run .
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 Create
+ * a container section of the Docker Remote API and the
+ * IMAGE
parameter of the
+ * docker run .
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 Create
+ * a container section of the Docker Remote API and the
+ * IMAGE
parameter of the
+ * docker run .
Linux-specific modifications that are applied to the container, such as Linux + * kernel capabilities. For more information, see KernelCapabilities.
+ *This parameter is not supported for Windows containers.
+ */ + inline const LinuxParameters& GetLinuxParameters() const{ return m_linuxParameters; } + + /** + *Linux-specific modifications that are applied to the container, such as Linux + * kernel capabilities. For more information, see KernelCapabilities.
+ *This parameter is not supported for Windows containers.
+ */ + inline bool LinuxParametersHasBeenSet() const { return m_linuxParametersHasBeenSet; } + + /** + *Linux-specific modifications that are applied to the container, such as Linux + * kernel capabilities. For more information, see KernelCapabilities.
+ *This parameter is not supported for Windows containers.
+ */ + inline void SetLinuxParameters(const LinuxParameters& value) { m_linuxParametersHasBeenSet = true; m_linuxParameters = value; } + + /** + *Linux-specific modifications that are applied to the container, such as Linux + * kernel capabilities. For more information, see KernelCapabilities.
+ *This parameter is not supported for Windows containers.
+ */ + inline void SetLinuxParameters(LinuxParameters&& value) { m_linuxParametersHasBeenSet = true; m_linuxParameters = std::move(value); } + + /** + *Linux-specific modifications that are applied to the container, such as Linux + * kernel capabilities. For more information, see KernelCapabilities.
+ *This parameter is not supported for Windows containers.
+ */ + inline TaskContainerDetails& WithLinuxParameters(const LinuxParameters& value) { SetLinuxParameters(value); return *this;} + + /** + *Linux-specific modifications that are applied to the container, such as Linux + * kernel capabilities. For more information, see KernelCapabilities.
+ *This parameter is not supported for Windows containers.
+ */ + inline TaskContainerDetails& WithLinuxParameters(LinuxParameters&& value) { SetLinuxParameters(std::move(value)); return *this;} + + + /** + *The log configuration specification for the container.
This parameter
+ * maps to LogConfig
in the Create
+ * a container section of the Docker Remote API and the
+ * --log-driver
option to docker
+ * run.
By default, containers use the same logging driver that the + * Docker daemon uses. However the container can use a different logging driver + * than the Docker daemon by specifying a log driver with this parameter in the + * container definition. To use a different logging driver for a container, the log + * system must be configured properly on the container instance (or on a different + * log server for remote logging options). For more information about the options + * for different supported log drivers, see Configure logging + * drivers in the Docker documentation.
Amazon ECS
+ * currently supports a subset of the logging drivers available to the Docker
+ * daemon (shown in the LogConfiguration
data type). Additional log
+ * drivers may be available in future releases of the Amazon ECS container
+ * agent.
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}}'
The Amazon ECS container agent
+ * running on a container instance must register the logging drivers available on
+ * that instance 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 in the Amazon Elastic Container Service
+ * Developer Guide.
The log configuration specification for the container.
This parameter
+ * maps to LogConfig
in the Create
+ * a container section of the Docker Remote API and the
+ * --log-driver
option to docker
+ * run.
By default, containers use the same logging driver that the + * Docker daemon uses. However the container can use a different logging driver + * than the Docker daemon by specifying a log driver with this parameter in the + * container definition. To use a different logging driver for a container, the log + * system must be configured properly on the container instance (or on a different + * log server for remote logging options). For more information about the options + * for different supported log drivers, see Configure logging + * drivers in the Docker documentation.
Amazon ECS
+ * currently supports a subset of the logging drivers available to the Docker
+ * daemon (shown in the LogConfiguration
data type). Additional log
+ * drivers may be available in future releases of the Amazon ECS container
+ * agent.
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}}'
The Amazon ECS container agent
+ * running on a container instance must register the logging drivers available on
+ * that instance 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 in the Amazon Elastic Container Service
+ * Developer Guide.
The log configuration specification for the container.
This parameter
+ * maps to LogConfig
in the Create
+ * a container section of the Docker Remote API and the
+ * --log-driver
option to docker
+ * run.
By default, containers use the same logging driver that the + * Docker daemon uses. However the container can use a different logging driver + * than the Docker daemon by specifying a log driver with this parameter in the + * container definition. To use a different logging driver for a container, the log + * system must be configured properly on the container instance (or on a different + * log server for remote logging options). For more information about the options + * for different supported log drivers, see Configure logging + * drivers in the Docker documentation.
Amazon ECS
+ * currently supports a subset of the logging drivers available to the Docker
+ * daemon (shown in the LogConfiguration
data type). Additional log
+ * drivers may be available in future releases of the Amazon ECS container
+ * agent.
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}}'
The Amazon ECS container agent
+ * running on a container instance must register the logging drivers available on
+ * that instance 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 in the Amazon Elastic Container Service
+ * Developer Guide.
The log configuration specification for the container.
This parameter
+ * maps to LogConfig
in the Create
+ * a container section of the Docker Remote API and the
+ * --log-driver
option to docker
+ * run.
By default, containers use the same logging driver that the + * Docker daemon uses. However the container can use a different logging driver + * than the Docker daemon by specifying a log driver with this parameter in the + * container definition. To use a different logging driver for a container, the log + * system must be configured properly on the container instance (or on a different + * log server for remote logging options). For more information about the options + * for different supported log drivers, see Configure logging + * drivers in the Docker documentation.
Amazon ECS
+ * currently supports a subset of the logging drivers available to the Docker
+ * daemon (shown in the LogConfiguration
data type). Additional log
+ * drivers may be available in future releases of the Amazon ECS container
+ * agent.
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}}'
The Amazon ECS container agent
+ * running on a container instance must register the logging drivers available on
+ * that instance 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 in the Amazon Elastic Container Service
+ * Developer Guide.
The log configuration specification for the container.
This parameter
+ * maps to LogConfig
in the Create
+ * a container section of the Docker Remote API and the
+ * --log-driver
option to docker
+ * run.
By default, containers use the same logging driver that the + * Docker daemon uses. However the container can use a different logging driver + * than the Docker daemon by specifying a log driver with this parameter in the + * container definition. To use a different logging driver for a container, the log + * system must be configured properly on the container instance (or on a different + * log server for remote logging options). For more information about the options + * for different supported log drivers, see Configure logging + * drivers in the Docker documentation.
Amazon ECS
+ * currently supports a subset of the logging drivers available to the Docker
+ * daemon (shown in the LogConfiguration
data type). Additional log
+ * drivers may be available in future releases of the Amazon ECS container
+ * agent.
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}}'
The Amazon ECS container agent
+ * running on a container instance must register the logging drivers available on
+ * that instance 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 in the Amazon Elastic Container Service
+ * Developer Guide.
The log configuration specification for the container.
This parameter
+ * maps to LogConfig
in the Create
+ * a container section of the Docker Remote API and the
+ * --log-driver
option to docker
+ * run.
By default, containers use the same logging driver that the + * Docker daemon uses. However the container can use a different logging driver + * than the Docker daemon by specifying a log driver with this parameter in the + * container definition. To use a different logging driver for a container, the log + * system must be configured properly on the container instance (or on a different + * log server for remote logging options). For more information about the options + * for different supported log drivers, see Configure logging + * drivers in the Docker documentation.
Amazon ECS
+ * currently supports a subset of the logging drivers available to the Docker
+ * daemon (shown in the LogConfiguration
data type). Additional log
+ * drivers may be available in future releases of the Amazon ECS container
+ * agent.
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}}'
The Amazon ECS container agent
+ * running on a container instance must register the logging drivers available on
+ * that instance 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 in the Amazon Elastic Container Service
+ * Developer Guide.
The mount points for data volumes in your container.
This parameter
+ * maps to Volumes
in the Create
+ * a container section of the Docker Remote API and the
+ * --volume option to docker
+ * run.
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.
The mount points for data volumes in your container.
This parameter
+ * maps to Volumes
in the Create
+ * a container section of the Docker Remote API and the
+ * --volume option to docker
+ * run.
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.
The mount points for data volumes in your container.
This parameter
+ * maps to Volumes
in the Create
+ * a container section of the Docker Remote API and the
+ * --volume option to docker
+ * run.
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.
The mount points for data volumes in your container.
This parameter
+ * maps to Volumes
in the Create
+ * a container section of the Docker Remote API and the
+ * --volume option to docker
+ * run.
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.
The mount points for data volumes in your container.
This parameter
+ * maps to Volumes
in the Create
+ * a container section of the Docker Remote API and the
+ * --volume option to docker
+ * run.
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.
The mount points for data volumes in your container.
This parameter
+ * maps to Volumes
in the Create
+ * a container section of the Docker Remote API and the
+ * --volume option to docker
+ * run.
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.
The mount points for data volumes in your container.
This parameter
+ * maps to Volumes
in the Create
+ * a container section of the Docker Remote API and the
+ * --volume option to docker
+ * run.
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.
The mount points for data volumes in your container.
This parameter
+ * maps to Volumes
in the Create
+ * a container section of the Docker Remote API and the
+ * --volume option to docker
+ * run.
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.
The name of a container.
+ */ + inline const Aws::String& GetName() const{ return m_name; } + + /** + *The name of a container.
+ */ + inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } + + /** + *The name of a container.
+ */ + inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } + + /** + *The name of a container.
+ */ + inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } + + /** + *The name of a container.
+ */ + inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } + + /** + *The name of a container.
+ */ + inline TaskContainerDetails& WithName(const Aws::String& value) { SetName(value); return *this;} + + /** + *The name of a container.
+ */ + inline TaskContainerDetails& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} + + /** + *The name of a container.
+ */ + inline TaskContainerDetails& WithName(const char* value) { SetName(value); return *this;} + + + /** + *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 Create
+ * a container section of the Docker Remote API and the
+ * --privileged
option to docker
+ * run.
This parameter is not supported for Windows containers or + * tasks run on Fargate.
+ */ + inline bool GetPrivileged() const{ return m_privileged; } + + /** + *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 Create
+ * a container section of the Docker Remote API and the
+ * --privileged
option to docker
+ * run.
This parameter is not supported for Windows containers or + * tasks run on Fargate.
+ */ + inline bool PrivilegedHasBeenSet() const { return m_privilegedHasBeenSet; } + + /** + *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 Create
+ * a container section of the Docker Remote API and the
+ * --privileged
option to docker
+ * run.
This parameter is not supported for Windows containers or + * tasks run on Fargate.
+ */ + inline void SetPrivileged(bool value) { m_privilegedHasBeenSet = true; m_privileged = value; } + + /** + *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 Create
+ * a container section of the Docker Remote API and the
+ * --privileged
option to docker
+ * run.
This parameter is not supported for Windows containers or + * tasks run on Fargate.
+ */ + inline TaskContainerDetails& WithPrivileged(bool value) { SetPrivileged(value); return *this;} + + + /** + *When this parameter is true, the container is given read-only access to its
+ * root file system. This parameter maps to ReadonlyRootfs
in the Create
+ * a container section of the Docker Remote API and the
+ * --read-only
option to docker
+ * run.
This parameter is not supported for Windows + * containers.
+ */ + inline bool GetReadonlyRootFilesystem() const{ return m_readonlyRootFilesystem; } + + /** + *When this parameter is true, the container is given read-only access to its
+ * root file system. This parameter maps to ReadonlyRootfs
in the Create
+ * a container section of the Docker Remote API and the
+ * --read-only
option to docker
+ * run.
This parameter is not supported for Windows + * containers.
+ */ + inline bool ReadonlyRootFilesystemHasBeenSet() const { return m_readonlyRootFilesystemHasBeenSet; } + + /** + *When this parameter is true, the container is given read-only access to its
+ * root file system. This parameter maps to ReadonlyRootfs
in the Create
+ * a container section of the Docker Remote API and the
+ * --read-only
option to docker
+ * run.
This parameter is not supported for Windows + * containers.
+ */ + inline void SetReadonlyRootFilesystem(bool value) { m_readonlyRootFilesystemHasBeenSet = true; m_readonlyRootFilesystem = value; } + + /** + *When this parameter is true, the container is given read-only access to its
+ * root file system. This parameter maps to ReadonlyRootfs
in the Create
+ * a container section of the Docker Remote API and the
+ * --read-only
option to docker
+ * run.
This parameter is not supported for Windows + * containers.
+ */ + inline TaskContainerDetails& WithReadonlyRootFilesystem(bool value) { SetReadonlyRootFilesystem(value); return *this;} + + + /** + *The private repository authentication credentials to use.
+ */ + inline const RepositoryCredentials& GetRepositoryCredentials() const{ return m_repositoryCredentials; } + + /** + *The private repository authentication credentials to use.
+ */ + inline bool RepositoryCredentialsHasBeenSet() const { return m_repositoryCredentialsHasBeenSet; } + + /** + *The private repository authentication credentials to use.
+ */ + inline void SetRepositoryCredentials(const RepositoryCredentials& value) { m_repositoryCredentialsHasBeenSet = true; m_repositoryCredentials = value; } + + /** + *The private repository authentication credentials to use.
+ */ + inline void SetRepositoryCredentials(RepositoryCredentials&& value) { m_repositoryCredentialsHasBeenSet = true; m_repositoryCredentials = std::move(value); } + + /** + *The private repository authentication credentials to use.
+ */ + inline TaskContainerDetails& WithRepositoryCredentials(const RepositoryCredentials& value) { SetRepositoryCredentials(value); return *this;} + + /** + *The private repository authentication credentials to use.
+ */ + inline TaskContainerDetails& WithRepositoryCredentials(RepositoryCredentials&& value) { SetRepositoryCredentials(std::move(value)); return *this;} + + + /** + *The type and amount of a resource to assign to a container. The only + * supported resource is a GPU.
+ */ + inline const Aws::VectorThe type and amount of a resource to assign to a container. The only + * supported resource is a GPU.
+ */ + inline bool ResourceRequirementsHasBeenSet() const { return m_resourceRequirementsHasBeenSet; } + + /** + *The type and amount of a resource to assign to a container. The only + * supported resource is a GPU.
+ */ + inline void SetResourceRequirements(const Aws::VectorThe type and amount of a resource to assign to a container. The only + * supported resource is a GPU.
+ */ + inline void SetResourceRequirements(Aws::VectorThe type and amount of a resource to assign to a container. The only + * supported resource is a GPU.
+ */ + inline TaskContainerDetails& WithResourceRequirements(const Aws::VectorThe type and amount of a resource to assign to a container. The only + * supported resource is a GPU.
+ */ + inline TaskContainerDetails& WithResourceRequirements(Aws::VectorThe type and amount of a resource to assign to a container. The only + * supported resource is a GPU.
+ */ + inline TaskContainerDetails& AddResourceRequirements(const ResourceRequirement& value) { m_resourceRequirementsHasBeenSet = true; m_resourceRequirements.push_back(value); return *this; } + + /** + *The type and amount of a resource to assign to a container. The only + * supported resource is a GPU.
+ */ + inline TaskContainerDetails& AddResourceRequirements(ResourceRequirement&& value) { m_resourceRequirementsHasBeenSet = true; m_resourceRequirements.push_back(std::move(value)); return *this; } + + + /** + *The secrets to pass to the container. For more information, see Specifying + * Sensitive Data in the Amazon Elastic Container Service Developer Guide.
+ */ + inline const Aws::VectorThe secrets to pass to the container. For more information, see Specifying + * Sensitive Data in the Amazon Elastic Container Service Developer Guide.
+ */ + inline bool SecretsHasBeenSet() const { return m_secretsHasBeenSet; } + + /** + *The secrets to pass to the container. For more information, see Specifying + * Sensitive Data in the Amazon Elastic Container Service Developer Guide.
+ */ + inline void SetSecrets(const Aws::VectorThe secrets to pass to the container. For more information, see Specifying + * Sensitive Data in the Amazon Elastic Container Service Developer Guide.
+ */ + inline void SetSecrets(Aws::VectorThe secrets to pass to the container. For more information, see Specifying + * Sensitive Data in the Amazon Elastic Container Service Developer Guide.
+ */ + inline TaskContainerDetails& WithSecrets(const Aws::VectorThe secrets to pass to the container. For more information, see Specifying + * Sensitive Data in the Amazon Elastic Container Service Developer Guide.
+ */ + inline TaskContainerDetails& WithSecrets(Aws::VectorThe secrets to pass to the container. For more information, see Specifying + * Sensitive Data in the Amazon Elastic Container Service Developer Guide.
+ */ + inline TaskContainerDetails& AddSecrets(const Secret& value) { m_secretsHasBeenSet = true; m_secrets.push_back(value); return *this; } + + /** + *The secrets to pass to the container. For more information, see Specifying + * Sensitive Data in the Amazon Elastic Container Service Developer Guide.
+ */ + inline TaskContainerDetails& AddSecrets(Secret&& value) { m_secretsHasBeenSet = true; m_secrets.push_back(std::move(value)); return *this; } + + + /** + *A list of ulimits
to set in the container. If a
+ * ulimit
value is specified in a task definition, it overrides the
+ * default values set by Docker. This parameter maps to Ulimits
in the
+ * Create
+ * a container section of the Docker Remote API and the
+ * --ulimit
option to docker
+ * run.
Amazon ECS tasks hosted on Fargate use the default resource
+ * limit values set by the operating system with the exception of the nofile
+ * resource limit parameter which Fargate overrides. The nofile
+ * resource limit sets a restriction on the number of open files that a container
+ * can use. The default nofile
soft limit is 1024
and the
+ * default hard limit is 65535
.
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}}'
This parameter is + * not supported for Windows containers.
+ */ + inline const Aws::VectorA list of ulimits
to set in the container. If a
+ * ulimit
value is specified in a task definition, it overrides the
+ * default values set by Docker. This parameter maps to Ulimits
in the
+ * Create
+ * a container section of the Docker Remote API and the
+ * --ulimit
option to docker
+ * run.
Amazon ECS tasks hosted on Fargate use the default resource
+ * limit values set by the operating system with the exception of the nofile
+ * resource limit parameter which Fargate overrides. The nofile
+ * resource limit sets a restriction on the number of open files that a container
+ * can use. The default nofile
soft limit is 1024
and the
+ * default hard limit is 65535
.
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}}'
This parameter is + * not supported for Windows containers.
+ */ + inline bool UlimitsHasBeenSet() const { return m_ulimitsHasBeenSet; } + + /** + *A list of ulimits
to set in the container. If a
+ * ulimit
value is specified in a task definition, it overrides the
+ * default values set by Docker. This parameter maps to Ulimits
in the
+ * Create
+ * a container section of the Docker Remote API and the
+ * --ulimit
option to docker
+ * run.
Amazon ECS tasks hosted on Fargate use the default resource
+ * limit values set by the operating system with the exception of the nofile
+ * resource limit parameter which Fargate overrides. The nofile
+ * resource limit sets a restriction on the number of open files that a container
+ * can use. The default nofile
soft limit is 1024
and the
+ * default hard limit is 65535
.
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}}'
This parameter is + * not supported for Windows containers.
+ */ + inline void SetUlimits(const Aws::VectorA list of ulimits
to set in the container. If a
+ * ulimit
value is specified in a task definition, it overrides the
+ * default values set by Docker. This parameter maps to Ulimits
in the
+ * Create
+ * a container section of the Docker Remote API and the
+ * --ulimit
option to docker
+ * run.
Amazon ECS tasks hosted on Fargate use the default resource
+ * limit values set by the operating system with the exception of the nofile
+ * resource limit parameter which Fargate overrides. The nofile
+ * resource limit sets a restriction on the number of open files that a container
+ * can use. The default nofile
soft limit is 1024
and the
+ * default hard limit is 65535
.
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}}'
This parameter is + * not supported for Windows containers.
+ */ + inline void SetUlimits(Aws::VectorA list of ulimits
to set in the container. If a
+ * ulimit
value is specified in a task definition, it overrides the
+ * default values set by Docker. This parameter maps to Ulimits
in the
+ * Create
+ * a container section of the Docker Remote API and the
+ * --ulimit
option to docker
+ * run.
Amazon ECS tasks hosted on Fargate use the default resource
+ * limit values set by the operating system with the exception of the nofile
+ * resource limit parameter which Fargate overrides. The nofile
+ * resource limit sets a restriction on the number of open files that a container
+ * can use. The default nofile
soft limit is 1024
and the
+ * default hard limit is 65535
.
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}}'
This parameter is + * not supported for Windows containers.
+ */ + inline TaskContainerDetails& WithUlimits(const Aws::VectorA list of ulimits
to set in the container. If a
+ * ulimit
value is specified in a task definition, it overrides the
+ * default values set by Docker. This parameter maps to Ulimits
in the
+ * Create
+ * a container section of the Docker Remote API and the
+ * --ulimit
option to docker
+ * run.
Amazon ECS tasks hosted on Fargate use the default resource
+ * limit values set by the operating system with the exception of the nofile
+ * resource limit parameter which Fargate overrides. The nofile
+ * resource limit sets a restriction on the number of open files that a container
+ * can use. The default nofile
soft limit is 1024
and the
+ * default hard limit is 65535
.
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}}'
This parameter is + * not supported for Windows containers.
+ */ + inline TaskContainerDetails& WithUlimits(Aws::VectorA list of ulimits
to set in the container. If a
+ * ulimit
value is specified in a task definition, it overrides the
+ * default values set by Docker. This parameter maps to Ulimits
in the
+ * Create
+ * a container section of the Docker Remote API and the
+ * --ulimit
option to docker
+ * run.
Amazon ECS tasks hosted on Fargate use the default resource
+ * limit values set by the operating system with the exception of the nofile
+ * resource limit parameter which Fargate overrides. The nofile
+ * resource limit sets a restriction on the number of open files that a container
+ * can use. The default nofile
soft limit is 1024
and the
+ * default hard limit is 65535
.
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}}'
This parameter is + * not supported for Windows containers.
+ */ + inline TaskContainerDetails& AddUlimits(const Ulimit& value) { m_ulimitsHasBeenSet = true; m_ulimits.push_back(value); return *this; } + + /** + *A list of ulimits
to set in the container. If a
+ * ulimit
value is specified in a task definition, it overrides the
+ * default values set by Docker. This parameter maps to Ulimits
in the
+ * Create
+ * a container section of the Docker Remote API and the
+ * --ulimit
option to docker
+ * run.
Amazon ECS tasks hosted on Fargate use the default resource
+ * limit values set by the operating system with the exception of the nofile
+ * resource limit parameter which Fargate overrides. The nofile
+ * resource limit sets a restriction on the number of open files that a container
+ * can use. The default nofile
soft limit is 1024
and the
+ * default hard limit is 65535
.
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}}'
This parameter is + * not supported for Windows containers.
+ */ + inline TaskContainerDetails& AddUlimits(Ulimit&& value) { m_ulimitsHasBeenSet = true; m_ulimits.push_back(std::move(value)); return *this; } + + + /** + *The user to use inside the container. This parameter maps to User in the + * Create a container section of the Docker Remote API and the --user option to + * docker run.
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.
You can
+ * specify the user
using the following formats. If specifying a UID
+ * or GID, you must specify it as a positive integer.
+ * user
user:group
uid
uid:gid
user:gi
uid:group
This parameter is not supported for + * Windows containers.
+ */ + inline const Aws::String& GetUser() const{ return m_user; } + + /** + *The user to use inside the container. This parameter maps to User in the + * Create a container section of the Docker Remote API and the --user option to + * docker run.
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.
You can
+ * specify the user
using the following formats. If specifying a UID
+ * or GID, you must specify it as a positive integer.
+ * user
user:group
uid
uid:gid
user:gi
uid:group
This parameter is not supported for + * Windows containers.
+ */ + inline bool UserHasBeenSet() const { return m_userHasBeenSet; } + + /** + *The user to use inside the container. This parameter maps to User in the + * Create a container section of the Docker Remote API and the --user option to + * docker run.
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.
You can
+ * specify the user
using the following formats. If specifying a UID
+ * or GID, you must specify it as a positive integer.
+ * user
user:group
uid
uid:gid
user:gi
uid:group
This parameter is not supported for + * Windows containers.
+ */ + inline void SetUser(const Aws::String& value) { m_userHasBeenSet = true; m_user = value; } + + /** + *The user to use inside the container. This parameter maps to User in the + * Create a container section of the Docker Remote API and the --user option to + * docker run.
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.
You can
+ * specify the user
using the following formats. If specifying a UID
+ * or GID, you must specify it as a positive integer.
+ * user
user:group
uid
uid:gid
user:gi
uid:group
This parameter is not supported for + * Windows containers.
+ */ + inline void SetUser(Aws::String&& value) { m_userHasBeenSet = true; m_user = std::move(value); } + + /** + *The user to use inside the container. This parameter maps to User in the + * Create a container section of the Docker Remote API and the --user option to + * docker run.
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.
You can
+ * specify the user
using the following formats. If specifying a UID
+ * or GID, you must specify it as a positive integer.
+ * user
user:group
uid
uid:gid
user:gi
uid:group
This parameter is not supported for + * Windows containers.
+ */ + inline void SetUser(const char* value) { m_userHasBeenSet = true; m_user.assign(value); } + + /** + *The user to use inside the container. This parameter maps to User in the + * Create a container section of the Docker Remote API and the --user option to + * docker run.
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.
You can
+ * specify the user
using the following formats. If specifying a UID
+ * or GID, you must specify it as a positive integer.
+ * user
user:group
uid
uid:gid
user:gi
uid:group
This parameter is not supported for + * Windows containers.
+ */ + inline TaskContainerDetails& WithUser(const Aws::String& value) { SetUser(value); return *this;} + + /** + *The user to use inside the container. This parameter maps to User in the + * Create a container section of the Docker Remote API and the --user option to + * docker run.
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.
You can
+ * specify the user
using the following formats. If specifying a UID
+ * or GID, you must specify it as a positive integer.
+ * user
user:group
uid
uid:gid
user:gi
uid:group
This parameter is not supported for + * Windows containers.
+ */ + inline TaskContainerDetails& WithUser(Aws::String&& value) { SetUser(std::move(value)); return *this;} + + /** + *The user to use inside the container. This parameter maps to User in the + * Create a container section of the Docker Remote API and the --user option to + * docker run.
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.
You can
+ * specify the user
using the following formats. If specifying a UID
+ * or GID, you must specify it as a positive integer.
+ * user
user:group
uid
uid:gid
user:gi
uid:group
This parameter is not supported for + * Windows containers.
+ */ + inline TaskContainerDetails& WithUser(const char* value) { SetUser(value); return *this;} + + + /** + *The exit code returned upon completion.
+ */ + inline int GetExitCode() const{ return m_exitCode; } + + /** + *The exit code returned upon completion.
+ */ + inline bool ExitCodeHasBeenSet() const { return m_exitCodeHasBeenSet; } + + /** + *The exit code returned upon completion.
+ */ + inline void SetExitCode(int value) { m_exitCodeHasBeenSet = true; m_exitCode = value; } + + /** + *The exit code returned upon completion.
+ */ + inline TaskContainerDetails& WithExitCode(int value) { SetExitCode(value); return *this;} + + + /** + *A short (255 max characters) human-readable string to provide additional + * details for a running or stopped container.
+ */ + inline const Aws::String& GetReason() const{ return m_reason; } + + /** + *A short (255 max characters) human-readable string to provide additional + * details for a running or stopped container.
+ */ + inline bool ReasonHasBeenSet() const { return m_reasonHasBeenSet; } + + /** + *A short (255 max characters) human-readable string to provide additional + * details for a running or stopped container.
+ */ + inline void SetReason(const Aws::String& value) { m_reasonHasBeenSet = true; m_reason = value; } + + /** + *A short (255 max characters) human-readable string to provide additional + * details for a running or stopped container.
+ */ + inline void SetReason(Aws::String&& value) { m_reasonHasBeenSet = true; m_reason = std::move(value); } + + /** + *A short (255 max characters) human-readable string to provide additional + * details for a running or stopped container.
+ */ + inline void SetReason(const char* value) { m_reasonHasBeenSet = true; m_reason.assign(value); } + + /** + *A short (255 max characters) human-readable string to provide additional + * details for a running or stopped container.
+ */ + inline TaskContainerDetails& WithReason(const Aws::String& value) { SetReason(value); return *this;} + + /** + *A short (255 max characters) human-readable string to provide additional + * details for a running or stopped container.
+ */ + inline TaskContainerDetails& WithReason(Aws::String&& value) { SetReason(std::move(value)); return *this;} + + /** + *A short (255 max characters) human-readable string to provide additional + * details for a running or stopped container.
+ */ + inline TaskContainerDetails& WithReason(const char* value) { SetReason(value); return *this;} + + + /** + *The name of the CloudWatch Logs log stream that's associated with the
+ * container. The log group for Batch jobs is /aws/batch/job. Each container
+ * attempt receives a log stream name when they reach the RUNNING
+ * status.
The name of the CloudWatch Logs log stream that's associated with the
+ * container. The log group for Batch jobs is /aws/batch/job. Each container
+ * attempt receives a log stream name when they reach the RUNNING
+ * status.
The name of the CloudWatch Logs log stream that's associated with the
+ * container. The log group for Batch jobs is /aws/batch/job. Each container
+ * attempt receives a log stream name when they reach the RUNNING
+ * status.
The name of the CloudWatch Logs log stream that's associated with the
+ * container. The log group for Batch jobs is /aws/batch/job. Each container
+ * attempt receives a log stream name when they reach the RUNNING
+ * status.
The name of the CloudWatch Logs log stream that's associated with the
+ * container. The log group for Batch jobs is /aws/batch/job. Each container
+ * attempt receives a log stream name when they reach the RUNNING
+ * status.
The name of the CloudWatch Logs log stream that's associated with the
+ * container. The log group for Batch jobs is /aws/batch/job. Each container
+ * attempt receives a log stream name when they reach the RUNNING
+ * status.
The name of the CloudWatch Logs log stream that's associated with the
+ * container. The log group for Batch jobs is /aws/batch/job. Each container
+ * attempt receives a log stream name when they reach the RUNNING
+ * status.
The name of the CloudWatch Logs log stream that's associated with the
+ * container. The log group for Batch jobs is /aws/batch/job. Each container
+ * attempt receives a log stream name when they reach the RUNNING
+ * status.
The network interfaces that are associated with the job.
+ */ + inline const Aws::VectorThe network interfaces that are associated with the job.
+ */ + inline bool NetworkInterfacesHasBeenSet() const { return m_networkInterfacesHasBeenSet; } + + /** + *The network interfaces that are associated with the job.
+ */ + inline void SetNetworkInterfaces(const Aws::VectorThe network interfaces that are associated with the job.
+ */ + inline void SetNetworkInterfaces(Aws::VectorThe network interfaces that are associated with the job.
+ */ + inline TaskContainerDetails& WithNetworkInterfaces(const Aws::VectorThe network interfaces that are associated with the job.
+ */ + inline TaskContainerDetails& WithNetworkInterfaces(Aws::VectorThe network interfaces that are associated with the job.
+ */ + inline TaskContainerDetails& AddNetworkInterfaces(const NetworkInterface& value) { m_networkInterfacesHasBeenSet = true; m_networkInterfaces.push_back(value); return *this; } + + /** + *The network interfaces that are associated with the job.
+ */ + inline TaskContainerDetails& AddNetworkInterfaces(NetworkInterface&& value) { m_networkInterfacesHasBeenSet = true; m_networkInterfaces.push_back(std::move(value)); return *this; } + + private: + + Aws::VectorThe overrides that should be sent to a container.
For information + * about using Batch overrides when you connect event sources to targets, see BatchContainerOverrides.
The command to send to the container that overrides the default command from + * the Docker image or the job definition.
This parameter can't + * contain an empty string.
+ */ + inline const Aws::VectorThe command to send to the container that overrides the default command from + * the Docker image or the job definition.
This parameter can't + * contain an empty string.
+ */ + inline bool CommandHasBeenSet() const { return m_commandHasBeenSet; } + + /** + *The command to send to the container that overrides the default command from + * the Docker image or the job definition.
This parameter can't + * contain an empty string.
+ */ + inline void SetCommand(const Aws::VectorThe command to send to the container that overrides the default command from + * the Docker image or the job definition.
This parameter can't + * contain an empty string.
+ */ + inline void SetCommand(Aws::VectorThe command to send to the container that overrides the default command from + * the Docker image or the job definition.
This parameter can't + * contain an empty string.
+ */ + inline TaskContainerOverrides& WithCommand(const Aws::VectorThe command to send to the container that overrides the default command from + * the Docker image or the job definition.
This parameter can't + * contain an empty string.
+ */ + inline TaskContainerOverrides& WithCommand(Aws::VectorThe command to send to the container that overrides the default command from + * the Docker image or the job definition.
This parameter can't + * contain an empty string.
+ */ + inline TaskContainerOverrides& AddCommand(const Aws::String& value) { m_commandHasBeenSet = true; m_command.push_back(value); return *this; } + + /** + *The command to send to the container that overrides the default command from + * the Docker image or the job definition.
This parameter can't + * contain an empty string.
+ */ + inline TaskContainerOverrides& AddCommand(Aws::String&& value) { m_commandHasBeenSet = true; m_command.push_back(std::move(value)); return *this; } + + /** + *The command to send to the container that overrides the default command from + * the Docker image or the job definition.
This parameter can't + * contain an empty string.
+ */ + inline TaskContainerOverrides& AddCommand(const char* value) { m_commandHasBeenSet = true; m_command.push_back(value); return *this; } + + + /** + *The environment variables to send to the container. You can add new + * environment variables, which are added to the container at launch, or you can + * override the existing environment variables from the Docker image or the job + * definition.
Environment variables cannot start with
+ * AWS_BATCH
. This naming convention is reserved for variables that
+ * Batch sets.
The environment variables to send to the container. You can add new + * environment variables, which are added to the container at launch, or you can + * override the existing environment variables from the Docker image or the job + * definition.
Environment variables cannot start with
+ * AWS_BATCH
. This naming convention is reserved for variables that
+ * Batch sets.
The environment variables to send to the container. You can add new + * environment variables, which are added to the container at launch, or you can + * override the existing environment variables from the Docker image or the job + * definition.
Environment variables cannot start with
+ * AWS_BATCH
. This naming convention is reserved for variables that
+ * Batch sets.
The environment variables to send to the container. You can add new + * environment variables, which are added to the container at launch, or you can + * override the existing environment variables from the Docker image or the job + * definition.
Environment variables cannot start with
+ * AWS_BATCH
. This naming convention is reserved for variables that
+ * Batch sets.
The environment variables to send to the container. You can add new + * environment variables, which are added to the container at launch, or you can + * override the existing environment variables from the Docker image or the job + * definition.
Environment variables cannot start with
+ * AWS_BATCH
. This naming convention is reserved for variables that
+ * Batch sets.
The environment variables to send to the container. You can add new + * environment variables, which are added to the container at launch, or you can + * override the existing environment variables from the Docker image or the job + * definition.
Environment variables cannot start with
+ * AWS_BATCH
. This naming convention is reserved for variables that
+ * Batch sets.
The environment variables to send to the container. You can add new + * environment variables, which are added to the container at launch, or you can + * override the existing environment variables from the Docker image or the job + * definition.
Environment variables cannot start with
+ * AWS_BATCH
. This naming convention is reserved for variables that
+ * Batch sets.
The environment variables to send to the container. You can add new + * environment variables, which are added to the container at launch, or you can + * override the existing environment variables from the Docker image or the job + * definition.
Environment variables cannot start with
+ * AWS_BATCH
. This naming convention is reserved for variables that
+ * Batch sets.
A pointer to the container that you want to override. The container's name + * provides a unique identifier for the container being used.
+ */ + inline const Aws::String& GetName() const{ return m_name; } + + /** + *A pointer to the container that you want to override. The container's name + * provides a unique identifier for the container being used.
+ */ + inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } + + /** + *A pointer to the container that you want to override. The container's name + * provides a unique identifier for the container being used.
+ */ + inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } + + /** + *A pointer to the container that you want to override. The container's name + * provides a unique identifier for the container being used.
+ */ + inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } + + /** + *A pointer to the container that you want to override. The container's name + * provides a unique identifier for the container being used.
+ */ + inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } + + /** + *A pointer to the container that you want to override. The container's name + * provides a unique identifier for the container being used.
+ */ + inline TaskContainerOverrides& WithName(const Aws::String& value) { SetName(value); return *this;} + + /** + *A pointer to the container that you want to override. The container's name + * provides a unique identifier for the container being used.
+ */ + inline TaskContainerOverrides& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} + + /** + *A pointer to the container that you want to override. The container's name + * provides a unique identifier for the container being used.
+ */ + inline TaskContainerOverrides& WithName(const char* value) { SetName(value); return *this;} + + + /** + *The type and amount of resources to assign to a container. This overrides the
+ * settings in the job definition. The supported resources include
+ * GPU
, MEMORY
, and VCPU
.
The type and amount of resources to assign to a container. This overrides the
+ * settings in the job definition. The supported resources include
+ * GPU
, MEMORY
, and VCPU
.
The type and amount of resources to assign to a container. This overrides the
+ * settings in the job definition. The supported resources include
+ * GPU
, MEMORY
, and VCPU
.
The type and amount of resources to assign to a container. This overrides the
+ * settings in the job definition. The supported resources include
+ * GPU
, MEMORY
, and VCPU
.
The type and amount of resources to assign to a container. This overrides the
+ * settings in the job definition. The supported resources include
+ * GPU
, MEMORY
, and VCPU
.
The type and amount of resources to assign to a container. This overrides the
+ * settings in the job definition. The supported resources include
+ * GPU
, MEMORY
, and VCPU
.
The type and amount of resources to assign to a container. This overrides the
+ * settings in the job definition. The supported resources include
+ * GPU
, MEMORY
, and VCPU
.
The type and amount of resources to assign to a container. This overrides the
+ * settings in the job definition. The supported resources include
+ * GPU
, MEMORY
, and VCPU
.
Container properties are used for Amazon ECS-based job definitions. These + * properties to describe the container that's launched as part of a + * job.
The command that's passed to the container. This parameter maps to
+ * Cmd
in the Create a
+ * container section of the Docker Remote API and the
+ * COMMAND
parameter to docker run. For more
+ * information, see Dockerfile
+ * reference: CMD.
The command that's passed to the container. This parameter maps to
+ * Cmd
in the Create a
+ * container section of the Docker Remote API and the
+ * COMMAND
parameter to docker run. For more
+ * information, see Dockerfile
+ * reference: CMD.
The command that's passed to the container. This parameter maps to
+ * Cmd
in the Create a
+ * container section of the Docker Remote API and the
+ * COMMAND
parameter to docker run. For more
+ * information, see Dockerfile
+ * reference: CMD.
The command that's passed to the container. This parameter maps to
+ * Cmd
in the Create a
+ * container section of the Docker Remote API and the
+ * COMMAND
parameter to docker run. For more
+ * information, see Dockerfile
+ * reference: CMD.
The command that's passed to the container. This parameter maps to
+ * Cmd
in the Create a
+ * container section of the Docker Remote API and the
+ * COMMAND
parameter to docker run. For more
+ * information, see Dockerfile
+ * reference: CMD.
The command that's passed to the container. This parameter maps to
+ * Cmd
in the Create a
+ * container section of the Docker Remote API and the
+ * COMMAND
parameter to docker run. For more
+ * information, see Dockerfile
+ * reference: CMD.
The command that's passed to the container. This parameter maps to
+ * Cmd
in the Create a
+ * container section of the Docker Remote API and the
+ * COMMAND
parameter to docker run. For more
+ * information, see Dockerfile
+ * reference: CMD.
The command that's passed to the container. This parameter maps to
+ * Cmd
in the Create a
+ * container section of the Docker Remote API and the
+ * COMMAND
parameter to docker run. For more
+ * information, see Dockerfile
+ * reference: CMD.
The command that's passed to the container. This parameter maps to
+ * Cmd
in the Create a
+ * container section of the Docker Remote API and the
+ * COMMAND
parameter to docker run. For more
+ * information, see Dockerfile
+ * reference: CMD.
A list of containers that this container depends on.
+ */ + inline const Aws::VectorA list of containers that this container depends on.
+ */ + inline bool DependsOnHasBeenSet() const { return m_dependsOnHasBeenSet; } + + /** + *A list of containers that this container depends on.
+ */ + inline void SetDependsOn(const Aws::Vector