Defines a cryptographic key management compliance standard used for handling CA keys.
Default: FIPS_140_2_LEVEL_3_OR_HIGHER
Note: Amazon Web Services Region ap-northeast-3 supports only FIPS_140_2_LEVEL_2_OR_HIGHER. You must explicitly specify this parameter and value when creating a CA in that Region. Specifying a different value (or no value) results in an InvalidArgsException
with the message \"A certificate authority cannot be created in this region with the specified security standard.\"
Specifies whether the CA issues general-purpose certificates that typically require a revocation mechanism, or short-lived certificates that may optionally omit revocation because they expire quickly. Short-lived certificate validity is limited to seven days.
The default value is GENERAL_PURPOSE.
" } }, "documentation":"Contains information about your private certificate authority (CA). Your private CA can issue and revoke X.509 digital certificates. Digital certificates verify that the entity named in the certificate Subject field owns or controls the public key contained in the Subject Public Key Info field. Call the CreateCertificateAuthority action to create your private CA. You must then call the GetCertificateAuthorityCertificate action to retrieve a private CA certificate signing request (CSR). Sign the CSR with your ACM Private CA-hosted or on-premises root or subordinate CA certificate. Call the ImportCertificateAuthorityCertificate action to import the signed certificate into Certificate Manager (ACM).
" @@ -693,6 +697,13 @@ "SUBORDINATE" ] }, + "CertificateAuthorityUsageMode":{ + "type":"string", + "enum":[ + "GENERAL_PURPOSE", + "SHORT_LIVED_CERTIFICATE" + ] + }, "CertificateBody":{"type":"string"}, "CertificateBodyBlob":{ "type":"blob", @@ -798,6 +809,10 @@ "Tags":{ "shape":"TagList", "documentation":"Key-value pairs that will be attached to the new private CA. You can associate up to 50 tags with a private CA. For information using tags with IAM to manage permissions, see Controlling Access Using IAM Tags.
" + }, + "UsageMode":{ + "shape":"CertificateAuthorityUsageMode", + "documentation":"Specifies whether the CA issues general-purpose certificates that typically require a revocation mechanism, or short-lived certificates that may optionally omit revocation because they expire quickly. Short-lived certificate validity is limited to seven days.
The default value is GENERAL_PURPOSE.
" } } }, @@ -863,7 +878,7 @@ "documentation":"Determines whether the CRL will be publicly readable or privately held in the CRL Amazon S3 bucket. If you choose PUBLIC_READ, the CRL will be accessible over the public internet. If you choose BUCKET_OWNER_FULL_CONTROL, only the owner of the CRL S3 bucket can access the CRL, and your PKI clients may need an alternative method of access.
If no value is specified, the default is PUBLIC_READ
.
Note: This default can cause CA creation to fail in some circumstances. If you have have enabled the Block Public Access (BPA) feature in your S3 account, then you must specify the value of this parameter as BUCKET_OWNER_FULL_CONTROL
, and not doing so results in an error. If you have disabled BPA in S3, then you can specify either BUCKET_OWNER_FULL_CONTROL
or PUBLIC_READ
as the value.
For more information, see Blocking public access to the S3 bucket.
" } }, - "documentation":"Contains configuration information for a certificate revocation list (CRL). Your private certificate authority (CA) creates base CRLs. Delta CRLs are not supported. You can enable CRLs for your new or an existing private CA by setting the Enabled parameter to true
. Your private CA writes CRLs to an S3 bucket that you specify in the S3BucketName parameter. You can hide the name of your bucket by specifying a value for the CustomCname parameter. Your private CA copies the CNAME or the S3 bucket name to the CRL Distribution Points extension of each certificate it issues. Your S3 bucket policy must give write permission to ACM Private CA.
ACM Private CA assets that are stored in Amazon S3 can be protected with encryption. For more information, see Encrypting Your CRLs.
Your private CA uses the value in the ExpirationInDays parameter to calculate the nextUpdate field in the CRL. The CRL is refreshed prior to a certificate's expiration date or when a certificate is revoked. When a certificate is revoked, it appears in the CRL until the certificate expires, and then in one additional CRL after expiration, and it always appears in the audit report.
A CRL is typically updated approximately 30 minutes after a certificate is revoked. If for any reason a CRL update fails, ACM Private CA makes further attempts every 15 minutes.
CRLs contain the following fields:
Version: The current version number defined in RFC 5280 is V2. The integer value is 0x1.
Signature Algorithm: The name of the algorithm used to sign the CRL.
Issuer: The X.500 distinguished name of your private CA that issued the CRL.
Last Update: The issue date and time of this CRL.
Next Update: The day and time by which the next CRL will be issued.
Revoked Certificates: List of revoked certificates. Each list item contains the following information.
Serial Number: The serial number, in hexadecimal format, of the revoked certificate.
Revocation Date: Date and time the certificate was revoked.
CRL Entry Extensions: Optional extensions for the CRL entry.
X509v3 CRL Reason Code: Reason the certificate was revoked.
CRL Extensions: Optional extensions for the CRL.
X509v3 Authority Key Identifier: Identifies the public key associated with the private key used to sign the certificate.
X509v3 CRL Number:: Decimal sequence number for the CRL.
Signature Algorithm: Algorithm used by your private CA to sign the CRL.
Signature Value: Signature computed over the CRL.
Certificate revocation lists created by ACM Private CA are DER-encoded. You can use the following OpenSSL command to list a CRL.
openssl crl -inform DER -text -in crl_path -noout
For more information, see Planning a certificate revocation list (CRL) in the Certificate Manager Private Certificate Authority (PCA) User Guide
" + "documentation":"Contains configuration information for a certificate revocation list (CRL). Your private certificate authority (CA) creates base CRLs. Delta CRLs are not supported. You can enable CRLs for your new or an existing private CA by setting the Enabled parameter to true
. Your private CA writes CRLs to an S3 bucket that you specify in the S3BucketName parameter. You can hide the name of your bucket by specifying a value for the CustomCname parameter. Your private CA copies the CNAME or the S3 bucket name to the CRL Distribution Points extension of each certificate it issues. Your S3 bucket policy must give write permission to ACM Private CA.
ACM Private CA assets that are stored in Amazon S3 can be protected with encryption. For more information, see Encrypting Your CRLs.
Your private CA uses the value in the ExpirationInDays parameter to calculate the nextUpdate field in the CRL. The CRL is refreshed prior to a certificate's expiration date or when a certificate is revoked. When a certificate is revoked, it appears in the CRL until the certificate expires, and then in one additional CRL after expiration, and it always appears in the audit report.
A CRL is typically updated approximately 30 minutes after a certificate is revoked. If for any reason a CRL update fails, ACM Private CA makes further attempts every 15 minutes.
CRLs contain the following fields:
Version: The current version number defined in RFC 5280 is V2. The integer value is 0x1.
Signature Algorithm: The name of the algorithm used to sign the CRL.
Issuer: The X.500 distinguished name of your private CA that issued the CRL.
Last Update: The issue date and time of this CRL.
Next Update: The day and time by which the next CRL will be issued.
Revoked Certificates: List of revoked certificates. Each list item contains the following information.
Serial Number: The serial number, in hexadecimal format, of the revoked certificate.
Revocation Date: Date and time the certificate was revoked.
CRL Entry Extensions: Optional extensions for the CRL entry.
X509v3 CRL Reason Code: Reason the certificate was revoked.
CRL Extensions: Optional extensions for the CRL.
X509v3 Authority Key Identifier: Identifies the public key associated with the private key used to sign the certificate.
X509v3 CRL Number:: Decimal sequence number for the CRL.
Signature Algorithm: Algorithm used by your private CA to sign the CRL.
Signature Value: Signature computed over the CRL.
Certificate revocation lists created by ACM Private CA are DER-encoded. You can use the following OpenSSL command to list a CRL.
openssl crl -inform DER -text -in crl_path -noout
For more information, see Planning a certificate revocation list (CRL) in the Private Certificate Authority (PCA) User Guide
" }, "CsrBlob":{ "type":"blob", @@ -1601,7 +1616,7 @@ }, "OcspCustomCname":{ "shape":"String253", - "documentation":"By default, ACM Private CA injects an Amazon Web Services domain into certificates being validated by the Online Certificate Status Protocol (OCSP). A customer can alternatively use this object to define a CNAME specifying a customized OCSP domain.
Note: The value of the CNAME must not include a protocol prefix such as \"http://\" or \"https://\".
For more information, see Customizing Online Certificate Status Protocol (OCSP) in the Certificate Manager Private Certificate Authority (PCA) User Guide.
" + "documentation":"By default, ACM Private CA injects an Amazon Web Services domain into certificates being validated by the Online Certificate Status Protocol (OCSP). A customer can alternatively use this object to define a CNAME specifying a customized OCSP domain.
Note: The value of the CNAME must not include a protocol prefix such as \"http://\" or \"https://\".
For more information, see Customizing Online Certificate Status Protocol (OCSP) in the Private Certificate Authority (PCA) User Guide.
" } }, "documentation":"Contains information to enable and configure Online Certificate Status Protocol (OCSP) for validating certificate revocation status.
When you revoke a certificate, OCSP responses may take up to 60 minutes to reflect the new status.
" @@ -1814,7 +1829,7 @@ "documentation":"Configuration of Online Certificate Status Protocol (OCSP) support, if any, maintained by your private CA. When you revoke a certificate, OCSP responses may take up to 60 minutes to reflect the new status.
" } }, - "documentation":"Certificate revocation information used by the CreateCertificateAuthority and UpdateCertificateAuthority actions. Your private certificate authority (CA) can configure Online Certificate Status Protocol (OCSP) support and/or maintain a certificate revocation list (CRL). OCSP returns validation information about certificates as requested by clients, and a CRL contains an updated list of certificates revoked by your CA. For more information, see RevokeCertificate and Setting up a certificate revocation method in the Certificate Manager Private Certificate Authority (PCA) User Guide.
" + "documentation":"Certificate revocation information used by the CreateCertificateAuthority and UpdateCertificateAuthority actions. Your private certificate authority (CA) can configure Online Certificate Status Protocol (OCSP) support and/or maintain a certificate revocation list (CRL). OCSP returns validation information about certificates as requested by clients, and a CRL contains an updated list of certificates revoked by your CA. For more information, see RevokeCertificate and Setting up a certificate revocation method in the Private Certificate Authority (PCA) User Guide.
" }, "RevocationReason":{ "type":"string", @@ -2045,7 +2060,7 @@ "documentation":"Determines how ACM Private CA interprets the Value
parameter, an integer. Supported validity types include those listed below. Type definitions with values include a sample input value and the resulting output.
END_DATE
: The specific date and time when the certificate will expire, expressed using UTCTime (YYMMDDHHMMSS) or GeneralizedTime (YYYYMMDDHHMMSS) format. When UTCTime is used, if the year field (YY) is greater than or equal to 50, the year is interpreted as 19YY. If the year field is less than 50, the year is interpreted as 20YY.
Sample input value: 491231235959 (UTCTime format)
Output expiration date/time: 12/31/2049 23:59:59
ABSOLUTE
: The specific date and time when the validity of a certificate will start or expire, expressed in seconds since the Unix Epoch.
Sample input value: 2524608000
Output expiration date/time: 01/01/2050 00:00:00
DAYS
, MONTHS
, YEARS
: The relative time from the moment of issuance until the certificate will expire, expressed in days, months, or years.
Example if DAYS
, issued on 10/12/2020 at 12:34:54 UTC:
Sample input value: 90
Output expiration date: 01/10/2020 12:34:54 UTC
The minimum validity duration for a certificate using relative time (DAYS
) is one day. The minimum validity for a certificate using absolute time (ABSOLUTE
or END_DATE
) is one second.
Validity specifies the period of time during which a certificate is valid. Validity can be expressed as an explicit date and time when the validity of a certificate starts or expires, or as a span of time after issuance, stated in days, months, or years. For more information, see Validity in RFC 5280.
ACM Private CA API consumes the Validity
data type differently in two distinct parameters of the IssueCertificate
action. The required parameter IssueCertificate
:Validity
specifies the end of a certificate's validity period. The optional parameter IssueCertificate
:ValidityNotBefore
specifies a customized starting time for the validity period.
Validity specifies the period of time during which a certificate is valid. Validity can be expressed as an explicit date and time when the validity of a certificate starts or expires, or as a span of time after issuance, stated in days, months, or years. For more information, see Validity in RFC 5280.
ACM Private CA API consumes the Validity
data type differently in two distinct parameters of the IssueCertificate
action. The required parameter IssueCertificate
:Validity
specifies the end of a certificate's validity period. The optional parameter IssueCertificate
:ValidityNotBefore
specifies a customized starting time for the validity period.
This is the Certificate Manager Private Certificate Authority (PCA) API Reference. It provides descriptions, syntax, and usage examples for each of the actions and data types involved in creating and managing a private certificate authority (CA) for your organization.
The documentation for each action shows the API request parameters and the JSON response. Alternatively, you can use one of the Amazon Web Services SDKs to access an API that is tailored to the programming language or platform that you prefer. For more information, see Amazon Web Services SDKs.
Each ACM Private CA API operation has a quota that determines the number of times the operation can be called per second. ACM Private CA throttles API requests at different rates depending on the operation. Throttling means that ACM Private CA rejects an otherwise valid request because the request exceeds the operation's quota for the number of requests per second. When a request is throttled, ACM Private CA returns a ThrottlingException error. ACM Private CA does not guarantee a minimum request rate for APIs.
To see an up-to-date list of your ACM Private CA quotas, or to request a quota increase, log into your Amazon Web Services account and visit the Service Quotas console.
" + "documentation":"This is the Private Certificate Authority (PCA) API Reference. It provides descriptions, syntax, and usage examples for each of the actions and data types involved in creating and managing a private certificate authority (CA) for your organization.
The documentation for each action shows the API request parameters and the JSON response. Alternatively, you can use one of the Amazon Web Services SDKs to access an API that is tailored to the programming language or platform that you prefer. For more information, see Amazon Web Services SDKs.
Each ACM Private CA API operation has a quota that determines the number of times the operation can be called per second. ACM Private CA throttles API requests at different rates depending on the operation. Throttling means that ACM Private CA rejects an otherwise valid request because the request exceeds the operation's quota for the number of requests per second. When a request is throttled, ACM Private CA returns a ThrottlingException error. ACM Private CA does not guarantee a minimum request rate for APIs.
To see an up-to-date list of your ACM Private CA quotas, or to request a quota increase, log into your Amazon Web Services account and visit the Service Quotas console.
" } diff --git a/services/alexaforbusiness/pom.xml b/services/alexaforbusiness/pom.xml index 28a1d8b21ba7..f8a8e2a37517 100644 --- a/services/alexaforbusiness/pom.xml +++ b/services/alexaforbusiness/pom.xml @@ -20,7 +20,7 @@Cancels a job in an Batch job queue. Jobs that are in the SUBMITTED
, PENDING
, or RUNNABLE
state are canceled. Jobs that have progressed to STARTING
or RUNNING
aren't canceled, but the API operation still succeeds, even if no job is canceled. These jobs must be terminated with the TerminateJob operation.
Cancels a job in an Batch job queue. Jobs that are in the SUBMITTED
, PENDING
, or RUNNABLE
state are canceled. Jobs that progressed to the STARTING
or RUNNING
state aren't canceled. However, the API operation still succeeds, even if no job is canceled. These jobs must be terminated with the TerminateJob operation.
Creates an Batch compute environment. You can create MANAGED
or UNMANAGED
compute environments. MANAGED
compute environments can use Amazon EC2 or Fargate resources. UNMANAGED
compute environments can only use EC2 resources.
In a managed compute environment, Batch manages the capacity and instance types of the compute resources within the environment. This is based on the compute resource specification that you define or the launch template that you specify when you create the compute environment. Either, you can choose to use EC2 On-Demand Instances and EC2 Spot Instances. Or, you can use Fargate and Fargate Spot capacity in your managed compute environment. You can optionally set a maximum price so that Spot Instances only launch when the Spot Instance price is less than a specified percentage of the On-Demand price.
Multi-node parallel jobs aren't supported on Spot Instances.
In an unmanaged compute environment, you can manage your own EC2 compute resources and have a lot of flexibility with how you configure your compute resources. For example, you can use custom AMIs. However, you must verify that each of your AMIs meet the Amazon ECS container instance AMI specification. For more information, see container instance AMIs in the Amazon Elastic Container Service Developer Guide. After you created your unmanaged compute environment, you can use the DescribeComputeEnvironments operation to find the Amazon ECS cluster that's associated with it. Then, launch your container instances into that Amazon ECS cluster. For more information, see Launching an Amazon ECS container instance in the Amazon Elastic Container Service Developer Guide.
Batch doesn't automatically upgrade the AMIs in a compute environment after it's created. For example, it also doesn't update the AMIs in your compute environment when a newer version of the Amazon ECS optimized AMI is available. You're responsible for the management of the guest operating system. This includes any updates and security patches. You're also responsible for any additional application software or utilities that you install on the compute resources. There are two ways to use a new AMI for your Batch jobs. The original method is to complete these steps:
Create a new compute environment with the new AMI.
Add the compute environment to an existing job queue.
Remove the earlier compute environment from your job queue.
Delete the earlier compute environment.
In April 2022, Batch added enhanced support for updating compute environments. For more information, see Updating compute environments. To use the enhanced updating of compute environments to update AMIs, follow these rules:
Either do not set the service role (serviceRole
) parameter or set it to the AWSBatchServiceRole service-linked role.
Set the allocation strategy (allocationStrategy
) parameter to BEST_FIT_PROGRESSIVE
or SPOT_CAPACITY_OPTIMIZED
.
Set the update to latest image version (updateToLatestImageVersion
) parameter to true
.
Do not specify an AMI ID in imageId
, imageIdOverride
(in ec2Configuration
), or in the launch template (launchTemplate
). In that case Batch will select the latest Amazon ECS optimized AMI supported by Batch at the time the infrastructure update is initiated. Alternatively you can specify the AMI ID in the imageId
or imageIdOverride
parameters, or the launch template identified by the LaunchTemplate
properties. Changing any of these properties will trigger an infrastructure update. If the AMI ID is specified in the launch template, it can not be replaced by specifying an AMI ID in either the imageId
or imageIdOverride
parameters. It can only be replaced by specifying a different launch template, or if the launch template version is set to $Default
or $Latest
, by setting either a new default version for the launch template (if $Default
)or by adding a new version to the launch template (if $Latest
).
If these rules are followed, any update that triggers an infrastructure update will cause the AMI ID to be re-selected. If the version
setting in the launch template (launchTemplate
) is set to $Latest
or $Default
, the latest or default version of the launch template will be evaluated up at the time of the infrastructure update, even if the launchTemplate
was not updated.
Creates an Batch compute environment. You can create MANAGED
or UNMANAGED
compute environments. MANAGED
compute environments can use Amazon EC2 or Fargate resources. UNMANAGED
compute environments can only use EC2 resources.
In a managed compute environment, Batch manages the capacity and instance types of the compute resources within the environment. This is based on the compute resource specification that you define or the launch template that you specify when you create the compute environment. Either, you can choose to use EC2 On-Demand Instances and EC2 Spot Instances. Or, you can use Fargate and Fargate Spot capacity in your managed compute environment. You can optionally set a maximum price so that Spot Instances only launch when the Spot Instance price is less than a specified percentage of the On-Demand price.
Multi-node parallel jobs aren't supported on Spot Instances.
In an unmanaged compute environment, you can manage your own EC2 compute resources and have flexibility with how you configure your compute resources. For example, you can use custom AMIs. However, you must verify that each of your AMIs meet the Amazon ECS container instance AMI specification. For more information, see container instance AMIs in the Amazon Elastic Container Service Developer Guide. After you created your unmanaged compute environment, you can use the DescribeComputeEnvironments operation to find the Amazon ECS cluster that's associated with it. Then, launch your container instances into that Amazon ECS cluster. For more information, see Launching an Amazon ECS container instance in the Amazon Elastic Container Service Developer Guide.
Batch doesn't automatically upgrade the AMIs in a compute environment after it's created. For example, it also doesn't update the AMIs in your compute environment when a newer version of the Amazon ECS optimized AMI is available. You're responsible for the management of the guest operating system. This includes any updates and security patches. You're also responsible for any additional application software or utilities that you install on the compute resources. There are two ways to use a new AMI for your Batch jobs. The original method is to complete these steps:
Create a new compute environment with the new AMI.
Add the compute environment to an existing job queue.
Remove the earlier compute environment from your job queue.
Delete the earlier compute environment.
In April 2022, Batch added enhanced support for updating compute environments. For more information, see Updating compute environments. To use the enhanced updating of compute environments to update AMIs, follow these rules:
Either don't set the service role (serviceRole
) parameter or set it to the AWSBatchServiceRole service-linked role.
Set the allocation strategy (allocationStrategy
) parameter to BEST_FIT_PROGRESSIVE
or SPOT_CAPACITY_OPTIMIZED
.
Set the update to latest image version (updateToLatestImageVersion
) parameter to true
.
Don't specify an AMI ID in imageId
, imageIdOverride
(in ec2Configuration
), or in the launch template (launchTemplate
). In that case, Batch selects the latest Amazon ECS optimized AMI that's supported by Batch at the time the infrastructure update is initiated. Alternatively, you can specify the AMI ID in the imageId
or imageIdOverride
parameters, or the launch template identified by the LaunchTemplate
properties. Changing any of these properties starts an infrastructure update. If the AMI ID is specified in the launch template, it can't be replaced by specifying an AMI ID in either the imageId
or imageIdOverride
parameters. It can only be replaced by specifying a different launch template, or if the launch template version is set to $Default
or $Latest
, by setting either a new default version for the launch template (if $Default
) or by adding a new version to the launch template (if $Latest
).
If these rules are followed, any update that starts an infrastructure update causes the AMI ID to be re-selected. If the version
setting in the launch template (launchTemplate
) is set to $Latest
or $Default
, the latest or default version of the launch template is evaluated up at the time of the infrastructure update, even if the launchTemplate
wasn't updated.
Lists the tags for an Batch resource. Batch resources that support tags are compute environments, jobs, job definitions, job queues, and scheduling policies. ARNs for child jobs of array and multi-node parallel (MNP) jobs are not supported.
" + "documentation":"Lists the tags for an Batch resource. Batch resources that support tags are compute environments, jobs, job definitions, job queues, and scheduling policies. ARNs for child jobs of array and multi-node parallel (MNP) jobs aren't supported.
" }, "RegisterJobDefinition":{ "name":"RegisterJobDefinition", @@ -276,7 +276,7 @@ {"shape":"ClientException"}, {"shape":"ServerException"} ], - "documentation":"Associates the specified tags to a resource with the specified resourceArn
. If existing tags on a resource aren't specified in the request parameters, they aren't changed. When a resource is deleted, the tags that are associated with that resource are deleted as well. Batch resources that support tags are compute environments, jobs, job definitions, job queues, and scheduling policies. ARNs for child jobs of array and multi-node parallel (MNP) jobs are not supported.
Associates the specified tags to a resource with the specified resourceArn
. If existing tags on a resource aren't specified in the request parameters, they aren't changed. When a resource is deleted, the tags that are associated with that resource are deleted as well. Batch resources that support tags are compute environments, jobs, job definitions, job queues, and scheduling policies. ARNs for child jobs of array and multi-node parallel (MNP) jobs aren't supported.
The size of the array job.
" } }, - "documentation":"An object representing an Batch array job.
" + "documentation":"An object that represents an Batch array job.
" }, "ArrayPropertiesDetail":{ "type":"structure", @@ -388,7 +388,7 @@ "documentation":"The job index within the array that's associated with this job. This parameter is returned for array job children.
" } }, - "documentation":"An object representing the array properties of a job.
" + "documentation":"An object that represents the array properties of a job.
" }, "ArrayPropertiesSummary":{ "type":"structure", @@ -402,7 +402,7 @@ "documentation":"The job index within the array that's associated with this job. This parameter is returned for children of array jobs.
" } }, - "documentation":"An object representing the array properties of a job.
" + "documentation":"An object that represents the array properties of a job.
" }, "AssignPublicIp":{ "type":"string", @@ -424,29 +424,29 @@ }, "exitCode":{ "shape":"Integer", - "documentation":"The exit code for the job attempt. A non-zero exit code is considered a failure.
" + "documentation":"The exit code for the job attempt. A non-zero exit code is considered failed.
" }, "reason":{ "shape":"String", - "documentation":"A short (255 max characters) human-readable string to provide additional details about a running or stopped container.
" + "documentation":"A short (255 max characters) human-readable string to provide additional details for a running or stopped container.
" }, "logStreamName":{ "shape":"String", - "documentation":"The name of the CloudWatch Logs log stream 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 associated with the job attempt.
" + "documentation":"The network interfaces that are associated with the job attempt.
" } }, - "documentation":"An object representing the details of a container that's part of a job attempt.
" + "documentation":"An object that represents the details of a container that's part of a job attempt.
" }, "AttemptDetail":{ "type":"structure", "members":{ "container":{ "shape":"AttemptContainerDetail", - "documentation":"Details about the container in this job attempt.
" + "documentation":"The details for the container in this job attempt.
" }, "startedAt":{ "shape":"Long", @@ -458,10 +458,10 @@ }, "statusReason":{ "shape":"String", - "documentation":"A short, human-readable string to provide additional details about the current status of the job attempt.
" + "documentation":"A short, human-readable string to provide additional details for the current status of the job attempt.
" } }, - "documentation":"An object representing a job attempt.
" + "documentation":"An object that represents a job attempt.
" }, "AttemptDetails":{ "type":"list", @@ -545,7 +545,7 @@ "members":{ "message":{"shape":"String"} }, - "documentation":"These errors are usually caused by a client action, such as using an action or resource on behalf of a user that doesn't have permissions to use the action or resource, or specifying an identifier that's not valid.
", + "documentation":"These errors are usually caused by a client action. One example cause is using an action or resource on behalf of a user that doesn't have permissions to use the action or resource. Another cause is specifying an identifier that's not valid.
", "error":{"httpStatusCode":400}, "exception":true }, @@ -558,7 +558,7 @@ "members":{ "computeEnvironmentName":{ "shape":"String", - "documentation":"The name of the compute environment. It can be up to 128 letters long. It can contain uppercase and lowercase letters, numbers, hyphens (-), and underscores (_).
" + "documentation":"The name of the compute environment. It can be up to 128 characters long. It can contain uppercase and lowercase letters, numbers, hyphens (-), and underscores (_).
" }, "computeEnvironmentArn":{ "shape":"String", @@ -570,7 +570,7 @@ }, "ecsClusterArn":{ "shape":"String", - "documentation":"The Amazon Resource Name (ARN) of the underlying Amazon ECS cluster used by the compute environment.
" + "documentation":"The Amazon Resource Name (ARN) of the underlying Amazon ECS cluster that the compute environment uses.
" }, "tags":{ "shape":"TagrisTagsMap", @@ -582,7 +582,7 @@ }, "state":{ "shape":"CEState", - "documentation":"The state of the compute environment. The valid values are ENABLED
or DISABLED
.
If the state is ENABLED
, then the Batch scheduler can attempt to place jobs from an associated job queue on the compute resources within the environment. If the compute environment is managed, then it can scale its instances out or in automatically, based on the job queue demand.
If the state is DISABLED
, then the Batch scheduler doesn't attempt to place jobs within the environment. Jobs in a STARTING
or RUNNING
state continue to progress normally. Managed compute environments in the DISABLED
state don't scale out. However, they scale in to minvCpus
value after instances become idle.
The state of the compute environment. The valid values are ENABLED
or DISABLED
.
If the state is ENABLED
, then the Batch scheduler can attempt to place jobs from an associated job queue on the compute resources within the environment. If the compute environment is managed, then it can scale its instances out or in automatically based on the job queue demand.
If the state is DISABLED
, then the Batch scheduler doesn't attempt to place jobs within the environment. Jobs in a STARTING
or RUNNING
state continue to progress normally. Managed compute environments in the DISABLED
state don't scale out. However, they scale in to minvCpus
value after instances become idle.
A short, human-readable string to provide additional details about the current status of the compute environment.
" + "documentation":"A short, human-readable string to provide additional details for the current status of the compute environment.
" }, "computeResources":{ "shape":"ComputeResource", @@ -598,14 +598,26 @@ }, "serviceRole":{ "shape":"String", - "documentation":"The service role associated with the compute environment that allows Batch to make calls to Amazon Web Services API operations on your behalf. For more information, see Batch service IAM role in the Batch User Guide.
" + "documentation":"The service role that's associated with the compute environment that allows Batch to make calls to Amazon Web Services API operations on your behalf. For more information, see Batch service IAM role in the Batch User Guide.
" }, "updatePolicy":{ "shape":"UpdatePolicy", "documentation":"Specifies the infrastructure update policy for the compute environment. For more information about infrastructure updates, see Updating compute environments in the Batch User Guide.
" + }, + "eksConfiguration":{ + "shape":"EksConfiguration", + "documentation":"The configuration for the Amazon EKS cluster that supports the Batch compute environment. Only specify this parameter if the containerOrchestrationType
is EKS
.
The orchestration type of the compute environment. The valid values are ECS
(default) or EKS
.
Unique identifier for the compute environment.
" } }, - "documentation":"An object representing an Batch compute environment.
" + "documentation":"An object that represents an Batch compute environment.
" }, "ComputeEnvironmentDetailList":{ "type":"list", @@ -627,7 +639,7 @@ "documentation":"The Amazon Resource Name (ARN) of the compute environment.
" } }, - "documentation":"The order in which compute environments are tried for job placement within a queue. Compute environments are tried in ascending order. For example, if two compute environments are associated with a job queue, the compute environment with a lower order integer value is tried for job placement first. Compute 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 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.
The order that compute environments are tried in for job placement within a queue. Compute environments are tried in ascending order. For example, if two compute environments are associated with a job queue, the compute environment with a lower order integer value is tried for job placement first. Compute 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 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.
The allocation strategy to use for the compute resource if not enough instances of the best fitting instance type can be allocated. This might be because of availability of the instance type in the Region or Amazon EC2 service limits. For more information, see Allocation strategies in the Batch User Guide.
This parameter isn't applicable to jobs that are running on Fargate resources, and shouldn't be specified.
Batch selects an instance type that best fits the needs of the jobs with a preference for the lowest-cost instance type. If additional instances of the selected instance type aren't available, Batch waits for the additional instances to be available. If there aren't enough instances available, or if the user is reaching Amazon EC2 service limits then additional jobs aren't run until the currently running jobs have completed. This allocation strategy keeps costs lower but can limit scaling. If you are using Spot Fleets with BEST_FIT
then the Spot Fleet IAM Role must be specified. Compute resources that use a BEST_FIT
allocation strategy don't support infrastructure updates and can't update some parameters. For more information, see Updating compute environments in the Batch User Guide.
Batch will select additional instance types that are large enough to meet the requirements of the jobs in the queue, with a preference for instance types with a lower cost per unit vCPU. If additional instances of the previously selected instance types aren't available, Batch will select new instance types.
Batch will select one or more instance types that are large enough to meet the requirements of the jobs in the queue, with a preference for instance types that are less likely to be interrupted. This allocation strategy is only available for Spot Instance compute resources.
With both BEST_FIT_PROGRESSIVE
and SPOT_CAPACITY_OPTIMIZED
strategies, Batch might need to go above maxvCpus
to meet your capacity requirements. In this event, Batch never exceeds maxvCpus
by more than a single instance.
The allocation strategy to use for the compute resource if not enough instances of the best fitting instance type can be allocated. This might be because of availability of the instance type in the Region or Amazon EC2 service limits. For more information, see Allocation strategies in the Batch User Guide.
This parameter isn't applicable to jobs that are running on Fargate resources. Don't specify it.
Batch selects an instance type that best fits the needs of the jobs with a preference for the lowest-cost instance type. If additional instances of the selected instance type aren't available, Batch waits for the additional instances to be available. If there aren't enough instances available or the user is reaching Amazon EC2 service limits, additional jobs aren't run until the currently running jobs are completed. This allocation strategy keeps costs lower but can limit scaling. If you're using Spot Fleets with BEST_FIT
, the Spot Fleet IAM Role must be specified. Compute resources that use a BEST_FIT
allocation strategy don't support infrastructure updates and can't update some parameters. For more information, see Updating compute environments in the Batch User Guide.
Batch selects additional instance types that are large enough to meet the requirements of the jobs in the queue. Its preference is for instance types with lower cost vCPUs. If additional instances of the previously selected instance types aren't available, Batch selects new instance types.
Batch selects one or more instance types that are large enough to meet the requirements of the jobs in the queue. Its preference is for instance types that are less likely to be interrupted. This allocation strategy is only available for Spot Instance compute resources.
With both BEST_FIT_PROGRESSIVE
and SPOT_CAPACITY_OPTIMIZED
strategies using On-Demand or Spot Instances, and the BEST_FIT
strategy using Spot Instances, Batch might need to exceed maxvCpus
to meet your capacity requirements. In this event, Batch never exceeds maxvCpus
by more than a single instance.
The minimum number of Amazon EC2 vCPUs that an environment should maintain (even if the compute environment is DISABLED
).
This parameter isn't applicable to jobs that are running on Fargate resources, and shouldn't be specified.
The minimum number of Amazon EC2 vCPUs that an environment should maintain (even if the compute environment is DISABLED
).
This parameter isn't applicable to jobs that are running on Fargate resources. Don't specify it.
The maximum number of Amazon EC2 vCPUs that a compute environment can reach.
With both BEST_FIT_PROGRESSIVE
and SPOT_CAPACITY_OPTIMIZED
allocation strategies, Batch might need to exceed maxvCpus
to meet your capacity requirements. In this event, Batch never exceeds maxvCpus
by more than a single instance. For example, no more than a single instance from among those specified in your compute environment is allocated.
The maximum number of Amazon EC2 vCPUs that a compute environment can reach.
With both BEST_FIT_PROGRESSIVE
and SPOT_CAPACITY_OPTIMIZED
allocation strategies using On-Demand or Spot Instances, and the BEST_FIT
strategy using Spot Instances, Batch might need to exceed maxvCpus
to meet your capacity requirements. In this event, Batch never exceeds maxvCpus
by more than a single instance. For example, no more than a single instance from among those specified in your compute environment is allocated.
The desired number of Amazon EC2 vCPUS in the compute environment. Batch modifies this value between the minimum and maximum values, based on job queue demand.
This parameter isn't applicable to jobs that are running on Fargate resources, and shouldn't be specified.
The desired number of Amazon EC2 vCPUS in the compute environment. Batch modifies this value between the minimum and maximum values based on job queue demand.
This parameter isn't applicable to jobs that are running on Fargate resources. Don't specify it.
The instances types that can be launched. You can specify instance families to launch any instance type within those families (for example, c5
or p3
), or you can specify specific sizes within a family (such as c5.8xlarge
). You can also choose optimal
to select instance types (from the C4, M4, and R4 instance families) that match the demand of your job queues.
This parameter isn't applicable to jobs that are running on Fargate resources, and shouldn't be specified.
When you create a compute environment, the instance types that you select for the compute environment must share the same architecture. For example, you can't mix x86 and ARM instances in the same compute environment.
Currently, optimal
uses instance types from the C4, M4, and R4 instance families. In Regions that don't have instance types from those instance families, instance types from the C5, M5. and R5 instance families are used.
The instances types that can be launched. You can specify instance families to launch any instance type within those families (for example, c5
or p3
), or you can specify specific sizes within a family (such as c5.8xlarge
). You can also choose optimal
to select instance types (from the C4, M4, and R4 instance families) that match the demand of your job queues.
This parameter isn't applicable to jobs that are running on Fargate resources. Don't specify it.
When you create a compute environment, the instance types that you select for the compute environment must share the same architecture. For example, you can't mix x86 and ARM instances in the same compute environment.
Currently, optimal
uses instance types from the C4, M4, and R4 instance families. In Regions that don't have instance types from those instance families, instance types from the C5, M5, and R5 instance families are used.
The Amazon Machine Image (AMI) ID used for instances launched in the compute environment. This parameter is overridden by the imageIdOverride
member of the Ec2Configuration
structure.
This parameter isn't applicable to jobs that are running on Fargate resources, and shouldn't be specified.
The AMI that you choose for a compute environment must match the architecture of the instance types that you intend to use for that compute environment. For example, if your compute environment uses A1 instance types, the compute resource AMI that you choose must support ARM instances. Amazon ECS vends both x86 and ARM versions of the Amazon ECS-optimized Amazon Linux 2 AMI. For more information, see Amazon ECS-optimized Amazon Linux 2 AMI in the Amazon Elastic Container Service Developer Guide.
The Amazon Machine Image (AMI) ID used for instances launched in the compute environment. This parameter is overridden by the imageIdOverride
member of the Ec2Configuration
structure.
This parameter isn't applicable to jobs that are running on Fargate resources. Don't specify it.
The AMI that you choose for a compute environment must match the architecture of the instance types that you intend to use for that compute environment. For example, if your compute environment uses A1 instance types, the compute resource AMI that you choose must support ARM instances. Amazon ECS vends both x86 and ARM versions of the Amazon ECS-optimized Amazon Linux 2 AMI. For more information, see Amazon ECS-optimized Amazon Linux 2 AMI in the Amazon Elastic Container Service Developer Guide.
The Amazon EC2 security groups associated with instances launched in the compute environment. One or more security groups must be specified, either in securityGroupIds
or using a launch template referenced in launchTemplate
. This parameter is required for jobs that are running on Fargate resources and must contain at least one security group. Fargate doesn't support launch templates. If security groups are specified using both securityGroupIds
and launchTemplate
, the values in securityGroupIds
are used.
The Amazon EC2 security groups that are associated with instances launched in the compute environment. One or more security groups must be specified, either in securityGroupIds
or using a launch template referenced in launchTemplate
. This parameter is required for jobs that are running on Fargate resources and must contain at least one security group. Fargate doesn't support launch templates. If security groups are specified using both securityGroupIds
and launchTemplate
, the values in securityGroupIds
are used.
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.
This parameter isn't applicable to jobs that are running on Fargate resources, and shouldn't be specified.
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.
This parameter isn't applicable to jobs that are running on Fargate resources. Don't specify it.
The Amazon ECS instance profile applied to Amazon EC2 instances in a compute environment. You can specify the short name or full Amazon Resource Name (ARN) of an instance profile. For example, ecsInstanceRole
or arn:aws:iam::<aws_account_id>:instance-profile/ecsInstanceRole
. For more information, see Amazon ECS instance role in the Batch User Guide.
This parameter isn't applicable to jobs that are running on Fargate resources, and shouldn't be specified.
The Amazon ECS instance profile applied to Amazon EC2 instances in a compute environment. You can specify the short name or full Amazon Resource Name (ARN) of an instance profile. For example, ecsInstanceRole
or arn:aws:iam::<aws_account_id>:instance-profile/ecsInstanceRole
. For more information, see Amazon ECS instance role in the Batch User Guide.
This parameter isn't applicable to jobs that are running on Fargate resources. Don't specify it.
Key-value pair tags to be applied to EC2 resources that are launched in the compute environment. For Batch, these take the form of \"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 instances in the Amazon EC2 console. Updating these tags requires an infrastructure update to the compute environment. For more information, see Updating compute environments in the Batch User Guide. These tags aren't seen when using the Batch ListTagsForResource
API operation.
This parameter isn't applicable to jobs that are running on Fargate resources, and shouldn't be specified.
Key-value pair tags to be applied to EC2 resources that are launched in the compute environment. For Batch, these take the form of \"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 instances in the Amazon EC2 console. Updating these tags requires an infrastructure update to the compute environment. For more information, see Updating compute environments in the Batch User Guide. These tags aren't seen when using the Batch ListTagsForResource
API operation.
This parameter isn't applicable to jobs that are running on Fargate resources. Don't specify it.
The Amazon EC2 placement group to associate with your compute resources. If you intend to submit multi-node parallel jobs to your compute environment, you should consider creating a cluster placement group and associate it with your compute resources. This keeps your multi-node parallel job on a logical grouping of instances within a single Availability Zone with high network flow potential. For more information, see Placement groups in the Amazon EC2 User Guide for Linux Instances.
This parameter isn't applicable to jobs that are running on Fargate resources, and shouldn't be specified.
The Amazon EC2 placement group to associate with your compute resources. If you intend to submit multi-node parallel jobs to your compute environment, you should consider creating a cluster placement group and associate it with your compute resources. This keeps your multi-node parallel job on a logical grouping of instances within a single Availability Zone with high network flow potential. For more information, see Placement groups in the Amazon EC2 User Guide for Linux Instances.
This parameter isn't applicable to jobs that are running on Fargate resources. Don't specify it.
The maximum percentage that a Spot Instance price can be when compared with the On-Demand price for that instance type before instances are launched. For example, if your maximum percentage is 20%, then the Spot price must be less than 20% of the current On-Demand price for that Amazon EC2 instance. You always pay the lowest (market) price and never more than your maximum percentage. If you leave this field empty, the default value is 100% of the On-Demand price.
This parameter isn't applicable to jobs that are running on Fargate resources, and shouldn't be specified.
The maximum percentage that a Spot Instance price can be when compared with the On-Demand price for that instance type before instances are launched. For example, if your maximum percentage is 20%, then the Spot price must be less than 20% of the current On-Demand price for that Amazon EC2 instance. You always pay the lowest (market) price and never more than your maximum percentage. If you leave this field empty, the default value is 100% of the On-Demand price.
This parameter isn't applicable to jobs that are running on Fargate resources. Don't specify it.
The Amazon Resource Name (ARN) of the Amazon EC2 Spot Fleet IAM role applied to a SPOT
compute environment. This role is required if the allocation strategy set to BEST_FIT
or if the allocation strategy isn't specified. For more information, see Amazon EC2 spot fleet role in the Batch User Guide.
This parameter isn't applicable to jobs that are running on Fargate resources, and shouldn't be specified.
To tag your Spot Instances on creation, the Spot Fleet IAM role specified here must use the newer AmazonEC2SpotFleetTaggingRole managed policy. The previously recommended AmazonEC2SpotFleetRole managed policy doesn't have the required permissions to tag Spot Instances. For more information, see Spot instances not tagged on creation in the Batch User Guide.
The Amazon Resource Name (ARN) of the Amazon EC2 Spot Fleet IAM role applied to a SPOT
compute environment. This role is required if the allocation strategy set to BEST_FIT
or if the allocation strategy isn't specified. For more information, see Amazon EC2 spot fleet role in the Batch User Guide.
This parameter isn't applicable to jobs that are running on Fargate resources. Don't specify it.
To tag your Spot Instances on creation, the Spot Fleet IAM role specified here must use the newer AmazonEC2SpotFleetTaggingRole managed policy. The previously recommended AmazonEC2SpotFleetRole managed policy doesn't have the required permissions to tag Spot Instances. For more information, see Spot instances not tagged on creation in the Batch User Guide.
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 Launch template support in the Batch User Guide.
This parameter isn't applicable to jobs that are running on Fargate resources, and shouldn't be specified.
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 Launch template support in the Batch User Guide.
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 Ec2Configuration
isn't specified, the default is ECS_AL2
.
One or two values can be provided.
This parameter isn't applicable to jobs that are running on Fargate resources, and shouldn't be specified.
Provides information that's used to select Amazon Machine Images (AMIs) for EC2 instances in the compute environment. If Ec2Configuration
isn't specified, the default is ECS_AL2
.
One or two values can be provided.
This parameter isn't applicable to jobs that are running on Fargate resources. Don't specify it.
An object representing an Batch compute resource. For more information, see Compute environments in the Batch User Guide.
" + "documentation":"An object that represents an Batch compute resource. For more information, see Compute environments in the Batch User Guide.
" }, "ComputeResourceUpdate":{ "type":"structure", "members":{ "minvCpus":{ "shape":"Integer", - "documentation":"The minimum number of Amazon EC2 vCPUs that an environment should maintain (even if the compute environment is DISABLED
).
This parameter isn't applicable to jobs that are running on Fargate resources, and shouldn't be specified.
The minimum number of Amazon EC2 vCPUs that an environment should maintain (even if the compute environment is DISABLED
).
This parameter isn't applicable to jobs that are running on Fargate resources. Don't specify it.
The maximum number of Amazon EC2 vCPUs that an environment can reach.
With both BEST_FIT_PROGRESSIVE
and SPOT_CAPACITY_OPTIMIZED
allocation strategies, Batch might need to exceed maxvCpus
to meet your capacity requirements. In this event, Batch never exceeds maxvCpus
by more than a single instance. That is, no more than a single instance from among those specified in your compute environment.
The maximum number of Amazon EC2 vCPUs that an environment can reach.
With both BEST_FIT_PROGRESSIVE
and SPOT_CAPACITY_OPTIMIZED
allocation strategies using On-Demand or Spot Instances, and the BEST_FIT
strategy using Spot Instances, Batch might need to exceed maxvCpus
to meet your capacity requirements. In this event, Batch never exceeds maxvCpus
by more than a single instance. That is, no more than a single instance from among those specified in your compute environment.
The desired number of Amazon EC2 vCPUS in the compute environment. Batch modifies this value between the minimum and maximum values based on job queue demand.
This parameter isn't applicable to jobs that are running on Fargate resources, and shouldn't be specified.
The desired number of Amazon EC2 vCPUS in the compute environment. Batch modifies this value between the minimum and maximum values based on job queue demand.
This parameter isn't applicable to jobs that are running on Fargate resources. Don't specify it.
The Amazon EC2 security groups associated with instances launched in 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 Updating compute environments in the Batch User Guide.
" + "documentation":"The Amazon EC2 security groups that are associated with instances launched in 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 Updating compute environments in the Batch User Guide.
" }, "allocationStrategy":{ "shape":"CRUpdateAllocationStrategy", - "documentation":"The allocation strategy to use for the compute resource if not enough instances of the best fitting instance type can be allocated. This might be because of availability of the instance type in the Region or Amazon EC2 service limits. For more information, see Allocation strategies in the Batch User Guide.
When updating a compute environment, changing the allocation strategy requires an infrastructure update of the compute environment. For more information, see Updating compute environments in the Batch User Guide. BEST_FIT
isn't supported when updating a compute environment.
This parameter isn't applicable to jobs that are running on Fargate resources, and shouldn't be specified.
Batch will select additional instance types that are large enough to meet the requirements of the jobs in the queue, with a preference for instance types with a lower cost per unit vCPU. If additional instances of the previously selected instance types aren't available, Batch will select new instance types.
Batch will select one or more instance types that are large enough to meet the requirements of the jobs in the queue, with a preference for instance types that are less likely to be interrupted. This allocation strategy is only available for Spot Instance compute resources.
With both BEST_FIT_PROGRESSIVE
and SPOT_CAPACITY_OPTIMIZED
strategies, Batch might need to go above maxvCpus
to meet your capacity requirements. In this event, Batch never exceeds maxvCpus
by more than a single instance.
The allocation strategy to use for the compute resource if there's not enough instances of the best fitting instance type that can be allocated. This might be because of availability of the instance type in the Region or Amazon EC2 service limits. For more information, see Allocation strategies in the Batch User Guide.
When updating a compute environment, changing the allocation strategy requires an infrastructure update of the compute environment. For more information, see Updating compute environments in the Batch User Guide. BEST_FIT
isn't supported when updating a compute environment.
This parameter isn't applicable to jobs that are running on Fargate resources. Don't specify it.
Batch selects additional instance types that are large enough to meet the requirements of the jobs in the queue. Its preference is for instance types with lower cost vCPUs. If additional instances of the previously selected instance types aren't available, Batch selects new instance types.
Batch selects one or more instance types that are large enough to meet the requirements of the jobs in the queue. Its preference is for instance types that are less likely to be interrupted. This allocation strategy is only available for Spot Instance compute resources.
With both BEST_FIT_PROGRESSIVE
and SPOT_CAPACITY_OPTIMIZED
strategies using On-Demand or Spot Instances, and the BEST_FIT
strategy using Spot Instances, Batch might need to exceed maxvCpus
to meet your capacity requirements. In this event, Batch never exceeds maxvCpus
by more than a single instance.
The instances types that can be launched. You can specify instance families to launch any instance type within those families (for example, c5
or p3
), or you can specify specific sizes within a family (such as c5.8xlarge
). You can also choose optimal
to select instance types (from the C4, M4, and R4 instance families) that match the demand of your job queues.
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.
This parameter isn't applicable to jobs that are running on Fargate resources, and shouldn't be specified.
When you create a compute environment, the instance types that you select for the compute environment must share the same architecture. For example, you can't mix x86 and ARM instances in the same compute environment.
Currently, optimal
uses instance types from the C4, M4, and R4 instance families. In Regions that don't have instance types from those instance families, instance types from the C5, M5. and R5 instance families are used.
The instances types that can be launched. You can specify instance families to launch any instance type within those families (for example, c5
or p3
), or you can specify specific sizes within a family (such as c5.8xlarge
). You can also choose optimal
to select instance types (from the C4, M4, and R4 instance families) that match the demand of your job queues.
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.
This parameter isn't applicable to jobs that are running on Fargate resources. Don't specify it.
When you create a compute environment, the instance types that you select for the compute environment must share the same architecture. For example, you can't mix x86 and ARM instances in the same compute environment.
Currently, optimal
uses instance types from the C4, M4, and R4 instance families. In Regions that don't have instance types from those instance families, instance types from the C5, M5, and R5 instance families are used.
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 infrastructure update of the compute environment. For more information, see Updating compute environments in the Batch User Guide.
This parameter isn't applicable to jobs that are running on Fargate resources, and shouldn't be specified.
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 infrastructure update of the compute environment. For more information, see Updating compute environments in the Batch User Guide.
This parameter isn't applicable to jobs that are running on Fargate resources. Don't specify it.
The Amazon ECS instance profile applied to Amazon EC2 instances in a compute environment. You can specify the short name or full Amazon Resource Name (ARN) of an instance profile. For example, ecsInstanceRole
or arn:aws:iam::<aws_account_id>:instance-profile/ecsInstanceRole
. For more information, see Amazon ECS instance role in the Batch User Guide.
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.
This parameter isn't applicable to jobs that are running on Fargate resources, and shouldn't be specified.
The Amazon ECS instance profile applied to Amazon EC2 instances in a compute environment. You can specify the short name or full Amazon Resource Name (ARN) of an instance profile. For example, ecsInstanceRole
or arn:aws:iam::<aws_account_id>:instance-profile/ecsInstanceRole
. For more information, see Amazon ECS instance role in the Batch User Guide.
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.
This parameter isn't applicable to jobs that are running on Fargate resources. Don't specify it.
Key-value pair tags to be applied to EC2 resources that are launched in the compute environment. For Batch, these take the form of \"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 instances in the Amazon EC2 console. These tags aren't seen when using the Batch ListTagsForResource
API operation.
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.
This parameter isn't applicable to jobs that are running on Fargate resources, and shouldn't be specified.
Key-value pair tags to be applied to EC2 resources that are launched in the compute environment. For Batch, these take the form of \"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 instances in the Amazon EC2 console. These tags aren't seen when using the Batch ListTagsForResource
API operation.
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.
This parameter isn't applicable to jobs that are running on Fargate resources. Don't specify it.
The Amazon EC2 placement group to associate with your compute resources. If you intend to submit multi-node parallel jobs to your compute environment, you should consider creating a cluster placement group and associate it with your compute resources. This keeps your multi-node parallel job on a logical grouping of instances within a single Availability Zone with high network flow potential. For more information, see Placement groups in the Amazon EC2 User Guide for Linux Instances.
When updating a compute environment, changing the placement group requires an infrastructure update of the compute environment. For more information, see Updating compute environments in the Batch User Guide.
This parameter isn't applicable to jobs that are running on Fargate resources, and shouldn't be specified.
The Amazon EC2 placement group to associate with your compute resources. If you intend to submit multi-node parallel jobs to your compute environment, you should consider creating a cluster placement group and associate it with your compute resources. This keeps your multi-node parallel job on a logical grouping of instances within a single Availability Zone with high network flow potential. For more information, see Placement groups in the Amazon EC2 User Guide for Linux Instances.
When updating a compute environment, changing the placement group requires an infrastructure update of the compute environment. For more information, see Updating compute environments in the Batch User Guide.
This parameter isn't applicable to jobs that are running on Fargate resources. Don't specify it.
The maximum percentage that a Spot Instance price can be when compared with the On-Demand price for that instance type before instances are launched. For example, if your maximum percentage is 20%, then the Spot price must be less than 20% of the current On-Demand price for that Amazon EC2 instance. You always pay the lowest (market) price and never more than your maximum percentage.
When updating a compute environment, changing the bid percentage requires an infrastructure update of the compute environment. For more information, see Updating compute environments in the Batch User Guide.
This parameter isn't applicable to jobs that are running on Fargate resources, and shouldn't be specified.
The maximum percentage that a Spot Instance price can be when compared with the On-Demand price for that instance type before instances are launched. For example, if your maximum percentage is 20%, the Spot price must be less than 20% of the current On-Demand price for that Amazon EC2 instance. You always pay the lowest (market) price and never more than your maximum percentage.
When updating a compute environment, changing the bid percentage requires an infrastructure update of the compute environment. For more information, see Updating compute environments in the Batch User Guide.
This parameter isn't applicable to jobs that are running on Fargate resources. Don't specify it.
The updated launch template to use for your compute resources. 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. To remove the custom launch template and use the default launch template, set launchTemplateId
or launchTemplateName
member of the launch template specification to an empty string. Removing the launch template from a compute environment will not remove the AMI specified in the launch template. In order to update the AMI specified in a launch template, the updateToLatestImageVersion
parameter must be set to true
.
When updating a compute environment, changing the launch template requires an infrastructure update of the compute environment. For more information, see Updating compute environments in the Batch User Guide.
This parameter isn't applicable to jobs that are running on Fargate resources, and shouldn't be specified.
The updated launch template to use for your compute resources. 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. To remove the custom launch template and use the default launch template, set launchTemplateId
or launchTemplateName
member of the launch template specification to an empty string. Removing the launch template from a compute environment will not remove the AMI specified in the launch template. In order to update the AMI specified in a launch template, the updateToLatestImageVersion
parameter must be set to true
.
When updating a compute environment, changing the launch template requires an infrastructure update of the compute environment. For more information, see Updating compute environments in the Batch User Guide.
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 Ec2Configuration
isn't specified, the default is ECS_AL2
.
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 imageIdOverride
, set this value to an empty string.
One or two values can be provided.
This parameter isn't applicable to jobs that are running on Fargate resources, and shouldn't be specified.
Provides information used to select Amazon Machine Images (AMIs) for EC2 instances in the compute environment. If Ec2Configuration
isn't specified, the default is ECS_AL2
.
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 imageIdOverride
, set this value to an empty string.
One or two values can be provided.
This parameter isn't applicable to jobs that are running on Fargate resources. Don't specify it.
Specifies whether the AMI ID is updated to the latest one that's supported by Batch when the compute environment has an infrastructure update. The default value is false
.
If an AMI ID is specified in the imageId
or imageIdOverride
parameters or by the launch template specified in the launchTemplate
parameter, this parameter is ignored. For more information on updating AMI IDs during an infrastructure update, see Updating the AMI ID in the Batch User Guide.
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.
" + "documentation":"Specifies whether the AMI ID is updated to the latest one that's supported by Batch when the compute environment has an infrastructure update. The default value is false
.
An AMI ID can either be specified in the imageId
or imageIdOverride
parameters or be determined by the launch template that's specified in the launchTemplate
parameter. If an AMI ID is specified any of these ways, this parameter is ignored. For more information about to update AMI IDs during an infrastructure update, see Updating the AMI ID in the Batch User Guide.
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.
" }, "type":{ "shape":"CRType", @@ -783,10 +795,10 @@ }, "imageId":{ "shape":"String", - "documentation":"The Amazon Machine Image (AMI) ID used for instances launched in the compute environment. This parameter is overridden by the imageIdOverride
member of the Ec2Configuration
structure. To remove the custom AMI ID and use the default AMI ID, set this value to an empty string.
When updating a compute environment, changing the AMI ID requires an infrastructure update of the compute environment. For more information, see Updating compute environments in the Batch User Guide.
This parameter isn't applicable to jobs that are running on Fargate resources, and shouldn't be specified.
The AMI that you choose for a compute environment must match the architecture of the instance types that you intend to use for that compute environment. For example, if your compute environment uses A1 instance types, the compute resource AMI that you choose must support ARM instances. Amazon ECS vends both x86 and ARM versions of the Amazon ECS-optimized Amazon Linux 2 AMI. For more information, see Amazon ECS-optimized Amazon Linux 2 AMI in the Amazon Elastic Container Service Developer Guide.
The Amazon Machine Image (AMI) ID used for instances launched in the compute environment. This parameter is overridden by the imageIdOverride
member of the Ec2Configuration
structure. To remove the custom AMI ID and use the default AMI ID, set this value to an empty string.
When updating a compute environment, changing the AMI ID requires an infrastructure update of the compute environment. For more information, see Updating compute environments in the Batch User Guide.
This parameter isn't applicable to jobs that are running on Fargate resources. Don't specify it.
The AMI that you choose for a compute environment must match the architecture of the instance types that you intend to use for that compute environment. For example, if your compute environment uses A1 instance types, the compute resource AMI that you choose must support ARM instances. Amazon ECS vends both x86 and ARM versions of the Amazon ECS-optimized Amazon Linux 2 AMI. For more information, see Amazon ECS-optimized Amazon Linux 2 AMI in the Amazon Elastic Container Service Developer Guide.
An object representing the attributes of a compute environment that can be updated. For more information, see Updating compute environments in the Batch User Guide.
" + "documentation":"An object that represents the attributes of a compute environment that can be updated. For more information, see Updating compute environments in the Batch User Guide.
" }, "ContainerDetail":{ "type":"structure", @@ -809,7 +821,7 @@ }, "jobRoleArn":{ "shape":"String", - "documentation":"The Amazon Resource Name (ARN) associated with the job upon execution.
" + "documentation":"The Amazon Resource Name (ARN) that's associated with the job when run.
" }, "executionRoleArn":{ "shape":"String", @@ -817,11 +829,11 @@ }, "volumes":{ "shape":"Volumes", - "documentation":"A list of volumes associated with the job.
" + "documentation":"A list of volumes that are associated with the job.
" }, "environment":{ "shape":"EnvironmentVariables", - "documentation":"The environment variables to pass to a container.
Environment variables must not start with AWS_BATCH
; this naming convention is reserved for variables that are set by the Batch service.
The environment variables to pass to a container.
Environment variables cannot start with \"AWS_BATCH
\". This naming convention is reserved for variables that Batch sets.
When this parameter is true, the container is given elevated permissions on the host container instance (similar to the root
user). The default value is false.
This parameter isn't applicable to jobs that are running on Fargate resources and shouldn't be provided, or specified as false.
When this parameter is true, the container is given elevated permissions on the host container instance (similar to the root
user). The default value is false
.
This parameter isn't applicable to jobs that are running on Fargate resources and shouldn't be provided, or specified as false
.
A short (255 max characters) human-readable string to provide additional details about a running or stopped container.
" + "documentation":"A short (255 max characters) human-readable string to provide additional details for a running or stopped container.
" }, "containerInstanceArn":{ "shape":"String", @@ -861,7 +873,7 @@ }, "logStreamName":{ "shape":"String", - "documentation":"The name of the CloudWatch Logs log stream 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 Amazon 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 associated with the job.
" + "documentation":"The network interfaces that are associated with the job.
" }, "resourceRequirements":{ "shape":"ResourceRequirements", @@ -881,7 +893,7 @@ }, "logConfiguration":{ "shape":"LogConfiguration", - "documentation":"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 might 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, alternatively, it must be configured on a different log server for remote logging options. For more information on the options for different supported 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). 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 into 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 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 might 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, alternatively, it must be configured on a different log server for remote logging options. For more information on the options for different supported 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). 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: 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 platform configuration for jobs that are running on Fargate resources. Jobs that are running on EC2 resources must not specify this parameter.
" } }, - "documentation":"An object representing the details of a container that's part of a job.
" + "documentation":"An object that represents the details of a container that's part of a job.
" }, "ContainerOverrides":{ "type":"structure", "members":{ "vcpus":{ "shape":"Integer", - "documentation":"This parameter is deprecated, use resourceRequirements
to override the vcpus
parameter that's set in the job definition. It's not supported for jobs running on Fargate resources. For jobs running on EC2 resources, it overrides the vcpus
parameter set in the job definition, but doesn't override any vCPU requirement specified in the resourceRequirements
structure in the job definition. To override vCPU requirements that are specified in the resourceRequirements
structure in the job definition, resourceRequirements
must be specified in the SubmitJob
request, with type
set to VCPU
and value
set to the new value. For more information, see Can't override job definition resource requirements in the Batch User Guide.
This parameter is deprecated, use resourceRequirements
to override the vcpus
parameter that's set in the job definition. It's not supported for jobs running on Fargate resources. For jobs that run on EC2 resources, it overrides the vcpus
parameter set in the job definition, but doesn't override any vCPU requirement specified in the resourceRequirements
structure in the job definition. To override vCPU requirements that are specified in the resourceRequirements
structure in the job definition, resourceRequirements
must be specified in the SubmitJob
request, with type
set to VCPU
and value
set to the new value. For more information, see Can't override job definition resource requirements in the Batch User Guide.
This parameter is deprecated, use resourceRequirements
to override the memory requirements specified in the job definition. It's not supported for jobs running on Fargate resources. For jobs running on EC2 resources, it overrides the memory
parameter set in the job definition, but doesn't override any memory requirement specified in the resourceRequirements
structure in the job definition. To override memory requirements that are specified in the resourceRequirements
structure in the job definition, resourceRequirements
must be specified in the SubmitJob
request, with type
set to MEMORY
and value
set to the new value. For more information, see Can't override job definition resource requirements in the Batch User Guide.
This parameter is deprecated, use resourceRequirements
to override the memory requirements specified in the job definition. It's not supported for jobs running on Fargate resources. For jobs that run on EC2 resources, it overrides the memory
parameter set in the job definition, but doesn't override any memory requirement that's specified in the resourceRequirements
structure in the job definition. To override memory requirements that are specified in the resourceRequirements
structure in the job definition, resourceRequirements
must be specified in the SubmitJob
request, with type
set to MEMORY
and value
set to the new value. For more information, see Can't override job definition resource requirements in the Batch User Guide.
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 must not start with AWS_BATCH
; this naming convention is reserved for variables that are set by the Batch service.
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 image used to start a container. This string is passed directly to the Docker daemon. Images in the Docker Hub registry are available by default. Other repositories are specified with repository-url/image:tag
. 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 docker run.
Docker image architecture must match the processor architecture of the compute resources that they're scheduled on. For example, ARM-based Docker images can only run on ARM-based compute resources.
Images in Amazon ECR Public repositories use the full registry/repository[:tag]
or registry/repository[@digest]
naming conventions. For example, public.ecr.aws/registry_alias/my-web-app:latest
.
Images in Amazon ECR repositories use the full registry and repository URI (for example, 012345678910.dkr.ecr.<region-name>.amazonaws.com/<repository-name>
).
Images in official repositories on Docker Hub use a single name (for example, ubuntu
or mongo
).
Images in other repositories on Docker Hub are qualified with an organization name (for example, amazon/amazon-ecs-agent
).
Images in other online repositories are qualified further by a domain name (for example, quay.io/assemblyline/ubuntu
).
The image used to start a container. This string is passed directly to the Docker daemon. Images in the Docker Hub registry are available by default. Other repositories are specified with repository-url/image:tag
. It can be 255 characters long. It can contain uppercase and lowercase letters, numbers, hyphens (-), underscores (_), colons (:), periods (.), forward slashes (/), and number signs (#). This parameter maps to Image
in the Create a container section of the Docker Remote API and the IMAGE
parameter of docker run.
Docker image architecture must match the processor architecture of the compute resources that they're scheduled on. For example, ARM-based Docker images can only run on ARM-based compute resources.
Images in Amazon ECR Public repositories use the full registry/repository[:tag]
or registry/repository[@digest]
naming conventions. For example, public.ecr.aws/registry_alias/my-web-app:latest
.
Images in Amazon ECR repositories use the full registry and repository URI (for example, 123456789012.dkr.ecr.<region-name>.amazonaws.com/<repository-name>
).
Images in official repositories on Docker Hub use a single name (for example, ubuntu
or mongo
).
Images in other repositories on Docker Hub are qualified with an organization name (for example, amazon/amazon-ecs-agent
).
Images in other online repositories are qualified further by a domain name (for example, quay.io/assemblyline/ubuntu
).
This parameter is deprecated, use resourceRequirements
to specify the memory requirements for the job definition. It's not supported for jobs running on Fargate resources. For jobs running on EC2 resources, it specifies the memory hard limit (in MiB) for a container. If your container attempts to exceed the specified number, it's terminated. You must specify at least 4 MiB of memory for a job using this parameter. The memory hard limit can be specified in several places. It must be specified for each node at least once.
This parameter is deprecated, use resourceRequirements
to specify the memory requirements for the job definition. It's not supported for jobs running on Fargate resources. For jobs that run on EC2 resources, it specifies the memory hard limit (in MiB) for a container. If your container attempts to exceed the specified number, it's terminated. You must specify at least 4 MiB of memory for a job using this parameter. The memory hard limit can be specified in several places. It must be specified for each node at least once.
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.
Environment variables must not start with AWS_BATCH
; this naming convention is reserved for variables that are set by the Batch service.
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.
Environment variables cannot start with \"AWS_BATCH
\". This naming convention is reserved for variables that Batch sets.
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 might 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 on the options for different supported 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 into 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 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 might 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 on the options for different supported 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 Amazon ECS container agent configuration in the Amazon Elastic Container Service Developer Guide.
The platform configuration for jobs that are running on Fargate resources. Jobs that are running on EC2 resources must not specify this parameter.
" } }, - "documentation":"Container properties are used in job definitions to describe the container that's launched as part of a job.
" + "documentation":"Container properties are used for Amazon ECS based job definitions. These properties to describe the container that's launched as part of a job.
" }, "ContainerSummary":{ "type":"structure", @@ -1031,10 +1043,10 @@ }, "reason":{ "shape":"String", - "documentation":"A short (255 max characters) human-readable string to provide additional details about a running or stopped container.
" + "documentation":"A short (255 max characters) human-readable string to provide additional details for a running or stopped container.
" } }, - "documentation":"An object representing summary details of a container within a job.
" + "documentation":"An object that represents summary details of a container within a job.
" }, "CreateComputeEnvironmentRequest":{ "type":"structure", @@ -1045,7 +1057,7 @@ "members":{ "computeEnvironmentName":{ "shape":"String", - "documentation":"The name for your compute environment. It can be up to 128 letters long. It can contain uppercase and lowercase letters, numbers, hyphens (-), and underscores (_).
" + "documentation":"The name for your compute environment. It can be up to 128 characters long. It can contain uppercase and lowercase letters, numbers, hyphens (-), and underscores (_).
" }, "type":{ "shape":"CEType", @@ -1065,11 +1077,15 @@ }, "serviceRole":{ "shape":"String", - "documentation":"The full Amazon Resource Name (ARN) of the IAM role that allows Batch to make calls to other Amazon Web Services services on your behalf. For more information, see Batch service IAM role in the Batch User Guide.
If your account already created the Batch service-linked role, that role is used by default for your compute environment unless you specify a different role here. If the Batch service-linked role doesn't exist in your account, and no role is specified here, the service attempts to create the Batch service-linked role in your account.
If your specified role has a path other than /
, then you must specify either the full role ARN (recommended) or prefix the role name with the path. For example, if a role with the name bar
has a path of /foo/
then you would specify /foo/bar
as the role name. For more information, see Friendly names and paths in the IAM User Guide.
Depending on how you created your Batch service role, its ARN might contain the service-role
path prefix. When you only specify the name of the service role, Batch assumes that your ARN doesn't use the service-role
path prefix. Because of this, we recommend that you specify the full ARN of your service role when you create compute environments.
The full Amazon Resource Name (ARN) of the IAM role that allows Batch to make calls to other Amazon Web Services services on your behalf. For more information, see Batch service IAM role in the Batch User Guide.
If your account already created the Batch service-linked role, that role is used by default for your compute environment unless you specify a different role here. If the Batch service-linked role doesn't exist in your account, and no role is specified here, the service attempts to create the Batch service-linked role in your account.
If your specified role has a path other than /
, then you must specify either the full role ARN (recommended) or prefix the role name with the path. For example, if a role with the name bar
has a path of /foo/
, specify /foo/bar
as the role name. For more information, see Friendly names and paths in the IAM User Guide.
Depending on how you created your Batch service role, its ARN might contain the service-role
path prefix. When you only specify the name of the service role, Batch assumes that your ARN doesn't use the service-role
path prefix. Because of this, we recommend that you specify the full ARN of your service role when you create compute environments.
The tags that you apply to the compute environment to help you categorize and organize your resources. Each tag consists of a key and an optional value. For more information, see Tagging Amazon Web Services Resources in Amazon Web Services General Reference.
These tags can be updated or removed using the TagResource and UntagResource API operations. These tags don't propagate to the underlying compute resources.
" + }, + "eksConfiguration":{ + "shape":"EksConfiguration", + "documentation":"The details for the Amazon EKS cluster that supports the compute environment.
" } }, "documentation":"Contains the parameters for CreateComputeEnvironment
.
The name of the compute environment. It can be up to 128 letters long. It can contain uppercase and lowercase letters, numbers, hyphens (-), and underscores (_).
" + "documentation":"The name of the compute environment. It can be up to 128 characters long. It can contain uppercase and lowercase letters, numbers, hyphens (-), and underscores (_).
" }, "computeEnvironmentArn":{ "shape":"String", @@ -1105,7 +1121,7 @@ }, "schedulingPolicyArn":{ "shape":"String", - "documentation":"The Amazon Resource Name (ARN) of the fair share scheduling policy. If this parameter is specified, the job queue uses a fair share scheduling policy. If this parameter isn't specified, the job queue uses a first in, first out (FIFO) scheduling policy. After a job queue is created, you can replace but can't remove the fair share scheduling policy. The format is aws:Partition:batch:Region:Account:scheduling-policy/Name
. An example is aws:aws:batch:us-west-2:012345678910:scheduling-policy/MySchedulingPolicy
.
The Amazon Resource Name (ARN) of the fair share scheduling policy. If this parameter is specified, the job queue uses a fair share scheduling policy. If this parameter isn't specified, the job queue uses a first in, first out (FIFO) scheduling policy. After a job queue is created, you can replace but can't remove the fair share scheduling policy. The format is aws:Partition:batch:Region:Account:scheduling-policy/Name
. An example is aws:aws:batch:us-west-2:123456789012:scheduling-policy/MySchedulingPolicy
.
The Amazon Resource Name (ARN) of the scheduling policy. The format is aws:Partition:batch:Region:Account:scheduling-policy/Name
. For example, aws:aws:batch:us-west-2:012345678910:scheduling-policy/MySchedulingPolicy
.
The Amazon Resource Name (ARN) of the scheduling policy. The format is aws:Partition:batch:Region:Account:scheduling-policy/Name
. For example, aws:aws:batch:us-west-2:123456789012:scheduling-policy/MySchedulingPolicy
.
The nextToken
value returned from a previous paginated DescribeComputeEnvironments
request where maxResults
was used and the results exceeded the value of that parameter. Pagination continues from the end of the previous results that returned the nextToken
value. This value is null
when there are no more results to return.
This token should be treated as an opaque identifier that's only used to retrieve the next items in a list and not for other programmatic purposes.
The nextToken
value returned from a previous paginated DescribeComputeEnvironments
request where maxResults
was used and the results exceeded the value of that parameter. Pagination continues from the end of the previous results that returned the nextToken
value. This value is null
when there are no more results to return.
Treat this token as an opaque identifier that's only used to retrieve the next items in a list and not for other programmatic purposes.
Contains the parameters for DescribeComputeEnvironments
.
The nextToken
value returned from a previous paginated DescribeJobDefinitions
request where maxResults
was used and the results exceeded the value of that parameter. Pagination continues from the end of the previous results that returned the nextToken
value. This value is null
when there are no more results to return.
This token should be treated as an opaque identifier that's only used to retrieve the next items in a list and not for other programmatic purposes.
The nextToken
value returned from a previous paginated DescribeJobDefinitions
request where maxResults
was used and the results exceeded the value of that parameter. Pagination continues from the end of the previous results that returned the nextToken
value. This value is null
when there are no more results to return.
Treat this token as an opaque identifier that's only used to retrieve the next items in a list and not for other programmatic purposes.
Contains the parameters for DescribeJobDefinitions
.
The nextToken
value returned from a previous paginated DescribeJobQueues
request where maxResults
was used and the results exceeded the value of that parameter. Pagination continues from the end of the previous results that returned the nextToken
value. This value is null
when there are no more results to return.
This token should be treated as an opaque identifier that's only used to retrieve the next items in a list and not for other programmatic purposes.
The nextToken
value returned from a previous paginated DescribeJobQueues
request where maxResults
was used and the results exceeded the value of that parameter. Pagination continues from the end of the previous results that returned the nextToken
value. This value is null
when there are no more results to return.
Treat this token as an opaque identifier that's only used to retrieve the next items in a list and not for other programmatic purposes.
Contains the parameters for DescribeJobQueues
.
The explicit permissions to provide to the container for the device. By default, the container has permissions for read
, write
, and mknod
for the device.
An object representing a container instance host device.
This object isn't applicable to jobs that are running on Fargate resources and shouldn't be provided.
An object that represents a container instance host device.
This object isn't applicable to jobs that are running on Fargate resources and shouldn't be provided.
The Amazon EFS access point ID to use. If an access point is specified, the root directory value specified in the EFSVolumeConfiguration
must either be omitted or set to /
which will enforce the path set on the EFS access point. If an access point is used, transit encryption must be enabled in the EFSVolumeConfiguration
. For more information, see Working with Amazon EFS access points in the Amazon Elastic File System User Guide.
The Amazon EFS access point ID to use. If an access point is specified, the root directory value specified in the EFSVolumeConfiguration
must either be omitted or set to /
which enforces the path set on the EFS access point. If an access point is used, transit encryption must be enabled in the EFSVolumeConfiguration
. For more information, see Working with Amazon EFS access points in the Amazon Elastic File System User Guide.
The image type to match with the instance type to select an AMI. If the imageIdOverride
parameter isn't specified, then a recent Amazon ECS-optimized Amazon Linux 2 AMI (ECS_AL2
) is used. If a new image type is specified in an update, but neither an imageId
nor a imageIdOverride
parameter is specified, then the latest Amazon ECS optimized AMI for that image type that's supported by Batch is used.
Amazon Linux 2− Default for all non-GPU instance families.
Amazon Linux 2 (GPU)−Default for all GPU instance families (for example P4
and G4
) and can be used for all non Amazon Web Services Graviton-based instance types.
Amazon Linux. Amazon Linux is reaching the end-of-life of standard support. For more information, see Amazon Linux AMI.
The image type to match with the instance type to select an AMI. The supported values are different for ECS
and EKS
resources.
If the imageIdOverride
parameter isn't specified, then a recent Amazon ECS-optimized Amazon Linux 2 AMI (ECS_AL2
) is used. If a new image type is specified in an update, but neither an imageId
nor a imageIdOverride
parameter is specified, then the latest Amazon ECS optimized AMI for that image type that's supported by Batch is used.
Amazon Linux 2: Default for all non-GPU instance families.
Amazon Linux 2 (GPU): Default for all GPU instance families (for example P4
and G4
) and can be used for all non Amazon Web Services Graviton-based instance types.
Amazon Linux. Amazon Linux has reached the end-of-life of standard support. For more information, see Amazon Linux AMI.
If the imageIdOverride
parameter isn't specified, then a recent Amazon EKS-optimized Amazon Linux AMI (EKS_AL2
) is used. If a new image type is specified in an update, but neither an imageId
nor a imageIdOverride
parameter is specified, then the latest Amazon EKS optimized AMI for that image type that Batch supports is used.
Amazon Linux 2: Default for all non-GPU instance families.
Amazon Linux 2 (accelerated): Default for all GPU instance families (for example, P4
and G4
) and can be used for all non Amazon Web Services Graviton-based instance types.
The AMI ID used for instances launched in the compute environment that match the image type. This setting overrides the imageId
set in the computeResource
object.
The AMI that you choose for a compute environment must match the architecture of the instance types that you intend to use for that compute environment. For example, if your compute environment uses A1 instance types, the compute resource AMI that you choose must support ARM instances. Amazon ECS vends both x86 and ARM versions of the Amazon ECS-optimized Amazon Linux 2 AMI. For more information, see Amazon ECS-optimized Amazon Linux 2 AMI in the Amazon Elastic Container Service Developer Guide.
The Kubernetes version for the compute environment. If you don't specify a value, the latest version that Batch supports is used.
" } }, "documentation":"Provides information used to select Amazon Machine Images (AMIs) for instances in the compute environment. If Ec2Configuration
isn't specified, the default is ECS_AL2
(Amazon Linux 2).
This object isn't applicable to jobs that are running on Fargate resources.
The exit code for the job attempt. A non-zero exit code is considered failed.
" + }, + "reason":{ + "shape":"String", + "documentation":"A short (255 max characters) human-readable string to provide additional details for a running or stopped container.
" + } + }, + "documentation":"An object that represents the details for an attempt for a job attempt that an Amazon EKS container runs.
" + }, + "EksAttemptContainerDetails":{ + "type":"list", + "member":{"shape":"EksAttemptContainerDetail"} + }, + "EksAttemptDetail":{ + "type":"structure", + "members":{ + "containers":{ + "shape":"EksAttemptContainerDetails", + "documentation":"The details for the final status of the containers for this job attempt.
" + }, + "podName":{ + "shape":"String", + "documentation":"The name of the pod for this job attempt.
" + }, + "nodeName":{ + "shape":"String", + "documentation":"The name of the node for this job attempt.
" + }, + "startedAt":{ + "shape":"Long", + "documentation":"The Unix timestamp (in milliseconds) for when the attempt was started (when the attempt transitioned from the STARTING
state to the RUNNING
state).
The Unix timestamp (in milliseconds) for when the attempt was stopped. This happens when the attempt transitioned from the RUNNING
state to a terminal state, such as SUCCEEDED
or FAILED
.
A short, human-readable string to provide additional details for the current status of the job attempt.
" + } + }, + "documentation":"An object that represents the details of a job attempt for a job attempt by an Amazon EKS container.
" + }, + "EksAttemptDetails":{ + "type":"list", + "member":{"shape":"EksAttemptDetail"} + }, + "EksConfiguration":{ + "type":"structure", + "required":[ + "eksClusterArn", + "kubernetesNamespace" + ], + "members":{ + "eksClusterArn":{ + "shape":"String", + "documentation":"The Amazon Resource Name (ARN) of the Amazon EKS cluster. An example is arn:aws:eks:us-east-1:123456789012:cluster/ClusterForBatch
.
The namespace of the Amazon EKS cluster. Batch manages pods in this namespace. The value can't left empty or null. It must be fewer than 64 characters long, can't be set to default
, can't start with \"kube-
,\" and must match this regular expression: ^[a-z0-9]([-a-z0-9]*[a-z0-9])?$
. For more information, see Namespaces in the Kubernetes documentation.
Configuration for the Amazon EKS cluster that supports the Batch compute environment. The cluster must exist before the compute environment can be created.
" + }, + "EksContainer":{ + "type":"structure", + "required":["image"], + "members":{ + "name":{ + "shape":"String", + "documentation":"The name of the container. If the name isn't specified, the default name \"Default
\" is used. Each container in a pod must have a unique name.
The Docker image used to start the container.
" + }, + "imagePullPolicy":{ + "shape":"String", + "documentation":"The image pull policy for the container. Supported values are Always
, IfNotPresent
, and Never
. This parameter defaults to IfNotPresent
. However, if the :latest
tag is specified, it defaults to Always
. For more information, see Updating images in the Kubernetes documentation.
The entrypoint for the container. This isn't run within a shell. If this isn't specified, the ENTRYPOINT
of the container image is used. Environment variable references are expanded using the container's environment.
If the referenced environment variable doesn't exist, the reference in the command isn't changed. For example, if the reference is to \"$(NAME1)
\" and the NAME1
environment variable doesn't exist, the command string will remain \"$(NAME1)
.\" $$
is replaced with $
and the resulting string isn't expanded. For example, $$(VAR_NAME)
will be passed as $(VAR_NAME)
whether or not the VAR_NAME
environment variable exists. The entrypoint can't be updated. For more information, see ENTRYPOINT in the Dockerfile reference and Define a command and arguments for a container and Entrypoint in the Kubernetes documentation.
An array of arguments to the entrypoint. If this isn't specified, the CMD
of the container image is used. This corresponds to the args
member in the Entrypoint portion of the Pod in Kubernetes. Environment variable references are expanded using the container's environment.
If the referenced environment variable doesn't exist, the reference in the command isn't changed. For example, if the reference is to \"$(NAME1)
\" and the NAME1
environment variable doesn't exist, the command string will remain \"$(NAME1)
.\" $$
is replaced with $
, and the resulting string isn't 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 Define a command and arguments for a pod in the Kubernetes documentation.
The environment variables to pass to a container.
Environment variables cannot start with \"AWS_BATCH
\". This naming convention is reserved for variables that Batch sets.
The type and amount of resources to assign to a container. The supported resources include memory
, cpu
, and nvidia.com/gpu
. For more information, see Resource management for pods and containers in the Kubernetes documentation.
The volume mounts for the container. Batch supports emptyDir
, hostPath
, and secret
volume types. For more information about volumes and volume mounts in Kubernetes, see Volumes in the Kubernetes documentation.
The security context for a job. For more information, see Configure a security context for a pod or container in the Kubernetes documentation.
" + } + }, + "documentation":"EKS container properties are used in job definitions for Amazon EKS based job definitions to describe the properties for a container node in the pod that's launched as part of a job. This can't be specified for Amazon ECS based job definitions.
" + }, + "EksContainerDetail":{ + "type":"structure", + "members":{ + "name":{ + "shape":"String", + "documentation":"The name of the container. If the name isn't specified, the default name \"Default
\" is used. Each container in a pod must have a unique name.
The Docker image used to start the container.
" + }, + "imagePullPolicy":{ + "shape":"String", + "documentation":"The image pull policy for the container. Supported values are Always
, IfNotPresent
, and Never
. This parameter defaults to Always
if the :latest
tag is specified, IfNotPresent
otherwise. For more information, see Updating images in the Kubernetes documentation.
The entrypoint for the container. For more information, see Entrypoint in the Kubernetes documentation.
" + }, + "args":{ + "shape":"StringList", + "documentation":"An array of arguments to the entrypoint. If this isn't specified, the CMD
of the container image is used. This corresponds to the args
member in the Entrypoint portion of the Pod in Kubernetes. Environment variable references are expanded using the container's environment.
If the referenced environment variable doesn't exist, the reference in the command isn't changed. For example, if the reference is to \"$(NAME1)
\" and the NAME1
environment variable doesn't exist, the command string will remain \"$(NAME1)
\". $$
is replaced with $
and the resulting string isn't 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 Define a command and arguments for a pod in the Kubernetes documentation.
The environment variables to pass to a container.
Environment variables cannot start with \"AWS_BATCH
\". This naming convention is reserved for variables that Batch sets.
The type and amount of resources to assign to a container. The supported resources include memory
, cpu
, and nvidia.com/gpu
. For more information, see Resource management for pods and containers in the Kubernetes documentation.
The exit code for the job attempt. A non-zero exit code is considered failed.
" + }, + "reason":{ + "shape":"String", + "documentation":"A short human-readable string to provide additional details for a running or stopped container. It can be up to 255 characters long.
" + }, + "volumeMounts":{ + "shape":"EksContainerVolumeMounts", + "documentation":"The volume mounts for the container. Batch supports emptyDir
, hostPath
, and secret
volume types. For more information about volumes and volume mounts in Kubernetes, see Volumes in the Kubernetes documentation.
The security context for a job. For more information, see Configure a security context for a pod or container in the Kubernetes documentation.
" + } + }, + "documentation":"The details for container properties that are returned by DescribeJobs
for jobs that use Amazon EKS.
The name of the environment variable.
" + }, + "value":{ + "shape":"String", + "documentation":"The value of the environment variable.
" + } + }, + "documentation":"An environment variable.
" + }, + "EksContainerEnvironmentVariables":{ + "type":"list", + "member":{"shape":"EksContainerEnvironmentVariable"} + }, + "EksContainerOverride":{ + "type":"structure", + "members":{ + "image":{ + "shape":"String", + "documentation":"The override of the Docker image that's used to start the container.
" + }, + "command":{ + "shape":"StringList", + "documentation":"The command to send to the container that overrides the default command from the Docker image or the job definition.
" + }, + "args":{ + "shape":"StringList", + "documentation":"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 Define a command an arguments for a pod in the Kubernetes documentation.
" + }, + "env":{ + "shape":"EksContainerEnvironmentVariables", + "documentation":"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 type and amount of resources to assign to a container. These override the settings in the job definition. The supported resources include memory
, cpu
, and nvidia.com/gpu
. For more information, see Resource management for pods and containers in the Kubernetes documentation.
Object representing any Kubernetes overrides to a job definition that's used in a SubmitJob API operation.
" + }, + "EksContainerOverrideList":{ + "type":"list", + "member":{"shape":"EksContainerOverride"} + }, + "EksContainerResourceRequirements":{ + "type":"structure", + "members":{ + "limits":{ + "shape":"EksLimits", + "documentation":"The type and quantity of the resources to reserve for the container. The values vary based on the name
that's specified. Resources can be requested using either the limits
or the requests
objects.
The memory hard limit (in MiB) for the container, using whole integers, with a \"Mi\" suffix. If your container attempts to exceed the memory specified, the container is terminated. You must specify at least 4 MiB of memory for a job. memory
can be specified in limits
, requests
, or both. If memory
is specified in both places, then the value that's specified in limits
must be equal to the value that's specified in requests
.
To maximize your resource utilization, provide your jobs with as much memory as possible for the specific instance type that you are using. To learn how, see Memory management in the Batch User Guide.
The number of CPUs that's reserved for the container. Values must be an even multiple of 0.25
. cpu
can be specified in limits
, requests
, or both. If cpu
is specified in both places, then the value that's specified in limits
must be at least as large as the value that's specified in requests
.
The number of GPUs that's reserved for the container. Values must be a whole integer. memory
can be specified in limits
, requests
, or both. If memory
is specified in both places, then the value that's specified in limits
must be equal to the value that's specified in requests
.
The type and quantity of the resources to request for the container. The values vary based on the name
that's specified. Resources can be requested by using either the limits
or the requests
objects.
The memory hard limit (in MiB) for the container, using whole integers, with a \"Mi\" suffix. If your container attempts to exceed the memory specified, the container is terminated. You must specify at least 4 MiB of memory for a job. memory
can be specified in limits
, requests
, or both. If memory
is specified in both, then the value that's specified in limits
must be equal to the value that's specified in requests
.
If you're trying to maximize your resource utilization by providing your jobs as much memory as possible for a particular instance type, see Memory management in the Batch User Guide.
The number of CPUs that are reserved for the container. Values must be an even multiple of 0.25
. cpu
can be specified in limits
, requests
, or both. If cpu
is specified in both, then the value that's specified in limits
must be at least as large as the value that's specified in requests
.
The number of GPUs that are reserved for the container. Values must be a whole integer. nvidia.com/gpu
can be specified in limits
, requests
, or both. If nvidia.com/gpu
is specified in both, then the value that's specified in limits
must be equal to the value that's specified in requests
.
The type and amount of resources to assign to a container. The supported resources include memory
, cpu
, and nvidia.com/gpu
. For more information, see Resource management for pods and containers in the Kubernetes documentation.
When this parameter is specified, the container is run as the specified user ID (uid
). If this parameter isn't specified, the default is the user that's specified in the image metadata. This parameter maps to RunAsUser
and MustRanAs
policy in the Users and groups pod security policies in the Kubernetes documentation.
When this parameter is specified, the container is run as the specified group ID (gid
). If this parameter isn't specified, the default is the group that's specified in the image metadata. This parameter maps to RunAsGroup
and MustRunAs
policy in the Users and groups pod security policies in the Kubernetes documentation.
When this parameter is true
, the container is given elevated permissions on the host container instance. The level of permissions are similar to the root
user permissions. The default value is false
. This parameter maps to privileged
policy in the Privileged pod security policies in the Kubernetes documentation.
When this parameter is true
, the container is given read-only access to its root file system. The default value is false
. This parameter maps to ReadOnlyRootFilesystem
policy in the Volumes and file systems pod security policies in the Kubernetes documentation.
When this parameter is specified, the container is run as a user with a uid
other than 0. If this parameter isn't specified, so such rule is enforced. This parameter maps to RunAsUser
and MustRunAsNonRoot
policy in the Users and groups pod security policies in the Kubernetes documentation.
The security context for a job. For more information, see Configure a security context for a pod or container in the Kubernetes documentation.
" + }, + "EksContainerVolumeMount":{ + "type":"structure", + "members":{ + "name":{ + "shape":"String", + "documentation":"The name the volume mount. This must match the name of one of the volumes in the pod.
" + }, + "mountPath":{ + "shape":"String", + "documentation":"The path on the container where the volume is mounted.
" + }, + "readOnly":{ + "shape":"Boolean", + "documentation":"If this value is true
, the container has read-only access to the volume. Otherwise, the container can write to the volume. The default value is false
.
The volume mounts for a container for an Amazon EKS job. For more information about volumes and volume mounts in Kubernetes, see Volumes in the Kubernetes documentation.
" + }, + "EksContainerVolumeMounts":{ + "type":"list", + "member":{"shape":"EksContainerVolumeMount"} + }, + "EksContainers":{ + "type":"list", + "member":{"shape":"EksContainer"} + }, + "EksEmptyDir":{ + "type":"structure", + "members":{ + "medium":{ + "shape":"String", + "documentation":"The medium to store the volume. The default value is an empty string, which uses the storage of the node.
(Default) Use the disk storage of the node.
Use the tmpfs
volume that's backed by the RAM of the node. Contents of the volume are lost when the node reboots, and any storage on the volume counts against the container's memory limit.
The maximum size of the volume. By default, there's no maximum size defined.
" + } + }, + "documentation":"Specifies the configuration of a Kubernetes emptyDir
volume. An emptyDir
volume is first created when a pod is assigned to a node. It exists as long as that pod is running on that node. The emptyDir
volume is initially empty. All containers in the pod can read and write the files in the emptyDir
volume. However, the emptyDir
volume can be mounted at the same or different paths in each container. When a pod is removed from a node for any reason, the data in the emptyDir
is deleted permanently. For more information, see emptyDir in the Kubernetes documentation.
The path of the file or directory on the host to mount into containers on the pod.
" + } + }, + "documentation":"Specifies the configuration of a Kubernetes hostPath
volume. A hostPath
volume mounts an existing file or directory from the host node's filesystem into your pod. For more information, see hostPath in the Kubernetes documentation.
The name of the service account that's used to run the pod. For more information, see Kubernetes service accounts and Configure a Kubernetes service account to assume an IAM role in the Amazon EKS User Guide and Configure service accounts for pods in the Kubernetes documentation.
" + }, + "hostNetwork":{ + "shape":"Boolean", + "documentation":"Indicates if the pod uses the hosts' network IP address. The default value is true
. Setting this to false
enables the Kubernetes pod networking model. Most Batch workloads are egress-only and don't require the overhead of IP allocation for each pod for incoming connections. For more information, see Host namespaces and Pod networking in the Kubernetes documentation.
The DNS policy for the pod. The default value is ClusterFirst
. If the hostNetwork
parameter is not specified, the default is ClusterFirstWithHostNet
. ClusterFirst
indicates that any DNS query that does not match the configured cluster domain suffix is forwarded to the upstream nameserver inherited from the node. For more information, see Pod's DNS policy in the Kubernetes documentation.
Valid values: Default
| ClusterFirst
| ClusterFirstWithHostNet
| None
The properties of the container that's used on the Amazon EKS pod.
" + }, + "volumes":{ + "shape":"EksVolumes", + "documentation":"Specifies the volumes for a job definition that uses Amazon EKS resources.
" + } + }, + "documentation":"The properties for the pod.
" + }, + "EksPodPropertiesDetail":{ + "type":"structure", + "members":{ + "serviceAccountName":{ + "shape":"String", + "documentation":"The name of the service account that's used to run the pod. For more information, see Kubernetes service accounts and Configure a Kubernetes service account to assume an IAM role in the Amazon EKS User Guide and Configure service accounts for pods in the Kubernetes documentation.
" + }, + "hostNetwork":{ + "shape":"Boolean", + "documentation":"Indicates if the pod uses the hosts' network IP address. The default value is true
. Setting this to false
enables the Kubernetes pod networking model. Most Batch workloads are egress-only and don't require the overhead of IP allocation for each pod for incoming connections. For more information, see Host namespaces and Pod networking in the Kubernetes documentation.
The DNS policy for the pod. The default value is ClusterFirst
. If the hostNetwork
parameter is not specified, the default is ClusterFirstWithHostNet
. ClusterFirst
indicates that any DNS query that does not match the configured cluster domain suffix is forwarded to the upstream nameserver inherited from the node. For more information, see Pod's DNS policy in the Kubernetes documentation.
Valid values: Default
| ClusterFirst
| ClusterFirstWithHostNet
| None
The properties of the container that's used on the Amazon EKS pod.
" + }, + "volumes":{ + "shape":"EksVolumes", + "documentation":"Specifies the volumes for a job definition using Amazon EKS resources.
" + }, + "podName":{ + "shape":"String", + "documentation":"The name of the pod for this job.
" + }, + "nodeName":{ + "shape":"String", + "documentation":"The name of the node for this job.
" + } + }, + "documentation":"The details for the pod.
" + }, + "EksPodPropertiesOverride":{ + "type":"structure", + "members":{ + "containers":{ + "shape":"EksContainerOverrideList", + "documentation":"The overrides for the container that's used on the Amazon EKS pod.
" + } + }, + "documentation":"An object that contains overrides for the Kubernetes pod properties of a job.
" + }, + "EksProperties":{ + "type":"structure", + "members":{ + "podProperties":{ + "shape":"EksPodProperties", + "documentation":"The properties for the Kubernetes pod resources of a job.
" + } + }, + "documentation":"An object that contains the properties for the Kubernetes resources of a job.
" + }, + "EksPropertiesDetail":{ + "type":"structure", + "members":{ + "podProperties":{ + "shape":"EksPodPropertiesDetail", + "documentation":"The properties for the Kubernetes pod resources of a job.
" + } + }, + "documentation":"An object that contains the details for the Kubernetes resources of a job.
" + }, + "EksPropertiesOverride":{ + "type":"structure", + "members":{ + "podProperties":{ + "shape":"EksPodPropertiesOverride", + "documentation":"The overrides for the Kubernetes pod resources of a job.
" + } + }, + "documentation":"An object that contains overrides for the Kubernetes resources of a job.
" + }, + "EksRequests":{ + "type":"map", + "key":{"shape":"String"}, + "value":{"shape":"Quantity"} + }, + "EksSecret":{ + "type":"structure", + "required":["secretName"], + "members":{ + "secretName":{ + "shape":"String", + "documentation":"The name of the secret. The name must be allowed as a DNS subdomain name. For more information, see DNS subdomain names in the Kubernetes documentation.
" + }, + "optional":{ + "shape":"Boolean", + "documentation":"Specifies whether the secret or the secret's keys must be defined.
" + } + }, + "documentation":"Specifies the configuration of a Kubernetes secret
volume. For more information, see secret in the Kubernetes documentation.
The name of the volume. The name must be allowed as a DNS subdomain name. For more information, see DNS subdomain names in the Kubernetes documentation.
" + }, + "hostPath":{ + "shape":"EksHostPath", + "documentation":"Specifies the configuration of a Kubernetes hostPath
volume. For more information, see hostPath in the Kubernetes documentation.
Specifies the configuration of a Kubernetes emptyDir
volume. For more information, see emptyDir in the Kubernetes documentation.
Specifies the configuration of a Kubernetes secret
volume. For more information, see secret in the Kubernetes documentation.
Specifies an Amazon EKS volume for a job definition.
" + }, + "EksVolumes":{ + "type":"list", + "member":{"shape":"EksVolume"} + }, "EnvironmentVariables":{ "type":"list", "member":{"shape":"KeyValuePair"} @@ -1498,22 +1976,22 @@ "members":{ "onStatusReason":{ "shape":"String", - "documentation":"Contains a glob pattern to match against the StatusReason
returned for a job. The pattern can be up to 512 characters in length. It can contain letters, numbers, periods (.), colons (:), and white space (including spaces or tabs). It can optionally end with an asterisk (*) so that only the start of the string needs to be an exact match.
The string can be between 1 and 512 characters in length.
" + "documentation":"Contains a glob pattern to match against the StatusReason
returned for a job. The pattern can contain up to 512 characters. It can contain letters, numbers, periods (.), colons (:), and white spaces (including spaces or tabs). It can optionally end with an asterisk (*) so that only the start of the string needs to be an exact match.
Contains a glob pattern to match against the Reason
returned for a job. The pattern can be up to 512 characters in length. It can contain letters, numbers, periods (.), colons (:), and white space (including spaces and tabs). It can optionally end with an asterisk (*) so that only the start of the string needs to be an exact match.
The string can be between 1 and 512 characters in length.
" + "documentation":"Contains a glob pattern to match against the Reason
returned for a job. The pattern can contain up to 512 characters. It can contain letters, numbers, periods (.), colons (:), and white space (including spaces and tabs). It can optionally end with an asterisk (*) so that only the start of the string needs to be an exact match.
Contains a glob pattern to match against the decimal representation of the ExitCode
returned for a job. The pattern can be up to 512 characters in length. It can contain only numbers, and can optionally end with an asterisk (*) so that only the start of the string needs to be an exact match.
The string can be between 1 and 512 characters in length.
" + "documentation":"Contains a glob pattern to match against the decimal representation of the ExitCode
returned for a job. The pattern can be up to 512 characters long. It can contain only numbers, and can end with an asterisk (*) so that only the start of the string needs to be an exact match.
The string can contain up to 512 characters.
" }, "action":{ "shape":"RetryAction", "documentation":"Specifies the action to take if all of the specified conditions (onStatusReason
, onReason
, and onExitCode
) are met. The values aren't case sensitive.
Specifies a set of conditions to be met, and an action to take (RETRY
or EXIT
) if all conditions are met.
Specifies an array of up to 5 conditions to be met, and an action to take (RETRY
or EXIT
) if all conditions are met. If none of the EvaluateOnExit
conditions in a RetryStrategy
match, then the job is retried.
The time period to use to calculate a fair share percentage for each fair share identifier in use, in seconds. A value of zero (0) indicates that only current usage should be measured. The decay allows for more recently run jobs to have more weight than jobs that ran earlier. The maximum supported value is 604800 (1 week).
" + "documentation":"The amount of time (in seconds) to use to calculate a fair share percentage for each fair share identifier in use. A value of zero (0) indicates that only current usage is measured. The decay allows for more recently run jobs to have more weight than jobs that ran earlier. The maximum supported value is 604800 (1 week).
" }, "computeReservation":{ "shape":"Integer", - "documentation":"A value used to reserve some of the available maximum vCPU for fair share identifiers that have not yet been used.
The reserved ratio is (computeReservation/100)^ActiveFairShares
where ActiveFairShares
is the number of active fair share identifiers.
For example, a computeReservation
value of 50 indicates that Batch should reserve 50% of the maximum available vCPU if there is only one fair share identifier, 25% if there are two fair share identifiers, and 12.5% if there are three fair share identifiers. A computeReservation
value of 25 indicates that Batch should reserve 25% of the maximum available vCPU if there is only one fair share identifier, 6.25% if there are two fair share identifiers, and 1.56% if there are three fair share identifiers.
The minimum value is 0 and the maximum value is 99.
" + "documentation":"A value used to reserve some of the available maximum vCPU for fair share identifiers that aren't already used.
The reserved ratio is (computeReservation/100)^ActiveFairShares
where ActiveFairShares
is the number of active fair share identifiers.
For example, a computeReservation
value of 50 indicates that Batchreserves 50% of the maximum available vCPU if there's only one fair share identifier. It reserves 25% if there are two fair share identifiers. It reserves 12.5% if there are three fair share identifiers. A computeReservation
value of 25 indicates that Batch should reserve 25% of the maximum available vCPU if there's only one fair share identifier, 6.25% if there are two fair share identifiers, and 1.56% if there are three fair share identifiers.
The minimum value is 0 and the maximum value is 99.
" }, "shareDistribution":{ "shape":"ShareAttributesList", @@ -1553,10 +2031,10 @@ "members":{ "sourcePath":{ "shape":"String", - "documentation":"The path on the host container instance that's presented to the container. If this parameter is empty, then the Docker daemon has assigned a host path for you. If this parameter contains a file location, then the data volume persists at the specified location on the host container instance until you delete it manually. If the source path location doesn't exist on the host container instance, the Docker daemon creates it. If the location does exist, the contents of the source path folder are exported.
This parameter isn't applicable to jobs that run on Fargate resources and shouldn't be provided.
The path on the host container instance that's presented to the container. If this parameter is empty, then the Docker daemon has assigned a host path for you. If this parameter contains a file location, then the data volume persists at the specified location on the host container instance until you delete it manually. If the source path location doesn't exist on the host container instance, the Docker daemon creates it. If the location does exist, the contents of the source path folder are exported.
This parameter isn't applicable to jobs that run on Fargate resources. Don't provide this for these jobs.
Determine whether your data volume persists on the host container instance and where it is stored. If this parameter is empty, then the Docker daemon assigns a host path for your data volume, but the data isn't guaranteed to persist after the containers associated with it stop running.
" + "documentation":"Determine whether your data volume persists on the host container instance and where it's stored. If this parameter is empty, then the Docker daemon assigns a host path for your data volume. However, the data isn't guaranteed to persist after the containers that are associated with it stop running.
" }, "ImageIdOverride":{ "type":"string", @@ -1614,7 +2092,7 @@ }, "type":{ "shape":"String", - "documentation":"The type of job definition, either container
or multinode
. If the job is run on Fargate resources, then multinode
isn't supported. For more information about multi-node parallel jobs, see Creating a multi-node parallel job definition in the Batch User Guide.
The type of job definition. It's either container
or multinode
. If the job is run on Fargate resources, then multinode
isn't supported. For more information about multi-node parallel jobs, see Creating a multi-node parallel job definition in the Batch User Guide.
An object with various properties specific to container-based jobs.
" + "documentation":"An object with various properties specific to Amazon ECS based jobs. Valid values are containerProperties
, eksProperties
, and nodeProperties
. Only one can be specified.
The timeout configuration for jobs that are submitted with this job definition. You can specify a timeout duration after which Batch terminates your jobs if they haven't finished.
" + "documentation":"The timeout time for jobs that are submitted with this job definition. After the amount of time you specify passes, Batch terminates your jobs if they aren't finished.
" }, "nodeProperties":{ "shape":"NodeProperties", - "documentation":"An object with various properties specific to multi-node parallel jobs.
If the job runs on Fargate resources, then you must not 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.
The tags applied to the job definition.
" + "documentation":"The tags that are applied to the job definition.
" }, "propagateTags":{ "shape":"Boolean", - "documentation":"Specifies whether to propagate the tags from the job or job definition to the corresponding Amazon ECS task. If no value is specified, the tags aren't propagated. Tags can only be propagated to the tasks during task creation. For tags with the same name, job tags are given priority over job definitions tags. If the total number of combined tags from the job and job definition is over 50, the job is moved to the FAILED
state.
Specifies whether to propagate the tags from the job or job definition to the corresponding Amazon ECS task. If no value is specified, the tags aren't propagated. Tags can only be propagated to the tasks when the tasks are created. For tags with the same name, job tags are given priority over job definitions tags. If the total number of combined tags from the job and job definition is over 50, the job is moved to the FAILED
state.
The platform capabilities required by the job definition. If no value is specified, it defaults to EC2
. Jobs run on Fargate resources specify FARGATE
.
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.
The orchestration type of the compute environment. The valid values are ECS
(default) or EKS
.
An object representing an Batch job definition.
" + "documentation":"An object that represents an Batch job definition.
" }, "JobDefinitionList":{ "type":"list", @@ -1671,14 +2157,14 @@ "members":{ "jobId":{ "shape":"String", - "documentation":"The job ID of the Batch job associated with this dependency.
" + "documentation":"The job ID of the Batch job that's associated with this dependency.
" }, "type":{ "shape":"ArrayJobDependency", "documentation":"The type of the job dependency.
" } }, - "documentation":"An object representing an Batch job dependency.
" + "documentation":"An object that represents an Batch job dependency.
" }, "JobDependencyList":{ "type":"list", @@ -1701,11 +2187,11 @@ }, "jobName":{ "shape":"String", - "documentation":"The name of the job.
" + "documentation":"The job name.
" }, "jobId":{ "shape":"String", - "documentation":"The ID for the job.
" + "documentation":"The job ID.
" }, "jobQueue":{ "shape":"String", @@ -1725,15 +2211,15 @@ }, "attempts":{ "shape":"AttemptDetails", - "documentation":"A list of job attempts associated with this job.
" + "documentation":"A list of job attempts that are associated with this job.
" }, "statusReason":{ "shape":"String", - "documentation":"A short, human-readable string to provide additional details about the current status of the job.
" + "documentation":"A short, human-readable string to provide more details for the current status of the job.
" }, "createdAt":{ "shape":"Long", - "documentation":"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.
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 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 started (when the job transitioned from the STARTING
state to the RUNNING
state). This parameter isn't provided for child jobs of array jobs or multi-node parallel jobs.
The Unix timestamp (in milliseconds) for when the job was started. More specifically, it's when the job transitioned from the STARTING
state to the RUNNING
state. This parameter isn't provided for child jobs of array jobs or multi-node parallel jobs.
The Unix timestamp (in milliseconds) for when the job was stopped (when the job transitioned from the RUNNING
state to a terminal state, such as SUCCEEDED
or FAILED
).
The Unix timestamp (in milliseconds) for when the job was stopped. More specifically, it's when the job transitioned from the RUNNING
state to a terminal state, such as SUCCEEDED
or FAILED
.
The Amazon Resource Name (ARN) of the job definition that's used by this job.
" + "documentation":"The Amazon Resource Name (ARN) of the job definition that this job uses.
" }, "parameters":{ "shape":"ParametersMap", - "documentation":"Additional parameters passed to the job that replace parameter substitution placeholders or override any corresponding parameter defaults from the job definition.
" + "documentation":"Additional parameters that are passed to the job that replace parameter substitution placeholders or override any corresponding parameter defaults from the job definition.
" }, "container":{ "shape":"ContainerDetail", - "documentation":"An object representing the details of the container that's associated with the job.
" + "documentation":"An object that represents the details for the container that's associated with the job.
" }, "nodeDetails":{ "shape":"NodeDetails", - "documentation":"An object representing the details of a node that's associated with a multi-node parallel job.
" + "documentation":"An object that represents the details of a node that's associated with a multi-node parallel job.
" }, "nodeProperties":{ "shape":"NodeProperties", - "documentation":"An object representing the node properties of a multi-node parallel job.
This isn't applicable to jobs that are running on Fargate resources.
An object that represents the node properties of a multi-node parallel job.
This isn't applicable to jobs that are running on Fargate resources.
The array properties of the job, if it is an array job.
" + "documentation":"The array properties of the job, if it's an array job.
" }, "timeout":{ "shape":"JobTimeout", @@ -1781,18 +2267,26 @@ }, "tags":{ "shape":"TagrisTagsMap", - "documentation":"The tags applied to the job.
" + "documentation":"The tags that are applied to the job.
" }, "propagateTags":{ "shape":"Boolean", - "documentation":"Specifies whether to propagate the tags from the job or job definition to the corresponding Amazon ECS task. If no value is specified, the tags aren't propagated. Tags can only be propagated to the tasks during task creation. For tags with the same name, job tags are given priority over job definitions tags. If the total number of combined tags from the job and job definition is over 50, the job is moved to the FAILED
state.
Specifies whether to propagate the tags from the job or job definition to the corresponding Amazon ECS task. If no value is specified, the tags aren't propagated. Tags can only be propagated to the tasks when the tasks are created. For tags with the same name, job tags are given priority over job definitions tags. If the total number of combined tags from the job and job definition is over 50, the job is moved to the FAILED
state.
The platform capabilities required by the job definition. If no value is specified, it defaults to EC2
. Jobs run on Fargate resources specify FARGATE
.
An object with various properties that are specific to Amazon EKS based jobs. Only one of container
, eksProperties
, or nodeDetails
is specified.
A list of job attempts that are associated with this job.
" } }, - "documentation":"An object representing an Batch job.
" + "documentation":"An object that represents an Batch job.
" }, "JobDetailList":{ "type":"list", @@ -1815,7 +2309,7 @@ "members":{ "jobQueueName":{ "shape":"String", - "documentation":"The name of the job queue.
" + "documentation":"The job queue name.
" }, "jobQueueArn":{ "shape":"String", @@ -1823,11 +2317,11 @@ }, "state":{ "shape":"JQState", - "documentation":"Describes the ability of the queue to accept new jobs. If the job queue state is ENABLED
, it's able to accept jobs. If the job queue state is DISABLED
, new jobs can't be added to the queue, but jobs already in the queue can finish.
Describes the ability of the queue to accept new jobs. If the job queue state is ENABLED
, it can accept jobs. If the job queue state is DISABLED
, new jobs can't be added to the queue, but jobs already in the queue can finish.
The Amazon Resource Name (ARN) of the scheduling policy. The format is aws:Partition:batch:Region:Account:scheduling-policy/Name
. For example, aws:aws:batch:us-west-2:012345678910:scheduling-policy/MySchedulingPolicy
.
The Amazon Resource Name (ARN) of the scheduling policy. The format is aws:Partition:batch:Region:Account:scheduling-policy/Name
. For example, aws:aws:batch:us-west-2:123456789012:scheduling-policy/MySchedulingPolicy
.
A short, human-readable string to provide additional details about the current status of the job queue.
" + "documentation":"A short, human-readable string to provide additional details for the current status of the job queue.
" }, "priority":{ "shape":"Integer", - "documentation":"The priority of the job queue. Job queues with a higher priority (or a higher integer value for the priority
parameter) are evaluated first when 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 mixed.
The priority of the job queue. Job queues with a higher priority (or a higher integer value for the priority
parameter) are evaluated first when 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 mixed.
The tags applied to the job queue. For more information, see Tagging your Batch resources in Batch User Guide.
" + "documentation":"The tags that are applied to the job queue. For more information, see Tagging your Batch resources in Batch User Guide.
" } }, - "documentation":"An object representing the details of an Batch job queue.
" + "documentation":"An object that represents the details for an Batch job queue.
" }, "JobQueueDetailList":{ "type":"list", @@ -1881,11 +2375,11 @@ }, "jobId":{ "shape":"String", - "documentation":"The ID of the job.
" + "documentation":"The job ID.
" }, "jobName":{ "shape":"String", - "documentation":"The name of the job.
" + "documentation":"The job name.
" }, "createdAt":{ "shape":"Long", @@ -1897,23 +2391,23 @@ }, "statusReason":{ "shape":"String", - "documentation":"A short, human-readable string to provide additional details about the current status of the job.
" + "documentation":"A short, human-readable string to provide more details for the current status of the job.
" }, "startedAt":{ "shape":"Long", - "documentation":"The Unix timestamp for when the job was started (when the job transitioned from the STARTING
state to the RUNNING
state).
The Unix timestamp for when the job was started. More specifically, it's when the job transitioned from the STARTING
state to the RUNNING
state.
The Unix timestamp for when the job was stopped (when the job transitioned from the RUNNING
state to a terminal state, such as SUCCEEDED
or FAILED
).
The Unix timestamp for when the job was stopped. More specifically, it's when the job transitioned from the RUNNING
state to a terminal state, such as SUCCEEDED
or FAILED
.
An object representing the details of the container that's associated with the job.
" + "documentation":"An object that represents the details of the container that's associated with the job.
" }, "arrayProperties":{ "shape":"ArrayPropertiesSummary", - "documentation":"The array properties of the job, if it is an array job.
" + "documentation":"The array properties of the job, if it's an array job.
" }, "nodeProperties":{ "shape":"NodePropertiesSummary", @@ -1924,7 +2418,7 @@ "documentation":"The Amazon Resource Name (ARN) of the job definition.
" } }, - "documentation":"An object representing summary details of a job.
" + "documentation":"An object that represents summary details of a job.
" }, "JobSummaryList":{ "type":"list", @@ -1935,10 +2429,10 @@ "members":{ "attemptDurationSeconds":{ "shape":"Integer", - "documentation":"The time duration in seconds (measured from the job attempt's startedAt
timestamp) after which Batch terminates your jobs if they have not finished. The minimum value for the timeout is 60 seconds.
The job timeout time (in seconds) that's measured from the job attempt's startedAt
timestamp. After this time passes, Batch terminates your jobs if they aren't finished. The minimum value for the timeout is 60 seconds.
An object representing a job timeout configuration.
" + "documentation":"An object that represents a job timeout configuration.
" }, "KeyValuePair":{ "type":"structure", @@ -1968,6 +2462,11 @@ }, "documentation":"A filter name and value pair that's used to return a more specific list of results from a ListJobs
API operation.
The version number of the launch template, $Latest
, or $Default
.
If the value is $Latest
, the latest version of the launch template is used. If the value is $Default
, the default version of the launch template is used.
If the AMI ID that's used in a compute environment is from the launch template, the AMI isn't changed when the compute environment is updated. It's only changed if the updateToLatestImageVersion
parameter for the compute environment is set to true
. During an infrastructure update, if either $Latest
or $Default
is specified, Batch re-evaluates the launch template version, and it might use a different version of the launch template. This is the case even if the launch template isn't specified in the update. When updating a compute environment, changing the launch template requires an infrastructure update of the compute environment. For more information, see Updating compute environments in the Batch User Guide.
Default: $Default
.
An object representing a launch template associated with a compute resource. You must specify either the launch template ID or launch template name in the request, but not both.
If security groups are specified using both the securityGroupIds
parameter of CreateComputeEnvironment
and the launch template, the values in the securityGroupIds
parameter of CreateComputeEnvironment
will be used.
This object isn't applicable to jobs that are running on Fargate resources.
An object that represents a launch template that's associated with a compute resource. You must specify either the launch template ID or launch template name in the request, but not both.
If security groups are specified using both the securityGroupIds
parameter of CreateComputeEnvironment
and the launch template, the values in the securityGroupIds
parameter of CreateComputeEnvironment
will be used.
This object isn't applicable to jobs that are running on Fargate resources.
Any host devices to expose to the container. This parameter maps to Devices
in the Create a container section of the Docker Remote API and the --device
option to docker run.
This parameter isn't applicable to jobs that are running on Fargate resources and shouldn't be provided.
Any of the host devices to expose to the container. This parameter maps to Devices
in the Create a container section of the Docker Remote API and the --device
option to docker run.
This parameter isn't applicable to jobs that are running on Fargate resources. Don't provide it for these jobs.
If true, run an init
process inside the container that forwards signals and reaps processes. This parameter maps to the --init
option to docker run. This parameter requires version 1.25 of the Docker Remote API or greater on your container instance. To check the Docker Remote API version on your container instance, log into your container instance and run the following command: sudo docker version | grep \"Server API version\"
If true, run an init
process inside the container that forwards signals and reaps processes. This parameter maps to the --init
option to docker run. This parameter requires version 1.25 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 value for the size (in MiB) of the /dev/shm
volume. This parameter maps to the --shm-size
option to docker run.
This parameter isn't applicable to jobs that are running on Fargate resources and shouldn't be provided.
The value for the size (in MiB) of the /dev/shm
volume. This parameter maps to the --shm-size
option to docker run.
This parameter isn't applicable to jobs that are running on Fargate resources. Don't provide it for these jobs.
The container path, mount options, and size (in MiB) of the tmpfs mount. This parameter maps to the --tmpfs
option to docker run.
This parameter isn't applicable to jobs that are running on Fargate resources and shouldn't be provided.
The container path, mount options, and size (in MiB) of the tmpfs
mount. This parameter maps to the --tmpfs
option to docker run.
This parameter isn't applicable to jobs that are running on Fargate resources. Don't provide this parameter for this resource type.
The total amount of swap memory (in MiB) a container can use. This parameter is translated to the --memory-swap
option to docker run where the value is the sum of the container memory plus the maxSwap
value. For more information, see --memory-swap
details in the Docker documentation.
If a maxSwap
value of 0
is specified, the container doesn't use swap. Accepted values are 0
or any positive integer. If the maxSwap
parameter is omitted, the container doesn't use the swap configuration for the container instance it is running on. A maxSwap
value must be set for the swappiness
parameter to be used.
This parameter isn't applicable to jobs that are running on Fargate resources and shouldn't be provided.
The total amount of swap memory (in MiB) a container can use. This parameter is translated to the --memory-swap
option to docker run where the value is the sum of the container memory plus the maxSwap
value. For more information, see --memory-swap
details in the Docker documentation.
If a maxSwap
value of 0
is specified, the container doesn't use swap. Accepted values are 0
or any positive integer. If the maxSwap
parameter is omitted, the container doesn't use the swap configuration for the container instance that it's running on. A maxSwap
value must be set for the swappiness
parameter to be used.
This parameter isn't applicable to jobs that are running on Fargate resources. Don't provide it for these jobs.
This allows you to tune a container's memory swappiness behavior. A swappiness
value of 0
causes swapping not to happen unless absolutely necessary. A swappiness
value of 100
causes pages to be swapped very aggressively. Accepted values are whole numbers between 0
and 100
. If the swappiness
parameter isn't specified, a default value of 60
is used. If a value isn't specified for maxSwap
, then this parameter is ignored. If maxSwap
is set to 0, the container doesn't use swap. This parameter maps to the --memory-swappiness
option to docker run.
Consider the following when you use a per-container swap configuration.
Swap space must be enabled and allocated on the container instance for the containers to use.
The Amazon ECS optimized AMIs don't have swap enabled by default. You must enable swap on the instance to use this feature. For more information, see Instance store swap volumes in the Amazon EC2 User Guide for Linux Instances or How do I allocate memory to work as swap space in an Amazon EC2 instance by using a swap file?
The swap space parameters are only supported for job definitions using EC2 resources.
If the maxSwap
and swappiness
parameters are omitted from a job definition, each container will have a default swappiness
value of 60, and the total swap usage will be limited to two times the memory reservation of the container.
This parameter isn't applicable to jobs that are running on Fargate resources and shouldn't be provided.
You can use this parameter to tune a container's memory swappiness behavior. A swappiness
value of 0
causes swapping to not occur unless absolutely necessary. A swappiness
value of 100
causes pages to be swapped aggressively. Valid values are whole numbers between 0
and 100
. If the swappiness
parameter isn't specified, a default value of 60
is used. If a value isn't specified for maxSwap
, then this parameter is ignored. If maxSwap
is set to 0, the container doesn't use swap. This parameter maps to the --memory-swappiness
option to docker run.
Consider the following when you use a per-container swap configuration.
Swap space must be enabled and allocated on the container instance for the containers to use.
By default, the Amazon ECS optimized AMIs don't have swap enabled. You must enable swap on the instance to use this feature. For more information, see Instance store swap volumes in the Amazon EC2 User Guide for Linux Instances or How do I allocate memory to work as swap space in an Amazon EC2 instance by using a swap file?
The swap space parameters are only supported for job definitions using EC2 resources.
If the maxSwap
and swappiness
parameters are omitted from a job definition, each container has a default swappiness
value of 60. Moreover, the total swap usage is limited to two times the memory reservation of the container.
This parameter isn't applicable to jobs that are running on Fargate resources. Don't provide it for these jobs.
Linux-specific modifications that are applied to the container, such as details for device mappings.
" @@ -2045,11 +2544,11 @@ }, "nextToken":{ "shape":"String", - "documentation":"The nextToken
value returned from a previous paginated ListJobs
request where maxResults
was used and the results exceeded the value of that parameter. Pagination continues from the end of the previous results that returned the nextToken
value. This value is null
when there are no more results to return.
This token should be treated as an opaque identifier that's only used to retrieve the next items in a list and not for other programmatic purposes.
The nextToken
value returned from a previous paginated ListJobs
request where maxResults
was used and the results exceeded the value of that parameter. Pagination continues from the end of the previous results that returned the nextToken
value. This value is null
when there are no more results to return.
Treat this token as an opaque identifier that's only used to retrieve the next items in a list and not for other programmatic purposes.
The filter to apply to the query. Only one filter can be used at a time. When the filter is used, jobStatus
is ignored. The filter doesn't apply to child jobs in an array or multi-node parallel (MNP) jobs. The results are sorted by the createdAt
field, with the most recent jobs being first.
The value of the filter is a case-insensitive match for the job name. If the value ends with an asterisk (*), the filter will match any job name that begins with the string before the '*'. This corresponds to the jobName
value. For example, test1
matches both Test1
and test1
, and test1*
matches both test1
and Test10
. When the JOB_NAME
filter is used, the results are grouped by the job name and version.
The value for the filter is the name or Amazon Resource Name (ARN) of the job definition. This corresponds to the jobDefinition
value. The value is case sensitive. When the value for the filter is the job definition name, the results include all the jobs that used any revision of that job definition name. If the value ends with an asterisk (*), the filter will match any job definition name that begins with the string before the '*'. For example, jd1
matches only jd1
, and jd1*
matches both jd1
and jd1A
. The version of the job definition that's used doesn't affect the sort order. When the JOB_DEFINITION
filter is used and the ARN is used (which is in the form arn:${Partition}:batch:${Region}:${Account}:job-definition/${JobDefinitionName}:${Revision}
), the results include jobs that used the specified revision of the job definition. Asterisk (*) is not supported when the ARN is used.
The value for the filter is the time that's before the job was created. This corresponds to the createdAt
value. The value is a string representation of the number of milliseconds since 00:00:00 UTC (midnight) on January 1, 1970.
The value for the filter is the time that's after the job was created. This corresponds to the createdAt
value. The value is a string representation of the number of milliseconds since 00:00:00 UTC (midnight) on January 1, 1970.
The filter to apply to the query. Only one filter can be used at a time. When the filter is used, jobStatus
is ignored. The filter doesn't apply to child jobs in an array or multi-node parallel (MNP) jobs. The results are sorted by the createdAt
field, with the most recent jobs being first.
The value of the filter is a case-insensitive match for the job name. If the value ends with an asterisk (*), the filter matches any job name that begins with the string before the '*'. This corresponds to the jobName
value. For example, test1
matches both Test1
and test1
, and test1*
matches both test1
and Test10
. When the JOB_NAME
filter is used, the results are grouped by the job name and version.
The value for the filter is the name or Amazon Resource Name (ARN) of the job definition. This corresponds to the jobDefinition
value. The value is case sensitive. When the value for the filter is the job definition name, the results include all the jobs that used any revision of that job definition name. If the value ends with an asterisk (*), the filter matches any job definition name that begins with the string before the '*'. For example, jd1
matches only jd1
, and jd1*
matches both jd1
and jd1A
. The version of the job definition that's used doesn't affect the sort order. When the JOB_DEFINITION
filter is used and the ARN is used (which is in the form arn:${Partition}:batch:${Region}:${Account}:job-definition/${JobDefinitionName}:${Revision}
), the results include jobs that used the specified revision of the job definition. Asterisk (*) isn't supported when the ARN is used.
The value for the filter is the time that's before the job was created. This corresponds to the createdAt
value. The value is a string representation of the number of milliseconds since 00:00:00 UTC (midnight) on January 1, 1970.
The value for the filter is the time that's after the job was created. This corresponds to the createdAt
value. The value is a string representation of the number of milliseconds since 00:00:00 UTC (midnight) on January 1, 1970.
Contains the parameters for ListJobs
.
The nextToken
value that's returned from a previous paginated ListSchedulingPolicies
request where maxResults
was used and the results exceeded the value of that parameter. Pagination continues from the end of the previous results that returned the nextToken
value. This value is null
when there are no more results to return.
This token should be treated as an opaque identifier that's only used to retrieve the next items in a list and not for other programmatic purposes.
The nextToken
value that's returned from a previous paginated ListSchedulingPolicies
request where maxResults
was used and the results exceeded the value of that parameter. Pagination continues from the end of the previous results that returned the nextToken
value. This value is null
when there are no more results to return.
Treat this token as an opaque identifier that's only used to retrieve the next items in a list and not for other programmatic purposes.
Contains the parameters for ListSchedulingPolicies
.
The Amazon Resource Name (ARN) that identifies the resource that tags are listed for. Batch resources that support tags are compute environments, jobs, job definitions, job queues, and scheduling policies. ARNs for child jobs of array and multi-node parallel (MNP) jobs are not supported.
", + "documentation":"The Amazon Resource Name (ARN) that identifies the resource that tags are listed for. Batch resources that support tags are compute environments, jobs, job definitions, job queues, and scheduling policies. ARNs for child jobs of array and multi-node parallel (MNP) jobs aren't supported.
", "location":"uri", "locationName":"resourceArn" } @@ -2123,11 +2622,11 @@ "members":{ "logDriver":{ "shape":"LogDriver", - "documentation":"The log driver to use for the container. The valid values listed for this parameter are log drivers that the Amazon ECS container agent can communicate with by default.
The supported log drivers are awslogs
, fluentd
, gelf
, json-file
, journald
, logentries
, syslog
, and splunk
.
Jobs that are running on Fargate resources are restricted to the awslogs
and splunk
log drivers.
Specifies the Amazon CloudWatch Logs logging driver. For more information, see Using the awslogs log driver in the Batch User Guide and Amazon CloudWatch Logs logging driver in the Docker documentation.
Specifies the Fluentd logging driver. For more information, including usage and options, see Fluentd logging driver in the Docker documentation.
Specifies the Graylog Extended Format (GELF) logging driver. For more information, including usage and options, see Graylog Extended Format logging driver in the Docker documentation.
Specifies the journald logging driver. For more information, including usage and options, see Journald logging driver in the Docker documentation.
Specifies the JSON file logging driver. For more information, including usage and options, see JSON File logging driver in the Docker documentation.
Specifies the Splunk logging driver. For more information, including usage and options, see Splunk logging driver in the Docker documentation.
Specifies the syslog logging driver. For more information, including usage and options, see Syslog logging driver in the Docker documentation.
If you have a custom driver that's not listed earlier that you want to work with the Amazon ECS container agent, you can fork the Amazon ECS container agent project that's available on GitHub and customize it to work with that driver. We encourage you to submit pull requests for changes that you want to have included. However, Amazon Web Services doesn't currently support running modified copies of this software.
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 into your container instance and run the following command: sudo docker version | grep \"Server API version\"
The log driver to use for the container. The valid values that are listed for this parameter are log drivers that the Amazon ECS container agent can communicate with by default.
The supported log drivers are awslogs
, fluentd
, gelf
, json-file
, journald
, logentries
, syslog
, and splunk
.
Jobs that are running on Fargate resources are restricted to the awslogs
and splunk
log drivers.
Specifies the Amazon CloudWatch Logs logging driver. For more information, see Using the awslogs log driver in the Batch User Guide and Amazon CloudWatch Logs logging driver in the Docker documentation.
Specifies the Fluentd logging driver. For more information including usage and options, see Fluentd logging driver in the Docker documentation.
Specifies the Graylog Extended Format (GELF) logging driver. For more information including usage and options, see Graylog Extended Format logging driver in the Docker documentation.
Specifies the journald logging driver. For more information including usage and options, see Journald logging driver in the Docker documentation.
Specifies the JSON file logging driver. For more information including usage and options, see JSON File logging driver in the Docker documentation.
Specifies the Splunk logging driver. For more information including usage and options, see Splunk logging driver in the Docker documentation.
Specifies the syslog logging driver. For more information including usage and options, see Syslog logging driver in the Docker documentation.
If you have a custom driver that's not listed earlier that you want to work with the Amazon ECS container agent, you can fork the Amazon ECS container agent project that's available on GitHub and customize it to work with that driver. We encourage you to submit pull requests for changes that you want to have included. However, Amazon Web Services doesn't currently support running modified copies of this software.
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 configuration options to send to the log driver. This parameter requires version 1.19 of the Docker Remote API or greater on your container instance. To check the Docker Remote API version on your container instance, log into your container instance and run the following command: sudo docker version | grep \"Server API version\"
The configuration options to send to the log driver. This parameter requires version 1.19 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 name of the volume to mount.
" } }, - "documentation":"Details on a Docker volume mount point that's used in a job's container properties. This parameter maps to Volumes
in the Create a container section of the Docker Remote API and the --volume
option to docker run.
Details for a Docker volume mount point that's used in a job's container properties. This parameter maps to Volumes
in the Create a container section of the Docker Remote API and the --volume
option to docker run.
Indicates whether the job should have a public IP address. For a job that is running on Fargate resources in a private subnet to send outbound traffic to the internet (for example, to pull container images), the private subnet requires a NAT gateway be attached to route requests to the internet. For more information, see Amazon ECS task networking. The default value is \"DISABLED\".
" + "documentation":"Indicates whether the job has a public IP address. For a job that's running on Fargate resources in a private subnet to send outbound traffic to the internet (for example, to pull container images), the private subnet requires a NAT gateway be attached to route requests to the internet. For more information, see Amazon ECS task networking in the Amazon Elastic Container Service Developer Guide. The default value is \"DISABLED
\".
The network configuration for jobs that are running on Fargate resources. Jobs that are running on EC2 resources must not specify this parameter.
" @@ -2202,7 +2701,7 @@ "documentation":"The private IPv4 address for the network interface.
" } }, - "documentation":"An object representing the elastic network interface for a multi-node parallel job node.
" + "documentation":"An object that represents the elastic network interface for a multi-node parallel job node.
" }, "NetworkInterfaceList":{ "type":"list", @@ -2213,28 +2712,28 @@ "members":{ "nodeIndex":{ "shape":"Integer", - "documentation":"The node index for the node. Node index numbering begins at zero. This index is also available on the node with the AWS_BATCH_JOB_NODE_INDEX
environment variable.
The node index for the node. Node index numbering starts at zero. This index is also available on the node with the AWS_BATCH_JOB_NODE_INDEX
environment variable.
Specifies whether the current node is the main node for a multi-node parallel job.
" } }, - "documentation":"An object representing the details of a multi-node parallel job node.
" + "documentation":"An object that represents the details of a multi-node parallel job node.
" }, "NodeOverrides":{ "type":"structure", "members":{ "numNodes":{ "shape":"Integer", - "documentation":"The number of nodes to use with a multi-node parallel job. This value overrides the number of nodes that are specified in the job definition. To use this override:
There must be at least one node range in your job definition that has an open upper boundary (such as :
or n:
).
The lower boundary of the node range specified in the job definition must be fewer than the number of nodes specified in the override.
The main node index specified in the job definition must be fewer than the number of nodes specified in the override.
The number of nodes to use with a multi-node parallel job. This value overrides the number of nodes that are specified in the job definition. To use this override, you must meet the following conditions:
There must be at least one node range in your job definition that has an open upper boundary, such as :
or n:
.
The lower boundary of the node range that's specified in the job definition must be fewer than the number of nodes specified in the override.
The main node index that's specified in the job definition must be fewer than the number of nodes specified in the override.
The node property overrides for the job.
" } }, - "documentation":"Object representing any node overrides to a job definition that's used in a SubmitJob API operation.
This isn't applicable to jobs that are running on Fargate resources and shouldn't be provided; use containerOverrides
instead.
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.
The number of nodes associated with a multi-node parallel job.
" + "documentation":"The number of nodes that are associated with a multi-node parallel job.
" }, "mainNode":{ "shape":"Integer", @@ -2254,10 +2753,10 @@ }, "nodeRangeProperties":{ "shape":"NodeRangeProperties", - "documentation":"A list of node ranges and their properties associated with a multi-node parallel job.
" + "documentation":"A list of node ranges and their properties that are associated with a multi-node parallel job.
" } }, - "documentation":"An object representing the node properties of a multi-node parallel job.
" + "documentation":"An object that represents the node properties of a multi-node parallel job.
Node properties can't be specified for Amazon EKS based job definitions.
The number of nodes associated with a multi-node parallel job.
" + "documentation":"The number of nodes that are associated with a multi-node parallel job.
" }, "nodeIndex":{ "shape":"Integer", "documentation":"The node index for the node. Node index numbering begins at zero. This index is also available on the node with the AWS_BATCH_JOB_NODE_INDEX
environment variable.
An object representing the properties of a node that's associated with a multi-node parallel job.
" + "documentation":"An object that represents the properties of a node that's associated with a multi-node parallel job.
" }, "NodePropertyOverride":{ "type":"structure", @@ -2287,10 +2786,10 @@ }, "containerOverrides":{ "shape":"ContainerOverrides", - "documentation":"The overrides that should be sent to a node range.
" + "documentation":"The overrides that are sent to a node range.
" } }, - "documentation":"Object representing any node overrides to a job definition that's used in a SubmitJob API operation.
" + "documentation":"The object that represents any node overrides to a job definition that's used in a SubmitJob API operation.
" }, "NodePropertyOverrides":{ "type":"list", @@ -2306,14 +2805,21 @@ "members":{ "targetNodes":{ "shape":"String", - "documentation":"The range of nodes, using node index values. A range of 0:3
indicates nodes with index values of 0
through 3
. If the starting range value is omitted (:n
), then 0
is used to start the range. If the ending range value is omitted (n:
), then the highest possible node index is used to end the range. Your accumulative node ranges must account for all nodes (0:n
). You can nest node ranges, for example 0:10
and 4:5
, in which case the 4:5
range properties override the 0:10
properties.
The range of nodes, using node index values. A range of 0:3
indicates nodes with index values of 0
through 3
. If the starting range value is omitted (:n
), then 0
is used to start the range. If the ending range value is omitted (n:
), then the highest possible node index is used to end the range. Your accumulative node ranges must account for all nodes (0:n
). You can nest node ranges (for example, 0:10
and 4:5
). In this case, the 4:5
range properties override the 0:10
properties.
The container details for the node range.
" } }, - "documentation":"An object representing the properties of the node range for a multi-node parallel job.
" + "documentation":"An object that represents the properties of the node range for a multi-node parallel job.
" + }, + "OrchestrationType":{ + "type":"string", + "enum":[ + "ECS", + "EKS" + ] }, "ParametersMap":{ "type":"map", @@ -2331,6 +2837,11 @@ "type":"list", "member":{"shape":"PlatformCapability"} }, + "Quantity":{ + "type":"string", + "max":256, + "min":1 + }, "RegisterJobDefinitionRequest":{ "type":"structure", "required":[ @@ -2352,15 +2863,15 @@ }, "schedulingPriority":{ "shape":"Integer", - "documentation":"The scheduling priority for jobs that are submitted with this job definition. This will only affect jobs in job queues with a fair share policy. Jobs with a higher scheduling priority will be scheduled before jobs with a lower scheduling priority.
The minimum supported value is 0 and the maximum supported value is 9999.
" + "documentation":"The scheduling priority for jobs that are submitted with this job definition. This only affects jobs in job queues with a fair share policy. Jobs with a higher scheduling priority are scheduled before jobs with a lower scheduling priority.
The minimum supported value is 0 and the maximum supported value is 9999.
" }, "containerProperties":{ "shape":"ContainerProperties", - "documentation":"An object with various properties specific to single-node container-based jobs. 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 only containerProperties
.
An object with various 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 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 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.
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 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
.
Specifies whether to propagate the tags from the job or job definition to the corresponding Amazon ECS task. If no value is specified, the tags are not propagated. Tags can only be propagated to the tasks during task creation. For tags with the same name, job tags are given priority over job definitions tags. If the total number of combined tags from the job and job definition is over 50, the job is moved to the FAILED
state.
Specifies whether to propagate the tags from the job or job definition to the corresponding Amazon ECS task. If no value is specified, the tags are not propagated. Tags can only be propagated to the tasks during task creation. For tags with the same name, job tags are given priority over job definitions tags. If the total number of combined tags from the job and job definition is over 50, the job is moved to the FAILED
state.
If the job runs on Amazon EKS resources, then you must not specify propagateTags
.
The platform capabilities required by the job definition. If no value is specified, it defaults to EC2
. To run the job on Fargate resources, specify FARGATE
.
The platform capabilities required by the job definition. If no value is specified, it defaults to EC2
. To run the job on Fargate resources, specify FARGATE
.
If the job runs on Amazon EKS resources, then you must not specify platformCapabilities
.
An object with various properties that are specific to Amazon EKS based jobs. This must not be specified for Amazon ECS based job definitions.
" } }, "documentation":"Contains the parameters for RegisterJobDefinition
.
The quantity of the specified resource to reserve for the container. The values vary based on the type
specified.
The number of physical GPUs to reserve for the container. The number of GPUs reserved for all containers in a job shouldn't exceed the number of available GPUs on the compute resource that the job is launched on.
GPUs are not 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 Create a container section of the Docker Remote API and the --memory
option to docker run. You must specify at least 4 MiB of memory for a job. This is required but can be specified in several places for multi-node parallel (MNP) jobs. It must be specified for each node at least once. This parameter maps to Memory
in the Create a container section of the Docker Remote API and the --memory
option to docker run.
If you're trying to maximize your resource utilization by providing your jobs as much memory as possible for a particular instance type, see Memory management in the Batch User Guide.
For jobs that are running on Fargate resources, then value
is the hard limit (in MiB), and must match one of the supported values and the VCPU
values must be one of the values supported for that memory value.
VCPU
= 0.25
VCPU
= 0.25 or 0.5
VCPU
= 0.25, 0.5, or 1
VCPU
= 0.5, or 1
VCPU
= 0.5, 1, or 2
VCPU
= 1 or 2
VCPU
= 1, 2, or 4
VCPU
= 2 or 4
VCPU
= 4
The number of vCPUs reserved for the container. This parameter maps to CpuShares
in the Create a container section of the 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.
For jobs that are running on Fargate resources, then value
must match one of the supported values and the MEMORY
values must be one of the values supported for that VCPU
value. The supported values are 0.25, 0.5, 1, 2, and 4
MEMORY
= 512, 1024, or 2048
MEMORY
= 1024, 2048, 3072, or 4096
MEMORY
= 2048, 3072, 4096, 5120, 6144, 7168, or 8192
MEMORY
= 4096, 5120, 6144, 7168, 8192, 9216, 10240, 11264, 12288, 13312, 14336, 15360, or 16384
MEMORY
= 8192, 9216, 10240, 11264, 12288, 13312, 14336, 15360, 16384, 17408, 18432, 19456, 20480, 21504, 22528, 23552, 24576, 25600, 26624, 27648, 28672, 29696, or 30720
The quantity of the specified resource to reserve for the container. The values vary based on the type
specified.
The number of physical GPUs to reserve for the container. Make sure that the number of GPUs reserved for all containers in a job doesn't exceed the number of available GPUs on the compute resource that the 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 Create a container section of the Docker Remote API and the --memory
option to docker run. You must specify at least 4 MiB of memory for a job. This is required but can be specified in several places for multi-node parallel (MNP) jobs. It must be specified for each node at least once. This parameter maps to Memory
in the Create a container section of the Docker Remote API and the --memory
option to docker run.
If you're trying to maximize your resource utilization by providing your jobs as much memory as possible for a particular instance type, see Memory management in the Batch User Guide.
For jobs that are running on Fargate resources, then value
is the hard limit (in MiB), and must match one of the supported values and the VCPU
values must be one of the values supported for that memory value.
VCPU
= 0.25
VCPU
= 0.25 or 0.5
VCPU
= 0.25, 0.5, or 1
VCPU
= 0.5, or 1
VCPU
= 0.5, 1, or 2
VCPU
= 1 or 2
VCPU
= 1, 2, or 4
VCPU
= 2 or 4
VCPU
= 4
The number of vCPUs reserved for the container. This parameter maps to CpuShares
in the Create a container section of the 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.
For jobs that are running on Fargate resources, then value
must match one of the supported values and the MEMORY
values must be one of the values supported for that VCPU
value. The supported values are 0.25, 0.5, 1, 2, and 4
MEMORY
= 512, 1024, or 2048
MEMORY
= 1024, 2048, 3072, or 4096
MEMORY
= 2048, 3072, 4096, 5120, 6144, 7168, or 8192
MEMORY
= 4096, 5120, 6144, 7168, 8192, 9216, 10240, 11264, 12288, 13312, 14336, 15360, or 16384
MEMORY
= 8192, 9216, 10240, 11264, 12288, 13312, 14336, 15360, 16384, 17408, 18432, 19456, 20480, 21504, 22528, 23552, 24576, 25600, 26624, 27648, 28672, 29696, or 30720
Array of up to 5 objects that specify conditions under which the job should be retried or failed. If this parameter is specified, then the attempts
parameter must also be specified.
Array of up to 5 objects that specify the conditions where jobs are retried or failed. If this parameter is specified, then the attempts
parameter must also be specified. If none of the listed conditions match, then the job is retried.
The retry strategy associated with a job. For more information, see Automated job retries in the Batch User Guide.
" + "documentation":"The retry strategy that's associated with a job. For more information, see Automated job retries in the Batch User Guide.
" }, "SchedulingPolicyDetail":{ "type":"structure", @@ -2516,10 +3031,10 @@ }, "valueFrom":{ "shape":"String", - "documentation":"The secret to expose to the container. The supported values are either the full ARN of the Secrets Manager secret or the full ARN of the parameter in the Amazon Web Services Systems Manager Parameter Store.
If the Amazon Web Services Systems Manager Parameter Store parameter exists in the same Region as the job you're launching, then you can use either the full ARN or name of the parameter. If the parameter exists in a different Region, then the full ARN must be specified.
The secret to expose to the container. The supported values are either the full Amazon Resource Name (ARN) of the Secrets Manager secret or the full ARN of the parameter in the Amazon Web Services Systems Manager Parameter Store.
If the Amazon Web Services Systems Manager Parameter Store parameter exists in the same Region as the job you're launching, then you can use either the full Amazon Resource Name (ARN) or name of the parameter. If the parameter exists in a different Region, then the full ARN must be specified.
An object representing the secret to expose to your container. Secrets can be exposed to a container in the following ways:
To inject sensitive data into your containers as environment variables, use the secrets
container definition parameter.
To reference sensitive information in the log configuration of a container, use the secretOptions
container definition parameter.
For more information, see Specifying sensitive data in the Batch User Guide.
" + "documentation":"An object that represents the secret to expose to your container. Secrets can be exposed to a container in the following ways:
To inject sensitive data into your containers as environment variables, use the secrets
container definition parameter.
To reference sensitive information in the log configuration of a container, use the secretOptions
container definition parameter.
For more information, see Specifying sensitive data in the Batch User Guide.
" }, "SecretList":{ "type":"list", @@ -2541,7 +3056,7 @@ "members":{ "shareIdentifier":{ "shape":"String", - "documentation":"A fair share identifier or fair share identifier prefix. If the string ends with an asterisk (*), this entry specifies the weight factor to use for fair share identifiers that start with that prefix. The list of fair share identifiers in a fair share policy cannot overlap. For example, you can't have one that specifies a shareIdentifier
of UserA*
and another that specifies a shareIdentifier
of UserA-1
.
There can be no more than 500 fair share identifiers active in a job queue.
The string is limited to 255 alphanumeric characters, optionally followed by an asterisk (*).
" + "documentation":"A fair share identifier or fair share identifier prefix. If the string ends with an asterisk (*), this entry specifies the weight factor to use for fair share identifiers that start with that prefix. The list of fair share identifiers in a fair share policy can't overlap. For example, you can't have one that specifies a shareIdentifier
of UserA*
and another that specifies a shareIdentifier
of UserA-1
.
There can be no more than 500 fair share identifiers active in a job queue.
The string is limited to 255 alphanumeric characters, and can be followed by an asterisk (*).
" }, "weightFactor":{ "shape":"Float", @@ -2577,11 +3092,11 @@ }, "shareIdentifier":{ "shape":"String", - "documentation":"The share identifier for the job. If the job queue does not have a scheduling policy, then this parameter must not be specified. If the job queue has a scheduling policy, then this parameter must be specified.
" + "documentation":"The share identifier for the job. If the job queue doesn't have a scheduling policy, then this parameter must not be specified. If the job queue has a scheduling policy, then this parameter must be specified.
" }, "schedulingPriorityOverride":{ "shape":"Integer", - "documentation":"The scheduling priority for the job. This will only affect jobs in job queues with a fair share policy. Jobs with a higher scheduling priority will be scheduled before jobs with a lower scheduling priority. This will override any scheduling priority in the job definition.
The minimum supported value is 0 and the maximum supported value is 9999.
" + "documentation":"The scheduling priority for the job. This only affects jobs in job queues with a fair share policy. Jobs with a higher scheduling priority are scheduled before jobs with a lower scheduling priority. This overrides any scheduling priority in the job definition.
The minimum supported value is 0 and the maximum supported value is 9999.
" }, "arrayProperties":{ "shape":"ArrayProperties", @@ -2601,7 +3116,7 @@ }, "containerOverrides":{ "shape":"ContainerOverrides", - "documentation":"A list of container overrides in the JSON format that specify the name of a container in the specified job definition and the overrides it receives. You can override the default command for a container, which is specified in the job definition or the Docker image, with a command
override. You can also override existing environment variables on a container or add new environment variables to it with an environment
override.
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 container, which is specified in the job definition or the Docker image, with a command
override. You can also override existing environment variables on a container or add new environment variables to it with an environment
override.
The tags that you apply to the job request to help you categorize and organize your resources. Each tag consists of a key and an optional value. For more information, see Tagging Amazon Web Services Resources in Amazon Web Services General Reference.
" + }, + "eksPropertiesOverride":{ + "shape":"EksPropertiesOverride", + "documentation":"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.
" } }, "documentation":"Contains the parameters for SubmitJob
.
The Amazon Resource Name (ARN) of the resource that tags are added to. Batch resources that support tags are compute environments, jobs, job definitions, job queues, and scheduling policies. ARNs for child jobs of array and multi-node parallel (MNP) jobs are not supported.
", + "documentation":"The Amazon Resource Name (ARN) of the resource that tags are added to. Batch resources that support tags are compute environments, jobs, job definitions, job queues, and scheduling policies. ARNs for child jobs of array and multi-node parallel (MNP) jobs aren't supported.
", "location":"uri", "locationName":"resourceArn" }, @@ -2731,18 +3250,18 @@ "members":{ "containerPath":{ "shape":"String", - "documentation":"The absolute file path in the container where the tmpfs volume is mounted.
" + "documentation":"The absolute file path in the container where the tmpfs
volume is mounted.
The size (in MiB) of the tmpfs volume.
" + "documentation":"The size (in MiB) of the tmpfs
volume.
The list of tmpfs volume mount options.
Valid values: \"defaults
\" | \"ro
\" | \"rw
\" | \"suid
\" | \"nosuid
\" | \"dev
\" | \"nodev
\" | \"exec
\" | \"noexec
\" | \"sync
\" | \"async
\" | \"dirsync
\" | \"remount
\" | \"mand
\" | \"nomand
\" | \"atime
\" | \"noatime
\" | \"diratime
\" | \"nodiratime
\" | \"bind
\" | \"rbind\" | \"unbindable\" | \"runbindable\" | \"private\" | \"rprivate\" | \"shared\" | \"rshared\" | \"slave\" | \"rslave\" | \"relatime
\" | \"norelatime
\" | \"strictatime
\" | \"nostrictatime
\" | \"mode
\" | \"uid
\" | \"gid
\" | \"nr_inodes
\" | \"nr_blocks
\" | \"mpol
\"
The list of tmpfs
volume mount options.
Valid values: \"defaults
\" | \"ro
\" | \"rw
\" | \"suid
\" | \"nosuid
\" | \"dev
\" | \"nodev
\" | \"exec
\" | \"noexec
\" | \"sync
\" | \"async
\" | \"dirsync
\" | \"remount
\" | \"mand
\" | \"nomand
\" | \"atime
\" | \"noatime
\" | \"diratime
\" | \"nodiratime
\" | \"bind
\" | \"rbind\" | \"unbindable\" | \"runbindable\" | \"private\" | \"rprivate\" | \"shared\" | \"rshared\" | \"slave\" | \"rslave\" | \"relatime
\" | \"norelatime
\" | \"strictatime
\" | \"nostrictatime
\" | \"mode
\" | \"uid
\" | \"gid
\" | \"nr_inodes
\" | \"nr_blocks
\" | \"mpol
\"
The container path, mount options, and size of the tmpfs mount.
This object isn't applicable to jobs that are running on Fargate resources.
The container path, mount options, and size of the tmpfs
mount.
This object isn't applicable to jobs that are running on Fargate resources.
The Amazon Resource Name (ARN) of the resource from which to delete tags. Batch resources that support tags are compute environments, jobs, job definitions, job queues, and scheduling policies. ARNs for child jobs of array and multi-node parallel (MNP) jobs are not supported.
", + "documentation":"The Amazon Resource Name (ARN) of the resource from which to delete tags. Batch resources that support tags are compute environments, jobs, job definitions, job queues, and scheduling policies. ARNs for child jobs of array and multi-node parallel (MNP) jobs aren't supported.
", "location":"uri", "locationName":"resourceArn" }, @@ -2816,7 +3335,7 @@ }, "unmanagedvCpus":{ "shape":"Integer", - "documentation":"The maximum number of vCPUs expected to be used for an unmanaged compute environment. Do not specify this parameter for a managed compute environment. This parameter is only used for fair share scheduling to reserve vCPU capacity for new share identifiers. If this parameter is not provided for a fair share job queue, no vCPU capacity will be reserved.
" + "documentation":"The maximum number of vCPUs expected to be used for an unmanaged compute environment. Don't specify this parameter for a managed compute environment. This parameter is only used for fair share scheduling to reserve vCPU capacity for new share identifiers. If this parameter isn't provided for a fair share job queue, no vCPU capacity is reserved.
" }, "computeResources":{ "shape":"ComputeResourceUpdate", @@ -2838,7 +3357,7 @@ "members":{ "computeEnvironmentName":{ "shape":"String", - "documentation":"The name of the compute environment. It can be up to 128 letters long. It can contain uppercase and lowercase letters, numbers, hyphens (-), and underscores (_).
" + "documentation":"The name of the compute environment. It can be up to 128 characters long. It can contain uppercase and lowercase letters, numbers, hyphens (-), and underscores (_).
" }, "computeEnvironmentArn":{ "shape":"String", @@ -2860,7 +3379,7 @@ }, "schedulingPolicyArn":{ "shape":"String", - "documentation":"Amazon Resource Name (ARN) of the fair share scheduling policy. Once a job queue is created, the fair share scheduling policy can be replaced but not removed. The format is aws:Partition:batch:Region:Account:scheduling-policy/Name
. For example, aws:aws:batch:us-west-2:012345678910:scheduling-policy/MySchedulingPolicy
.
Amazon Resource Name (ARN) of the fair share scheduling policy. Once a job queue is created, the fair share scheduling policy can be replaced but not removed. The format is aws:Partition:batch:Region:Account:scheduling-policy/Name
. For example, aws:aws:batch:us-west-2:123456789012:scheduling-policy/MySchedulingPolicy
.
Specifies the job timeout, in minutes, when the compute environment infrastructure is updated. The default value is 30.
" + "documentation":"Specifies the job timeout (in minutes) when the compute environment infrastructure is updated. The default value is 30.
" } }, "documentation":"Specifies the infrastructure update policy for the compute environment. For more information about infrastructure updates, see Infrastructure updates in the Batch User Guide.
" @@ -2925,23 +3444,23 @@ "members":{ "host":{ "shape":"Host", - "documentation":"The contents of the host
parameter determine whether your data volume persists on the host container instance and where it is stored. If the host parameter is empty, then the Docker daemon assigns a host path for your data volume. However, the data isn't guaranteed to persist after the containers associated with it stop running.
This parameter isn't applicable to jobs that are running on Fargate resources and shouldn't be provided.
The contents of the host
parameter determine whether your data volume persists on the host container instance and where it's stored. If the host parameter is empty, then the Docker daemon assigns a host path for your data volume. However, the data isn't guaranteed to persist after the containers that are associated with it stop running.
This parameter isn't applicable to jobs that are running on Fargate resources and shouldn't be provided.
The name of the volume. It can be up to 255 letters long. It can contain uppercase and lowercase letters, numbers, hyphens (-), and underscores (_). This name is referenced in the sourceVolume
parameter of container definition mountPoints
.
The name of the volume. It can be up to 255 characters long. It can contain uppercase and lowercase letters, numbers, hyphens (-), and underscores (_). This name is referenced in the sourceVolume
parameter of container definition mountPoints
.
This parameter is specified when you are using an Amazon Elastic File System file system for job storage. Jobs that are running on Fargate resources must specify a platformVersion
of at least 1.4.0
.
This parameter is specified when you're using an Amazon Elastic File System file system for job storage. Jobs that are running on Fargate resources must specify a platformVersion
of at least 1.4.0
.
A data volume used in a job's container properties.
" + "documentation":"A data volume that's used in a job's container properties.
" }, "Volumes":{ "type":"list", "member":{"shape":"Volume"} } }, - "documentation":"Using Batch, you can run batch computing workloads on the Amazon Web Services Cloud. Batch computing is a common means for developers, scientists, and engineers to access large amounts of compute resources. Batch uses the advantages of this computing workload to remove the undifferentiated heavy lifting of configuring and managing required infrastructure. At the same time, it also adopts a familiar batch computing software approach. Given these advantages, Batch can help you to efficiently provision resources in response to jobs submitted, thus effectively helping you to eliminate capacity constraints, reduce compute costs, and deliver your results more quickly.
As a fully managed service, Batch can run batch computing workloads of any scale. Batch automatically provisions compute resources and optimizes workload distribution based on the quantity and scale of your specific workloads. With Batch, there's no need to install or manage batch computing software. This means that you can focus your time and energy on analyzing results and solving your specific problems.
" + "documentation":"Using Batch, you can run batch computing workloads on the Amazon Web Services Cloud. Batch computing is a common means for developers, scientists, and engineers to access large amounts of compute resources. Batch uses the advantages of the batch computing to remove the undifferentiated heavy lifting of configuring and managing required infrastructure. At the same time, it also adopts a familiar batch computing software approach. You can use Batch to efficiently provision resources d, and work toward eliminating capacity constraints, reducing your overall compute costs, and delivering results more quickly.
As a fully managed service, Batch can run batch computing workloads of any scale. Batch automatically provisions compute resources and optimizes workload distribution based on the quantity and scale of your specific workloads. With Batch, there's no need to install or manage batch computing software. This means that you can focus on analyzing results and solving your specific problems instead.
" } diff --git a/services/billingconductor/pom.xml b/services/billingconductor/pom.xml index 35aa8af3a4c8..eeb7559422b4 100644 --- a/services/billingconductor/pom.xml +++ b/services/billingconductor/pom.xml @@ -21,7 +21,7 @@Cancels execution of a task.
When you cancel a task execution, the transfer of some files is abruptly interrupted. The contents of files that are transferred to the destination might be incomplete or inconsistent with the source files. However, if you start a new task execution on the same task and you allow the task execution to complete, file content on the destination is complete and consistent. This applies to other unexpected failures that interrupt a task execution. In all of these cases, DataSync successfully complete the transfer when you start the next task execution.
" + "documentation":"Stops an DataSync task execution that's in progress. The transfer of some files are abruptly interrupted. File contents that're transferred to the destination might be incomplete or inconsistent with the source files.
However, if you start a new task execution using the same task and allow it to finish, file content on the destination will be complete and consistent. This applies to other unexpected failures that interrupt a task execution. In all of these cases, DataSync successfully completes the transfer when you start the next task execution.
" }, "CreateAgent":{ "name":"CreateAgent", @@ -40,7 +40,7 @@ {"shape":"InvalidRequestException"}, {"shape":"InternalException"} ], - "documentation":"Activates an DataSync agent that you have deployed on your host. The activation process associates your agent with your account. In the activation process, you specify information such as the Amazon Web Services Region that you want to activate the agent in. You activate the agent in the Amazon Web Services Region where your target locations (in Amazon S3 or Amazon EFS) reside. Your tasks are created in this Amazon Web Services Region.
You can activate the agent in a VPC (virtual private cloud) or provide the agent access to a VPC endpoint so you can run tasks without going over the public internet.
You can use an agent for more than one location. If a task uses multiple agents, all of them need to have status AVAILABLE for the task to run. If you use multiple agents for a source location, the status of all the agents must be AVAILABLE for the task to run.
Agents are automatically updated by Amazon Web Services on a regular basis, using a mechanism that ensures minimal interruption to your tasks.
" + "documentation":"Activates an DataSync agent that you have deployed in your storage environment. The activation process associates your agent with your account. In the activation process, you specify information such as the Amazon Web Services Region that you want to activate the agent in. You activate the agent in the Amazon Web Services Region where your target locations (in Amazon S3 or Amazon EFS) reside. Your tasks are created in this Amazon Web Services Region.
You can activate the agent in a VPC (virtual private cloud) or provide the agent access to a VPC endpoint so you can run tasks without going over the public internet.
You can use an agent for more than one location. If a task uses multiple agents, all of them need to have status AVAILABLE for the task to run. If you use multiple agents for a source location, the status of all the agents must be AVAILABLE for the task to run.
Agents are automatically updated by Amazon Web Services on a regular basis, using a mechanism that ensures minimal interruption to your tasks.
" }, "CreateLocationEfs":{ "name":"CreateLocationEfs", @@ -96,7 +96,7 @@ {"shape":"InvalidRequestException"}, {"shape":"InternalException"} ], - "documentation":"Creates an endpoint for an Amazon FSx for OpenZFS file system.
" + "documentation":"Creates an endpoint for an Amazon FSx for OpenZFS file system that DataSync can access for a transfer. For more information, see Creating a location for FSx for OpenZFS.
Request parameters related to SMB
aren't supported with the CreateLocationFsxOpenZfs
operation.
Creates an endpoint for an Amazon S3 bucket.
For more information, see Create an Amazon S3 location in the DataSync User Guide.
" + "documentation":"Creates an endpoint for an Amazon S3 bucket that DataSync can access for a transfer.
For more information, see Create an Amazon S3 location in the DataSync User Guide.
" }, "CreateLocationSmb":{ "name":"CreateLocationSmb", @@ -278,7 +278,7 @@ {"shape":"InvalidRequestException"}, {"shape":"InternalException"} ], - "documentation":"Returns metadata about an Amazon FSx for Lustre location, such as information about its path.
" + "documentation":"Provides details about how an DataSync location for an Amazon FSx for Lustre file system is configured.
" }, "DescribeLocationFsxOntap":{ "name":"DescribeLocationFsxOntap", @@ -292,7 +292,7 @@ {"shape":"InvalidRequestException"}, {"shape":"InternalException"} ], - "documentation":"Provides details about how an DataSync location for an Amazon FSx for NetApp ONTAP file system is configured.
" + "documentation":"Provides details about how an DataSync location for an Amazon FSx for NetApp ONTAP file system is configured.
If your location uses SMB, the DescribeLocationFsxOntap
operation doesn't actually return a Password
.
Returns metadata about an Amazon FSx for OpenZFS location, such as information about its path.
" + "documentation":"Provides details about how an DataSync location for an Amazon FSx for OpenZFS file system is configured.
Response elements related to SMB
aren't supported with the DescribeLocationFsxOpenZfs
operation.
Updates some of the parameters of a previously created location for self-managed object storage server access. For information about creating a self-managed object storage location, see Creating a location for object storage.
" + "documentation":"Updates some parameters of an existing object storage location that DataSync accesses for a transfer. For information about creating a self-managed object storage location, see Creating a location for object storage.
" }, "UpdateLocationSmb":{ "name":"UpdateLocationSmb", @@ -694,7 +694,7 @@ "members":{ "TaskExecutionArn":{ "shape":"TaskExecutionArn", - "documentation":"The Amazon Resource Name (ARN) of the task execution to cancel.
" + "documentation":"The Amazon Resource Name (ARN) of the task execution to stop.
" } }, "documentation":"CancelTaskExecutionRequest
" @@ -1105,6 +1105,10 @@ "Tags":{ "shape":"InputTagList", "documentation":"Specifies the key-value pair that represents a tag that you want to add to the resource. Tags can help you manage, filter, and search for your resources. We recommend creating a name tag for your location.
" + }, + "ServerCertificate":{ + "shape":"ObjectStorageCertificate", + "documentation":"Specifies a certificate to authenticate with an object storage system that uses a private or self-signed certificate authority (CA). You must specify a Base64-encoded .pem
file (for example, file:///home/user/.ssh/storage_sys_certificate.pem
). The certificate can be up to 32768 bytes (before Base64 encoding).
To use this parameter, configure ServerProtocol
to HTTPS
.
CreateLocationObjectStorageRequest
" @@ -1672,7 +1676,7 @@ }, "AccessKey":{ "shape":"ObjectStorageAccessKey", - "documentation":"The access key (for example, a user name) required to authenticate with the object storage server.
" + "documentation":"The access key (for example, a user name) required to authenticate with the object storage system.
" }, "ServerPort":{ "shape":"ObjectStorageServerPort", @@ -1680,7 +1684,7 @@ }, "ServerProtocol":{ "shape":"ObjectStorageServerProtocol", - "documentation":"The protocol that your object storage server uses to communicate.
" + "documentation":"The protocol that your object storage system uses to communicate.
" }, "AgentArns":{ "shape":"AgentArnList", @@ -1689,6 +1693,10 @@ "CreationTime":{ "shape":"Time", "documentation":"The time that the location was created.
" + }, + "ServerCertificate":{ + "shape":"ObjectStorageCertificate", + "documentation":"The self-signed certificate that DataSync uses to securely authenticate with your object storage system.
" } }, "documentation":"DescribeLocationObjectStorageResponse
" @@ -1801,11 +1809,11 @@ "Options":{"shape":"Options"}, "Excludes":{ "shape":"FilterList", - "documentation":"A list of filter rules that determines which files to exclude from a task. The list should contain a single filter string that consists of the patterns to exclude. The patterns are delimited by \"|\" (that is, a pipe), for example: \"/folder1|/folder2\"
" + "documentation":"
A list of filter rules that determines which files to exclude from a task. The list should contain a single filter string that consists of the patterns to exclude. The patterns are delimited by \"|\" (that is, a pipe), for example: \"/folder1|/folder2\"
A list of filter rules that determines which files to include when running a task. The list should contain a single filter string that consists of the patterns to include. The patterns are delimited by \"|\" (that is, a pipe), for example: \"/folder1|/folder2\"
" + "documentation":"
A list of filter rules that determines which files to include when running a task. The list should contain a single filter string that consists of the patterns to include. The patterns are delimited by \"|\" (that is, a pipe), for example: \"/folder1|/folder2\"
The result of the task execution.
" + }, + "BytesCompressed":{ + "shape":"long", + "documentation":"The physical number of bytes transferred over the network after compression was applied. In most cases, this number is less than BytesTransferred
.
DescribeTaskExecutionResponse
" @@ -2541,6 +2553,10 @@ "min":3, "pattern":"^[a-zA-Z0-9_\\-\\+\\./\\(\\)\\$\\p{Zs}]+$" }, + "ObjectStorageCertificate":{ + "type":"blob", + "max":32768 + }, "ObjectStorageSecretKey":{ "type":"string", "max":200, @@ -3256,31 +3272,35 @@ "members":{ "LocationArn":{ "shape":"LocationArn", - "documentation":"The Amazon Resource Name (ARN) of the self-managed object storage server location to be updated.
" + "documentation":"Specifies the ARN of the object storage system location that you're updating.
" }, "ServerPort":{ "shape":"ObjectStorageServerPort", - "documentation":"The port that your self-managed object storage server accepts inbound network traffic on. The server port is set by default to TCP 80 (HTTP) or TCP 443 (HTTPS). You can specify a custom port if your self-managed object storage server requires one.
" + "documentation":"Specifies the port that your object storage server accepts inbound network traffic on (for example, port 443).
" }, "ServerProtocol":{ "shape":"ObjectStorageServerProtocol", - "documentation":"The protocol that the object storage server uses to communicate. Valid values are HTTP
or HTTPS
.
Specifies the protocol that your object storage server uses to communicate.
" }, "Subdirectory":{ "shape":"S3Subdirectory", - "documentation":"The subdirectory in the self-managed object storage server that is used to read data from.
" + "documentation":"Specifies the object prefix for your object storage server. If this is a source location, DataSync only copies objects with this prefix. If this is a destination location, DataSync writes all objects with this prefix.
" }, "AccessKey":{ "shape":"ObjectStorageAccessKey", - "documentation":"Optional. The access key is used if credentials are required to access the self-managed object storage server. If your object storage requires a user name and password to authenticate, use AccessKey
and SecretKey
to provide the user name and password, respectively.
Specifies the access key (for example, a user name) if credentials are required to authenticate with the object storage server.
" }, "SecretKey":{ "shape":"ObjectStorageSecretKey", - "documentation":"Optional. The secret key is used if credentials are required to access the self-managed object storage server. If your object storage requires a user name and password to authenticate, use AccessKey
and SecretKey
to provide the user name and password, respectively.
Specifies the secret key (for example, a password) if credentials are required to authenticate with the object storage server.
" }, "AgentArns":{ "shape":"AgentArnList", - "documentation":"The Amazon Resource Name (ARN) of the agents associated with the self-managed object storage server location.
" + "documentation":"Specifies the Amazon Resource Names (ARNs) of the DataSync agents that can securely connect with your location.
" + }, + "ServerCertificate":{ + "shape":"ObjectStorageCertificate", + "documentation":"Specifies a certificate to authenticate with an object storage system that uses a private or self-signed certificate authority (CA). You must specify a Base64-encoded .pem
file (for example, file:///home/user/.ssh/storage_sys_certificate.pem
). The certificate can be up to 32768 bytes (before Base64 encoding).
To use this parameter, configure ServerProtocol
to HTTPS
.
Updating the certificate doesn't interfere with tasks that you have in progress.
" } } }, @@ -3396,5 +3416,5 @@ "long":{"type":"long"}, "string":{"type":"string"} }, - "documentation":"DataSync is a managed data transfer service that makes it simpler for you to automate moving data between on-premises storage and Amazon Simple Storage Service (Amazon S3) or Amazon Elastic File System (Amazon EFS).
This API interface reference for DataSync contains documentation for a programming interface that you can use to manage DataSync.
" + "documentation":"DataSync is a managed data transfer service that makes it simpler for you to automate moving data between on-premises storage and Amazon Web Services storage services. You also can use DataSync to transfer data between other cloud providers and Amazon Web Services storage services.
This API interface reference includes documentation for using DataSync programmatically. For complete information, see the DataSync User Guide .
" } diff --git a/services/dax/pom.xml b/services/dax/pom.xml index 2b101477b6c5..ded33c964ce0 100644 --- a/services/dax/pom.xml +++ b/services/dax/pom.xml @@ -21,7 +21,7 @@Lists the images in your account and their properties. The list can be filtered by creation time or modified time, and whether the image name contains a specified string.
" }, + "ListInferenceRecommendationsJobSteps":{ + "name":"ListInferenceRecommendationsJobSteps", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"ListInferenceRecommendationsJobStepsRequest"}, + "output":{"shape":"ListInferenceRecommendationsJobStepsResponse"}, + "documentation":"Returns a list of the subtasks for an Inference Recommender job.
The supported subtasks are benchmarks, which evaluate the performance of your model on different instance types.
" + }, "ListInferenceRecommendationsJobs":{ "name":"ListInferenceRecommendationsJobs", "http":{ @@ -4540,7 +4550,8 @@ "PrecisionMacro", "Recall", "RecallMacro", - "LogLoss" + "LogLoss", + "InferenceLatency" ] }, "AutoMLMode":{ @@ -16258,6 +16269,37 @@ }, "documentation":"A structure that contains a list of recommendation jobs.
" }, + "InferenceRecommendationsJobStep":{ + "type":"structure", + "required":[ + "StepType", + "JobName", + "Status" + ], + "members":{ + "StepType":{ + "shape":"RecommendationStepType", + "documentation":"The type of the subtask.
BENCHMARK
: Evaluate the performance of your model on different instance types.
The name of the Inference Recommender job.
" + }, + "Status":{ + "shape":"RecommendationJobStatus", + "documentation":"The current status of the benchmark.
" + }, + "InferenceBenchmark":{ + "shape":"RecommendationJobInferenceBenchmark", + "documentation":"The details for a specific benchmark.
" + } + }, + "documentation":"A returned array object for the Steps
response field in the ListInferenceRecommendationsJobSteps API command.
The name for the Inference Recommender job.
" + }, + "Status":{ + "shape":"RecommendationJobStatus", + "documentation":"A filter to return benchmarks of a specified status. If this field is left empty, then all benchmarks are returned.
" + }, + "StepType":{ + "shape":"RecommendationStepType", + "documentation":"A filter to return details about the specified type of subtask.
BENCHMARK
: Evaluate the performance of your model on different instance types.
The maximum number of results to return.
" + }, + "NextToken":{ + "shape":"NextToken", + "documentation":"A token that you can specify to return more results from the list. Specify this field if you have a token that was returned from a previous request.
" + } + } + }, + "ListInferenceRecommendationsJobStepsResponse":{ + "type":"structure", + "members":{ + "Steps":{ + "shape":"InferenceRecommendationsJobSteps", + "documentation":"A list of all subtask details in Inference Recommender.
" + }, + "NextToken":{ + "shape":"NextToken", + "documentation":"A token that you can specify in your next request to return more results from the list.
" + } + } + }, "ListInferenceRecommendationsJobsRequest":{ "type":"structure", "members":{ @@ -24597,6 +24678,7 @@ "type":"list", "member":{"shape":"ProductionVariantInstanceType"} }, + "RecommendationFailureReason":{"type":"string"}, "RecommendationJobArn":{ "type":"string", "max":256, @@ -24650,6 +24732,20 @@ "type":"string", "max":128 }, + "RecommendationJobInferenceBenchmark":{ + "type":"structure", + "required":["ModelConfiguration"], + "members":{ + "Metrics":{"shape":"RecommendationMetrics"}, + "EndpointConfiguration":{"shape":"EndpointOutputConfiguration"}, + "ModelConfiguration":{"shape":"ModelConfiguration"}, + "FailureReason":{ + "shape":"RecommendationFailureReason", + "documentation":"The reason why a benchmark failed.
" + } + }, + "documentation":"The details for a specific benchmark from an Inference Recommender job.
" + }, "RecommendationJobInputConfig":{ "type":"structure", "required":["ModelPackageVersionArn"], @@ -24805,6 +24901,10 @@ }, "documentation":"The metrics of recommendations.
" }, + "RecommendationStepType":{ + "type":"string", + "enum":["BENCHMARK"] + }, "RecordWrapper":{ "type":"string", "enum":[ diff --git a/services/sagemakera2iruntime/pom.xml b/services/sagemakera2iruntime/pom.xml index f486b9888419..d506c0e924fb 100644 --- a/services/sagemakera2iruntime/pom.xml +++ b/services/sagemakera2iruntime/pom.xml @@ -21,7 +21,7 @@