/* * 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 route53-2013-04-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.Route53.Model { /// /// Container for the parameters to the CreateHealthCheck operation. /// Creates a new health check. /// /// /// /// For information about adding health checks to resource record sets, see HealthCheckId /// in ChangeResourceRecordSets. /// /// /// /// /// ELB Load Balancers /// /// /// /// If you're registering EC2 instances with an Elastic Load Balancing (ELB) load balancer, /// do not create Amazon Route 53 health checks for the EC2 instances. When you register /// an EC2 instance with a load balancer, you configure settings for an ELB health check, /// which performs a similar function to a Route 53 health check. /// /// /// /// Private Hosted Zones /// /// /// /// You can associate health checks with failover resource record sets in a private hosted /// zone. Note the following: /// /// /// public partial class CreateHealthCheckRequest : AmazonRoute53Request { private string _callerReference; private HealthCheckConfig _healthCheckConfig; /// /// Gets and sets the property CallerReference. /// /// A unique string that identifies the request and that allows you to retry a failed /// CreateHealthCheck request without the risk of creating two identical /// health checks: /// /// /// [AWSProperty(Required=true, Min=1, Max=64)] public string CallerReference { get { return this._callerReference; } set { this._callerReference = value; } } // Check to see if CallerReference property is set internal bool IsSetCallerReference() { return this._callerReference != null; } /// /// Gets and sets the property HealthCheckConfig. /// /// A complex type that contains settings for a new health check. /// /// [AWSProperty(Required=true)] public HealthCheckConfig HealthCheckConfig { get { return this._healthCheckConfig; } set { this._healthCheckConfig = value; } } // Check to see if HealthCheckConfig property is set internal bool IsSetHealthCheckConfig() { return this._healthCheckConfig != null; } } }