Package com.pulumi.aws.dynamodb.inputs
Class TableServerSideEncryptionArgs.Builder
- java.lang.Object
-
- com.pulumi.aws.dynamodb.inputs.TableServerSideEncryptionArgs.Builder
-
- Enclosing class:
- TableServerSideEncryptionArgs
public static final class TableServerSideEncryptionArgs.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()Builder(TableServerSideEncryptionArgs defaults)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TableServerSideEncryptionArgsbuild()TableServerSideEncryptionArgs.Builderenabled(com.pulumi.core.Output<java.lang.Boolean> enabled)TableServerSideEncryptionArgs.Builderenabled(java.lang.Boolean enabled)TableServerSideEncryptionArgs.BuilderkmsKeyArn(com.pulumi.core.Output<java.lang.String> kmsKeyArn)TableServerSideEncryptionArgs.BuilderkmsKeyArn(java.lang.String kmsKeyArn)
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(TableServerSideEncryptionArgs defaults)
-
-
Method Detail
-
enabled
public TableServerSideEncryptionArgs.Builder enabled(com.pulumi.core.Output<java.lang.Boolean> enabled)
- Parameters:
enabled- Whether or not to enable encryption at rest using an AWS managed KMS customer master key (CMK). If `enabled` is `false` then server-side encryption is set to AWS-_owned_ key (shown as `DEFAULT` in the AWS console). Potentially confusingly, if `enabled` is `true` and no `kmsKeyArn` is specified then server-side encryption is set to the _default_ KMS-_managed_ key (shown as `KMS` in the AWS console). The [AWS KMS documentation](https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html) explains the difference between AWS-_owned_ and KMS-_managed_ keys.- Returns:
- builder
-
enabled
public TableServerSideEncryptionArgs.Builder enabled(java.lang.Boolean enabled)
- Parameters:
enabled- Whether or not to enable encryption at rest using an AWS managed KMS customer master key (CMK). If `enabled` is `false` then server-side encryption is set to AWS-_owned_ key (shown as `DEFAULT` in the AWS console). Potentially confusingly, if `enabled` is `true` and no `kmsKeyArn` is specified then server-side encryption is set to the _default_ KMS-_managed_ key (shown as `KMS` in the AWS console). The [AWS KMS documentation](https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html) explains the difference between AWS-_owned_ and KMS-_managed_ keys.- Returns:
- builder
-
kmsKeyArn
public TableServerSideEncryptionArgs.Builder kmsKeyArn(@Nullable com.pulumi.core.Output<java.lang.String> kmsKeyArn)
- Parameters:
kmsKeyArn- ARN of the CMK that should be used for the AWS KMS encryption. This argument should only be used if the key is different from the default KMS-managed DynamoDB key, `alias/aws/dynamodb`. **Note:** This attribute will _not_ be populated with the ARN of _default_ keys.- Returns:
- builder
-
kmsKeyArn
public TableServerSideEncryptionArgs.Builder kmsKeyArn(java.lang.String kmsKeyArn)
- Parameters:
kmsKeyArn- ARN of the CMK that should be used for the AWS KMS encryption. This argument should only be used if the key is different from the default KMS-managed DynamoDB key, `alias/aws/dynamodb`. **Note:** This attribute will _not_ be populated with the ARN of _default_ keys.- Returns:
- builder
-
build
public TableServerSideEncryptionArgs build()
-
-