get_security_configuration

get_security_configuration(**kwargs)

Retrieves a specified security configuration.

See also: AWS API Documentation

Request Syntax

response = client.get_security_configuration(
    Name='string'
)
Parameters
Name (string) --

[REQUIRED]

The name of the security configuration to retrieve.

Return type
dict
Returns
Response Syntax
{
    'SecurityConfiguration': {
        'Name': 'string',
        'CreatedTimeStamp': datetime(2015, 1, 1),
        'EncryptionConfiguration': {
            'S3Encryption': [
                {
                    'S3EncryptionMode': 'DISABLED'|'SSE-KMS'|'SSE-S3',
                    'KmsKeyArn': 'string'
                },
            ],
            'CloudWatchEncryption': {
                'CloudWatchEncryptionMode': 'DISABLED'|'SSE-KMS',
                'KmsKeyArn': 'string'
            },
            'JobBookmarksEncryption': {
                'JobBookmarksEncryptionMode': 'DISABLED'|'CSE-KMS',
                'KmsKeyArn': 'string'
            }
        }
    }
}

Response Structure

  • (dict) --
    • SecurityConfiguration (dict) --

      The requested security configuration.

      • Name (string) --

        The name of the security configuration.

      • CreatedTimeStamp (datetime) --

        The time at which this security configuration was created.

      • EncryptionConfiguration (dict) --

        The encryption configuration associated with this security configuration.

        • S3Encryption (list) --

          The encryption configuration for Amazon Simple Storage Service (Amazon S3) data.

          • (dict) --

            Specifies how Amazon Simple Storage Service (Amazon S3) data should be encrypted.

            • S3EncryptionMode (string) --

              The encryption mode to use for Amazon S3 data.

            • KmsKeyArn (string) --

              The Amazon Resource Name (ARN) of the KMS key to be used to encrypt the data.

        • CloudWatchEncryption (dict) --

          The encryption configuration for Amazon CloudWatch.

          • CloudWatchEncryptionMode (string) --

            The encryption mode to use for CloudWatch data.

          • KmsKeyArn (string) --

            The Amazon Resource Name (ARN) of the KMS key to be used to encrypt the data.

        • JobBookmarksEncryption (dict) --

          The encryption configuration for job bookmarks.

          • JobBookmarksEncryptionMode (string) --

            The encryption mode to use for job bookmarks data.

          • KmsKeyArn (string) --

            The Amazon Resource Name (ARN) of the KMS key to be used to encrypt the data.

Exceptions

  • Glue.Client.exceptions.EntityNotFoundException
  • Glue.Client.exceptions.InvalidInputException
  • Glue.Client.exceptions.InternalServiceException
  • Glue.Client.exceptions.OperationTimeoutException