ElasticBeanstalk class

AWS Elastic Beanstalk makes it easy for you to create, deploy, and manage scalable, fault-tolerant applications running on the Amazon Web Services cloud.

Constructors

ElasticBeanstalk({required String region, AwsClientCredentials? credentials, AwsClientCredentialsProvider? credentialsProvider, Client? client, String? endpointUrl})

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
shapes Map<String, Shape>
final

Methods

abortEnvironmentUpdate({String? environmentId, String? environmentName}) Future<void>
Cancels in-progress environment configuration update or application version deployment.
applyEnvironmentManagedAction({required String actionId, String? environmentId, String? environmentName}) Future<ApplyEnvironmentManagedActionResult>
Applies 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.
associateEnvironmentOperationsRole({required String environmentName, required String operationsRole}) Future<void>
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 acting on this environment. For more information, see Operations roles in the AWS Elastic Beanstalk Developer Guide.
checkDNSAvailability({required String cNAMEPrefix}) Future<CheckDNSAvailabilityResultMessage>
Checks if the specified CNAME is available.
close() → void
Closes the internal HTTP client if none was provided at creation. If a client was passed as a constructor argument, this becomes a noop.
composeEnvironments({String? applicationName, String? groupName, List<String>? versionLabels}) Future<EnvironmentDescriptionsMessage>
Create 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 in the source bundles in an environment manifest named env.yaml. See Compose Environments for details.
createApplication({required String applicationName, String? description, ApplicationResourceLifecycleConfig? resourceLifecycleConfig, List<Tag>? tags}) Future<ApplicationDescriptionMessage>
Creates an application that has one configuration template named default and no application versions.
createApplicationVersion({required String applicationName, required String versionLabel, bool? autoCreateApplication, BuildConfiguration? buildConfiguration, String? description, bool? process, SourceBuildInformation? sourceBuildInformation, S3Location? sourceBundle, List<Tag>? tags}) Future<ApplicationVersionDescriptionMessage>
Creates an application version for the specified application. You can create an application version from a source bundle in Amazon S3, a commit in AWS CodeCommit, or the output of an AWS CodeBuild build as follows:
createConfigurationTemplate({required String applicationName, required String templateName, String? description, String? environmentId, List<ConfigurationOptionSetting>? optionSettings, String? platformArn, String? solutionStackName, SourceConfiguration? sourceConfiguration, List<Tag>? tags}) Future<ConfigurationSettingsDescription>
Creates an AWS 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 configuration settings.
createEnvironment({required String applicationName, String? cNAMEPrefix, String? description, String? environmentName, String? groupName, String? operationsRole, List<ConfigurationOptionSetting>? optionSettings, List<OptionSpecification>? optionsToRemove, String? platformArn, String? solutionStackName, List<Tag>? tags, String? templateName, EnvironmentTier? tier, String? versionLabel}) Future<EnvironmentDescription>
Launches an AWS Elastic Beanstalk environment for the specified application using the specified configuration.
createPlatformVersion({required S3Location platformDefinitionBundle, required String platformName, required String platformVersion, String? environmentName, List<ConfigurationOptionSetting>? optionSettings, List<Tag>? tags}) Future<CreatePlatformVersionResult>
Create a new version of your custom platform.
createStorageLocation() Future<CreateStorageLocationResultMessage>
Creates 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 returns the bucket name but does not create a new bucket.
deleteApplication({required String applicationName, bool? terminateEnvByForce}) Future<void>
Deletes the specified application along with all associated versions and configurations. The application versions will not be deleted from your Amazon S3 bucket.
deleteApplicationVersion({required String applicationName, required String versionLabel, bool? deleteSourceBundle}) Future<void>
Deletes the specified version from the specified application.
deleteConfigurationTemplate({required String applicationName, required String templateName}) Future<void>
Deletes the specified configuration template.
deleteEnvironmentConfiguration({required String applicationName, required String environmentName}) Future<void>
Deletes the draft configuration associated with the running environment.
deletePlatformVersion({String? platformArn}) Future<DeletePlatformVersionResult>
Deletes the specified version of a custom platform.
describeAccountAttributes() Future<DescribeAccountAttributesResult>
Returns attributes related to AWS Elastic Beanstalk that are associated with the calling AWS account.
describeApplications({List<String>? applicationNames}) Future<ApplicationDescriptionsMessage>
Returns the descriptions of existing applications.
describeApplicationVersions({String? applicationName, int? maxRecords, String? nextToken, List<String>? versionLabels}) Future<ApplicationVersionDescriptionsMessage>
Retrieve a list of application versions.
describeConfigurationOptions({String? applicationName, String? environmentName, List<OptionSpecification>? options, String? platformArn, String? solutionStackName, String? templateName}) Future<ConfigurationOptionsDescription>
Describes 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 value is changed.
describeConfigurationSettings({required String applicationName, String? environmentName, String? templateName}) Future<ConfigurationSettingsDescriptions>
Returns 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.
describeEnvironmentHealth({List<EnvironmentHealthAttribute>? attributeNames, String? environmentId, String? environmentName}) Future<DescribeEnvironmentHealthResult>
Returns information about the overall health of the specified environment. The DescribeEnvironmentHealth operation is only available with AWS Elastic Beanstalk Enhanced Health.
describeEnvironmentManagedActionHistory({String? environmentId, String? environmentName, int? maxItems, String? nextToken}) Future<DescribeEnvironmentManagedActionHistoryResult>
Lists an environment's completed and failed managed actions.
describeEnvironmentManagedActions({String? environmentId, String? environmentName, ActionStatus? status}) Future<DescribeEnvironmentManagedActionsResult>
Lists an environment's upcoming and in-progress managed actions.
describeEnvironmentResources({String? environmentId, String? environmentName}) Future<EnvironmentResourceDescriptionsMessage>
Returns AWS resources for this environment.
describeEnvironments({String? applicationName, List<String>? environmentIds, List<String>? environmentNames, bool? includeDeleted, DateTime? includedDeletedBackTo, int? maxRecords, String? nextToken, String? versionLabel}) Future<EnvironmentDescriptionsMessage>
Returns descriptions for existing environments.
describeEvents({String? applicationName, DateTime? endTime, String? environmentId, String? environmentName, int? maxRecords, String? nextToken, String? platformArn, String? requestId, EventSeverity? severity, DateTime? startTime, String? templateName, String? versionLabel}) Future<EventDescriptionsMessage>
Returns list of event descriptions matching criteria up to the last 6 weeks.
describeInstancesHealth({List<InstancesHealthAttribute>? attributeNames, String? environmentId, String? environmentName, String? nextToken}) Future<DescribeInstancesHealthResult>
Retrieves detailed information about the health of instances in your AWS Elastic Beanstalk. This operation requires enhanced health reporting.
describePlatformVersion({String? platformArn}) Future<DescribePlatformVersionResult>
Describes a platform version. Provides full details. Compare to ListPlatformVersions, which provides summary information about a list of platform versions.
disassociateEnvironmentOperationsRole({required String environmentName}) Future<void>
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 environment. For more information, see Operations roles in the AWS Elastic Beanstalk Developer Guide.
listAvailableSolutionStacks() Future<ListAvailableSolutionStacksResultMessage>
Returns a list of the available solution stack names, with the public version first and then in reverse chronological order.
listPlatformBranches({List<SearchFilter>? filters, int? maxRecords, String? nextToken}) Future<ListPlatformBranchesResult>
Lists the platform branches available for your account in an AWS Region. Provides summary information about each platform branch.
listPlatformVersions({List<PlatformFilter>? filters, int? maxRecords, String? nextToken}) Future<ListPlatformVersionsResult>
Lists the platform versions available for your account in an AWS Region. Provides summary information about each platform version. Compare to DescribePlatformVersion, which provides full details about a single platform version.
listTagsForResource({required String resourceArn}) Future<ResourceTagsDescriptionMessage>
Return the tags applied to an AWS Elastic Beanstalk resource. The response contains a list of tag key-value pairs.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
rebuildEnvironment({String? environmentId, String? environmentName}) Future<void>
Deletes and recreates all of the AWS resources (for example: the Auto Scaling group, load balancer, etc.) for a specified environment and forces a restart.
requestEnvironmentInfo({required EnvironmentInfoType infoType, String? environmentId, String? environmentName}) Future<void>
Initiates a request to compile the specified type of information of the deployed environment.
restartAppServer({String? environmentId, String? environmentName}) Future<void>
Causes the environment to restart the application container server running on each Amazon EC2 instance.
retrieveEnvironmentInfo({required EnvironmentInfoType infoType, String? environmentId, String? environmentName}) Future<RetrieveEnvironmentInfoResultMessage>
Retrieves the compiled information from a RequestEnvironmentInfo request.
swapEnvironmentCNAMEs({String? destinationEnvironmentId, String? destinationEnvironmentName, String? sourceEnvironmentId, String? sourceEnvironmentName}) Future<void>
Swaps the CNAMEs of two environments.
terminateEnvironment({String? environmentId, String? environmentName, bool? forceTerminate, bool? terminateResources}) Future<EnvironmentDescription>
Terminates the specified environment.
toString() String
A string representation of this object.
inherited
updateApplication({required String applicationName, String? description}) Future<ApplicationDescriptionMessage>
Updates the specified application to have the specified properties.
updateApplicationResourceLifecycle({required String applicationName, required ApplicationResourceLifecycleConfig resourceLifecycleConfig}) Future<ApplicationResourceLifecycleDescriptionMessage>
Modifies lifecycle settings for an application.
updateApplicationVersion({required String applicationName, required String versionLabel, String? description}) Future<ApplicationVersionDescriptionMessage>
Updates the specified application version to have the specified properties.
updateConfigurationTemplate({required String applicationName, required String templateName, String? description, List<ConfigurationOptionSetting>? optionSettings, List<OptionSpecification>? optionsToRemove}) Future<ConfigurationSettingsDescription>
Updates the specified configuration template to have the specified properties or configuration option values. Related Topics
updateEnvironment({String? applicationName, String? description, String? environmentId, String? environmentName, String? groupName, List<ConfigurationOptionSetting>? optionSettings, List<OptionSpecification>? optionsToRemove, String? platformArn, String? solutionStackName, String? templateName, EnvironmentTier? tier, String? versionLabel}) Future<EnvironmentDescription>
Updates 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.
updateTagsForResource({required String resourceArn, List<Tag>? tagsToAdd, List<String>? tagsToRemove}) Future<void>
Update the list of tags applied to an AWS Elastic Beanstalk resource. Two lists can be passed: TagsToAdd for tags to add or update, and TagsToRemove.
validateConfigurationSettings({required String applicationName, required List<ConfigurationOptionSetting> optionSettings, String? environmentName, String? templateName}) Future<ConfigurationSettingsValidationMessages>
Takes a set of configuration settings and either a configuration template or environment, and determines whether those values are valid.

Operators

operator ==(Object other) bool
The equality operator.
inherited