CodeGuruSecurity / Client / update_account_configuration

update_account_configuration#

CodeGuruSecurity.Client.update_account_configuration(**kwargs)#

Use to update account-level configuration with an encryption key.

See also: AWS API Documentation

Request Syntax

response = client.update_account_configuration(
    encryptionConfig={
        'kmsKeyArn': 'string'
    }
)
Parameters:

encryptionConfig (dict) –

[REQUIRED]

The KMS key ARN you want to use for encryption. Defaults to service-side encryption if missing.

  • kmsKeyArn (string) –

    The KMS key ARN to use for encryption. This must be provided as a header when uploading your code resource.

Return type:

dict

Returns:

Response Syntax

{
    'encryptionConfig': {
        'kmsKeyArn': 'string'
    }
}

Response Structure

  • (dict) –

    • encryptionConfig (dict) –

      An EncryptionConfig object that contains the KMS key ARN to use for encryption.

      • kmsKeyArn (string) –

        The KMS key ARN to use for encryption. This must be provided as a header when uploading your code resource.

Exceptions