/* * 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 securityhub-2018-10-26.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.SecurityHub.Model { /// /// Container for the parameters to the CreateFindingAggregator operation. /// Used to enable finding aggregation. Must be called from the aggregation Region. /// /// /// /// For more details about cross-Region replication, see Configuring /// finding aggregation in the Security Hub User Guide. /// /// public partial class CreateFindingAggregatorRequest : AmazonSecurityHubRequest { private string _regionLinkingMode; private List _regions = new List(); /// /// Gets and sets the property RegionLinkingMode. /// /// Indicates whether to aggregate findings from all of the available Regions in the current /// partition. Also determines whether to automatically aggregate findings from new Regions /// as Security Hub supports them and you opt into them. /// /// /// /// The selected option also determines how to use the Regions provided in the Regions /// list. /// /// /// /// The options are as follows: /// ///
  • /// /// ALL_REGIONS - Indicates to aggregate findings from all of the Regions /// where Security Hub is enabled. When you choose this option, Security Hub also automatically /// aggregates findings from new Regions as Security Hub supports them and you opt into /// them. /// ///
  • /// /// ALL_REGIONS_EXCEPT_SPECIFIED - Indicates to aggregate findings from /// all of the Regions where Security Hub is enabled, except for the Regions listed in /// the Regions parameter. When you choose this option, Security Hub also /// automatically aggregates findings from new Regions as Security Hub supports them and /// you opt into them. /// ///
  • /// /// SPECIFIED_REGIONS - Indicates to aggregate findings only from the Regions /// listed in the Regions parameter. Security Hub does not automatically /// aggregate findings from new Regions. /// ///
///
[AWSProperty(Required=true)] public string RegionLinkingMode { get { return this._regionLinkingMode; } set { this._regionLinkingMode = value; } } // Check to see if RegionLinkingMode property is set internal bool IsSetRegionLinkingMode() { return this._regionLinkingMode != null; } /// /// Gets and sets the property Regions. /// /// If RegionLinkingMode is ALL_REGIONS_EXCEPT_SPECIFIED, then /// this is a space-separated list of Regions that do not aggregate findings to the aggregation /// Region. /// /// /// /// If RegionLinkingMode is SPECIFIED_REGIONS, then this is /// a space-separated list of Regions that do aggregate findings to the aggregation 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; } } }