Interface S3EncryptionConfiguration.Builder

    • Method Detail

      • kmsKeyArn

        S3EncryptionConfiguration.Builder kmsKeyArn​(String kmsKeyArn)

        The Amazon Resource Name (ARN) of a symmetric encryption key in Key Management Service (KMS). Amazon S3 does not support asymmetric KMS keys.

        You must provide a KmsKeyArn if you specify SSE_KMS as the ObjectEncryptionType.

        KmsKeyArn is not required if you specify SSE_S3 as the ObjectEncryptionType.

        Parameters:
        kmsKeyArn - The Amazon Resource Name (ARN) of a symmetric encryption key in Key Management Service (KMS). Amazon S3 does not support asymmetric KMS keys.

        You must provide a KmsKeyArn if you specify SSE_KMS as the ObjectEncryptionType.

        KmsKeyArn is not required if you specify SSE_S3 as the ObjectEncryptionType.

        Returns:
        Returns a reference to this object so that method calls can be chained together.