Gets information about Docker images that are managed by CodeBuild.
See also: AWS API Documentation
See ‘aws help’ for descriptions of global parameters.
list-curated-environment-images
[--cli-input-json | --cli-input-yaml]
[--generate-cli-skeleton <value>]
--cli-input-json
| --cli-input-yaml
(string)
Reads arguments from the JSON string provided. The JSON string follows the format provided by --generate-cli-skeleton
. If other arguments are provided on the command line, those values will override the JSON-provided values. It is not possible to pass arbitrary binary values using a JSON-provided value as the string will be taken literally. This may not be specified along with --cli-input-yaml
.
--generate-cli-skeleton
(string)
Prints a JSON skeleton to standard output without sending an API request. If provided with no value or the value input
, prints a sample input JSON that can be used as an argument for --cli-input-json
. Similarly, if provided yaml-input
it will print a sample input YAML that can be used with --cli-input-yaml
. If provided with the value output
, it validates the command inputs and returns a sample output JSON for that command.
See ‘aws help’ for descriptions of global parameters.
To get a list of Docker images managed by AWS CodeBuild that you can use for your builds.
The following list-curated-environment-images
example lists the Docker images managed by CodeBuild that can be used for builds.:
aws codebuild list-curated-environment-images
Output:
{
"platforms": [
{
"platform": "AMAZON_LINUX",
"languages": [
{
"language": "JAVA",
"images": [
{
"description": "AWS ElasticBeanstalk - Java 7 Running on Amazon Linux 64bit v2.1.3",
"name": "aws/codebuild/eb-java-7-amazonlinux-64:2.1.3",
"versions": [
"aws/codebuild/eb-java-7-amazonlinux-64:2.1.3-1.0.0"
]
},
{
"description": "AWS ElasticBeanstalk - Java 8 Running on Amazon Linux 64bit v2.1.3",
"name": "aws/codebuild/eb-java-8-amazonlinux-64:2.1.3",
"versions": [
"aws/codebuild/eb-java-8-amazonlinux-64:2.1.3-1.0.0"
]
},
... LIST TRUNCATED FOR BREVITY ...
]
}
]
}
]
}
For more information, see Docker Images Provided by CodeBuild in the AWS CodeBuild User Guide
platforms -> (list)
Information about supported platforms for Docker images that are managed by CodeBuild.
(structure)
A set of Docker images that are related by platform and are managed by CodeBuild.
platform -> (string)
The platform’s name.
languages -> (list)
The list of programming languages that are available for the specified platform.
(structure)
A set of Docker images that are related by programming language and are managed by CodeBuild.
language -> (string)
The programming language for the Docker images.
images -> (list)
The list of Docker images that are related by the specified programming language.
(structure)
Information about a Docker image that is managed by CodeBuild.
name -> (string)
The name of the Docker image.
description -> (string)
The description of the Docker image.
versions -> (list)
A list of environment image versions.
(string)