amazonka-opsworks-2.0: Amazon OpsWorks 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.OpsWorks.Types.Deployment

Description

 
Synopsis

Documentation

data Deployment Source #

Describes a deployment of a stack or app.

See: newDeployment smart constructor.

Constructors

Deployment' 

Fields

Instances

Instances details
FromJSON Deployment Source # 
Instance details

Defined in Amazonka.OpsWorks.Types.Deployment

Generic Deployment Source # 
Instance details

Defined in Amazonka.OpsWorks.Types.Deployment

Associated Types

type Rep Deployment :: Type -> Type #

Read Deployment Source # 
Instance details

Defined in Amazonka.OpsWorks.Types.Deployment

Show Deployment Source # 
Instance details

Defined in Amazonka.OpsWorks.Types.Deployment

NFData Deployment Source # 
Instance details

Defined in Amazonka.OpsWorks.Types.Deployment

Methods

rnf :: Deployment -> () #

Eq Deployment Source # 
Instance details

Defined in Amazonka.OpsWorks.Types.Deployment

Hashable Deployment Source # 
Instance details

Defined in Amazonka.OpsWorks.Types.Deployment

type Rep Deployment Source # 
Instance details

Defined in Amazonka.OpsWorks.Types.Deployment

type Rep Deployment = D1 ('MetaData "Deployment" "Amazonka.OpsWorks.Types.Deployment" "amazonka-opsworks-2.0-7XrzSD2vbuN9lVUGWMVZ7S" 'False) (C1 ('MetaCons "Deployment'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "appId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "command") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DeploymentCommand)) :*: S1 ('MetaSel ('Just "comment") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "completedAt") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "createdAt") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "customJson") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))) :*: ((S1 ('MetaSel ('Just "deploymentId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "duration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "iamUserArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "instanceIds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: (S1 ('MetaSel ('Just "stackId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))))

newDeployment :: Deployment Source #

Create a value of Deployment 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:appId:Deployment', deployment_appId - The app ID.

$sel:command:Deployment', deployment_command - Used to specify a stack or deployment command.

$sel:comment:Deployment', deployment_comment - A user-defined comment.

$sel:completedAt:Deployment', deployment_completedAt - Date when the deployment completed.

$sel:createdAt:Deployment', deployment_createdAt - Date when the deployment was created.

$sel:customJson:Deployment', deployment_customJson - A string that contains user-defined custom JSON. It can be used to override the corresponding default stack configuration attribute values for stack or to pass data to recipes. The string should be in the following format:

"{\"key1\": \"value1\", \"key2\": \"value2\",...}"

For more information on custom JSON, see Use Custom JSON to Modify the Stack Configuration Attributes.

$sel:deploymentId:Deployment', deployment_deploymentId - The deployment ID.

$sel:duration:Deployment', deployment_duration - The deployment duration.

$sel:iamUserArn:Deployment', deployment_iamUserArn - The user's IAM ARN.

$sel:instanceIds:Deployment', deployment_instanceIds - The IDs of the target instances.

$sel:stackId:Deployment', deployment_stackId - The stack ID.

$sel:status:Deployment', deployment_status - The deployment status:

  • running
  • successful
  • failed

deployment_command :: Lens' Deployment (Maybe DeploymentCommand) Source #

Used to specify a stack or deployment command.

deployment_comment :: Lens' Deployment (Maybe Text) Source #

A user-defined comment.

deployment_completedAt :: Lens' Deployment (Maybe Text) Source #

Date when the deployment completed.

deployment_createdAt :: Lens' Deployment (Maybe Text) Source #

Date when the deployment was created.

deployment_customJson :: Lens' Deployment (Maybe Text) Source #

A string that contains user-defined custom JSON. It can be used to override the corresponding default stack configuration attribute values for stack or to pass data to recipes. The string should be in the following format:

"{\"key1\": \"value1\", \"key2\": \"value2\",...}"

For more information on custom JSON, see Use Custom JSON to Modify the Stack Configuration Attributes.

deployment_duration :: Lens' Deployment (Maybe Int) Source #

The deployment duration.

deployment_instanceIds :: Lens' Deployment (Maybe [Text]) Source #

The IDs of the target instances.

deployment_status :: Lens' Deployment (Maybe Text) Source #

The deployment status:

  • running
  • successful
  • failed