/*
* 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 fms-2018-01-01.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.FMS.Model
{
///
/// Container for the parameters to the GetComplianceDetail operation.
/// Returns detailed compliance information about the specified member account. Details
/// include resources that are in and out of compliance with the specified policy.
///
/// -
///
/// Resources are considered noncompliant for WAF and Shield Advanced policies if the
/// specified policy has not been applied to them.
///
///
-
///
/// Resources are considered noncompliant for security group policies if they are in scope
/// of the policy, they violate one or more of the policy rules, and remediation is disabled
/// or not possible.
///
///
-
///
/// Resources are considered noncompliant for Network Firewall policies if a firewall
/// is missing in the VPC, if the firewall endpoint isn't set up in an expected Availability
/// Zone and subnet, if a subnet created by the Firewall Manager doesn't have the expected
/// route table, and for modifications to a firewall policy that violate the Firewall
/// Manager policy's rules.
///
///
-
///
/// Resources are considered noncompliant for DNS Firewall policies if a DNS Firewall
/// rule group is missing from the rule group associations for the VPC.
///
///
///
public partial class GetComplianceDetailRequest : AmazonFMSRequest
{
private string _memberAccount;
private string _policyId;
///
/// Gets and sets the property MemberAccount.
///
/// The Amazon Web Services account that owns the resources that you want to get the details
/// for.
///
///
[AWSProperty(Required=true, Min=1, Max=1024)]
public string MemberAccount
{
get { return this._memberAccount; }
set { this._memberAccount = value; }
}
// Check to see if MemberAccount property is set
internal bool IsSetMemberAccount()
{
return this._memberAccount != null;
}
///
/// Gets and sets the property PolicyId.
///
/// The ID of the policy that you want to get the details for. PolicyId
is
/// returned by PutPolicy
and by ListPolicies
.
///
///
[AWSProperty(Required=true, Min=36, Max=36)]
public string PolicyId
{
get { return this._policyId; }
set { this._policyId = value; }
}
// Check to see if PolicyId property is set
internal bool IsSetPolicyId()
{
return this._policyId != null;
}
}
}