libZSservicesZSamazonka-appconfigZSamazonka-appconfig
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.AppConfig.CreateEnvironment

Description

For each application, you define one or more environments. An environment is a logical deployment group of AppConfig targets, such as applications in a Beta or Production environment. You can also define environments for application subcomponents such as the Web, Mobile and Back-end components for your application. You can configure Amazon CloudWatch alarms for each environment. The system monitors alarms during a configuration deployment. If an alarm is triggered, the system rolls back the configuration.

Synopsis

Creating a Request

data CreateEnvironment Source #

See: newCreateEnvironment smart constructor.

Constructors

CreateEnvironment' 

Fields

Instances

Instances details
Eq CreateEnvironment Source # 
Instance details

Defined in Amazonka.AppConfig.CreateEnvironment

Read CreateEnvironment Source # 
Instance details

Defined in Amazonka.AppConfig.CreateEnvironment

Show CreateEnvironment Source # 
Instance details

Defined in Amazonka.AppConfig.CreateEnvironment

Generic CreateEnvironment Source # 
Instance details

Defined in Amazonka.AppConfig.CreateEnvironment

Associated Types

type Rep CreateEnvironment :: Type -> Type #

NFData CreateEnvironment Source # 
Instance details

Defined in Amazonka.AppConfig.CreateEnvironment

Methods

rnf :: CreateEnvironment -> () #

Hashable CreateEnvironment Source # 
Instance details

Defined in Amazonka.AppConfig.CreateEnvironment

ToJSON CreateEnvironment Source # 
Instance details

Defined in Amazonka.AppConfig.CreateEnvironment

AWSRequest CreateEnvironment Source # 
Instance details

Defined in Amazonka.AppConfig.CreateEnvironment

Associated Types

type AWSResponse CreateEnvironment #

ToHeaders CreateEnvironment Source # 
Instance details

Defined in Amazonka.AppConfig.CreateEnvironment

ToPath CreateEnvironment Source # 
Instance details

Defined in Amazonka.AppConfig.CreateEnvironment

ToQuery CreateEnvironment Source # 
Instance details

Defined in Amazonka.AppConfig.CreateEnvironment

type Rep CreateEnvironment Source # 
Instance details

Defined in Amazonka.AppConfig.CreateEnvironment

type Rep CreateEnvironment = D1 ('MetaData "CreateEnvironment" "Amazonka.AppConfig.CreateEnvironment" "libZSservicesZSamazonka-appconfigZSamazonka-appconfig" 'False) (C1 ('MetaCons "CreateEnvironment'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "monitors") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Monitor])) :*: S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text))) :*: (S1 ('MetaSel ('Just "applicationId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))
type AWSResponse CreateEnvironment Source # 
Instance details

Defined in Amazonka.AppConfig.CreateEnvironment

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:monitors:CreateEnvironment', createEnvironment_monitors - Amazon CloudWatch alarms to monitor during the deployment process.

$sel:description:CreateEnvironment', createEnvironment_description - A description of the environment.

$sel:tags:CreateEnvironment', createEnvironment_tags - Metadata to assign to the environment. Tags help organize and categorize your AppConfig resources. Each tag consists of a key and an optional value, both of which you define.

$sel:applicationId:CreateEnvironment', createEnvironment_applicationId - The application ID.

$sel:name:CreateEnvironment', createEnvironment_name - A name for the environment.

Request Lenses

createEnvironment_monitors :: Lens' CreateEnvironment (Maybe [Monitor]) Source #

Amazon CloudWatch alarms to monitor during the deployment process.

createEnvironment_tags :: Lens' CreateEnvironment (Maybe (HashMap Text Text)) Source #

Metadata to assign to the environment. Tags help organize and categorize your AppConfig resources. Each tag consists of a key and an optional value, both of which you define.

Destructuring the Response

data Environment Source #

See: newEnvironment smart constructor.

Constructors

Environment' 

Fields

Instances

Instances details
Eq Environment Source # 
Instance details

Defined in Amazonka.AppConfig.Types.Environment

Read Environment Source # 
Instance details

Defined in Amazonka.AppConfig.Types.Environment

Show Environment Source # 
Instance details

Defined in Amazonka.AppConfig.Types.Environment

Generic Environment Source # 
Instance details

Defined in Amazonka.AppConfig.Types.Environment

Associated Types

type Rep Environment :: Type -> Type #

NFData Environment Source # 
Instance details

Defined in Amazonka.AppConfig.Types.Environment

Methods

rnf :: Environment -> () #

Hashable Environment Source # 
Instance details

Defined in Amazonka.AppConfig.Types.Environment

FromJSON Environment Source # 
Instance details

Defined in Amazonka.AppConfig.Types.Environment

type Rep Environment Source # 
Instance details

Defined in Amazonka.AppConfig.Types.Environment

newEnvironment :: Environment Source #

Create a value of Environment 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:state:Environment', environment_state - The state of the environment. An environment can be in one of the following states: READY_FOR_DEPLOYMENT, DEPLOYING, ROLLING_BACK, or ROLLED_BACK

$sel:monitors:Environment', environment_monitors - Amazon CloudWatch alarms monitored during the deployment.

$sel:applicationId:Environment', environment_applicationId - The application ID.

$sel:name:Environment', environment_name - The name of the environment.

$sel:id:Environment', environment_id - The environment ID.

$sel:description:Environment', environment_description - The description of the environment.

Response Lenses

environment_state :: Lens' Environment (Maybe EnvironmentState) Source #

The state of the environment. An environment can be in one of the following states: READY_FOR_DEPLOYMENT, DEPLOYING, ROLLING_BACK, or ROLLED_BACK

environment_monitors :: Lens' Environment (Maybe [Monitor]) Source #

Amazon CloudWatch alarms monitored during the deployment.

environment_name :: Lens' Environment (Maybe Text) Source #

The name of the environment.

environment_description :: Lens' Environment (Maybe Text) Source #

The description of the environment.