com.pulumi.aws.msk.outputs.ClusterEncryptionInfo 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.msk.outputs;
import com.pulumi.aws.msk.outputs.ClusterEncryptionInfoEncryptionInTransit;
import com.pulumi.core.annotations.CustomType;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class ClusterEncryptionInfo {
/**
* @return You may specify a KMS key short ID or ARN (it will always output an ARN) to use for encrypting your data at rest. If no key is specified, an AWS managed KMS ('aws/msk' managed service) key will be used for encrypting the data at rest.
*
*/
private @Nullable String encryptionAtRestKmsKeyArn;
/**
* @return Configuration block to specify encryption in transit. See below.
*
*/
private @Nullable ClusterEncryptionInfoEncryptionInTransit encryptionInTransit;
private ClusterEncryptionInfo() {}
/**
* @return You may specify a KMS key short ID or ARN (it will always output an ARN) to use for encrypting your data at rest. If no key is specified, an AWS managed KMS ('aws/msk' managed service) key will be used for encrypting the data at rest.
*
*/
public Optional encryptionAtRestKmsKeyArn() {
return Optional.ofNullable(this.encryptionAtRestKmsKeyArn);
}
/**
* @return Configuration block to specify encryption in transit. See below.
*
*/
public Optional encryptionInTransit() {
return Optional.ofNullable(this.encryptionInTransit);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(ClusterEncryptionInfo defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String encryptionAtRestKmsKeyArn;
private @Nullable ClusterEncryptionInfoEncryptionInTransit encryptionInTransit;
public Builder() {}
public Builder(ClusterEncryptionInfo defaults) {
Objects.requireNonNull(defaults);
this.encryptionAtRestKmsKeyArn = defaults.encryptionAtRestKmsKeyArn;
this.encryptionInTransit = defaults.encryptionInTransit;
}
@CustomType.Setter
public Builder encryptionAtRestKmsKeyArn(@Nullable String encryptionAtRestKmsKeyArn) {
this.encryptionAtRestKmsKeyArn = encryptionAtRestKmsKeyArn;
return this;
}
@CustomType.Setter
public Builder encryptionInTransit(@Nullable ClusterEncryptionInfoEncryptionInTransit encryptionInTransit) {
this.encryptionInTransit = encryptionInTransit;
return this;
}
public ClusterEncryptionInfo build() {
final var _resultValue = new ClusterEncryptionInfo();
_resultValue.encryptionAtRestKmsKeyArn = encryptionAtRestKmsKeyArn;
_resultValue.encryptionInTransit = encryptionInTransit;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy