This repository has been archived by the owner on Jan 14, 2020. It is now read-only.
/
HealthCheckHealthCheckConfig.go
36 lines (31 loc) · 2.01 KB
/
HealthCheckHealthCheckConfig.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
package properties
// Code generated by go generate; DO NOT EDIT.
// It's generated by "github.com/KablamoOSS/kombustion/generate"
import "fmt"
// HealthCheckHealthCheckConfig Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-route53-healthcheck-healthcheckconfig.html
type HealthCheckHealthCheckConfig struct {
EnableSNI interface{} `yaml:"EnableSNI,omitempty"`
FailureThreshold interface{} `yaml:"FailureThreshold,omitempty"`
FullyQualifiedDomainName interface{} `yaml:"FullyQualifiedDomainName,omitempty"`
HealthThreshold interface{} `yaml:"HealthThreshold,omitempty"`
IPAddress interface{} `yaml:"IPAddress,omitempty"`
InsufficientDataHealthStatus interface{} `yaml:"InsufficientDataHealthStatus,omitempty"`
Inverted interface{} `yaml:"Inverted,omitempty"`
MeasureLatency interface{} `yaml:"MeasureLatency,omitempty"`
Port interface{} `yaml:"Port,omitempty"`
RequestInterval interface{} `yaml:"RequestInterval,omitempty"`
ResourcePath interface{} `yaml:"ResourcePath,omitempty"`
SearchString interface{} `yaml:"SearchString,omitempty"`
Type interface{} `yaml:"Type"`
ChildHealthChecks interface{} `yaml:"ChildHealthChecks,omitempty"`
Regions interface{} `yaml:"Regions,omitempty"`
AlarmIdentifier *HealthCheckAlarmIdentifier `yaml:"AlarmIdentifier,omitempty"`
}
// HealthCheckHealthCheckConfig validation
func (resource HealthCheckHealthCheckConfig) Validate() []error {
errors := []error{}
if resource.Type == nil {
errors = append(errors, fmt.Errorf("Missing required field 'Type'"))
}
return errors
}