import * as core from "@terrascript/core"; export interface EncryptionAtRestArgs extends core.SchemaArgs { catalogEncryptionMode: string | core.StringOut; sseAwsKmsKeyId: string | core.StringOut; } export class EncryptionAtRest extends core.Schema { @core.attr(String, { computed: true }) public catalogEncryptionMode!: string | core.StringOut; @core.attr(String, { computed: true }) public sseAwsKmsKeyId!: string | core.StringOut; } export interface ConnectionPasswordEncryptionArgs extends core.SchemaArgs { awsKmsKeyId: string | core.StringOut; returnConnectionPasswordEncrypted: boolean | core.BooleanOut; } export class ConnectionPasswordEncryption extends core.Schema { @core.attr(String, { computed: true }) public awsKmsKeyId!: string | core.StringOut; @core.attr(Boolean, { computed: true }) public returnConnectionPasswordEncrypted!: boolean | core.BooleanOut; } export interface DataCatalogEncryptionSettingsBlkArgs extends core.SchemaArgs { connectionPasswordEncryption: | core.Array | core.ArrayOut; encryptionAtRest: | core.Array | core.ArrayOut; } export class DataCatalogEncryptionSettingsBlk extends core.Schema { @core.attr(ConnectionPasswordEncryption, { computed: true, kind: "array" }) public connectionPasswordEncryption!: | core.Array | core.ArrayOut; @core.attr(EncryptionAtRest, { computed: true, kind: "array" }) public encryptionAtRest!: | core.Array | core.ArrayOut; } export interface DsDataCatalogEncryptionSettingsArgs { /** * (Required) The ID of the Data Catalog. This is typically the AWS account ID. */ catalogId: string | core.StringOut; } export class DsDataCatalogEncryptionSettings extends core.Data { /** * (Required) The ID of the Data Catalog. This is typically the AWS account ID. */ @core.attr(String) public catalogId!: string | core.StringOut; @core.attr(DataCatalogEncryptionSettingsBlk, { computed: true, kind: "array", }) public dataCatalogEncryptionSettings!: | core.Array | core.ArrayOut; @core.attr(String, { computed: true }) public id!: string | core.StringOut; constructor(name: string, args?: DsDataCatalogEncryptionSettingsArgs) { super(name, "aws_glue_data_catalog_encryption_settings", args); } public override getNamespace(): string { return "aws_glue"; } }