Documentation ¶
Index ¶
- type Actions
- type ActionsAttributes
- func (a ActionsAttributes) Arguments() terra.MapValue[terra.StringValue]
- func (a ActionsAttributes) CrawlerName() terra.StringValue
- func (a ActionsAttributes) InternalRef() (terra.Reference, error)
- func (a ActionsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (a ActionsAttributes) InternalWithRef(ref terra.Reference) ActionsAttributes
- func (a ActionsAttributes) JobName() terra.StringValue
- func (a ActionsAttributes) NotificationProperty() terra.ListValue[NotificationPropertyAttributes]
- func (a ActionsAttributes) SecurityConfiguration() terra.StringValue
- func (a ActionsAttributes) Timeout() terra.NumberValue
- type ActionsState
- type Conditions
- type ConditionsAttributes
- func (c ConditionsAttributes) CrawlState() terra.StringValue
- func (c ConditionsAttributes) CrawlerName() terra.StringValue
- func (c ConditionsAttributes) InternalRef() (terra.Reference, error)
- func (c ConditionsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (c ConditionsAttributes) InternalWithRef(ref terra.Reference) ConditionsAttributes
- func (c ConditionsAttributes) JobName() terra.StringValue
- func (c ConditionsAttributes) LogicalOperator() terra.StringValue
- func (c ConditionsAttributes) State() terra.StringValue
- type ConditionsState
- type EventBatchingCondition
- type EventBatchingConditionAttributes
- func (ebc EventBatchingConditionAttributes) BatchSize() terra.NumberValue
- func (ebc EventBatchingConditionAttributes) BatchWindow() terra.NumberValue
- func (ebc EventBatchingConditionAttributes) InternalRef() (terra.Reference, error)
- func (ebc EventBatchingConditionAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (ebc EventBatchingConditionAttributes) InternalWithRef(ref terra.Reference) EventBatchingConditionAttributes
- type EventBatchingConditionState
- type NotificationProperty
- type NotificationPropertyAttributes
- func (np NotificationPropertyAttributes) InternalRef() (terra.Reference, error)
- func (np NotificationPropertyAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (np NotificationPropertyAttributes) InternalWithRef(ref terra.Reference) NotificationPropertyAttributes
- func (np NotificationPropertyAttributes) NotifyDelayAfter() terra.NumberValue
- type NotificationPropertyState
- type Predicate
- type PredicateAttributes
- func (p PredicateAttributes) Conditions() terra.ListValue[ConditionsAttributes]
- func (p PredicateAttributes) InternalRef() (terra.Reference, error)
- func (p PredicateAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (p PredicateAttributes) InternalWithRef(ref terra.Reference) PredicateAttributes
- func (p PredicateAttributes) Logical() terra.StringValue
- type PredicateState
- type Timeouts
- type TimeoutsAttributes
- func (t TimeoutsAttributes) Create() terra.StringValue
- func (t TimeoutsAttributes) Delete() terra.StringValue
- func (t TimeoutsAttributes) InternalRef() (terra.Reference, error)
- func (t TimeoutsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (t TimeoutsAttributes) InternalWithRef(ref terra.Reference) TimeoutsAttributes
- type TimeoutsState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Actions ¶
type Actions struct { // Arguments: map of string, optional Arguments terra.MapValue[terra.StringValue] `hcl:"arguments,attr"` // CrawlerName: string, optional CrawlerName terra.StringValue `hcl:"crawler_name,attr"` // JobName: string, optional JobName terra.StringValue `hcl:"job_name,attr"` // SecurityConfiguration: string, optional SecurityConfiguration terra.StringValue `hcl:"security_configuration,attr"` // Timeout: number, optional Timeout terra.NumberValue `hcl:"timeout,attr"` // NotificationProperty: optional NotificationProperty *NotificationProperty `hcl:"notification_property,block"` }
type ActionsAttributes ¶
type ActionsAttributes struct {
// contains filtered or unexported fields
}
func (ActionsAttributes) Arguments ¶
func (a ActionsAttributes) Arguments() terra.MapValue[terra.StringValue]
func (ActionsAttributes) CrawlerName ¶
func (a ActionsAttributes) CrawlerName() terra.StringValue
func (ActionsAttributes) InternalRef ¶
func (a ActionsAttributes) InternalRef() (terra.Reference, error)
func (ActionsAttributes) InternalTokens ¶
func (a ActionsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ActionsAttributes) InternalWithRef ¶
func (a ActionsAttributes) InternalWithRef(ref terra.Reference) ActionsAttributes
func (ActionsAttributes) JobName ¶
func (a ActionsAttributes) JobName() terra.StringValue
func (ActionsAttributes) NotificationProperty ¶
func (a ActionsAttributes) NotificationProperty() terra.ListValue[NotificationPropertyAttributes]
func (ActionsAttributes) SecurityConfiguration ¶
func (a ActionsAttributes) SecurityConfiguration() terra.StringValue
func (ActionsAttributes) Timeout ¶
func (a ActionsAttributes) Timeout() terra.NumberValue
type ActionsState ¶
type ActionsState struct { Arguments map[string]string `json:"arguments"` CrawlerName string `json:"crawler_name"` JobName string `json:"job_name"` SecurityConfiguration string `json:"security_configuration"` Timeout float64 `json:"timeout"` NotificationProperty []NotificationPropertyState `json:"notification_property"` }
type Conditions ¶
type Conditions struct { // CrawlState: string, optional CrawlState terra.StringValue `hcl:"crawl_state,attr"` // CrawlerName: string, optional CrawlerName terra.StringValue `hcl:"crawler_name,attr"` // JobName: string, optional JobName terra.StringValue `hcl:"job_name,attr"` // LogicalOperator: string, optional LogicalOperator terra.StringValue `hcl:"logical_operator,attr"` // State: string, optional State terra.StringValue `hcl:"state,attr"` }
type ConditionsAttributes ¶
type ConditionsAttributes struct {
// contains filtered or unexported fields
}
func (ConditionsAttributes) CrawlState ¶
func (c ConditionsAttributes) CrawlState() terra.StringValue
func (ConditionsAttributes) CrawlerName ¶
func (c ConditionsAttributes) CrawlerName() terra.StringValue
func (ConditionsAttributes) InternalRef ¶
func (c ConditionsAttributes) InternalRef() (terra.Reference, error)
func (ConditionsAttributes) InternalTokens ¶
func (c ConditionsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ConditionsAttributes) InternalWithRef ¶
func (c ConditionsAttributes) InternalWithRef(ref terra.Reference) ConditionsAttributes
func (ConditionsAttributes) JobName ¶
func (c ConditionsAttributes) JobName() terra.StringValue
func (ConditionsAttributes) LogicalOperator ¶
func (c ConditionsAttributes) LogicalOperator() terra.StringValue
func (ConditionsAttributes) State ¶
func (c ConditionsAttributes) State() terra.StringValue
type ConditionsState ¶
type EventBatchingCondition ¶
type EventBatchingCondition struct { // BatchSize: number, required BatchSize terra.NumberValue `hcl:"batch_size,attr" validate:"required"` // BatchWindow: number, optional BatchWindow terra.NumberValue `hcl:"batch_window,attr"` }
type EventBatchingConditionAttributes ¶
type EventBatchingConditionAttributes struct {
// contains filtered or unexported fields
}
func (EventBatchingConditionAttributes) BatchSize ¶
func (ebc EventBatchingConditionAttributes) BatchSize() terra.NumberValue
func (EventBatchingConditionAttributes) BatchWindow ¶
func (ebc EventBatchingConditionAttributes) BatchWindow() terra.NumberValue
func (EventBatchingConditionAttributes) InternalRef ¶
func (ebc EventBatchingConditionAttributes) InternalRef() (terra.Reference, error)
func (EventBatchingConditionAttributes) InternalTokens ¶
func (ebc EventBatchingConditionAttributes) InternalTokens() (hclwrite.Tokens, error)
func (EventBatchingConditionAttributes) InternalWithRef ¶
func (ebc EventBatchingConditionAttributes) InternalWithRef(ref terra.Reference) EventBatchingConditionAttributes
type NotificationProperty ¶
type NotificationProperty struct { // NotifyDelayAfter: number, optional NotifyDelayAfter terra.NumberValue `hcl:"notify_delay_after,attr"` }
type NotificationPropertyAttributes ¶
type NotificationPropertyAttributes struct {
// contains filtered or unexported fields
}
func (NotificationPropertyAttributes) InternalRef ¶
func (np NotificationPropertyAttributes) InternalRef() (terra.Reference, error)
func (NotificationPropertyAttributes) InternalTokens ¶
func (np NotificationPropertyAttributes) InternalTokens() (hclwrite.Tokens, error)
func (NotificationPropertyAttributes) InternalWithRef ¶
func (np NotificationPropertyAttributes) InternalWithRef(ref terra.Reference) NotificationPropertyAttributes
func (NotificationPropertyAttributes) NotifyDelayAfter ¶
func (np NotificationPropertyAttributes) NotifyDelayAfter() terra.NumberValue
type NotificationPropertyState ¶
type NotificationPropertyState struct {
NotifyDelayAfter float64 `json:"notify_delay_after"`
}
type Predicate ¶
type Predicate struct { // Logical: string, optional Logical terra.StringValue `hcl:"logical,attr"` // Conditions: min=1 Conditions []Conditions `hcl:"conditions,block" validate:"min=1"` }
type PredicateAttributes ¶
type PredicateAttributes struct {
// contains filtered or unexported fields
}
func (PredicateAttributes) Conditions ¶
func (p PredicateAttributes) Conditions() terra.ListValue[ConditionsAttributes]
func (PredicateAttributes) InternalRef ¶
func (p PredicateAttributes) InternalRef() (terra.Reference, error)
func (PredicateAttributes) InternalTokens ¶
func (p PredicateAttributes) InternalTokens() (hclwrite.Tokens, error)
func (PredicateAttributes) InternalWithRef ¶
func (p PredicateAttributes) InternalWithRef(ref terra.Reference) PredicateAttributes
func (PredicateAttributes) Logical ¶
func (p PredicateAttributes) Logical() terra.StringValue
type PredicateState ¶
type PredicateState struct { Logical string `json:"logical"` Conditions []ConditionsState `json:"conditions"` }
type Timeouts ¶
type Timeouts struct { // Create: string, optional Create terra.StringValue `hcl:"create,attr"` // Delete: string, optional Delete terra.StringValue `hcl:"delete,attr"` }
type TimeoutsAttributes ¶
type TimeoutsAttributes struct {
// contains filtered or unexported fields
}
func (TimeoutsAttributes) Create ¶
func (t TimeoutsAttributes) Create() terra.StringValue
func (TimeoutsAttributes) Delete ¶
func (t TimeoutsAttributes) Delete() terra.StringValue
func (TimeoutsAttributes) InternalRef ¶
func (t TimeoutsAttributes) InternalRef() (terra.Reference, error)
func (TimeoutsAttributes) InternalTokens ¶
func (t TimeoutsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (TimeoutsAttributes) InternalWithRef ¶
func (t TimeoutsAttributes) InternalWithRef(ref terra.Reference) TimeoutsAttributes
type TimeoutsState ¶
Click to show internal directories.
Click to hide internal directories.