Documentation ¶
Index ¶
- type Alias
- type AliasAttributes
- func (a AliasAttributes) EvaluateTargetHealth() terra.BoolValue
- func (a AliasAttributes) InternalRef() (terra.Reference, error)
- func (a AliasAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (a AliasAttributes) InternalWithRef(ref terra.Reference) AliasAttributes
- func (a AliasAttributes) Name() terra.StringValue
- func (a AliasAttributes) ZoneId() terra.StringValue
- type AliasState
- type Args
- type CidrRoutingPolicy
- type CidrRoutingPolicyAttributes
- func (crp CidrRoutingPolicyAttributes) CollectionId() terra.StringValue
- func (crp CidrRoutingPolicyAttributes) InternalRef() (terra.Reference, error)
- func (crp CidrRoutingPolicyAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (crp CidrRoutingPolicyAttributes) InternalWithRef(ref terra.Reference) CidrRoutingPolicyAttributes
- func (crp CidrRoutingPolicyAttributes) LocationName() terra.StringValue
- type CidrRoutingPolicyState
- type FailoverRoutingPolicy
- type FailoverRoutingPolicyAttributes
- func (frp FailoverRoutingPolicyAttributes) InternalRef() (terra.Reference, error)
- func (frp FailoverRoutingPolicyAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (frp FailoverRoutingPolicyAttributes) InternalWithRef(ref terra.Reference) FailoverRoutingPolicyAttributes
- func (frp FailoverRoutingPolicyAttributes) Type() terra.StringValue
- type FailoverRoutingPolicyState
- type GeolocationRoutingPolicy
- type GeolocationRoutingPolicyAttributes
- func (grp GeolocationRoutingPolicyAttributes) Continent() terra.StringValue
- func (grp GeolocationRoutingPolicyAttributes) Country() terra.StringValue
- func (grp GeolocationRoutingPolicyAttributes) InternalRef() (terra.Reference, error)
- func (grp GeolocationRoutingPolicyAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (grp GeolocationRoutingPolicyAttributes) InternalWithRef(ref terra.Reference) GeolocationRoutingPolicyAttributes
- func (grp GeolocationRoutingPolicyAttributes) Subdivision() terra.StringValue
- type GeolocationRoutingPolicyState
- type GeoproximityRoutingPolicy
- type GeoproximityRoutingPolicyAttributes
- func (grp GeoproximityRoutingPolicyAttributes) AwsRegion() terra.StringValue
- func (grp GeoproximityRoutingPolicyAttributes) Bias() terra.NumberValue
- func (grp GeoproximityRoutingPolicyAttributes) Coordinates() terra.SetValue[GeoproximityRoutingPolicyCoordinatesAttributes]
- func (grp GeoproximityRoutingPolicyAttributes) InternalRef() (terra.Reference, error)
- func (grp GeoproximityRoutingPolicyAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (grp GeoproximityRoutingPolicyAttributes) InternalWithRef(ref terra.Reference) GeoproximityRoutingPolicyAttributes
- func (grp GeoproximityRoutingPolicyAttributes) LocalZoneGroup() terra.StringValue
- type GeoproximityRoutingPolicyCoordinates
- type GeoproximityRoutingPolicyCoordinatesAttributes
- func (c GeoproximityRoutingPolicyCoordinatesAttributes) InternalRef() (terra.Reference, error)
- func (c GeoproximityRoutingPolicyCoordinatesAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (c GeoproximityRoutingPolicyCoordinatesAttributes) InternalWithRef(ref terra.Reference) GeoproximityRoutingPolicyCoordinatesAttributes
- func (c GeoproximityRoutingPolicyCoordinatesAttributes) Latitude() terra.StringValue
- func (c GeoproximityRoutingPolicyCoordinatesAttributes) Longitude() terra.StringValue
- type GeoproximityRoutingPolicyCoordinatesState
- type GeoproximityRoutingPolicyState
- type LatencyRoutingPolicy
- type LatencyRoutingPolicyAttributes
- func (lrp LatencyRoutingPolicyAttributes) InternalRef() (terra.Reference, error)
- func (lrp LatencyRoutingPolicyAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (lrp LatencyRoutingPolicyAttributes) InternalWithRef(ref terra.Reference) LatencyRoutingPolicyAttributes
- func (lrp LatencyRoutingPolicyAttributes) Region() terra.StringValue
- type LatencyRoutingPolicyState
- type Resource
- func (arr *Resource) Attributes() awsRoute53RecordAttributes
- func (arr *Resource) Configuration() interface{}
- func (arr *Resource) DependOn() terra.Reference
- func (arr *Resource) Dependencies() terra.Dependencies
- func (arr *Resource) ImportState(state io.Reader) error
- func (arr *Resource) LifecycleManagement() *terra.Lifecycle
- func (arr *Resource) LocalName() string
- func (arr *Resource) State() (*awsRoute53RecordState, bool)
- func (arr *Resource) StateMust() *awsRoute53RecordState
- func (arr *Resource) Type() string
- type WeightedRoutingPolicy
- type WeightedRoutingPolicyAttributes
- func (wrp WeightedRoutingPolicyAttributes) InternalRef() (terra.Reference, error)
- func (wrp WeightedRoutingPolicyAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (wrp WeightedRoutingPolicyAttributes) InternalWithRef(ref terra.Reference) WeightedRoutingPolicyAttributes
- func (wrp WeightedRoutingPolicyAttributes) Weight() terra.NumberValue
- type WeightedRoutingPolicyState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Alias ¶
type Alias struct { // EvaluateTargetHealth: bool, required EvaluateTargetHealth terra.BoolValue `hcl:"evaluate_target_health,attr" validate:"required"` // Name: string, required Name terra.StringValue `hcl:"name,attr" validate:"required"` // ZoneId: string, required ZoneId terra.StringValue `hcl:"zone_id,attr" validate:"required"` }
type AliasAttributes ¶
type AliasAttributes struct {
// contains filtered or unexported fields
}
func (AliasAttributes) EvaluateTargetHealth ¶
func (a AliasAttributes) EvaluateTargetHealth() terra.BoolValue
func (AliasAttributes) InternalRef ¶
func (a AliasAttributes) InternalRef() (terra.Reference, error)
func (AliasAttributes) InternalTokens ¶
func (a AliasAttributes) InternalTokens() (hclwrite.Tokens, error)
func (AliasAttributes) InternalWithRef ¶
func (a AliasAttributes) InternalWithRef(ref terra.Reference) AliasAttributes
func (AliasAttributes) Name ¶
func (a AliasAttributes) Name() terra.StringValue
func (AliasAttributes) ZoneId ¶
func (a AliasAttributes) ZoneId() terra.StringValue
type AliasState ¶
type Args ¶
type Args struct { // AllowOverwrite: bool, optional AllowOverwrite terra.BoolValue `hcl:"allow_overwrite,attr"` // HealthCheckId: string, optional HealthCheckId terra.StringValue `hcl:"health_check_id,attr"` // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // MultivalueAnswerRoutingPolicy: bool, optional MultivalueAnswerRoutingPolicy terra.BoolValue `hcl:"multivalue_answer_routing_policy,attr"` // Name: string, required Name terra.StringValue `hcl:"name,attr" validate:"required"` // Records: set of string, optional Records terra.SetValue[terra.StringValue] `hcl:"records,attr"` // SetIdentifier: string, optional SetIdentifier terra.StringValue `hcl:"set_identifier,attr"` // Ttl: number, optional Ttl terra.NumberValue `hcl:"ttl,attr"` // Type: string, required Type terra.StringValue `hcl:"type,attr" validate:"required"` // ZoneId: string, required ZoneId terra.StringValue `hcl:"zone_id,attr" validate:"required"` // Alias: optional Alias *Alias `hcl:"alias,block"` // CidrRoutingPolicy: optional CidrRoutingPolicy *CidrRoutingPolicy `hcl:"cidr_routing_policy,block"` // FailoverRoutingPolicy: optional FailoverRoutingPolicy *FailoverRoutingPolicy `hcl:"failover_routing_policy,block"` // GeolocationRoutingPolicy: optional GeolocationRoutingPolicy *GeolocationRoutingPolicy `hcl:"geolocation_routing_policy,block"` // GeoproximityRoutingPolicy: optional GeoproximityRoutingPolicy *GeoproximityRoutingPolicy `hcl:"geoproximity_routing_policy,block"` // LatencyRoutingPolicy: optional LatencyRoutingPolicy *LatencyRoutingPolicy `hcl:"latency_routing_policy,block"` // WeightedRoutingPolicy: optional WeightedRoutingPolicy *WeightedRoutingPolicy `hcl:"weighted_routing_policy,block"` }
Args contains the configurations for aws_route53_record.
type CidrRoutingPolicy ¶
type CidrRoutingPolicy struct { // CollectionId: string, required CollectionId terra.StringValue `hcl:"collection_id,attr" validate:"required"` // LocationName: string, required LocationName terra.StringValue `hcl:"location_name,attr" validate:"required"` }
type CidrRoutingPolicyAttributes ¶
type CidrRoutingPolicyAttributes struct {
// contains filtered or unexported fields
}
func (CidrRoutingPolicyAttributes) CollectionId ¶
func (crp CidrRoutingPolicyAttributes) CollectionId() terra.StringValue
func (CidrRoutingPolicyAttributes) InternalRef ¶
func (crp CidrRoutingPolicyAttributes) InternalRef() (terra.Reference, error)
func (CidrRoutingPolicyAttributes) InternalTokens ¶
func (crp CidrRoutingPolicyAttributes) InternalTokens() (hclwrite.Tokens, error)
func (CidrRoutingPolicyAttributes) InternalWithRef ¶
func (crp CidrRoutingPolicyAttributes) InternalWithRef(ref terra.Reference) CidrRoutingPolicyAttributes
func (CidrRoutingPolicyAttributes) LocationName ¶
func (crp CidrRoutingPolicyAttributes) LocationName() terra.StringValue
type CidrRoutingPolicyState ¶
type FailoverRoutingPolicy ¶
type FailoverRoutingPolicy struct { // Type: string, required Type terra.StringValue `hcl:"type,attr" validate:"required"` }
type FailoverRoutingPolicyAttributes ¶
type FailoverRoutingPolicyAttributes struct {
// contains filtered or unexported fields
}
func (FailoverRoutingPolicyAttributes) InternalRef ¶
func (frp FailoverRoutingPolicyAttributes) InternalRef() (terra.Reference, error)
func (FailoverRoutingPolicyAttributes) InternalTokens ¶
func (frp FailoverRoutingPolicyAttributes) InternalTokens() (hclwrite.Tokens, error)
func (FailoverRoutingPolicyAttributes) InternalWithRef ¶
func (frp FailoverRoutingPolicyAttributes) InternalWithRef(ref terra.Reference) FailoverRoutingPolicyAttributes
func (FailoverRoutingPolicyAttributes) Type ¶
func (frp FailoverRoutingPolicyAttributes) Type() terra.StringValue
type FailoverRoutingPolicyState ¶
type FailoverRoutingPolicyState struct {
Type string `json:"type"`
}
type GeolocationRoutingPolicy ¶
type GeolocationRoutingPolicy struct { // Continent: string, optional Continent terra.StringValue `hcl:"continent,attr"` // Country: string, optional Country terra.StringValue `hcl:"country,attr"` // Subdivision: string, optional Subdivision terra.StringValue `hcl:"subdivision,attr"` }
type GeolocationRoutingPolicyAttributes ¶
type GeolocationRoutingPolicyAttributes struct {
// contains filtered or unexported fields
}
func (GeolocationRoutingPolicyAttributes) Continent ¶
func (grp GeolocationRoutingPolicyAttributes) Continent() terra.StringValue
func (GeolocationRoutingPolicyAttributes) Country ¶
func (grp GeolocationRoutingPolicyAttributes) Country() terra.StringValue
func (GeolocationRoutingPolicyAttributes) InternalRef ¶
func (grp GeolocationRoutingPolicyAttributes) InternalRef() (terra.Reference, error)
func (GeolocationRoutingPolicyAttributes) InternalTokens ¶
func (grp GeolocationRoutingPolicyAttributes) InternalTokens() (hclwrite.Tokens, error)
func (GeolocationRoutingPolicyAttributes) InternalWithRef ¶
func (grp GeolocationRoutingPolicyAttributes) InternalWithRef(ref terra.Reference) GeolocationRoutingPolicyAttributes
func (GeolocationRoutingPolicyAttributes) Subdivision ¶
func (grp GeolocationRoutingPolicyAttributes) Subdivision() terra.StringValue
type GeoproximityRoutingPolicy ¶
type GeoproximityRoutingPolicy struct { // AwsRegion: string, optional AwsRegion terra.StringValue `hcl:"aws_region,attr"` // Bias: number, optional Bias terra.NumberValue `hcl:"bias,attr"` // LocalZoneGroup: string, optional LocalZoneGroup terra.StringValue `hcl:"local_zone_group,attr"` // GeoproximityRoutingPolicyCoordinates: min=0 Coordinates []GeoproximityRoutingPolicyCoordinates `hcl:"coordinates,block" validate:"min=0"` }
type GeoproximityRoutingPolicyAttributes ¶
type GeoproximityRoutingPolicyAttributes struct {
// contains filtered or unexported fields
}
func (GeoproximityRoutingPolicyAttributes) AwsRegion ¶
func (grp GeoproximityRoutingPolicyAttributes) AwsRegion() terra.StringValue
func (GeoproximityRoutingPolicyAttributes) Bias ¶
func (grp GeoproximityRoutingPolicyAttributes) Bias() terra.NumberValue
func (GeoproximityRoutingPolicyAttributes) Coordinates ¶
func (grp GeoproximityRoutingPolicyAttributes) Coordinates() terra.SetValue[GeoproximityRoutingPolicyCoordinatesAttributes]
func (GeoproximityRoutingPolicyAttributes) InternalRef ¶
func (grp GeoproximityRoutingPolicyAttributes) InternalRef() (terra.Reference, error)
func (GeoproximityRoutingPolicyAttributes) InternalTokens ¶
func (grp GeoproximityRoutingPolicyAttributes) InternalTokens() (hclwrite.Tokens, error)
func (GeoproximityRoutingPolicyAttributes) InternalWithRef ¶
func (grp GeoproximityRoutingPolicyAttributes) InternalWithRef(ref terra.Reference) GeoproximityRoutingPolicyAttributes
func (GeoproximityRoutingPolicyAttributes) LocalZoneGroup ¶
func (grp GeoproximityRoutingPolicyAttributes) LocalZoneGroup() terra.StringValue
type GeoproximityRoutingPolicyCoordinates ¶
type GeoproximityRoutingPolicyCoordinates struct { // Latitude: string, required Latitude terra.StringValue `hcl:"latitude,attr" validate:"required"` // Longitude: string, required Longitude terra.StringValue `hcl:"longitude,attr" validate:"required"` }
type GeoproximityRoutingPolicyCoordinatesAttributes ¶
type GeoproximityRoutingPolicyCoordinatesAttributes struct {
// contains filtered or unexported fields
}
func (GeoproximityRoutingPolicyCoordinatesAttributes) InternalRef ¶
func (c GeoproximityRoutingPolicyCoordinatesAttributes) InternalRef() (terra.Reference, error)
func (GeoproximityRoutingPolicyCoordinatesAttributes) InternalTokens ¶
func (c GeoproximityRoutingPolicyCoordinatesAttributes) InternalTokens() (hclwrite.Tokens, error)
func (GeoproximityRoutingPolicyCoordinatesAttributes) InternalWithRef ¶
func (c GeoproximityRoutingPolicyCoordinatesAttributes) InternalWithRef(ref terra.Reference) GeoproximityRoutingPolicyCoordinatesAttributes
func (GeoproximityRoutingPolicyCoordinatesAttributes) Latitude ¶
func (c GeoproximityRoutingPolicyCoordinatesAttributes) Latitude() terra.StringValue
func (GeoproximityRoutingPolicyCoordinatesAttributes) Longitude ¶
func (c GeoproximityRoutingPolicyCoordinatesAttributes) Longitude() terra.StringValue
type GeoproximityRoutingPolicyState ¶
type GeoproximityRoutingPolicyState struct { AwsRegion string `json:"aws_region"` Bias float64 `json:"bias"` LocalZoneGroup string `json:"local_zone_group"` Coordinates []GeoproximityRoutingPolicyCoordinatesState `json:"coordinates"` }
type LatencyRoutingPolicy ¶
type LatencyRoutingPolicy struct { // Region: string, required Region terra.StringValue `hcl:"region,attr" validate:"required"` }
type LatencyRoutingPolicyAttributes ¶
type LatencyRoutingPolicyAttributes struct {
// contains filtered or unexported fields
}
func (LatencyRoutingPolicyAttributes) InternalRef ¶
func (lrp LatencyRoutingPolicyAttributes) InternalRef() (terra.Reference, error)
func (LatencyRoutingPolicyAttributes) InternalTokens ¶
func (lrp LatencyRoutingPolicyAttributes) InternalTokens() (hclwrite.Tokens, error)
func (LatencyRoutingPolicyAttributes) InternalWithRef ¶
func (lrp LatencyRoutingPolicyAttributes) InternalWithRef(ref terra.Reference) LatencyRoutingPolicyAttributes
func (LatencyRoutingPolicyAttributes) Region ¶
func (lrp LatencyRoutingPolicyAttributes) Region() terra.StringValue
type LatencyRoutingPolicyState ¶
type LatencyRoutingPolicyState struct {
Region string `json:"region"`
}
type Resource ¶
type Resource struct { Name string Args Args DependsOn terra.Dependencies Lifecycle *terra.Lifecycle // contains filtered or unexported fields }
Resource represents the Terraform resource aws_route53_record.
func (*Resource) Attributes ¶
func (arr *Resource) Attributes() awsRoute53RecordAttributes
Attributes returns the attributes for Resource.
func (*Resource) Configuration ¶
func (arr *Resource) Configuration() interface{}
Configuration returns the configuration (args) for Resource.
func (*Resource) Dependencies ¶
func (arr *Resource) Dependencies() terra.Dependencies
Dependencies returns the list of resources Resource depends_on.
func (*Resource) ImportState ¶
ImportState imports the given attribute values into Resource's state.
func (*Resource) LifecycleManagement ¶
LifecycleManagement returns the lifecycle block for Resource.
type WeightedRoutingPolicy ¶
type WeightedRoutingPolicy struct { // Weight: number, required Weight terra.NumberValue `hcl:"weight,attr" validate:"required"` }
type WeightedRoutingPolicyAttributes ¶
type WeightedRoutingPolicyAttributes struct {
// contains filtered or unexported fields
}
func (WeightedRoutingPolicyAttributes) InternalRef ¶
func (wrp WeightedRoutingPolicyAttributes) InternalRef() (terra.Reference, error)
func (WeightedRoutingPolicyAttributes) InternalTokens ¶
func (wrp WeightedRoutingPolicyAttributes) InternalTokens() (hclwrite.Tokens, error)
func (WeightedRoutingPolicyAttributes) InternalWithRef ¶
func (wrp WeightedRoutingPolicyAttributes) InternalWithRef(ref terra.Reference) WeightedRoutingPolicyAttributes
func (WeightedRoutingPolicyAttributes) Weight ¶
func (wrp WeightedRoutingPolicyAttributes) Weight() terra.NumberValue
type WeightedRoutingPolicyState ¶
type WeightedRoutingPolicyState struct {
Weight float64 `json:"weight"`
}
Click to show internal directories.
Click to hide internal directories.