Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data Environment = Environment' {}
- newEnvironment :: EnvironmentType -> Text -> Text -> Environment
- environment_lifecycle :: Lens' Environment (Maybe EnvironmentLifecycle)
- environment_name :: Lens' Environment (Maybe Text)
- environment_id :: Lens' Environment (Maybe Text)
- environment_connectionType :: Lens' Environment (Maybe ConnectionType)
- environment_description :: Lens' Environment (Maybe Text)
- environment_managedCredentialsStatus :: Lens' Environment (Maybe ManagedCredentialsStatus)
- environment_type :: Lens' Environment EnvironmentType
- environment_arn :: Lens' Environment Text
- environment_ownerArn :: Lens' Environment Text
Documentation
data Environment Source #
Information about an Cloud9 development environment.
See: newEnvironment
smart constructor.
Environment' | |
|
Instances
:: EnvironmentType | |
-> Text | |
-> Text | |
-> Environment |
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:lifecycle:Environment'
, environment_lifecycle
- The state of the environment in its creation or deletion lifecycle.
$sel:name:Environment'
, environment_name
- The name of the environment.
$sel:id:Environment'
, environment_id
- The ID of the environment.
$sel:connectionType:Environment'
, environment_connectionType
- The connection type used for connecting to an Amazon EC2 environment.
CONNECT_SSH
is selected by default.
$sel:description:Environment'
, environment_description
- The description for the environment.
$sel:managedCredentialsStatus:Environment'
, environment_managedCredentialsStatus
- Describes the status of Amazon Web Services managed temporary
credentials for the Cloud9 environment. Available values are:
ENABLED_ON_CREATE
ENABLED_BY_OWNER
DISABLED_BY_DEFAULT
DISABLED_BY_OWNER
DISABLED_BY_COLLABORATOR
PENDING_REMOVAL_BY_COLLABORATOR
PENDING_REMOVAL_BY_OWNER
FAILED_REMOVAL_BY_COLLABORATOR
ENABLED_BY_OWNER
DISABLED_BY_DEFAULT
$sel:type':Environment'
, environment_type
- The type of environment. Valid values include the following:
ec2
: An Amazon Elastic Compute Cloud (Amazon EC2) instance connects to the environment.ssh
: Your own server connects to the environment.
$sel:arn:Environment'
, environment_arn
- The Amazon Resource Name (ARN) of the environment.
$sel:ownerArn:Environment'
, environment_ownerArn
- The Amazon Resource Name (ARN) of the environment owner.
environment_lifecycle :: Lens' Environment (Maybe EnvironmentLifecycle) Source #
The state of the environment in its creation or deletion lifecycle.
environment_name :: Lens' Environment (Maybe Text) Source #
The name of the environment.
environment_id :: Lens' Environment (Maybe Text) Source #
The ID of the environment.
environment_connectionType :: Lens' Environment (Maybe ConnectionType) Source #
The connection type used for connecting to an Amazon EC2 environment.
CONNECT_SSH
is selected by default.
environment_description :: Lens' Environment (Maybe Text) Source #
The description for the environment.
environment_managedCredentialsStatus :: Lens' Environment (Maybe ManagedCredentialsStatus) Source #
Describes the status of Amazon Web Services managed temporary credentials for the Cloud9 environment. Available values are:
ENABLED_ON_CREATE
ENABLED_BY_OWNER
DISABLED_BY_DEFAULT
DISABLED_BY_OWNER
DISABLED_BY_COLLABORATOR
PENDING_REMOVAL_BY_COLLABORATOR
PENDING_REMOVAL_BY_OWNER
FAILED_REMOVAL_BY_COLLABORATOR
ENABLED_BY_OWNER
DISABLED_BY_DEFAULT
environment_type :: Lens' Environment EnvironmentType Source #
The type of environment. Valid values include the following:
ec2
: An Amazon Elastic Compute Cloud (Amazon EC2) instance connects to the environment.ssh
: Your own server connects to the environment.
environment_arn :: Lens' Environment Text Source #
The Amazon Resource Name (ARN) of the environment.
environment_ownerArn :: Lens' Environment Text Source #
The Amazon Resource Name (ARN) of the environment owner.