create_security_configuration
(**kwargs)¶Creates a new security configuration. A security configuration is a set of security properties that can be used by Glue. You can use a security configuration to encrypt data at rest. For information about using security configurations in Glue, see Encrypting Data Written by Crawlers, Jobs, and Development Endpoints.
See also: AWS API Documentation
Request Syntax
response = client.create_security_configuration(
Name='string',
EncryptionConfiguration={
'S3Encryption': [
{
'S3EncryptionMode': 'DISABLED'|'SSE-KMS'|'SSE-S3',
'KmsKeyArn': 'string'
},
],
'CloudWatchEncryption': {
'CloudWatchEncryptionMode': 'DISABLED'|'SSE-KMS',
'KmsKeyArn': 'string'
},
'JobBookmarksEncryption': {
'JobBookmarksEncryptionMode': 'DISABLED'|'CSE-KMS',
'KmsKeyArn': 'string'
}
}
)
[REQUIRED]
The name for the new security configuration.
[REQUIRED]
The encryption configuration for the new security configuration.
The encryption configuration for Amazon Simple Storage Service (Amazon S3) data.
Specifies how Amazon Simple Storage Service (Amazon S3) data should be encrypted.
The encryption mode to use for Amazon S3 data.
The Amazon Resource Name (ARN) of the KMS key to be used to encrypt the data.
The encryption configuration for Amazon CloudWatch.
The encryption mode to use for CloudWatch data.
The Amazon Resource Name (ARN) of the KMS key to be used to encrypt the data.
The encryption configuration for job bookmarks.
The encryption mode to use for job bookmarks data.
The Amazon Resource Name (ARN) of the KMS key to be used to encrypt the data.
dict
Response Syntax
{
'Name': 'string',
'CreatedTimestamp': datetime(2015, 1, 1)
}
Response Structure
(dict) --
Name (string) --
The name assigned to the new security configuration.
CreatedTimestamp (datetime) --
The time at which the new security configuration was created.
Exceptions
Glue.Client.exceptions.AlreadyExistsException
Glue.Client.exceptions.InvalidInputException
Glue.Client.exceptions.InternalServiceException
Glue.Client.exceptions.OperationTimeoutException
Glue.Client.exceptions.ResourceNumberLimitExceededException