Skip to content
v2.278.0

EncryptionAtRestProperty Struct ​

Specifies the encryption-at-rest configuration for the Data Catalog.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_glue as glue } from 'aws-cdk-lib';
const encryptionAtRestProperty: glue.CfnDataCatalogEncryptionSettings.EncryptionAtRestProperty = {
  catalogEncryptionMode: 'catalogEncryptionMode',
  catalogEncryptionServiceRole: 'catalogEncryptionServiceRole',
  sseAwsKmsKeyId: 'sseAwsKmsKeyId',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_glue as glue

encryption_at_rest_property = glue.CfnDataCatalogEncryptionSettings.EncryptionAtRestProperty(
    catalog_encryption_mode="catalogEncryptionMode",
    catalog_encryption_service_role="catalogEncryptionServiceRole",
    sse_aws_kms_key_id="sseAwsKmsKeyId"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.glue.*;

EncryptionAtRestProperty encryptionAtRestProperty = EncryptionAtRestProperty.builder()
        .catalogEncryptionMode("catalogEncryptionMode")
        .catalogEncryptionServiceRole("catalogEncryptionServiceRole")
        .sseAwsKmsKeyId("sseAwsKmsKeyId")
        .build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Glue;

var encryptionAtRestProperty = new EncryptionAtRestProperty {
    CatalogEncryptionMode = "catalogEncryptionMode",
    CatalogEncryptionServiceRole = "catalogEncryptionServiceRole",
    SseAwsKmsKeyId = "sseAwsKmsKeyId"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

encryptionAtRestProperty := &EncryptionAtRestProperty{
	CatalogEncryptionMode: jsii.String("catalogEncryptionMode"),
	CatalogEncryptionServiceRole: jsii.String("catalogEncryptionServiceRole"),
	SseAwsKmsKeyId: jsii.String("sseAwsKmsKeyId"),
}

Properties ​

catalogEncryptionModeoptionalstringcatalog_encryption_modeoptionalstrcatalogEncryptionModeoptionalStringCatalogEncryptionModeoptionalstringCatalogEncryptionModeoptional*string #
The encryption-at-rest mode for encrypting Data Catalog data.
catalogEncryptionServiceRoleoptionalstringcatalog_encryption_service_roleoptionalstrcatalogEncryptionServiceRoleoptionalStringCatalogEncryptionServiceRoleoptionalstringCatalogEncryptionServiceRoleoptional*string #
The role that AWS Glue assumes to encrypt and decrypt the Data Catalog objects on the caller's behalf.
sseAwsKmsKeyIdoptionalstringsse_aws_kms_key_idoptionalstrsseAwsKmsKeyIdoptionalStringSseAwsKmsKeyIdoptionalstringSseAwsKmsKeyIdoptional*string #
The ID of the AWS key to use for encryption at rest.