libZSservicesZSamazonka-securityhubZSamazonka-securityhub
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.SecurityHub.Types.AwsLambdaFunctionCode

Description

 
Synopsis

Documentation

data AwsLambdaFunctionCode Source #

The code for the Lambda function. You can specify either an object in Amazon S3, or upload a deployment package directly.

See: newAwsLambdaFunctionCode smart constructor.

Constructors

AwsLambdaFunctionCode' 

Fields

  • s3ObjectVersion :: Maybe Text

    For versioned objects, the version of the deployment package object to use.

  • s3Key :: Maybe Text

    The Amazon S3 key of the deployment package.

  • zipFile :: Maybe Text

    The base64-encoded contents of the deployment package. Amazon Web Services SDK and Amazon Web Services CLI clients handle the encoding for you.

  • s3Bucket :: Maybe Text

    An Amazon S3 bucket in the same Amazon Web Services Region as your function. The bucket can be in a different Amazon Web Services account.

Instances

Instances details
Eq AwsLambdaFunctionCode Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.AwsLambdaFunctionCode

Read AwsLambdaFunctionCode Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.AwsLambdaFunctionCode

Show AwsLambdaFunctionCode Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.AwsLambdaFunctionCode

Generic AwsLambdaFunctionCode Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.AwsLambdaFunctionCode

Associated Types

type Rep AwsLambdaFunctionCode :: Type -> Type #

NFData AwsLambdaFunctionCode Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.AwsLambdaFunctionCode

Methods

rnf :: AwsLambdaFunctionCode -> () #

Hashable AwsLambdaFunctionCode Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.AwsLambdaFunctionCode

ToJSON AwsLambdaFunctionCode Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.AwsLambdaFunctionCode

FromJSON AwsLambdaFunctionCode Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.AwsLambdaFunctionCode

type Rep AwsLambdaFunctionCode Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.AwsLambdaFunctionCode

type Rep AwsLambdaFunctionCode = D1 ('MetaData "AwsLambdaFunctionCode" "Amazonka.SecurityHub.Types.AwsLambdaFunctionCode" "libZSservicesZSamazonka-securityhubZSamazonka-securityhub" 'False) (C1 ('MetaCons "AwsLambdaFunctionCode'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "s3ObjectVersion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "s3Key") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "zipFile") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "s3Bucket") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

newAwsLambdaFunctionCode :: AwsLambdaFunctionCode Source #

Create a value of AwsLambdaFunctionCode 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:s3ObjectVersion:AwsLambdaFunctionCode', awsLambdaFunctionCode_s3ObjectVersion - For versioned objects, the version of the deployment package object to use.

$sel:s3Key:AwsLambdaFunctionCode', awsLambdaFunctionCode_s3Key - The Amazon S3 key of the deployment package.

$sel:zipFile:AwsLambdaFunctionCode', awsLambdaFunctionCode_zipFile - The base64-encoded contents of the deployment package. Amazon Web Services SDK and Amazon Web Services CLI clients handle the encoding for you.

$sel:s3Bucket:AwsLambdaFunctionCode', awsLambdaFunctionCode_s3Bucket - An Amazon S3 bucket in the same Amazon Web Services Region as your function. The bucket can be in a different Amazon Web Services account.

awsLambdaFunctionCode_s3ObjectVersion :: Lens' AwsLambdaFunctionCode (Maybe Text) Source #

For versioned objects, the version of the deployment package object to use.

awsLambdaFunctionCode_s3Key :: Lens' AwsLambdaFunctionCode (Maybe Text) Source #

The Amazon S3 key of the deployment package.

awsLambdaFunctionCode_zipFile :: Lens' AwsLambdaFunctionCode (Maybe Text) Source #

The base64-encoded contents of the deployment package. Amazon Web Services SDK and Amazon Web Services CLI clients handle the encoding for you.

awsLambdaFunctionCode_s3Bucket :: Lens' AwsLambdaFunctionCode (Maybe Text) Source #

An Amazon S3 bucket in the same Amazon Web Services Region as your function. The bucket can be in a different Amazon Web Services account.