/* * 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 PutRemediationConfigurations operation. /// Adds or updates the remediation configuration with a specific Config rule with the /// selected target or action. The API creates the RemediationConfiguration /// object for the Config rule. The Config rule must already exist for you to add a remediation /// configuration. The target (SSM document) must exist and have permissions to use the /// target. /// /// /// /// If you make backward incompatible changes to the SSM document, you must call this /// again to ensure the remediations can run. /// /// /// /// This API does not support adding remediation configurations for service-linked Config /// Rules such as Organization Config rules, the rules deployed by conformance packs, /// and rules deployed by Amazon Web Services Security Hub. /// /// /// /// For manual remediation configuration, you need to provide a value for automationAssumeRole /// or use a value in the assumeRolefield to remediate your resources. The /// SSM automation document can use either as long as it maps to a valid parameter. /// /// /// /// However, for automatic remediation configuration, the only valid assumeRole /// field value is AutomationAssumeRole and you need to provide a value for /// AutomationAssumeRole to remediate your resources. /// /// /// public partial class PutRemediationConfigurationsRequest : AmazonConfigServiceRequest { private List _remediationConfigurations = new List(); /// /// Gets and sets the property RemediationConfigurations. /// /// A list of remediation configuration objects. /// /// [AWSProperty(Required=true, Min=0, Max=25)] public List RemediationConfigurations { get { return this._remediationConfigurations; } set { this._remediationConfigurations = value; } } // Check to see if RemediationConfigurations property is set internal bool IsSetRemediationConfigurations() { return this._remediationConfigurations != null && this._remediationConfigurations.Count > 0; } } }