1. Packages
  2. AWS
  3. API Docs
  4. glue
  5. DataCatalogEncryptionSettings
AWS v6.77.0 published on Wednesday, Apr 9, 2025 by Pulumi

aws.glue.DataCatalogEncryptionSettings

Explore with Pulumi AI

Provides a Glue Data Catalog Encryption Settings resource.

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";

const example = new aws.glue.DataCatalogEncryptionSettings("example", {dataCatalogEncryptionSettings: {
    connectionPasswordEncryption: {
        awsKmsKeyId: test.arn,
        returnConnectionPasswordEncrypted: true,
    },
    encryptionAtRest: {
        catalogEncryptionMode: "SSE-KMS",
        catalogEncryptionServiceRole: role.test.arn,
        sseAwsKmsKeyId: test.arn,
    },
}});
Copy
import pulumi
import pulumi_aws as aws

example = aws.glue.DataCatalogEncryptionSettings("example", data_catalog_encryption_settings={
    "connection_password_encryption": {
        "aws_kms_key_id": test["arn"],
        "return_connection_password_encrypted": True,
    },
    "encryption_at_rest": {
        "catalog_encryption_mode": "SSE-KMS",
        "catalog_encryption_service_role": role["test"]["arn"],
        "sse_aws_kms_key_id": test["arn"],
    },
})
Copy
package main

import (
	"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/glue"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := glue.NewDataCatalogEncryptionSettings(ctx, "example", &glue.DataCatalogEncryptionSettingsArgs{
			DataCatalogEncryptionSettings: &glue.DataCatalogEncryptionSettingsDataCatalogEncryptionSettingsArgs{
				ConnectionPasswordEncryption: &glue.DataCatalogEncryptionSettingsDataCatalogEncryptionSettingsConnectionPasswordEncryptionArgs{
					AwsKmsKeyId:                       pulumi.Any(test.Arn),
					ReturnConnectionPasswordEncrypted: pulumi.Bool(true),
				},
				EncryptionAtRest: &glue.DataCatalogEncryptionSettingsDataCatalogEncryptionSettingsEncryptionAtRestArgs{
					CatalogEncryptionMode:        pulumi.String("SSE-KMS"),
					CatalogEncryptionServiceRole: pulumi.Any(role.Test.Arn),
					SseAwsKmsKeyId:               pulumi.Any(test.Arn),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;

return await Deployment.RunAsync(() => 
{
    var example = new Aws.Glue.DataCatalogEncryptionSettings("example", new()
    {
        DataCatalogEncryptionSettingsConfig = new Aws.Glue.Inputs.DataCatalogEncryptionSettingsDataCatalogEncryptionSettingsArgs
        {
            ConnectionPasswordEncryption = new Aws.Glue.Inputs.DataCatalogEncryptionSettingsDataCatalogEncryptionSettingsConnectionPasswordEncryptionArgs
            {
                AwsKmsKeyId = test.Arn,
                ReturnConnectionPasswordEncrypted = true,
            },
            EncryptionAtRest = new Aws.Glue.Inputs.DataCatalogEncryptionSettingsDataCatalogEncryptionSettingsEncryptionAtRestArgs
            {
                CatalogEncryptionMode = "SSE-KMS",
                CatalogEncryptionServiceRole = role.Test.Arn,
                SseAwsKmsKeyId = test.Arn,
            },
        },
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.glue.DataCatalogEncryptionSettings;
import com.pulumi.aws.glue.DataCatalogEncryptionSettingsArgs;
import com.pulumi.aws.glue.inputs.DataCatalogEncryptionSettingsDataCatalogEncryptionSettingsArgs;
import com.pulumi.aws.glue.inputs.DataCatalogEncryptionSettingsDataCatalogEncryptionSettingsConnectionPasswordEncryptionArgs;
import com.pulumi.aws.glue.inputs.DataCatalogEncryptionSettingsDataCatalogEncryptionSettingsEncryptionAtRestArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        var example = new DataCatalogEncryptionSettings("example", DataCatalogEncryptionSettingsArgs.builder()
            .dataCatalogEncryptionSettings(DataCatalogEncryptionSettingsDataCatalogEncryptionSettingsArgs.builder()
                .connectionPasswordEncryption(DataCatalogEncryptionSettingsDataCatalogEncryptionSettingsConnectionPasswordEncryptionArgs.builder()
                    .awsKmsKeyId(test.arn())
                    .returnConnectionPasswordEncrypted(true)
                    .build())
                .encryptionAtRest(DataCatalogEncryptionSettingsDataCatalogEncryptionSettingsEncryptionAtRestArgs.builder()
                    .catalogEncryptionMode("SSE-KMS")
                    .catalogEncryptionServiceRole(role.test().arn())
                    .sseAwsKmsKeyId(test.arn())
                    .build())
                .build())
            .build());

    }
}
Copy
resources:
  example:
    type: aws:glue:DataCatalogEncryptionSettings
    properties:
      dataCatalogEncryptionSettings:
        connectionPasswordEncryption:
          awsKmsKeyId: ${test.arn}
          returnConnectionPasswordEncrypted: true
        encryptionAtRest:
          catalogEncryptionMode: SSE-KMS
          catalogEncryptionServiceRole: ${role.test.arn}
          sseAwsKmsKeyId: ${test.arn}
Copy

Create DataCatalogEncryptionSettings Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new DataCatalogEncryptionSettings(name: string, args: DataCatalogEncryptionSettingsArgs, opts?: CustomResourceOptions);
@overload
def DataCatalogEncryptionSettings(resource_name: str,
                                  args: DataCatalogEncryptionSettingsArgs,
                                  opts: Optional[ResourceOptions] = None)

@overload
def DataCatalogEncryptionSettings(resource_name: str,
                                  opts: Optional[ResourceOptions] = None,
                                  data_catalog_encryption_settings: Optional[DataCatalogEncryptionSettingsDataCatalogEncryptionSettingsArgs] = None,
                                  catalog_id: Optional[str] = None)
func NewDataCatalogEncryptionSettings(ctx *Context, name string, args DataCatalogEncryptionSettingsArgs, opts ...ResourceOption) (*DataCatalogEncryptionSettings, error)
public DataCatalogEncryptionSettings(string name, DataCatalogEncryptionSettingsArgs args, CustomResourceOptions? opts = null)
public DataCatalogEncryptionSettings(String name, DataCatalogEncryptionSettingsArgs args)
public DataCatalogEncryptionSettings(String name, DataCatalogEncryptionSettingsArgs args, CustomResourceOptions options)
type: aws:glue:DataCatalogEncryptionSettings
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. DataCatalogEncryptionSettingsArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. DataCatalogEncryptionSettingsArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. DataCatalogEncryptionSettingsArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. DataCatalogEncryptionSettingsArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. DataCatalogEncryptionSettingsArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

Constructor example

The following reference example uses placeholder values for all input properties.

var dataCatalogEncryptionSettingsResource = new Aws.Glue.DataCatalogEncryptionSettings("dataCatalogEncryptionSettingsResource", new()
{
    DataCatalogEncryptionSettingsConfig = new Aws.Glue.Inputs.DataCatalogEncryptionSettingsDataCatalogEncryptionSettingsArgs
    {
        ConnectionPasswordEncryption = new Aws.Glue.Inputs.DataCatalogEncryptionSettingsDataCatalogEncryptionSettingsConnectionPasswordEncryptionArgs
        {
            ReturnConnectionPasswordEncrypted = false,
            AwsKmsKeyId = "string",
        },
        EncryptionAtRest = new Aws.Glue.Inputs.DataCatalogEncryptionSettingsDataCatalogEncryptionSettingsEncryptionAtRestArgs
        {
            CatalogEncryptionMode = "string",
            CatalogEncryptionServiceRole = "string",
            SseAwsKmsKeyId = "string",
        },
    },
    CatalogId = "string",
});
Copy
example, err := glue.NewDataCatalogEncryptionSettings(ctx, "dataCatalogEncryptionSettingsResource", &glue.DataCatalogEncryptionSettingsArgs{
	DataCatalogEncryptionSettings: &glue.DataCatalogEncryptionSettingsDataCatalogEncryptionSettingsArgs{
		ConnectionPasswordEncryption: &glue.DataCatalogEncryptionSettingsDataCatalogEncryptionSettingsConnectionPasswordEncryptionArgs{
			ReturnConnectionPasswordEncrypted: pulumi.Bool(false),
			AwsKmsKeyId:                       pulumi.String("string"),
		},
		EncryptionAtRest: &glue.DataCatalogEncryptionSettingsDataCatalogEncryptionSettingsEncryptionAtRestArgs{
			CatalogEncryptionMode:        pulumi.String("string"),
			CatalogEncryptionServiceRole: pulumi.String("string"),
			SseAwsKmsKeyId:               pulumi.String("string"),
		},
	},
	CatalogId: pulumi.String("string"),
})
Copy
var dataCatalogEncryptionSettingsResource = new DataCatalogEncryptionSettings("dataCatalogEncryptionSettingsResource", DataCatalogEncryptionSettingsArgs.builder()
    .dataCatalogEncryptionSettings(DataCatalogEncryptionSettingsDataCatalogEncryptionSettingsArgs.builder()
        .connectionPasswordEncryption(DataCatalogEncryptionSettingsDataCatalogEncryptionSettingsConnectionPasswordEncryptionArgs.builder()
            .returnConnectionPasswordEncrypted(false)
            .awsKmsKeyId("string")
            .build())
        .encryptionAtRest(DataCatalogEncryptionSettingsDataCatalogEncryptionSettingsEncryptionAtRestArgs.builder()
            .catalogEncryptionMode("string")
            .catalogEncryptionServiceRole("string")
            .sseAwsKmsKeyId("string")
            .build())
        .build())
    .catalogId("string")
    .build());
Copy
data_catalog_encryption_settings_resource = aws.glue.DataCatalogEncryptionSettings("dataCatalogEncryptionSettingsResource",
    data_catalog_encryption_settings={
        "connection_password_encryption": {
            "return_connection_password_encrypted": False,
            "aws_kms_key_id": "string",
        },
        "encryption_at_rest": {
            "catalog_encryption_mode": "string",
            "catalog_encryption_service_role": "string",
            "sse_aws_kms_key_id": "string",
        },
    },
    catalog_id="string")
Copy
const dataCatalogEncryptionSettingsResource = new aws.glue.DataCatalogEncryptionSettings("dataCatalogEncryptionSettingsResource", {
    dataCatalogEncryptionSettings: {
        connectionPasswordEncryption: {
            returnConnectionPasswordEncrypted: false,
            awsKmsKeyId: "string",
        },
        encryptionAtRest: {
            catalogEncryptionMode: "string",
            catalogEncryptionServiceRole: "string",
            sseAwsKmsKeyId: "string",
        },
    },
    catalogId: "string",
});
Copy
type: aws:glue:DataCatalogEncryptionSettings
properties:
    catalogId: string
    dataCatalogEncryptionSettings:
        connectionPasswordEncryption:
            awsKmsKeyId: string
            returnConnectionPasswordEncrypted: false
        encryptionAtRest:
            catalogEncryptionMode: string
            catalogEncryptionServiceRole: string
            sseAwsKmsKeyId: string
Copy

DataCatalogEncryptionSettings Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

The DataCatalogEncryptionSettings resource accepts the following input properties:

DataCatalogEncryptionSettingsConfig This property is required. DataCatalogEncryptionSettingsDataCatalogEncryptionSettings
The security configuration to set. see Data Catalog Encryption Settings.
CatalogId Changes to this property will trigger replacement. string
The ID of the Data Catalog to set the security configuration for. If none is provided, the AWS account ID is used by default.
DataCatalogEncryptionSettings This property is required. DataCatalogEncryptionSettingsDataCatalogEncryptionSettingsArgs
The security configuration to set. see Data Catalog Encryption Settings.
CatalogId Changes to this property will trigger replacement. string
The ID of the Data Catalog to set the security configuration for. If none is provided, the AWS account ID is used by default.
dataCatalogEncryptionSettings This property is required. DataCatalogEncryptionSettingsDataCatalogEncryptionSettings
The security configuration to set. see Data Catalog Encryption Settings.
catalogId Changes to this property will trigger replacement. String
The ID of the Data Catalog to set the security configuration for. If none is provided, the AWS account ID is used by default.
dataCatalogEncryptionSettings This property is required. DataCatalogEncryptionSettingsDataCatalogEncryptionSettings
The security configuration to set. see Data Catalog Encryption Settings.
catalogId Changes to this property will trigger replacement. string
The ID of the Data Catalog to set the security configuration for. If none is provided, the AWS account ID is used by default.
data_catalog_encryption_settings This property is required. DataCatalogEncryptionSettingsDataCatalogEncryptionSettingsArgs
The security configuration to set. see Data Catalog Encryption Settings.
catalog_id Changes to this property will trigger replacement. str
The ID of the Data Catalog to set the security configuration for. If none is provided, the AWS account ID is used by default.
dataCatalogEncryptionSettings This property is required. Property Map
The security configuration to set. see Data Catalog Encryption Settings.
catalogId Changes to this property will trigger replacement. String
The ID of the Data Catalog to set the security configuration for. If none is provided, the AWS account ID is used by default.

Outputs

All input properties are implicitly available as output properties. Additionally, the DataCatalogEncryptionSettings resource produces the following output properties:

Id string
The provider-assigned unique ID for this managed resource.
Id string
The provider-assigned unique ID for this managed resource.
id String
The provider-assigned unique ID for this managed resource.
id string
The provider-assigned unique ID for this managed resource.
id str
The provider-assigned unique ID for this managed resource.
id String
The provider-assigned unique ID for this managed resource.

Look up Existing DataCatalogEncryptionSettings Resource

Get an existing DataCatalogEncryptionSettings resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

public static get(name: string, id: Input<ID>, state?: DataCatalogEncryptionSettingsState, opts?: CustomResourceOptions): DataCatalogEncryptionSettings
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        catalog_id: Optional[str] = None,
        data_catalog_encryption_settings: Optional[DataCatalogEncryptionSettingsDataCatalogEncryptionSettingsArgs] = None) -> DataCatalogEncryptionSettings
func GetDataCatalogEncryptionSettings(ctx *Context, name string, id IDInput, state *DataCatalogEncryptionSettingsState, opts ...ResourceOption) (*DataCatalogEncryptionSettings, error)
public static DataCatalogEncryptionSettings Get(string name, Input<string> id, DataCatalogEncryptionSettingsState? state, CustomResourceOptions? opts = null)
public static DataCatalogEncryptionSettings get(String name, Output<String> id, DataCatalogEncryptionSettingsState state, CustomResourceOptions options)
resources:  _:    type: aws:glue:DataCatalogEncryptionSettings    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
The following state arguments are supported:
CatalogId Changes to this property will trigger replacement. string
The ID of the Data Catalog to set the security configuration for. If none is provided, the AWS account ID is used by default.
DataCatalogEncryptionSettingsConfig DataCatalogEncryptionSettingsDataCatalogEncryptionSettings
The security configuration to set. see Data Catalog Encryption Settings.
CatalogId Changes to this property will trigger replacement. string
The ID of the Data Catalog to set the security configuration for. If none is provided, the AWS account ID is used by default.
DataCatalogEncryptionSettings DataCatalogEncryptionSettingsDataCatalogEncryptionSettingsArgs
The security configuration to set. see Data Catalog Encryption Settings.
catalogId Changes to this property will trigger replacement. String
The ID of the Data Catalog to set the security configuration for. If none is provided, the AWS account ID is used by default.
dataCatalogEncryptionSettings DataCatalogEncryptionSettingsDataCatalogEncryptionSettings
The security configuration to set. see Data Catalog Encryption Settings.
catalogId Changes to this property will trigger replacement. string
The ID of the Data Catalog to set the security configuration for. If none is provided, the AWS account ID is used by default.
dataCatalogEncryptionSettings DataCatalogEncryptionSettingsDataCatalogEncryptionSettings
The security configuration to set. see Data Catalog Encryption Settings.
catalog_id Changes to this property will trigger replacement. str
The ID of the Data Catalog to set the security configuration for. If none is provided, the AWS account ID is used by default.
data_catalog_encryption_settings DataCatalogEncryptionSettingsDataCatalogEncryptionSettingsArgs
The security configuration to set. see Data Catalog Encryption Settings.
catalogId Changes to this property will trigger replacement. String
The ID of the Data Catalog to set the security configuration for. If none is provided, the AWS account ID is used by default.
dataCatalogEncryptionSettings Property Map
The security configuration to set. see Data Catalog Encryption Settings.

Supporting Types

DataCatalogEncryptionSettingsDataCatalogEncryptionSettings
, DataCatalogEncryptionSettingsDataCatalogEncryptionSettingsArgs

ConnectionPasswordEncryption This property is required. DataCatalogEncryptionSettingsDataCatalogEncryptionSettingsConnectionPasswordEncryption
When connection password protection is enabled, the Data Catalog uses a customer-provided key to encrypt the password as part of CreateConnection or UpdateConnection and store it in the ENCRYPTED_PASSWORD field in the connection properties. You can enable catalog encryption or only password encryption. see Connection Password Encryption.
EncryptionAtRest This property is required. DataCatalogEncryptionSettingsDataCatalogEncryptionSettingsEncryptionAtRest
Specifies the encryption-at-rest configuration for the Data Catalog. see Encryption At Rest.
ConnectionPasswordEncryption This property is required. DataCatalogEncryptionSettingsDataCatalogEncryptionSettingsConnectionPasswordEncryption
When connection password protection is enabled, the Data Catalog uses a customer-provided key to encrypt the password as part of CreateConnection or UpdateConnection and store it in the ENCRYPTED_PASSWORD field in the connection properties. You can enable catalog encryption or only password encryption. see Connection Password Encryption.
EncryptionAtRest This property is required. DataCatalogEncryptionSettingsDataCatalogEncryptionSettingsEncryptionAtRest
Specifies the encryption-at-rest configuration for the Data Catalog. see Encryption At Rest.
connectionPasswordEncryption This property is required. DataCatalogEncryptionSettingsDataCatalogEncryptionSettingsConnectionPasswordEncryption
When connection password protection is enabled, the Data Catalog uses a customer-provided key to encrypt the password as part of CreateConnection or UpdateConnection and store it in the ENCRYPTED_PASSWORD field in the connection properties. You can enable catalog encryption or only password encryption. see Connection Password Encryption.
encryptionAtRest This property is required. DataCatalogEncryptionSettingsDataCatalogEncryptionSettingsEncryptionAtRest
Specifies the encryption-at-rest configuration for the Data Catalog. see Encryption At Rest.
connectionPasswordEncryption This property is required. DataCatalogEncryptionSettingsDataCatalogEncryptionSettingsConnectionPasswordEncryption
When connection password protection is enabled, the Data Catalog uses a customer-provided key to encrypt the password as part of CreateConnection or UpdateConnection and store it in the ENCRYPTED_PASSWORD field in the connection properties. You can enable catalog encryption or only password encryption. see Connection Password Encryption.
encryptionAtRest This property is required. DataCatalogEncryptionSettingsDataCatalogEncryptionSettingsEncryptionAtRest
Specifies the encryption-at-rest configuration for the Data Catalog. see Encryption At Rest.
connection_password_encryption This property is required. DataCatalogEncryptionSettingsDataCatalogEncryptionSettingsConnectionPasswordEncryption
When connection password protection is enabled, the Data Catalog uses a customer-provided key to encrypt the password as part of CreateConnection or UpdateConnection and store it in the ENCRYPTED_PASSWORD field in the connection properties. You can enable catalog encryption or only password encryption. see Connection Password Encryption.
encryption_at_rest This property is required. DataCatalogEncryptionSettingsDataCatalogEncryptionSettingsEncryptionAtRest
Specifies the encryption-at-rest configuration for the Data Catalog. see Encryption At Rest.
connectionPasswordEncryption This property is required. Property Map
When connection password protection is enabled, the Data Catalog uses a customer-provided key to encrypt the password as part of CreateConnection or UpdateConnection and store it in the ENCRYPTED_PASSWORD field in the connection properties. You can enable catalog encryption or only password encryption. see Connection Password Encryption.
encryptionAtRest This property is required. Property Map
Specifies the encryption-at-rest configuration for the Data Catalog. see Encryption At Rest.

DataCatalogEncryptionSettingsDataCatalogEncryptionSettingsConnectionPasswordEncryption
, DataCatalogEncryptionSettingsDataCatalogEncryptionSettingsConnectionPasswordEncryptionArgs

ReturnConnectionPasswordEncrypted This property is required. bool
When set to true, passwords remain encrypted in the responses of GetConnection and GetConnections. This encryption takes effect independently of the catalog encryption.
AwsKmsKeyId string
A KMS key ARN that is used to encrypt the connection password. If connection password protection is enabled, the caller of CreateConnection and UpdateConnection needs at least kms:Encrypt permission on the specified AWS KMS key, to encrypt passwords before storing them in the Data Catalog.
ReturnConnectionPasswordEncrypted This property is required. bool
When set to true, passwords remain encrypted in the responses of GetConnection and GetConnections. This encryption takes effect independently of the catalog encryption.
AwsKmsKeyId string
A KMS key ARN that is used to encrypt the connection password. If connection password protection is enabled, the caller of CreateConnection and UpdateConnection needs at least kms:Encrypt permission on the specified AWS KMS key, to encrypt passwords before storing them in the Data Catalog.
returnConnectionPasswordEncrypted This property is required. Boolean
When set to true, passwords remain encrypted in the responses of GetConnection and GetConnections. This encryption takes effect independently of the catalog encryption.
awsKmsKeyId String
A KMS key ARN that is used to encrypt the connection password. If connection password protection is enabled, the caller of CreateConnection and UpdateConnection needs at least kms:Encrypt permission on the specified AWS KMS key, to encrypt passwords before storing them in the Data Catalog.
returnConnectionPasswordEncrypted This property is required. boolean
When set to true, passwords remain encrypted in the responses of GetConnection and GetConnections. This encryption takes effect independently of the catalog encryption.
awsKmsKeyId string
A KMS key ARN that is used to encrypt the connection password. If connection password protection is enabled, the caller of CreateConnection and UpdateConnection needs at least kms:Encrypt permission on the specified AWS KMS key, to encrypt passwords before storing them in the Data Catalog.
return_connection_password_encrypted This property is required. bool
When set to true, passwords remain encrypted in the responses of GetConnection and GetConnections. This encryption takes effect independently of the catalog encryption.
aws_kms_key_id str
A KMS key ARN that is used to encrypt the connection password. If connection password protection is enabled, the caller of CreateConnection and UpdateConnection needs at least kms:Encrypt permission on the specified AWS KMS key, to encrypt passwords before storing them in the Data Catalog.
returnConnectionPasswordEncrypted This property is required. Boolean
When set to true, passwords remain encrypted in the responses of GetConnection and GetConnections. This encryption takes effect independently of the catalog encryption.
awsKmsKeyId String
A KMS key ARN that is used to encrypt the connection password. If connection password protection is enabled, the caller of CreateConnection and UpdateConnection needs at least kms:Encrypt permission on the specified AWS KMS key, to encrypt passwords before storing them in the Data Catalog.

DataCatalogEncryptionSettingsDataCatalogEncryptionSettingsEncryptionAtRest
, DataCatalogEncryptionSettingsDataCatalogEncryptionSettingsEncryptionAtRestArgs

CatalogEncryptionMode This property is required. string
The encryption-at-rest mode for encrypting Data Catalog data. Valid values: DISABLED, SSE-KMS, SSE-KMS-WITH-SERVICE-ROLE.
CatalogEncryptionServiceRole string
The ARN of the AWS IAM role used for accessing encrypted Data Catalog data.
SseAwsKmsKeyId string
The ARN of the AWS KMS key to use for encryption at rest.
CatalogEncryptionMode This property is required. string
The encryption-at-rest mode for encrypting Data Catalog data. Valid values: DISABLED, SSE-KMS, SSE-KMS-WITH-SERVICE-ROLE.
CatalogEncryptionServiceRole string
The ARN of the AWS IAM role used for accessing encrypted Data Catalog data.
SseAwsKmsKeyId string
The ARN of the AWS KMS key to use for encryption at rest.
catalogEncryptionMode This property is required. String
The encryption-at-rest mode for encrypting Data Catalog data. Valid values: DISABLED, SSE-KMS, SSE-KMS-WITH-SERVICE-ROLE.
catalogEncryptionServiceRole String
The ARN of the AWS IAM role used for accessing encrypted Data Catalog data.
sseAwsKmsKeyId String
The ARN of the AWS KMS key to use for encryption at rest.
catalogEncryptionMode This property is required. string
The encryption-at-rest mode for encrypting Data Catalog data. Valid values: DISABLED, SSE-KMS, SSE-KMS-WITH-SERVICE-ROLE.
catalogEncryptionServiceRole string
The ARN of the AWS IAM role used for accessing encrypted Data Catalog data.
sseAwsKmsKeyId string
The ARN of the AWS KMS key to use for encryption at rest.
catalog_encryption_mode This property is required. str
The encryption-at-rest mode for encrypting Data Catalog data. Valid values: DISABLED, SSE-KMS, SSE-KMS-WITH-SERVICE-ROLE.
catalog_encryption_service_role str
The ARN of the AWS IAM role used for accessing encrypted Data Catalog data.
sse_aws_kms_key_id str
The ARN of the AWS KMS key to use for encryption at rest.
catalogEncryptionMode This property is required. String
The encryption-at-rest mode for encrypting Data Catalog data. Valid values: DISABLED, SSE-KMS, SSE-KMS-WITH-SERVICE-ROLE.
catalogEncryptionServiceRole String
The ARN of the AWS IAM role used for accessing encrypted Data Catalog data.
sseAwsKmsKeyId String
The ARN of the AWS KMS key to use for encryption at rest.

Import

Using pulumi import, import Glue Data Catalog Encryption Settings using CATALOG-ID (AWS account ID if not custom). For example:

$ pulumi import aws:glue/dataCatalogEncryptionSettings:DataCatalogEncryptionSettings example 123456789012
Copy

To learn more about importing existing cloud resources, see Importing resources.

Package Details

Repository
AWS Classic pulumi/pulumi-aws
License
Apache-2.0
Notes
This Pulumi package is based on the aws Terraform Provider.