aws elasticbeanstalk47 CLI commands available for AWS Elastic Beanstalk.
| Command | API Operation | Sample |
|---|---|---|
abort-environment-updateCancels in-progress environment configuration update or application version deployment. | AbortEnvironmentUpdate | |
apply-environment-managed-actionApplies a scheduled managed action immediately. A managed action can be applied only if its status is Scheduled. Get the status and action ID of a managed action with DescribeEnvironmentManagedActions. | ApplyEnvironmentManagedAction | |
associate-environment-operations-roleThe operations role feature of Elastic Beanstalk is in beta release and is subject to change. Add or change the operations role used by an environment. After this call is made, Elastic Beanstalk uses the associated operations role for permissions to downstream services during subsequent calls acti | AssociateEnvironmentOperationsRole | |
check-dns-availabilityChecks if the specified CNAME is available. | CheckDNSAvailability | |
compose-environmentsCreate or update a group of environments that each run a separate component of a single application. Takes a list of version labels that specify application source bundles for each of the environments to create or update. The name of each environment and other required information must be included i | ComposeEnvironments | |
create-applicationCreates an application that has one configuration template named default and no application versions. | CreateApplication | |
create-application-versionCreates an application version for the specified application. You can create an application version from a source bundle in Amazon S3, a commit in CodeCommit, or the output of an CodeBuild build as follows: Specify a commit in an CodeCommit repository with SourceBuildInformation. Specify a build in | CreateApplicationVersion | |
create-configuration-templateCreates an Elastic Beanstalk configuration template, associated with a specific Elastic Beanstalk application. You define application configuration settings in a configuration template. You can then use the configuration template to deploy different versions of the application with the same configur | CreateConfigurationTemplate | |
create-environmentLaunches an Elastic Beanstalk environment for the specified application using the specified configuration. | CreateEnvironment | |
create-platform-versionCreate a new version of your custom platform. | CreatePlatformVersion | |
create-storage-locationCreates a bucket in Amazon S3 to store application versions, logs, and other files used by Elastic Beanstalk environments. The Elastic Beanstalk console and EB CLI call this API the first time you create an environment in a region. If the storage location already exists, CreateStorageLocation still | CreateStorageLocation | |
delete-applicationDeletes the specified application along with all associated versions and configurations. The application versions will not be deleted from your Amazon S3 bucket. You cannot delete an application that has a running environment. | DeleteApplication | |
delete-application-versionDeletes the specified version from the specified application. You cannot delete an application version that is associated with a running environment. | DeleteApplicationVersion | |
delete-configuration-templateDeletes the specified configuration template. When you launch an environment using a configuration template, the environment gets a copy of the template. You can delete or modify the environment's copy of the template without affecting the running environment. | DeleteConfigurationTemplate | |
delete-environment-configurationDeletes the draft configuration associated with the running environment. Updating a running environment with any configuration changes creates a draft configuration set. You can get the draft configuration using DescribeConfigurationSettings while the update is in progress or if the update fails. Th | DeleteEnvironmentConfiguration | |
delete-platform-versionDeletes the specified version of a custom platform. | DeletePlatformVersion | |
describe-account-attributesReturns attributes related to Elastic Beanstalk that are associated with the calling Amazon Web Services account. The result currently has one set of attributes—resource quotas. This action only returns information about resources that the calling principle has IAM permissions to access. For example | DescribeAccountAttributes | |
describe-application-versionsRetrieve a list of application versions. This action only returns information about resources that the calling principle has IAM permissions to access. For example, consider a case where a user only has permission to access one of three resources. When the user calls the this action, the response wi | DescribeApplicationVersions | |
describe-applicationsReturns the descriptions of existing applications. This action only returns information about applications that the calling principle has IAM permissions to access. For example, consider a case where a user only has permission to access two of three applications. When the user calls the DescribeAppl | DescribeApplications | |
describe-configuration-optionsDescribes the configuration options that are used in a particular configuration template or environment, or that a specified solution stack defines. The description includes the values the options, their default values, and an indication of the required action on a running environment if an option v | DescribeConfigurationOptions | |
describe-configuration-settingsReturns a description of the settings for the specified configuration set, that is, either a configuration template or the configuration set associated with a running environment. When describing the settings for the configuration set associated with a running environment, it is possible to receive | DescribeConfigurationSettings | |
describe-environment-healthReturns information about the overall health of the specified environment. The DescribeEnvironmentHealth operation is only available with Elastic Beanstalk Enhanced Health. This action only returns information about environments that the calling principle has IAM permissions to access. For example, | DescribeEnvironmentHealth | |
describe-environment-managed-action-historyLists an environment's completed and failed managed actions. | DescribeEnvironmentManagedActionHistory | |
describe-environment-managed-actionsLists an environment's upcoming and in-progress managed actions. This action only returns information about environments that the calling principle has IAM permissions to access. For example, consider a case where a user only has permission to access one of three environments. When the user calls th | DescribeEnvironmentManagedActions | |
describe-environment-resourcesReturns Amazon Web Services resources for this environment. | DescribeEnvironmentResources | |
describe-environmentsReturns descriptions for existing environments. This action only returns information about environments that the calling principle has IAM permissions to access. For example, consider a case where a user only has permission to access one of three environments. When the user calls the DescribeEnviron | DescribeEnvironments | |
describe-eventsReturns list of event descriptions matching criteria up to the last 6 weeks. This action returns the most recent 1,000 events from the specified NextToken. This action only returns information about resources that the calling principle has IAM permissions to access. For example, consider a case wher | DescribeEvents | |
describe-instances-healthRetrieves detailed information about the health of instances in your Elastic Beanstalk environments. This operation requires enhanced health reporting. This action only returns information about environments that the calling principle has IAM permissions to access. For example, consider a case where | DescribeInstancesHealth | |
describe-platform-versionDescribes a platform version. Provides full details. Compare to ListPlatformVersions, which provides summary information about a list of platform versions. For definitions of platform version and other platform-related terms, see Elastic Beanstalk Platforms Glossary. This action only returns informa | DescribePlatformVersion | |
disassociate-environment-operations-roleThe operations role feature of Elastic Beanstalk is in beta release and is subject to change. Disassociate the operations role from an environment. After this call is made, Elastic Beanstalk uses the caller's permissions for permissions to downstream services during subsequent calls acting on this | DisassociateEnvironmentOperationsRole | |
list-available-solution-stacksReturns a list of the available solution stack names, with the public version first and then in reverse chronological order. This action only returns information about resources that the calling principle has IAM permissions to access. For example, consider a case where a user only has permission to | ListAvailableSolutionStacks | |
list-platform-branchesLists the platform branches available for your account in an Amazon Web Services Region. Provides summary information about each platform branch. For definitions of platform branch and other platform-related terms, see Elastic Beanstalk Platforms Glossary. This action only returns information about | ListPlatformBranches | |
list-platform-versionsLists the platform versions available for your account in an Amazon Web Services Region. Provides summary information about each platform version. Compare to DescribePlatformVersion, which provides full details about a single platform version. This action only returns information about platform vers | ListPlatformVersions | |
list-tags-for-resourceReturn the tags applied to an Elastic Beanstalk resource. The response contains a list of tag key-value pairs. Elastic Beanstalk supports tagging of all of its resources. For details about resource tagging, see Tagging Application Resources. This action only returns information about resources that | ListTagsForResource | |
rebuild-environmentDeletes and recreates all of the Amazon Web Services resources (for example: the Auto Scaling group, load balancer, etc.) for a specified environment and forces a restart. | RebuildEnvironment | |
request-environment-infoInitiates a request to compile the specified type of information of the deployed environment. Setting the InfoType to tail compiles the last lines from the application server log files of every Amazon EC2 instance in your environment. Setting the InfoType to bundle compresses the application serv | RequestEnvironmentInfo | |
restart-app-serverCauses the environment to restart the application container server running on each Amazon EC2 instance. | RestartAppServer | |
retrieve-environment-infoRetrieves the compiled information from a RequestEnvironmentInfo request. Related Topics RequestEnvironmentInfo | RetrieveEnvironmentInfo | |
swap-environment-cnam-esSwaps the CNAMEs of two environments. | SwapEnvironmentCNAMEs | |
terminate-environmentTerminates the specified environment. | TerminateEnvironment | |
update-applicationUpdates the specified application to have the specified properties. If a property (for example, description) is not provided, the value remains unchanged. To clear these properties, specify an empty string. | UpdateApplication | |
update-application-resource-lifecycleModifies lifecycle settings for an application. | UpdateApplicationResourceLifecycle | |
update-application-versionUpdates the specified application version to have the specified properties. If a property (for example, description) is not provided, the value remains unchanged. To clear properties, specify an empty string. | UpdateApplicationVersion | |
update-configuration-templateUpdates the specified configuration template to have the specified properties or configuration option values. If a property (for example, ApplicationName) is not provided, its value remains unchanged. To clear such properties, specify an empty string. Related Topics DescribeConfigurationOptions | UpdateConfigurationTemplate | |
update-environmentUpdates the environment description, deploys a new application version, updates the configuration settings to an entirely new configuration template, or updates select configuration option values in the running environment. Attempting to update both the release and configuration is not allowed and | UpdateEnvironment | |
update-tags-for-resourceUpdate the list of tags applied to an Elastic Beanstalk resource. Two lists can be passed: TagsToAdd for tags to add or update, and TagsToRemove. Elastic Beanstalk supports tagging of all of its resources. For details about resource tagging, see Tagging Application Resources. If you create a custom | UpdateTagsForResource | |
validate-configuration-settingsTakes a set of configuration settings and either a configuration template or environment, and determines whether those values are valid. This action returns a list of messages indicating any errors or warnings associated with the selection of option values. | ValidateConfigurationSettings |
Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.
Subscribe to NewsletterOur bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.
Subscribe to NewsletterElastic Beanstalk