/*
* 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 securitylake-2018-05-10.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.SecurityLake.Model
{
///
/// Provides replication details of Amazon Security Lake object.
///
public partial class DataLakeReplicationConfiguration
{
private List _regions = new List();
private string _roleArn;
///
/// Gets and sets the property Regions.
///
/// Replication enables automatic, asynchronous copying of objects across Amazon S3 buckets.
/// Amazon S3 buckets that are configured for object replication can be owned by the same
/// Amazon Web Services account or by different accounts. You can replicate objects to
/// a single destination bucket or to multiple destination buckets. The destination buckets
/// can be in different Amazon Web Services Regions or within the same Region as the source
/// bucket.
///
///
///
/// Set up one or more rollup Regions by providing the Region or Regions that should contribute
/// to the central rollup Region.
///
///
public List Regions
{
get { return this._regions; }
set { this._regions = value; }
}
// Check to see if Regions property is set
internal bool IsSetRegions()
{
return this._regions != null && this._regions.Count > 0;
}
///
/// Gets and sets the property RoleArn.
///
/// Replication settings for the Amazon S3 buckets. This parameter uses the Identity and
/// Access Management (IAM) role you created that is managed by Security Lake, to ensure
/// the replication setting is correct.
///
///
public string RoleArn
{
get { return this._roleArn; }
set { this._roleArn = value; }
}
// Check to see if RoleArn property is set
internal bool IsSetRoleArn()
{
return this._roleArn != null;
}
}
}