Skip to content

Put Data Catalog Encryption Settings

glue_put_data_catalog_encryption_settings R Documentation

Sets the security configuration for a specified catalog

Description

Sets the security configuration for a specified catalog. After the configuration has been set, the specified encryption is applied to every catalog write thereafter.

Usage

glue_put_data_catalog_encryption_settings(CatalogId,
  DataCatalogEncryptionSettings)

Arguments

CatalogId

The ID of the Data Catalog to set the security configuration for. If none is provided, the Amazon Web Services account ID is used by default.

DataCatalogEncryptionSettings

[required] The security configuration to set.

Value

An empty list.

Request syntax

svc$put_data_catalog_encryption_settings(
  CatalogId = "string",
  DataCatalogEncryptionSettings = list(
    EncryptionAtRest = list(
      CatalogEncryptionMode = "DISABLED"|"SSE-KMS"|"SSE-KMS-WITH-SERVICE-ROLE",
      SseAwsKmsKeyId = "string",
      CatalogEncryptionServiceRole = "string"
    ),
    ConnectionPasswordEncryption = list(
      ReturnConnectionPasswordEncrypted = TRUE|FALSE,
      AwsKmsKeyId = "string"
    )
  )
)