com.pulumi.aws.glue.outputs.DataCatalogEncryptionSettingsDataCatalogEncryptionSettingsEncryptionAtRest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of aws Show documentation
Show all versions of aws Show documentation
A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.
The newest version!
// *** WARNING: this file was generated by pulumi-java-gen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
package com.pulumi.aws.glue.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class DataCatalogEncryptionSettingsDataCatalogEncryptionSettingsEncryptionAtRest {
/**
* @return The encryption-at-rest mode for encrypting Data Catalog data. Valid values: `DISABLED`, `SSE-KMS`, `SSE-KMS-WITH-SERVICE-ROLE`.
*
*/
private String catalogEncryptionMode;
/**
* @return The ARN of the AWS IAM role used for accessing encrypted Data Catalog data.
*
*/
private @Nullable String catalogEncryptionServiceRole;
/**
* @return The ARN of the AWS KMS key to use for encryption at rest.
*
*/
private @Nullable String sseAwsKmsKeyId;
private DataCatalogEncryptionSettingsDataCatalogEncryptionSettingsEncryptionAtRest() {}
/**
* @return The encryption-at-rest mode for encrypting Data Catalog data. Valid values: `DISABLED`, `SSE-KMS`, `SSE-KMS-WITH-SERVICE-ROLE`.
*
*/
public String catalogEncryptionMode() {
return this.catalogEncryptionMode;
}
/**
* @return The ARN of the AWS IAM role used for accessing encrypted Data Catalog data.
*
*/
public Optional catalogEncryptionServiceRole() {
return Optional.ofNullable(this.catalogEncryptionServiceRole);
}
/**
* @return The ARN of the AWS KMS key to use for encryption at rest.
*
*/
public Optional sseAwsKmsKeyId() {
return Optional.ofNullable(this.sseAwsKmsKeyId);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(DataCatalogEncryptionSettingsDataCatalogEncryptionSettingsEncryptionAtRest defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String catalogEncryptionMode;
private @Nullable String catalogEncryptionServiceRole;
private @Nullable String sseAwsKmsKeyId;
public Builder() {}
public Builder(DataCatalogEncryptionSettingsDataCatalogEncryptionSettingsEncryptionAtRest defaults) {
Objects.requireNonNull(defaults);
this.catalogEncryptionMode = defaults.catalogEncryptionMode;
this.catalogEncryptionServiceRole = defaults.catalogEncryptionServiceRole;
this.sseAwsKmsKeyId = defaults.sseAwsKmsKeyId;
}
@CustomType.Setter
public Builder catalogEncryptionMode(String catalogEncryptionMode) {
if (catalogEncryptionMode == null) {
throw new MissingRequiredPropertyException("DataCatalogEncryptionSettingsDataCatalogEncryptionSettingsEncryptionAtRest", "catalogEncryptionMode");
}
this.catalogEncryptionMode = catalogEncryptionMode;
return this;
}
@CustomType.Setter
public Builder catalogEncryptionServiceRole(@Nullable String catalogEncryptionServiceRole) {
this.catalogEncryptionServiceRole = catalogEncryptionServiceRole;
return this;
}
@CustomType.Setter
public Builder sseAwsKmsKeyId(@Nullable String sseAwsKmsKeyId) {
this.sseAwsKmsKeyId = sseAwsKmsKeyId;
return this;
}
public DataCatalogEncryptionSettingsDataCatalogEncryptionSettingsEncryptionAtRest build() {
final var _resultValue = new DataCatalogEncryptionSettingsDataCatalogEncryptionSettingsEncryptionAtRest();
_resultValue.catalogEncryptionMode = catalogEncryptionMode;
_resultValue.catalogEncryptionServiceRole = catalogEncryptionServiceRole;
_resultValue.sseAwsKmsKeyId = sseAwsKmsKeyId;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy