amazonka-elasticbeanstalk-2.0: Amazon Elastic Beanstalk SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.ElasticBeanstalk.CreateEnvironment

Description

Launches an AWS Elastic Beanstalk environment for the specified application using the specified configuration.

Synopsis

Creating a Request

data CreateEnvironment Source #

See: newCreateEnvironment smart constructor.

Constructors

CreateEnvironment' 

Fields

  • cNAMEPrefix :: Maybe Text

    If specified, the environment attempts to use this value as the prefix for the CNAME in your Elastic Beanstalk environment URL. If not specified, the CNAME is generated automatically by appending a random alphanumeric string to the environment name.

  • description :: Maybe Text

    Your description for this environment.

  • environmentName :: Maybe Text

    A unique name for the environment.

    Constraint: Must be from 4 to 40 characters in length. The name can contain only letters, numbers, and hyphens. It can't start or end with a hyphen. This name must be unique within a region in your account. If the specified name already exists in the region, Elastic Beanstalk returns an InvalidParameterValue error.

    If you don't specify the CNAMEPrefix parameter, the environment name becomes part of the CNAME, and therefore part of the visible URL for your application.

  • groupName :: Maybe Text

    The name of the group to which the target environment belongs. Specify a group name only if the environment's name is specified in an environment manifest and not with the environment name parameter. See Environment Manifest (env.yaml) for details.

  • operationsRole :: Maybe Text

    The Amazon Resource Name (ARN) of an existing IAM role to be used as the environment's operations role. If specified, Elastic Beanstalk uses the operations role for permissions to downstream services during this call and during subsequent calls acting on this environment. To specify an operations role, you must have the iam:PassRole permission for the role. For more information, see Operations roles in the AWS Elastic Beanstalk Developer Guide.

  • optionSettings :: Maybe [ConfigurationOptionSetting]

    If specified, AWS Elastic Beanstalk sets the specified configuration options to the requested value in the configuration set for the new environment. These override the values obtained from the solution stack or the configuration template.

  • optionsToRemove :: Maybe [OptionSpecification]

    A list of custom user-defined configuration options to remove from the configuration set for this new environment.

  • platformArn :: Maybe Text

    The Amazon Resource Name (ARN) of the custom platform to use with the environment. For more information, see Custom Platforms in the AWS Elastic Beanstalk Developer Guide.

    If you specify PlatformArn, don't specify SolutionStackName.

  • solutionStackName :: Maybe Text

    The name of an Elastic Beanstalk solution stack (platform version) to use with the environment. If specified, Elastic Beanstalk sets the configuration values to the default values associated with the specified solution stack. For a list of current solution stacks, see Elastic Beanstalk Supported Platforms in the AWS Elastic Beanstalk Platforms guide.

    If you specify SolutionStackName, don't specify PlatformArn or TemplateName.

  • tags :: Maybe [Tag]

    Specifies the tags applied to resources in the environment.

  • templateName :: Maybe Text

    The name of the Elastic Beanstalk configuration template to use with the environment.

    If you specify TemplateName, then don't specify SolutionStackName.

  • tier :: Maybe EnvironmentTier

    Specifies the tier to use in creating this environment. The environment tier that you choose determines whether Elastic Beanstalk provisions resources to support a web application that handles HTTP(S) requests or a web application that handles background-processing tasks.

  • versionLabel :: Maybe Text

    The name of the application version to deploy.

    Default: If not specified, Elastic Beanstalk attempts to deploy the sample application.

  • applicationName :: Text

    The name of the application that is associated with this environment.

Instances

Instances details
ToHeaders CreateEnvironment Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.CreateEnvironment

ToPath CreateEnvironment Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.CreateEnvironment

ToQuery CreateEnvironment Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.CreateEnvironment

AWSRequest CreateEnvironment Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.CreateEnvironment

Associated Types

type AWSResponse CreateEnvironment #

Generic CreateEnvironment Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.CreateEnvironment

Associated Types

type Rep CreateEnvironment :: Type -> Type #

Read CreateEnvironment Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.CreateEnvironment

Show CreateEnvironment Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.CreateEnvironment

NFData CreateEnvironment Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.CreateEnvironment

Methods

rnf :: CreateEnvironment -> () #

Eq CreateEnvironment Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.CreateEnvironment

Hashable CreateEnvironment Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.CreateEnvironment

type AWSResponse CreateEnvironment Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.CreateEnvironment

type Rep CreateEnvironment Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.CreateEnvironment

type Rep CreateEnvironment = D1 ('MetaData "CreateEnvironment" "Amazonka.ElasticBeanstalk.CreateEnvironment" "amazonka-elasticbeanstalk-2.0-HLGGuY0kjXTIKSbM7JuMHy" 'False) (C1 ('MetaCons "CreateEnvironment'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "cNAMEPrefix") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "environmentName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "groupName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "operationsRole") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "optionSettings") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [ConfigurationOptionSetting])) :*: S1 ('MetaSel ('Just "optionsToRemove") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [OptionSpecification]))))) :*: ((S1 ('MetaSel ('Just "platformArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "solutionStackName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Tag])))) :*: ((S1 ('MetaSel ('Just "templateName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "tier") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe EnvironmentTier))) :*: (S1 ('MetaSel ('Just "versionLabel") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "applicationName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))))

newCreateEnvironment Source #

Create a value of CreateEnvironment with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:cNAMEPrefix:CreateEnvironment', createEnvironment_cNAMEPrefix - If specified, the environment attempts to use this value as the prefix for the CNAME in your Elastic Beanstalk environment URL. If not specified, the CNAME is generated automatically by appending a random alphanumeric string to the environment name.

CreateEnvironment, createEnvironment_description - Your description for this environment.

CreateEnvironment, createEnvironment_environmentName - A unique name for the environment.

Constraint: Must be from 4 to 40 characters in length. The name can contain only letters, numbers, and hyphens. It can't start or end with a hyphen. This name must be unique within a region in your account. If the specified name already exists in the region, Elastic Beanstalk returns an InvalidParameterValue error.

If you don't specify the CNAMEPrefix parameter, the environment name becomes part of the CNAME, and therefore part of the visible URL for your application.

$sel:groupName:CreateEnvironment', createEnvironment_groupName - The name of the group to which the target environment belongs. Specify a group name only if the environment's name is specified in an environment manifest and not with the environment name parameter. See Environment Manifest (env.yaml) for details.

CreateEnvironment, createEnvironment_operationsRole - The Amazon Resource Name (ARN) of an existing IAM role to be used as the environment's operations role. If specified, Elastic Beanstalk uses the operations role for permissions to downstream services during this call and during subsequent calls acting on this environment. To specify an operations role, you must have the iam:PassRole permission for the role. For more information, see Operations roles in the AWS Elastic Beanstalk Developer Guide.

CreateEnvironment, createEnvironment_optionSettings - If specified, AWS Elastic Beanstalk sets the specified configuration options to the requested value in the configuration set for the new environment. These override the values obtained from the solution stack or the configuration template.

$sel:optionsToRemove:CreateEnvironment', createEnvironment_optionsToRemove - A list of custom user-defined configuration options to remove from the configuration set for this new environment.

CreateEnvironment, createEnvironment_platformArn - The Amazon Resource Name (ARN) of the custom platform to use with the environment. For more information, see Custom Platforms in the AWS Elastic Beanstalk Developer Guide.

If you specify PlatformArn, don't specify SolutionStackName.

CreateEnvironment, createEnvironment_solutionStackName - The name of an Elastic Beanstalk solution stack (platform version) to use with the environment. If specified, Elastic Beanstalk sets the configuration values to the default values associated with the specified solution stack. For a list of current solution stacks, see Elastic Beanstalk Supported Platforms in the AWS Elastic Beanstalk Platforms guide.

If you specify SolutionStackName, don't specify PlatformArn or TemplateName.

$sel:tags:CreateEnvironment', createEnvironment_tags - Specifies the tags applied to resources in the environment.

CreateEnvironment, createEnvironment_templateName - The name of the Elastic Beanstalk configuration template to use with the environment.

If you specify TemplateName, then don't specify SolutionStackName.

CreateEnvironment, createEnvironment_tier - Specifies the tier to use in creating this environment. The environment tier that you choose determines whether Elastic Beanstalk provisions resources to support a web application that handles HTTP(S) requests or a web application that handles background-processing tasks.

CreateEnvironment, createEnvironment_versionLabel - The name of the application version to deploy.

Default: If not specified, Elastic Beanstalk attempts to deploy the sample application.

CreateEnvironment, createEnvironment_applicationName - The name of the application that is associated with this environment.

Request Lenses

createEnvironment_cNAMEPrefix :: Lens' CreateEnvironment (Maybe Text) Source #

If specified, the environment attempts to use this value as the prefix for the CNAME in your Elastic Beanstalk environment URL. If not specified, the CNAME is generated automatically by appending a random alphanumeric string to the environment name.

createEnvironment_description :: Lens' CreateEnvironment (Maybe Text) Source #

Your description for this environment.

createEnvironment_environmentName :: Lens' CreateEnvironment (Maybe Text) Source #

A unique name for the environment.

Constraint: Must be from 4 to 40 characters in length. The name can contain only letters, numbers, and hyphens. It can't start or end with a hyphen. This name must be unique within a region in your account. If the specified name already exists in the region, Elastic Beanstalk returns an InvalidParameterValue error.

If you don't specify the CNAMEPrefix parameter, the environment name becomes part of the CNAME, and therefore part of the visible URL for your application.

createEnvironment_groupName :: Lens' CreateEnvironment (Maybe Text) Source #

The name of the group to which the target environment belongs. Specify a group name only if the environment's name is specified in an environment manifest and not with the environment name parameter. See Environment Manifest (env.yaml) for details.

createEnvironment_operationsRole :: Lens' CreateEnvironment (Maybe Text) Source #

The Amazon Resource Name (ARN) of an existing IAM role to be used as the environment's operations role. If specified, Elastic Beanstalk uses the operations role for permissions to downstream services during this call and during subsequent calls acting on this environment. To specify an operations role, you must have the iam:PassRole permission for the role. For more information, see Operations roles in the AWS Elastic Beanstalk Developer Guide.

createEnvironment_optionSettings :: Lens' CreateEnvironment (Maybe [ConfigurationOptionSetting]) Source #

If specified, AWS Elastic Beanstalk sets the specified configuration options to the requested value in the configuration set for the new environment. These override the values obtained from the solution stack or the configuration template.

createEnvironment_optionsToRemove :: Lens' CreateEnvironment (Maybe [OptionSpecification]) Source #

A list of custom user-defined configuration options to remove from the configuration set for this new environment.

createEnvironment_platformArn :: Lens' CreateEnvironment (Maybe Text) Source #

The Amazon Resource Name (ARN) of the custom platform to use with the environment. For more information, see Custom Platforms in the AWS Elastic Beanstalk Developer Guide.

If you specify PlatformArn, don't specify SolutionStackName.

createEnvironment_solutionStackName :: Lens' CreateEnvironment (Maybe Text) Source #

The name of an Elastic Beanstalk solution stack (platform version) to use with the environment. If specified, Elastic Beanstalk sets the configuration values to the default values associated with the specified solution stack. For a list of current solution stacks, see Elastic Beanstalk Supported Platforms in the AWS Elastic Beanstalk Platforms guide.

If you specify SolutionStackName, don't specify PlatformArn or TemplateName.

createEnvironment_tags :: Lens' CreateEnvironment (Maybe [Tag]) Source #

Specifies the tags applied to resources in the environment.

createEnvironment_templateName :: Lens' CreateEnvironment (Maybe Text) Source #

The name of the Elastic Beanstalk configuration template to use with the environment.

If you specify TemplateName, then don't specify SolutionStackName.

createEnvironment_tier :: Lens' CreateEnvironment (Maybe EnvironmentTier) Source #

Specifies the tier to use in creating this environment. The environment tier that you choose determines whether Elastic Beanstalk provisions resources to support a web application that handles HTTP(S) requests or a web application that handles background-processing tasks.

createEnvironment_versionLabel :: Lens' CreateEnvironment (Maybe Text) Source #

The name of the application version to deploy.

Default: If not specified, Elastic Beanstalk attempts to deploy the sample application.

createEnvironment_applicationName :: Lens' CreateEnvironment Text Source #

The name of the application that is associated with this environment.

Destructuring the Response

data EnvironmentDescription Source #

Describes the properties of an environment.

See: newEnvironmentDescription smart constructor.

Constructors

EnvironmentDescription' 

Fields

  • abortableOperationInProgress :: Maybe Bool

    Indicates if there is an in-progress environment configuration update or application version deployment that you can cancel.

    true: There is an update in progress.

    false: There are no updates currently in progress.

  • applicationName :: Maybe Text

    The name of the application associated with this environment.

  • cname :: Maybe Text

    The URL to the CNAME for this environment.

  • dateCreated :: Maybe ISO8601

    The creation date for this environment.

  • dateUpdated :: Maybe ISO8601

    The last modified date for this environment.

  • description :: Maybe Text

    Describes this environment.

  • endpointURL :: Maybe Text

    For load-balanced, autoscaling environments, the URL to the LoadBalancer. For single-instance environments, the IP address of the instance.

  • environmentArn :: Maybe Text

    The environment's Amazon Resource Name (ARN), which can be used in other API requests that require an ARN.

  • environmentId :: Maybe Text

    The ID of this environment.

  • environmentLinks :: Maybe [EnvironmentLink]

    A list of links to other environments in the same group.

  • environmentName :: Maybe Text

    The name of this environment.

  • health :: Maybe EnvironmentHealth

    Describes the health status of the environment. AWS Elastic Beanstalk indicates the failure levels for a running environment:

    • Red: Indicates the environment is not responsive. Occurs when three or more consecutive failures occur for an environment.
    • Yellow: Indicates that something is wrong. Occurs when two consecutive failures occur for an environment.
    • Green: Indicates the environment is healthy and fully functional.
    • Grey: Default health for a new environment. The environment is not fully launched and health checks have not started or health checks are suspended during an UpdateEnvironment or RestartEnvironment request.

    Default: Grey

  • healthStatus :: Maybe EnvironmentHealthStatus

    Returns the health status of the application running in your environment. For more information, see Health Colors and Statuses.

  • operationsRole :: Maybe Text

    The Amazon Resource Name (ARN) of the environment's operations role. For more information, see Operations roles in the AWS Elastic Beanstalk Developer Guide.

  • platformArn :: Maybe Text

    The ARN of the platform version.

  • resources :: Maybe EnvironmentResourcesDescription

    The description of the AWS resources used by this environment.

  • solutionStackName :: Maybe Text

    The name of the SolutionStack deployed with this environment.

  • status :: Maybe EnvironmentStatus

    The current operational status of the environment:

    • Launching: Environment is in the process of initial deployment.
    • Updating: Environment is in the process of updating its configuration settings or application version.
    • Ready: Environment is available to have an action performed on it, such as update or terminate.
    • Terminating: Environment is in the shut-down process.
    • Terminated: Environment is not running.
  • templateName :: Maybe Text

    The name of the configuration template used to originally launch this environment.

  • tier :: Maybe EnvironmentTier

    Describes the current tier of this environment.

  • versionLabel :: Maybe Text

    The application version deployed in this environment.

Instances

Instances details
FromXML EnvironmentDescription Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.Types.EnvironmentDescription

Generic EnvironmentDescription Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.Types.EnvironmentDescription

Associated Types

type Rep EnvironmentDescription :: Type -> Type #

Read EnvironmentDescription Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.Types.EnvironmentDescription

Show EnvironmentDescription Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.Types.EnvironmentDescription

NFData EnvironmentDescription Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.Types.EnvironmentDescription

Methods

rnf :: EnvironmentDescription -> () #

Eq EnvironmentDescription Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.Types.EnvironmentDescription

Hashable EnvironmentDescription Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.Types.EnvironmentDescription

type Rep EnvironmentDescription Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.Types.EnvironmentDescription

type Rep EnvironmentDescription = D1 ('MetaData "EnvironmentDescription" "Amazonka.ElasticBeanstalk.Types.EnvironmentDescription" "amazonka-elasticbeanstalk-2.0-HLGGuY0kjXTIKSbM7JuMHy" 'False) (C1 ('MetaCons "EnvironmentDescription'" 'PrefixI 'True) ((((S1 ('MetaSel ('Just "abortableOperationInProgress") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "applicationName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "cname") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "dateCreated") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ISO8601)) :*: S1 ('MetaSel ('Just "dateUpdated") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ISO8601))))) :*: ((S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "endpointURL") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "environmentArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "environmentId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "environmentLinks") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [EnvironmentLink])))))) :*: (((S1 ('MetaSel ('Just "environmentName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "health") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe EnvironmentHealth))) :*: (S1 ('MetaSel ('Just "healthStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe EnvironmentHealthStatus)) :*: (S1 ('MetaSel ('Just "operationsRole") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "platformArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))) :*: ((S1 ('MetaSel ('Just "resources") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe EnvironmentResourcesDescription)) :*: (S1 ('MetaSel ('Just "solutionStackName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe EnvironmentStatus)))) :*: (S1 ('MetaSel ('Just "templateName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "tier") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe EnvironmentTier)) :*: S1 ('MetaSel ('Just "versionLabel") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))))))

newEnvironmentDescription :: EnvironmentDescription Source #

Create a value of EnvironmentDescription with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:abortableOperationInProgress:EnvironmentDescription', environmentDescription_abortableOperationInProgress - Indicates if there is an in-progress environment configuration update or application version deployment that you can cancel.

true: There is an update in progress.

false: There are no updates currently in progress.

$sel:applicationName:EnvironmentDescription', environmentDescription_applicationName - The name of the application associated with this environment.

$sel:cname:EnvironmentDescription', environmentDescription_cname - The URL to the CNAME for this environment.

$sel:dateCreated:EnvironmentDescription', environmentDescription_dateCreated - The creation date for this environment.

$sel:dateUpdated:EnvironmentDescription', environmentDescription_dateUpdated - The last modified date for this environment.

$sel:description:EnvironmentDescription', environmentDescription_description - Describes this environment.

$sel:endpointURL:EnvironmentDescription', environmentDescription_endpointURL - For load-balanced, autoscaling environments, the URL to the LoadBalancer. For single-instance environments, the IP address of the instance.

$sel:environmentArn:EnvironmentDescription', environmentDescription_environmentArn - The environment's Amazon Resource Name (ARN), which can be used in other API requests that require an ARN.

$sel:environmentId:EnvironmentDescription', environmentDescription_environmentId - The ID of this environment.

$sel:environmentLinks:EnvironmentDescription', environmentDescription_environmentLinks - A list of links to other environments in the same group.

EnvironmentDescription, environmentDescription_environmentName - The name of this environment.

$sel:health:EnvironmentDescription', environmentDescription_health - Describes the health status of the environment. AWS Elastic Beanstalk indicates the failure levels for a running environment:

  • Red: Indicates the environment is not responsive. Occurs when three or more consecutive failures occur for an environment.
  • Yellow: Indicates that something is wrong. Occurs when two consecutive failures occur for an environment.
  • Green: Indicates the environment is healthy and fully functional.
  • Grey: Default health for a new environment. The environment is not fully launched and health checks have not started or health checks are suspended during an UpdateEnvironment or RestartEnvironment request.

Default: Grey

$sel:healthStatus:EnvironmentDescription', environmentDescription_healthStatus - Returns the health status of the application running in your environment. For more information, see Health Colors and Statuses.

$sel:operationsRole:EnvironmentDescription', environmentDescription_operationsRole - The Amazon Resource Name (ARN) of the environment's operations role. For more information, see Operations roles in the AWS Elastic Beanstalk Developer Guide.

$sel:platformArn:EnvironmentDescription', environmentDescription_platformArn - The ARN of the platform version.

$sel:resources:EnvironmentDescription', environmentDescription_resources - The description of the AWS resources used by this environment.

$sel:solutionStackName:EnvironmentDescription', environmentDescription_solutionStackName - The name of the SolutionStack deployed with this environment.

$sel:status:EnvironmentDescription', environmentDescription_status - The current operational status of the environment:

  • Launching: Environment is in the process of initial deployment.
  • Updating: Environment is in the process of updating its configuration settings or application version.
  • Ready: Environment is available to have an action performed on it, such as update or terminate.
  • Terminating: Environment is in the shut-down process.
  • Terminated: Environment is not running.

$sel:templateName:EnvironmentDescription', environmentDescription_templateName - The name of the configuration template used to originally launch this environment.

$sel:tier:EnvironmentDescription', environmentDescription_tier - Describes the current tier of this environment.

$sel:versionLabel:EnvironmentDescription', environmentDescription_versionLabel - The application version deployed in this environment.

Response Lenses

environmentDescription_abortableOperationInProgress :: Lens' EnvironmentDescription (Maybe Bool) Source #

Indicates if there is an in-progress environment configuration update or application version deployment that you can cancel.

true: There is an update in progress.

false: There are no updates currently in progress.

environmentDescription_applicationName :: Lens' EnvironmentDescription (Maybe Text) Source #

The name of the application associated with this environment.

environmentDescription_cname :: Lens' EnvironmentDescription (Maybe Text) Source #

The URL to the CNAME for this environment.

environmentDescription_dateUpdated :: Lens' EnvironmentDescription (Maybe UTCTime) Source #

The last modified date for this environment.

environmentDescription_endpointURL :: Lens' EnvironmentDescription (Maybe Text) Source #

For load-balanced, autoscaling environments, the URL to the LoadBalancer. For single-instance environments, the IP address of the instance.

environmentDescription_environmentArn :: Lens' EnvironmentDescription (Maybe Text) Source #

The environment's Amazon Resource Name (ARN), which can be used in other API requests that require an ARN.

environmentDescription_environmentLinks :: Lens' EnvironmentDescription (Maybe [EnvironmentLink]) Source #

A list of links to other environments in the same group.

environmentDescription_health :: Lens' EnvironmentDescription (Maybe EnvironmentHealth) Source #

Describes the health status of the environment. AWS Elastic Beanstalk indicates the failure levels for a running environment:

  • Red: Indicates the environment is not responsive. Occurs when three or more consecutive failures occur for an environment.
  • Yellow: Indicates that something is wrong. Occurs when two consecutive failures occur for an environment.
  • Green: Indicates the environment is healthy and fully functional.
  • Grey: Default health for a new environment. The environment is not fully launched and health checks have not started or health checks are suspended during an UpdateEnvironment or RestartEnvironment request.

Default: Grey

environmentDescription_healthStatus :: Lens' EnvironmentDescription (Maybe EnvironmentHealthStatus) Source #

Returns the health status of the application running in your environment. For more information, see Health Colors and Statuses.

environmentDescription_operationsRole :: Lens' EnvironmentDescription (Maybe Text) Source #

The Amazon Resource Name (ARN) of the environment's operations role. For more information, see Operations roles in the AWS Elastic Beanstalk Developer Guide.

environmentDescription_resources :: Lens' EnvironmentDescription (Maybe EnvironmentResourcesDescription) Source #

The description of the AWS resources used by this environment.

environmentDescription_solutionStackName :: Lens' EnvironmentDescription (Maybe Text) Source #

The name of the SolutionStack deployed with this environment.

environmentDescription_status :: Lens' EnvironmentDescription (Maybe EnvironmentStatus) Source #

The current operational status of the environment:

  • Launching: Environment is in the process of initial deployment.
  • Updating: Environment is in the process of updating its configuration settings or application version.
  • Ready: Environment is available to have an action performed on it, such as update or terminate.
  • Terminating: Environment is in the shut-down process.
  • Terminated: Environment is not running.

environmentDescription_templateName :: Lens' EnvironmentDescription (Maybe Text) Source #

The name of the configuration template used to originally launch this environment.

environmentDescription_tier :: Lens' EnvironmentDescription (Maybe EnvironmentTier) Source #

Describes the current tier of this environment.

environmentDescription_versionLabel :: Lens' EnvironmentDescription (Maybe Text) Source #

The application version deployed in this environment.