/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the qldb-2019-01-02.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.QLDB.Model { /// /// The encryption settings that are used by a journal export job to write data in an /// Amazon Simple Storage Service (Amazon S3) bucket. /// public partial class S3EncryptionConfiguration { private string _kmsKeyArn; private S3ObjectEncryptionType _objectEncryptionType; /// /// Gets and sets the property 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. /// /// [AWSProperty(Min=20, Max=1600)] public string KmsKeyArn { get { return this._kmsKeyArn; } set { this._kmsKeyArn = value; } } // Check to see if KmsKeyArn property is set internal bool IsSetKmsKeyArn() { return this._kmsKeyArn != null; } /// /// Gets and sets the property ObjectEncryptionType. /// /// The Amazon S3 object encryption type. /// /// /// /// To learn more about server-side encryption options in Amazon S3, see Protecting /// Data Using Server-Side Encryption in the Amazon S3 Developer Guide. /// /// [AWSProperty(Required=true)] public S3ObjectEncryptionType ObjectEncryptionType { get { return this._objectEncryptionType; } set { this._objectEncryptionType = value; } } // Check to see if ObjectEncryptionType property is set internal bool IsSetObjectEncryptionType() { return this._objectEncryptionType != null; } } }