/*
* 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 shield-2016-06-02.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.Shield.Model
{
///
/// Container for the parameters to the AssociateHealthCheck operation.
/// Adds health-based detection to the Shield Advanced protection for a resource. Shield
/// Advanced health-based detection uses the health of your Amazon Web Services resource
/// to improve responsiveness and accuracy in attack detection and response.
///
///
///
/// You define the health check in RouteĀ 53 and then associate it with your Shield Advanced
/// protection. For more information, see Shield
/// Advanced Health-Based Detection in the WAF Developer Guide.
///
///
public partial class AssociateHealthCheckRequest : AmazonShieldRequest
{
private string _healthCheckArn;
private string _protectionId;
///
/// Gets and sets the property HealthCheckArn.
///
/// The Amazon Resource Name (ARN) of the health check to associate with the protection.
///
///
[AWSProperty(Required=true, Min=1, Max=2048)]
public string HealthCheckArn
{
get { return this._healthCheckArn; }
set { this._healthCheckArn = value; }
}
// Check to see if HealthCheckArn property is set
internal bool IsSetHealthCheckArn()
{
return this._healthCheckArn != null;
}
///
/// Gets and sets the property ProtectionId.
///
/// The unique identifier (ID) for the Protection object to add the health check
/// association to.
///
///
[AWSProperty(Required=true, Min=36, Max=36)]
public string ProtectionId
{
get { return this._protectionId; }
set { this._protectionId = value; }
}
// Check to see if ProtectionId property is set
internal bool IsSetProtectionId()
{
return this._protectionId != null;
}
}
}