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[ActionsNotificationPropertyAttributes]
- func (a ActionsAttributes) SecurityConfiguration() terra.StringValue
- func (a ActionsAttributes) Timeout() terra.NumberValue
- type ActionsNotificationProperty
- type ActionsNotificationPropertyAttributes
- func (np ActionsNotificationPropertyAttributes) InternalRef() (terra.Reference, error)
- func (np ActionsNotificationPropertyAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (np ActionsNotificationPropertyAttributes) InternalWithRef(ref terra.Reference) ActionsNotificationPropertyAttributes
- func (np ActionsNotificationPropertyAttributes) NotifyDelayAfter() terra.NumberValue
- type ActionsNotificationPropertyState
- type ActionsState
- type Args
- 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 Predicate
- type PredicateAttributes
- func (p PredicateAttributes) Conditions() terra.ListValue[PredicateConditionsAttributes]
- 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 PredicateConditions
- type PredicateConditionsAttributes
- func (c PredicateConditionsAttributes) CrawlState() terra.StringValue
- func (c PredicateConditionsAttributes) CrawlerName() terra.StringValue
- func (c PredicateConditionsAttributes) InternalRef() (terra.Reference, error)
- func (c PredicateConditionsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (c PredicateConditionsAttributes) InternalWithRef(ref terra.Reference) PredicateConditionsAttributes
- func (c PredicateConditionsAttributes) JobName() terra.StringValue
- func (c PredicateConditionsAttributes) LogicalOperator() terra.StringValue
- func (c PredicateConditionsAttributes) State() terra.StringValue
- type PredicateConditionsState
- type PredicateState
- type Resource
- func (agt *Resource) Attributes() awsGlueTriggerAttributes
- func (agt *Resource) Configuration() interface{}
- func (agt *Resource) DependOn() terra.Reference
- func (agt *Resource) Dependencies() terra.Dependencies
- func (agt *Resource) ImportState(state io.Reader) error
- func (agt *Resource) LifecycleManagement() *terra.Lifecycle
- func (agt *Resource) LocalName() string
- func (agt *Resource) State() (*awsGlueTriggerState, bool)
- func (agt *Resource) StateMust() *awsGlueTriggerState
- func (agt *Resource) Type() string
- 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
- func (t TimeoutsAttributes) Update() terra.StringValue
- 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"` // ActionsNotificationProperty: optional NotificationProperty *ActionsNotificationProperty `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[ActionsNotificationPropertyAttributes]
func (ActionsAttributes) SecurityConfiguration ¶
func (a ActionsAttributes) SecurityConfiguration() terra.StringValue
func (ActionsAttributes) Timeout ¶
func (a ActionsAttributes) Timeout() terra.NumberValue
type ActionsNotificationProperty ¶
type ActionsNotificationProperty struct { // NotifyDelayAfter: number, optional NotifyDelayAfter terra.NumberValue `hcl:"notify_delay_after,attr"` }
type ActionsNotificationPropertyAttributes ¶
type ActionsNotificationPropertyAttributes struct {
// contains filtered or unexported fields
}
func (ActionsNotificationPropertyAttributes) InternalRef ¶
func (np ActionsNotificationPropertyAttributes) InternalRef() (terra.Reference, error)
func (ActionsNotificationPropertyAttributes) InternalTokens ¶
func (np ActionsNotificationPropertyAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ActionsNotificationPropertyAttributes) InternalWithRef ¶
func (np ActionsNotificationPropertyAttributes) InternalWithRef(ref terra.Reference) ActionsNotificationPropertyAttributes
func (ActionsNotificationPropertyAttributes) NotifyDelayAfter ¶
func (np ActionsNotificationPropertyAttributes) NotifyDelayAfter() terra.NumberValue
type ActionsNotificationPropertyState ¶
type ActionsNotificationPropertyState struct {
NotifyDelayAfter float64 `json:"notify_delay_after"`
}
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 []ActionsNotificationPropertyState `json:"notification_property"` }
type Args ¶
type Args struct { // Description: string, optional Description terra.StringValue `hcl:"description,attr"` // Enabled: bool, optional Enabled terra.BoolValue `hcl:"enabled,attr"` // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // Name: string, required Name terra.StringValue `hcl:"name,attr" validate:"required"` // Schedule: string, optional Schedule terra.StringValue `hcl:"schedule,attr"` // StartOnCreation: bool, optional StartOnCreation terra.BoolValue `hcl:"start_on_creation,attr"` // Tags: map of string, optional Tags terra.MapValue[terra.StringValue] `hcl:"tags,attr"` // TagsAll: map of string, optional TagsAll terra.MapValue[terra.StringValue] `hcl:"tags_all,attr"` // Type: string, required Type terra.StringValue `hcl:"type,attr" validate:"required"` // WorkflowName: string, optional WorkflowName terra.StringValue `hcl:"workflow_name,attr"` // Actions: min=1 Actions []Actions `hcl:"actions,block" validate:"min=1"` // EventBatchingCondition: min=0 EventBatchingCondition []EventBatchingCondition `hcl:"event_batching_condition,block" validate:"min=0"` // Predicate: optional Predicate *Predicate `hcl:"predicate,block"` // Timeouts: optional Timeouts *Timeouts `hcl:"timeouts,block"` }
Args contains the configurations for aws_glue_trigger.
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 Predicate ¶
type Predicate struct { // Logical: string, optional Logical terra.StringValue `hcl:"logical,attr"` // PredicateConditions: min=1 Conditions []PredicateConditions `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[PredicateConditionsAttributes]
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 PredicateConditions ¶
type PredicateConditions 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 PredicateConditionsAttributes ¶
type PredicateConditionsAttributes struct {
// contains filtered or unexported fields
}
func (PredicateConditionsAttributes) CrawlState ¶
func (c PredicateConditionsAttributes) CrawlState() terra.StringValue
func (PredicateConditionsAttributes) CrawlerName ¶
func (c PredicateConditionsAttributes) CrawlerName() terra.StringValue
func (PredicateConditionsAttributes) InternalRef ¶
func (c PredicateConditionsAttributes) InternalRef() (terra.Reference, error)
func (PredicateConditionsAttributes) InternalTokens ¶
func (c PredicateConditionsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (PredicateConditionsAttributes) InternalWithRef ¶
func (c PredicateConditionsAttributes) InternalWithRef(ref terra.Reference) PredicateConditionsAttributes
func (PredicateConditionsAttributes) JobName ¶
func (c PredicateConditionsAttributes) JobName() terra.StringValue
func (PredicateConditionsAttributes) LogicalOperator ¶
func (c PredicateConditionsAttributes) LogicalOperator() terra.StringValue
func (PredicateConditionsAttributes) State ¶
func (c PredicateConditionsAttributes) State() terra.StringValue
type PredicateState ¶
type PredicateState struct { Logical string `json:"logical"` Conditions []PredicateConditionsState `json:"conditions"` }
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_glue_trigger.
func (*Resource) Attributes ¶
func (agt *Resource) Attributes() awsGlueTriggerAttributes
Attributes returns the attributes for Resource.
func (*Resource) Configuration ¶
func (agt *Resource) Configuration() interface{}
Configuration returns the configuration (args) for Resource.
func (*Resource) Dependencies ¶
func (agt *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 Timeouts ¶
type Timeouts struct { // Create: string, optional Create terra.StringValue `hcl:"create,attr"` // Delete: string, optional Delete terra.StringValue `hcl:"delete,attr"` // Update: string, optional Update terra.StringValue `hcl:"update,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
func (TimeoutsAttributes) Update ¶
func (t TimeoutsAttributes) Update() terra.StringValue
type TimeoutsState ¶
Click to show internal directories.
Click to hide internal directories.