/* * 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 config-2014-11-12.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.ConfigService.Model { /// /// Specifies the recording strategy of the configuration recorder. /// public partial class RecordingStrategy { private RecordingStrategyType _useOnly; /// /// Gets and sets the property UseOnly. /// /// The recording strategy for the configuration recorder. /// /// /// /// The recordingStrategy field is optional when you set the allSupported /// field of RecordingGroup /// to true. /// /// /// /// The recordingStrategy field is optional when you list resource types /// in the resourceTypes field of RecordingGroup. /// /// /// /// The recordingStrategy field is required if you list resource types to /// exclude from recording in the resourceTypes field of ExclusionByResourceTypes. /// /// /// /// If you choose EXCLUSION_BY_RESOURCE_TYPES for the recording strategy, /// the exclusionByResourceTypes field will override other properties in /// the request. /// /// /// /// For example, even if you set includeGlobalResourceTypes to false, global /// resource types will still be automatically recorded in this option unless those resource /// types are specifically listed as exemptions in the resourceTypes field /// of exclusionByResourceTypes. /// /// /// /// By default, if you choose the EXCLUSION_BY_RESOURCE_TYPES recording strategy, /// when Config adds support for a new resource type in the Region where you set up the /// configuration recorder, including global resource types, Config starts recording resources /// of that type automatically. /// /// /// public RecordingStrategyType UseOnly { get { return this._useOnly; } set { this._useOnly = value; } } // Check to see if UseOnly property is set internal bool IsSetUseOnly() { return this._useOnly != null; } } }