/* * 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 { /// /// Container for the parameters to the StartRemediationExecution operation. /// Runs an on-demand remediation for the specified Config rules against the last known /// remediation configuration. It runs an execution against the current state of your /// resources. Remediation execution is asynchronous. /// /// /// /// You can specify up to 100 resource keys per request. An existing StartRemediationExecution /// call for the specified resource keys must complete before you can call the API again. /// /// public partial class StartRemediationExecutionRequest : AmazonConfigServiceRequest { private string _configRuleName; private List _resourceKeys = new List(); /// /// Gets and sets the property ConfigRuleName. /// /// The list of names of Config rules that you want to run remediation execution for. /// /// [AWSProperty(Required=true, Min=1, Max=128)] public string ConfigRuleName { get { return this._configRuleName; } set { this._configRuleName = value; } } // Check to see if ConfigRuleName property is set internal bool IsSetConfigRuleName() { return this._configRuleName != null; } /// /// Gets and sets the property ResourceKeys. /// /// A list of resource keys to be processed with the current request. Each element in /// the list consists of the resource type and resource ID. /// /// [AWSProperty(Required=true, Min=1, Max=100)] public List ResourceKeys { get { return this._resourceKeys; } set { this._resourceKeys = value; } } // Check to see if ResourceKeys property is set internal bool IsSetResourceKeys() { return this._resourceKeys != null && this._resourceKeys.Count > 0; } } }