CreateSecurityConfiguration - AWS Glue

CreateSecurityConfiguration

Creates a new security configuration. A security configuration is a set of security properties that can be used by AWS Glue. You can use a security configuration to encrypt data at rest. For information about using security configurations in AWS Glue, see Encrypting Data Written by Crawlers, Jobs, and Development Endpoints.

Request Syntax

{ "EncryptionConfiguration": { "CloudWatchEncryption": { "CloudWatchEncryptionMode": "string", "KmsKeyArn": "string" }, "JobBookmarksEncryption": { "JobBookmarksEncryptionMode": "string", "KmsKeyArn": "string" }, "S3Encryption": [ { "KmsKeyArn": "string", "S3EncryptionMode": "string" } ] }, "Name": "string" }

Request Parameters

For information about the parameters that are common to all actions, see Common Parameters.

The request accepts the following data in JSON format.

EncryptionConfiguration

The encryption configuration for the new security configuration.

Type: EncryptionConfiguration object

Required: Yes

Name

The name for the new security configuration.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 255.

Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\t]*

Required: Yes

Response Syntax

{ "CreatedTimestamp": number, "Name": "string" }

Response Elements

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in JSON format by the service.

CreatedTimestamp

The time at which the new security configuration was created.

Type: Timestamp

Name

The name assigned to the new security configuration.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 255.

Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\t]*

Errors

For information about the errors that are common to all actions, see Common Errors.

AlreadyExistsException

A resource to be created or added already exists.

HTTP Status Code: 400

InternalServiceException

An internal service error occurred.

HTTP Status Code: 500

InvalidInputException

The input provided was not valid.

HTTP Status Code: 400

OperationTimeoutException

The operation timed out.

HTTP Status Code: 400

ResourceNumberLimitExceededException

A resource numerical limit was exceeded.

HTTP Status Code: 400

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: