libZSservicesZSamazonka-codedeployZSamazonka-codedeploy
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.CodeDeploy.Types.RawString

Description

 
Synopsis

Documentation

data RawString Source #

A revision for an AWS Lambda deployment that is a YAML-formatted or JSON-formatted string. For AWS Lambda deployments, the revision is the same as the AppSpec file.

See: newRawString smart constructor.

Constructors

RawString' 

Fields

  • content :: Maybe Text

    The YAML-formatted or JSON-formatted revision string. It includes information about which Lambda function to update and optional Lambda functions that validate deployment lifecycle events.

  • sha256 :: Maybe Text

    The SHA256 hash value of the revision content.

Instances

Instances details
Eq RawString Source # 
Instance details

Defined in Amazonka.CodeDeploy.Types.RawString

Read RawString Source # 
Instance details

Defined in Amazonka.CodeDeploy.Types.RawString

Show RawString Source # 
Instance details

Defined in Amazonka.CodeDeploy.Types.RawString

Generic RawString Source # 
Instance details

Defined in Amazonka.CodeDeploy.Types.RawString

Associated Types

type Rep RawString :: Type -> Type #

NFData RawString Source # 
Instance details

Defined in Amazonka.CodeDeploy.Types.RawString

Methods

rnf :: RawString -> () #

Hashable RawString Source # 
Instance details

Defined in Amazonka.CodeDeploy.Types.RawString

ToJSON RawString Source # 
Instance details

Defined in Amazonka.CodeDeploy.Types.RawString

FromJSON RawString Source # 
Instance details

Defined in Amazonka.CodeDeploy.Types.RawString

type Rep RawString Source # 
Instance details

Defined in Amazonka.CodeDeploy.Types.RawString

type Rep RawString = D1 ('MetaData "RawString" "Amazonka.CodeDeploy.Types.RawString" "libZSservicesZSamazonka-codedeployZSamazonka-codedeploy" 'False) (C1 ('MetaCons "RawString'" 'PrefixI 'True) (S1 ('MetaSel ('Just "content") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "sha256") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newRawString :: RawString Source #

Create a value of RawString 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:content:RawString', rawString_content - The YAML-formatted or JSON-formatted revision string. It includes information about which Lambda function to update and optional Lambda functions that validate deployment lifecycle events.

$sel:sha256:RawString', rawString_sha256 - The SHA256 hash value of the revision content.

rawString_content :: Lens' RawString (Maybe Text) Source #

The YAML-formatted or JSON-formatted revision string. It includes information about which Lambda function to update and optional Lambda functions that validate deployment lifecycle events.

rawString_sha256 :: Lens' RawString (Maybe Text) Source #

The SHA256 hash value of the revision content.