aws_route53_traffic_policy_document

package
v0.0.0-...-4deecce Latest Latest
Warning

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

Go to latest
Published: Apr 16, 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 DataArgs

type DataArgs struct {
	// Id: string, optional
	Id terra.StringValue `hcl:"id,attr"`
	// RecordType: string, optional
	RecordType terra.StringValue `hcl:"record_type,attr"`
	// StartEndpoint: string, optional
	StartEndpoint terra.StringValue `hcl:"start_endpoint,attr"`
	// StartRule: string, optional
	StartRule terra.StringValue `hcl:"start_rule,attr"`
	// Version: string, optional
	Version terra.StringValue `hcl:"version,attr"`
	// Endpoint: min=0
	Endpoint []DataEndpoint `hcl:"endpoint,block" validate:"min=0"`
	// Rule: min=0
	Rule []DataRule `hcl:"rule,block" validate:"min=0"`
}

DataArgs contains the configurations for aws_route53_traffic_policy_document.

type DataEndpoint

type DataEndpoint 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 DataEndpointAttributes

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

func (DataEndpointAttributes) Id

func (DataEndpointAttributes) InternalRef

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

func (DataEndpointAttributes) InternalTokens

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

func (DataEndpointAttributes) InternalWithRef

func (DataEndpointAttributes) Region

func (DataEndpointAttributes) Type

func (DataEndpointAttributes) Value

type DataEndpointState

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

type DataRule

type DataRule struct {
	// Id: string, required
	Id terra.StringValue `hcl:"id,attr" validate:"required"`
	// Type: string, optional
	Type terra.StringValue `hcl:"type,attr"`
	// RuleGeoProximityLocation: min=0
	GeoProximityLocation []DataRuleGeoProximityLocation `hcl:"geo_proximity_location,block" validate:"min=0"`
	// RuleItems: min=0
	Items []DataRuleItems `hcl:"items,block" validate:"min=0"`
	// RuleLocation: min=0
	Location []DataRuleLocation `hcl:"location,block" validate:"min=0"`
	// RulePrimary: optional
	Primary *DataRulePrimary `hcl:"primary,block"`
	// RuleRegion: min=0
	Region []DataRuleRegion `hcl:"region,block" validate:"min=0"`
	// RuleSecondary: optional
	Secondary *DataRuleSecondary `hcl:"secondary,block"`
}

type DataRuleAttributes

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

func (DataRuleAttributes) GeoProximityLocation

func (DataRuleAttributes) Id

func (DataRuleAttributes) InternalRef

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

func (DataRuleAttributes) InternalTokens

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

func (DataRuleAttributes) InternalWithRef

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

func (DataRuleAttributes) Items

func (DataRuleAttributes) Location

func (DataRuleAttributes) Primary

func (DataRuleAttributes) Region

func (DataRuleAttributes) Secondary

func (DataRuleAttributes) Type

type DataRuleGeoProximityLocation

type DataRuleGeoProximityLocation 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 DataRuleGeoProximityLocationAttributes

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

func (DataRuleGeoProximityLocationAttributes) Bias

func (DataRuleGeoProximityLocationAttributes) EndpointReference

func (DataRuleGeoProximityLocationAttributes) EvaluateTargetHealth

func (gpl DataRuleGeoProximityLocationAttributes) EvaluateTargetHealth() terra.BoolValue

func (DataRuleGeoProximityLocationAttributes) HealthCheck

func (DataRuleGeoProximityLocationAttributes) InternalRef

func (DataRuleGeoProximityLocationAttributes) InternalTokens

func (DataRuleGeoProximityLocationAttributes) InternalWithRef

func (DataRuleGeoProximityLocationAttributes) Latitude

func (DataRuleGeoProximityLocationAttributes) Longitude

func (DataRuleGeoProximityLocationAttributes) Region

func (DataRuleGeoProximityLocationAttributes) RuleReference

type DataRuleGeoProximityLocationState

type DataRuleGeoProximityLocationState 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 DataRuleItems

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

type DataRuleItemsAttributes

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

func (DataRuleItemsAttributes) EndpointReference

func (i DataRuleItemsAttributes) EndpointReference() terra.StringValue

func (DataRuleItemsAttributes) HealthCheck

func (i DataRuleItemsAttributes) HealthCheck() terra.StringValue

func (DataRuleItemsAttributes) InternalRef

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

func (DataRuleItemsAttributes) InternalTokens

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

func (DataRuleItemsAttributes) InternalWithRef

type DataRuleItemsState

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

type DataRuleLocation

type DataRuleLocation 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 DataRuleLocationAttributes

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

func (DataRuleLocationAttributes) Continent

func (DataRuleLocationAttributes) Country

func (DataRuleLocationAttributes) EndpointReference

func (l DataRuleLocationAttributes) EndpointReference() terra.StringValue

func (DataRuleLocationAttributes) EvaluateTargetHealth

func (l DataRuleLocationAttributes) EvaluateTargetHealth() terra.BoolValue

func (DataRuleLocationAttributes) HealthCheck

func (DataRuleLocationAttributes) InternalRef

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

func (DataRuleLocationAttributes) InternalTokens

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

func (DataRuleLocationAttributes) InternalWithRef

func (DataRuleLocationAttributes) IsDefault

func (DataRuleLocationAttributes) RuleReference

func (l DataRuleLocationAttributes) RuleReference() terra.StringValue

func (DataRuleLocationAttributes) Subdivision

type DataRuleLocationState

type DataRuleLocationState 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 DataRulePrimary

type DataRulePrimary 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 DataRulePrimaryAttributes

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

func (DataRulePrimaryAttributes) EndpointReference

func (p DataRulePrimaryAttributes) EndpointReference() terra.StringValue

func (DataRulePrimaryAttributes) EvaluateTargetHealth

func (p DataRulePrimaryAttributes) EvaluateTargetHealth() terra.BoolValue

func (DataRulePrimaryAttributes) HealthCheck

func (DataRulePrimaryAttributes) InternalRef

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

func (DataRulePrimaryAttributes) InternalTokens

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

func (DataRulePrimaryAttributes) InternalWithRef

func (DataRulePrimaryAttributes) RuleReference

func (p DataRulePrimaryAttributes) RuleReference() terra.StringValue

type DataRulePrimaryState

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

type DataRuleRegion

type DataRuleRegion 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 DataRuleRegionAttributes

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

func (DataRuleRegionAttributes) EndpointReference

func (r DataRuleRegionAttributes) EndpointReference() terra.StringValue

func (DataRuleRegionAttributes) EvaluateTargetHealth

func (r DataRuleRegionAttributes) EvaluateTargetHealth() terra.BoolValue

func (DataRuleRegionAttributes) HealthCheck

func (r DataRuleRegionAttributes) HealthCheck() terra.StringValue

func (DataRuleRegionAttributes) InternalRef

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

func (DataRuleRegionAttributes) InternalTokens

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

func (DataRuleRegionAttributes) InternalWithRef

func (DataRuleRegionAttributes) Region

func (DataRuleRegionAttributes) RuleReference

func (r DataRuleRegionAttributes) RuleReference() terra.StringValue

type DataRuleRegionState

type DataRuleRegionState 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 DataRuleSecondary

type DataRuleSecondary 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 DataRuleSecondaryAttributes

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

func (DataRuleSecondaryAttributes) EndpointReference

func (s DataRuleSecondaryAttributes) EndpointReference() terra.StringValue

func (DataRuleSecondaryAttributes) EvaluateTargetHealth

func (s DataRuleSecondaryAttributes) EvaluateTargetHealth() terra.BoolValue

func (DataRuleSecondaryAttributes) HealthCheck

func (DataRuleSecondaryAttributes) InternalRef

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

func (DataRuleSecondaryAttributes) InternalTokens

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

func (DataRuleSecondaryAttributes) InternalWithRef

func (DataRuleSecondaryAttributes) RuleReference

func (s DataRuleSecondaryAttributes) RuleReference() terra.StringValue

type DataRuleSecondaryState

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

type DataRuleState

type DataRuleState struct {
	Id                   string                              `json:"id"`
	Type                 string                              `json:"type"`
	GeoProximityLocation []DataRuleGeoProximityLocationState `json:"geo_proximity_location"`
	Items                []DataRuleItemsState                `json:"items"`
	Location             []DataRuleLocationState             `json:"location"`
	Primary              []DataRulePrimaryState              `json:"primary"`
	Region               []DataRuleRegionState               `json:"region"`
	Secondary            []DataRuleSecondaryState            `json:"secondary"`
}

type DataSource

type DataSource struct {
	Name string
	Args DataArgs
}

DataSource represents the Terraform data resource aws_route53_traffic_policy_document.

func Data

func Data(name string, args DataArgs) *DataSource

Data creates a new instance of DataSource.

func (*DataSource) Attributes

func (artpd *DataSource) Attributes() dataAwsRoute53TrafficPolicyDocumentAttributes

Attributes returns the attributes for DataSource.

func (*DataSource) Configuration

func (artpd *DataSource) Configuration() interface{}

Configuration returns the configuration (args) for DataSource.

func (*DataSource) DataSource

func (artpd *DataSource) DataSource() string

DataSource returns the Terraform object type for DataSource.

func (*DataSource) LocalName

func (artpd *DataSource) LocalName() string

LocalName returns the local name for DataSource.

Jump to

Keyboard shortcuts

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