dataroute53trafficpolicydocument

package
v0.0.0-...-964ba77 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 9, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Endpoint

type Endpoint struct {
	// Id: string, required
	Id terra.StringValue `hcl:"id,attr" validate:"required"`
	// Region: string, optional
	Region terra.StringValue `hcl:"region,attr"`
	// Type: string, optional
	Type terra.StringValue `hcl:"type,attr"`
	// Value: string, optional
	Value terra.StringValue `hcl:"value,attr"`
}

type EndpointAttributes

type EndpointAttributes struct {
	// contains filtered or unexported fields
}

func (EndpointAttributes) Id

func (EndpointAttributes) InternalRef

func (e EndpointAttributes) InternalRef() (terra.Reference, error)

func (EndpointAttributes) InternalTokens

func (e EndpointAttributes) InternalTokens() (hclwrite.Tokens, error)

func (EndpointAttributes) InternalWithRef

func (e EndpointAttributes) InternalWithRef(ref terra.Reference) EndpointAttributes

func (EndpointAttributes) Region

func (EndpointAttributes) Type

func (EndpointAttributes) Value

type EndpointState

type EndpointState struct {
	Id     string `json:"id"`
	Region string `json:"region"`
	Type   string `json:"type"`
	Value  string `json:"value"`
}

type GeoProximityLocation

type GeoProximityLocation struct {
	// Bias: string, optional
	Bias terra.StringValue `hcl:"bias,attr"`
	// EndpointReference: string, optional
	EndpointReference terra.StringValue `hcl:"endpoint_reference,attr"`
	// EvaluateTargetHealth: bool, optional
	EvaluateTargetHealth terra.BoolValue `hcl:"evaluate_target_health,attr"`
	// HealthCheck: string, optional
	HealthCheck terra.StringValue `hcl:"health_check,attr"`
	// Latitude: string, optional
	Latitude terra.StringValue `hcl:"latitude,attr"`
	// Longitude: string, optional
	Longitude terra.StringValue `hcl:"longitude,attr"`
	// Region: string, optional
	Region terra.StringValue `hcl:"region,attr"`
	// RuleReference: string, optional
	RuleReference terra.StringValue `hcl:"rule_reference,attr"`
}

type GeoProximityLocationAttributes

type GeoProximityLocationAttributes struct {
	// contains filtered or unexported fields
}

func (GeoProximityLocationAttributes) Bias

func (GeoProximityLocationAttributes) EndpointReference

func (gpl GeoProximityLocationAttributes) EndpointReference() terra.StringValue

func (GeoProximityLocationAttributes) EvaluateTargetHealth

func (gpl GeoProximityLocationAttributes) EvaluateTargetHealth() terra.BoolValue

func (GeoProximityLocationAttributes) HealthCheck

func (GeoProximityLocationAttributes) InternalRef

func (gpl GeoProximityLocationAttributes) InternalRef() (terra.Reference, error)

func (GeoProximityLocationAttributes) InternalTokens

func (gpl GeoProximityLocationAttributes) InternalTokens() (hclwrite.Tokens, error)

func (GeoProximityLocationAttributes) InternalWithRef

func (GeoProximityLocationAttributes) Latitude

func (GeoProximityLocationAttributes) Longitude

func (GeoProximityLocationAttributes) Region

func (GeoProximityLocationAttributes) RuleReference

func (gpl GeoProximityLocationAttributes) RuleReference() terra.StringValue

type GeoProximityLocationState

type GeoProximityLocationState struct {
	Bias                 string `json:"bias"`
	EndpointReference    string `json:"endpoint_reference"`
	EvaluateTargetHealth bool   `json:"evaluate_target_health"`
	HealthCheck          string `json:"health_check"`
	Latitude             string `json:"latitude"`
	Longitude            string `json:"longitude"`
	Region               string `json:"region"`
	RuleReference        string `json:"rule_reference"`
}

type Items

type Items struct {
	// EndpointReference: string, optional
	EndpointReference terra.StringValue `hcl:"endpoint_reference,attr"`
	// HealthCheck: string, optional
	HealthCheck terra.StringValue `hcl:"health_check,attr"`
}

type ItemsAttributes

type ItemsAttributes struct {
	// contains filtered or unexported fields
}

func (ItemsAttributes) EndpointReference

func (i ItemsAttributes) EndpointReference() terra.StringValue

func (ItemsAttributes) HealthCheck

func (i ItemsAttributes) HealthCheck() terra.StringValue

func (ItemsAttributes) InternalRef

func (i ItemsAttributes) InternalRef() (terra.Reference, error)

func (ItemsAttributes) InternalTokens

func (i ItemsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (ItemsAttributes) InternalWithRef

func (i ItemsAttributes) InternalWithRef(ref terra.Reference) ItemsAttributes

type ItemsState

type ItemsState struct {
	EndpointReference string `json:"endpoint_reference"`
	HealthCheck       string `json:"health_check"`
}

type Location

type Location struct {
	// Continent: string, optional
	Continent terra.StringValue `hcl:"continent,attr"`
	// Country: string, optional
	Country terra.StringValue `hcl:"country,attr"`
	// EndpointReference: string, optional
	EndpointReference terra.StringValue `hcl:"endpoint_reference,attr"`
	// EvaluateTargetHealth: bool, optional
	EvaluateTargetHealth terra.BoolValue `hcl:"evaluate_target_health,attr"`
	// HealthCheck: string, optional
	HealthCheck terra.StringValue `hcl:"health_check,attr"`
	// IsDefault: bool, optional
	IsDefault terra.BoolValue `hcl:"is_default,attr"`
	// RuleReference: string, optional
	RuleReference terra.StringValue `hcl:"rule_reference,attr"`
	// Subdivision: string, optional
	Subdivision terra.StringValue `hcl:"subdivision,attr"`
}

type LocationAttributes

type LocationAttributes struct {
	// contains filtered or unexported fields
}

func (LocationAttributes) Continent

func (l LocationAttributes) Continent() terra.StringValue

func (LocationAttributes) Country

func (l LocationAttributes) Country() terra.StringValue

func (LocationAttributes) EndpointReference

func (l LocationAttributes) EndpointReference() terra.StringValue

func (LocationAttributes) EvaluateTargetHealth

func (l LocationAttributes) EvaluateTargetHealth() terra.BoolValue

func (LocationAttributes) HealthCheck

func (l LocationAttributes) HealthCheck() terra.StringValue

func (LocationAttributes) InternalRef

func (l LocationAttributes) InternalRef() (terra.Reference, error)

func (LocationAttributes) InternalTokens

func (l LocationAttributes) InternalTokens() (hclwrite.Tokens, error)

func (LocationAttributes) InternalWithRef

func (l LocationAttributes) InternalWithRef(ref terra.Reference) LocationAttributes

func (LocationAttributes) IsDefault

func (l LocationAttributes) IsDefault() terra.BoolValue

func (LocationAttributes) RuleReference

func (l LocationAttributes) RuleReference() terra.StringValue

func (LocationAttributes) Subdivision

func (l LocationAttributes) Subdivision() terra.StringValue

type LocationState

type LocationState struct {
	Continent            string `json:"continent"`
	Country              string `json:"country"`
	EndpointReference    string `json:"endpoint_reference"`
	EvaluateTargetHealth bool   `json:"evaluate_target_health"`
	HealthCheck          string `json:"health_check"`
	IsDefault            bool   `json:"is_default"`
	RuleReference        string `json:"rule_reference"`
	Subdivision          string `json:"subdivision"`
}

type Primary

type Primary struct {
	// EndpointReference: string, optional
	EndpointReference terra.StringValue `hcl:"endpoint_reference,attr"`
	// EvaluateTargetHealth: bool, optional
	EvaluateTargetHealth terra.BoolValue `hcl:"evaluate_target_health,attr"`
	// HealthCheck: string, optional
	HealthCheck terra.StringValue `hcl:"health_check,attr"`
	// RuleReference: string, optional
	RuleReference terra.StringValue `hcl:"rule_reference,attr"`
}

type PrimaryAttributes

type PrimaryAttributes struct {
	// contains filtered or unexported fields
}

func (PrimaryAttributes) EndpointReference

func (p PrimaryAttributes) EndpointReference() terra.StringValue

func (PrimaryAttributes) EvaluateTargetHealth

func (p PrimaryAttributes) EvaluateTargetHealth() terra.BoolValue

func (PrimaryAttributes) HealthCheck

func (p PrimaryAttributes) HealthCheck() terra.StringValue

func (PrimaryAttributes) InternalRef

func (p PrimaryAttributes) InternalRef() (terra.Reference, error)

func (PrimaryAttributes) InternalTokens

func (p PrimaryAttributes) InternalTokens() (hclwrite.Tokens, error)

func (PrimaryAttributes) InternalWithRef

func (p PrimaryAttributes) InternalWithRef(ref terra.Reference) PrimaryAttributes

func (PrimaryAttributes) RuleReference

func (p PrimaryAttributes) RuleReference() terra.StringValue

type PrimaryState

type PrimaryState struct {
	EndpointReference    string `json:"endpoint_reference"`
	EvaluateTargetHealth bool   `json:"evaluate_target_health"`
	HealthCheck          string `json:"health_check"`
	RuleReference        string `json:"rule_reference"`
}

type Region

type Region struct {
	// EndpointReference: string, optional
	EndpointReference terra.StringValue `hcl:"endpoint_reference,attr"`
	// EvaluateTargetHealth: bool, optional
	EvaluateTargetHealth terra.BoolValue `hcl:"evaluate_target_health,attr"`
	// HealthCheck: string, optional
	HealthCheck terra.StringValue `hcl:"health_check,attr"`
	// Region: string, optional
	Region terra.StringValue `hcl:"region,attr"`
	// RuleReference: string, optional
	RuleReference terra.StringValue `hcl:"rule_reference,attr"`
}

type RegionAttributes

type RegionAttributes struct {
	// contains filtered or unexported fields
}

func (RegionAttributes) EndpointReference

func (r RegionAttributes) EndpointReference() terra.StringValue

func (RegionAttributes) EvaluateTargetHealth

func (r RegionAttributes) EvaluateTargetHealth() terra.BoolValue

func (RegionAttributes) HealthCheck

func (r RegionAttributes) HealthCheck() terra.StringValue

func (RegionAttributes) InternalRef

func (r RegionAttributes) InternalRef() (terra.Reference, error)

func (RegionAttributes) InternalTokens

func (r RegionAttributes) InternalTokens() (hclwrite.Tokens, error)

func (RegionAttributes) InternalWithRef

func (r RegionAttributes) InternalWithRef(ref terra.Reference) RegionAttributes

func (RegionAttributes) Region

func (r RegionAttributes) Region() terra.StringValue

func (RegionAttributes) RuleReference

func (r RegionAttributes) RuleReference() terra.StringValue

type RegionState

type RegionState struct {
	EndpointReference    string `json:"endpoint_reference"`
	EvaluateTargetHealth bool   `json:"evaluate_target_health"`
	HealthCheck          string `json:"health_check"`
	Region               string `json:"region"`
	RuleReference        string `json:"rule_reference"`
}

type Rule

type Rule struct {
	// Id: string, required
	Id terra.StringValue `hcl:"id,attr" validate:"required"`
	// Type: string, optional
	Type terra.StringValue `hcl:"type,attr"`
	// GeoProximityLocation: min=0
	GeoProximityLocation []GeoProximityLocation `hcl:"geo_proximity_location,block" validate:"min=0"`
	// Items: min=0
	Items []Items `hcl:"items,block" validate:"min=0"`
	// Location: min=0
	Location []Location `hcl:"location,block" validate:"min=0"`
	// Primary: optional
	Primary *Primary `hcl:"primary,block"`
	// Region: min=0
	Region []Region `hcl:"region,block" validate:"min=0"`
	// Secondary: optional
	Secondary *Secondary `hcl:"secondary,block"`
}

type RuleAttributes

type RuleAttributes struct {
	// contains filtered or unexported fields
}

func (RuleAttributes) GeoProximityLocation

func (r RuleAttributes) GeoProximityLocation() terra.SetValue[GeoProximityLocationAttributes]

func (RuleAttributes) Id

func (RuleAttributes) InternalRef

func (r RuleAttributes) InternalRef() (terra.Reference, error)

func (RuleAttributes) InternalTokens

func (r RuleAttributes) InternalTokens() (hclwrite.Tokens, error)

func (RuleAttributes) InternalWithRef

func (r RuleAttributes) InternalWithRef(ref terra.Reference) RuleAttributes

func (RuleAttributes) Items

func (RuleAttributes) Location

func (RuleAttributes) Primary

func (RuleAttributes) Region

func (RuleAttributes) Secondary

func (RuleAttributes) Type

func (r RuleAttributes) Type() terra.StringValue

type RuleState

type RuleState struct {
	Id                   string                      `json:"id"`
	Type                 string                      `json:"type"`
	GeoProximityLocation []GeoProximityLocationState `json:"geo_proximity_location"`
	Items                []ItemsState                `json:"items"`
	Location             []LocationState             `json:"location"`
	Primary              []PrimaryState              `json:"primary"`
	Region               []RegionState               `json:"region"`
	Secondary            []SecondaryState            `json:"secondary"`
}

type Secondary

type Secondary struct {
	// EndpointReference: string, optional
	EndpointReference terra.StringValue `hcl:"endpoint_reference,attr"`
	// EvaluateTargetHealth: bool, optional
	EvaluateTargetHealth terra.BoolValue `hcl:"evaluate_target_health,attr"`
	// HealthCheck: string, optional
	HealthCheck terra.StringValue `hcl:"health_check,attr"`
	// RuleReference: string, optional
	RuleReference terra.StringValue `hcl:"rule_reference,attr"`
}

type SecondaryAttributes

type SecondaryAttributes struct {
	// contains filtered or unexported fields
}

func (SecondaryAttributes) EndpointReference

func (s SecondaryAttributes) EndpointReference() terra.StringValue

func (SecondaryAttributes) EvaluateTargetHealth

func (s SecondaryAttributes) EvaluateTargetHealth() terra.BoolValue

func (SecondaryAttributes) HealthCheck

func (s SecondaryAttributes) HealthCheck() terra.StringValue

func (SecondaryAttributes) InternalRef

func (s SecondaryAttributes) InternalRef() (terra.Reference, error)

func (SecondaryAttributes) InternalTokens

func (s SecondaryAttributes) InternalTokens() (hclwrite.Tokens, error)

func (SecondaryAttributes) InternalWithRef

func (s SecondaryAttributes) InternalWithRef(ref terra.Reference) SecondaryAttributes

func (SecondaryAttributes) RuleReference

func (s SecondaryAttributes) RuleReference() terra.StringValue

type SecondaryState

type SecondaryState struct {
	EndpointReference    string `json:"endpoint_reference"`
	EvaluateTargetHealth bool   `json:"evaluate_target_health"`
	HealthCheck          string `json:"health_check"`
	RuleReference        string `json:"rule_reference"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL