Documentation ¶
Index ¶
- type Args
- type Command
- type CommandAttributes
- func (c CommandAttributes) InternalRef() (terra.Reference, error)
- func (c CommandAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (c CommandAttributes) InternalWithRef(ref terra.Reference) CommandAttributes
- func (c CommandAttributes) Name() terra.StringValue
- func (c CommandAttributes) PythonVersion() terra.StringValue
- func (c CommandAttributes) ScriptLocation() terra.StringValue
- type CommandState
- type ExecutionProperty
- type ExecutionPropertyAttributes
- func (ep ExecutionPropertyAttributes) InternalRef() (terra.Reference, error)
- func (ep ExecutionPropertyAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (ep ExecutionPropertyAttributes) InternalWithRef(ref terra.Reference) ExecutionPropertyAttributes
- func (ep ExecutionPropertyAttributes) MaxConcurrentRuns() terra.NumberValue
- type ExecutionPropertyState
- 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 Resource
- func (agj *Resource) Attributes() awsGlueJobAttributes
- func (agj *Resource) Configuration() interface{}
- func (agj *Resource) DependOn() terra.Reference
- func (agj *Resource) Dependencies() terra.Dependencies
- func (agj *Resource) ImportState(state io.Reader) error
- func (agj *Resource) LifecycleManagement() *terra.Lifecycle
- func (agj *Resource) LocalName() string
- func (agj *Resource) State() (*awsGlueJobState, bool)
- func (agj *Resource) StateMust() *awsGlueJobState
- func (agj *Resource) Type() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Args ¶
type Args struct { // Connections: list of string, optional Connections terra.ListValue[terra.StringValue] `hcl:"connections,attr"` // DefaultArguments: map of string, optional DefaultArguments terra.MapValue[terra.StringValue] `hcl:"default_arguments,attr"` // Description: string, optional Description terra.StringValue `hcl:"description,attr"` // ExecutionClass: string, optional ExecutionClass terra.StringValue `hcl:"execution_class,attr"` // GlueVersion: string, optional GlueVersion terra.StringValue `hcl:"glue_version,attr"` // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // MaxCapacity: number, optional MaxCapacity terra.NumberValue `hcl:"max_capacity,attr"` // MaxRetries: number, optional MaxRetries terra.NumberValue `hcl:"max_retries,attr"` // Name: string, required Name terra.StringValue `hcl:"name,attr" validate:"required"` // NonOverridableArguments: map of string, optional NonOverridableArguments terra.MapValue[terra.StringValue] `hcl:"non_overridable_arguments,attr"` // NumberOfWorkers: number, optional NumberOfWorkers terra.NumberValue `hcl:"number_of_workers,attr"` // RoleArn: string, required RoleArn terra.StringValue `hcl:"role_arn,attr" validate:"required"` // SecurityConfiguration: string, optional SecurityConfiguration terra.StringValue `hcl:"security_configuration,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"` // Timeout: number, optional Timeout terra.NumberValue `hcl:"timeout,attr"` // WorkerType: string, optional WorkerType terra.StringValue `hcl:"worker_type,attr"` // Command: required Command *Command `hcl:"command,block" validate:"required"` // ExecutionProperty: optional ExecutionProperty *ExecutionProperty `hcl:"execution_property,block"` // NotificationProperty: optional NotificationProperty *NotificationProperty `hcl:"notification_property,block"` }
Args contains the configurations for aws_glue_job.
type Command ¶
type Command struct { // Name: string, optional Name terra.StringValue `hcl:"name,attr"` // PythonVersion: string, optional PythonVersion terra.StringValue `hcl:"python_version,attr"` // ScriptLocation: string, required ScriptLocation terra.StringValue `hcl:"script_location,attr" validate:"required"` }
type CommandAttributes ¶
type CommandAttributes struct {
// contains filtered or unexported fields
}
func (CommandAttributes) InternalRef ¶
func (c CommandAttributes) InternalRef() (terra.Reference, error)
func (CommandAttributes) InternalTokens ¶
func (c CommandAttributes) InternalTokens() (hclwrite.Tokens, error)
func (CommandAttributes) InternalWithRef ¶
func (c CommandAttributes) InternalWithRef(ref terra.Reference) CommandAttributes
func (CommandAttributes) Name ¶
func (c CommandAttributes) Name() terra.StringValue
func (CommandAttributes) PythonVersion ¶
func (c CommandAttributes) PythonVersion() terra.StringValue
func (CommandAttributes) ScriptLocation ¶
func (c CommandAttributes) ScriptLocation() terra.StringValue
type CommandState ¶
type ExecutionProperty ¶
type ExecutionProperty struct { // MaxConcurrentRuns: number, optional MaxConcurrentRuns terra.NumberValue `hcl:"max_concurrent_runs,attr"` }
type ExecutionPropertyAttributes ¶
type ExecutionPropertyAttributes struct {
// contains filtered or unexported fields
}
func (ExecutionPropertyAttributes) InternalRef ¶
func (ep ExecutionPropertyAttributes) InternalRef() (terra.Reference, error)
func (ExecutionPropertyAttributes) InternalTokens ¶
func (ep ExecutionPropertyAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ExecutionPropertyAttributes) InternalWithRef ¶
func (ep ExecutionPropertyAttributes) InternalWithRef(ref terra.Reference) ExecutionPropertyAttributes
func (ExecutionPropertyAttributes) MaxConcurrentRuns ¶
func (ep ExecutionPropertyAttributes) MaxConcurrentRuns() terra.NumberValue
type ExecutionPropertyState ¶
type ExecutionPropertyState struct {
MaxConcurrentRuns float64 `json:"max_concurrent_runs"`
}
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 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_job.
func (*Resource) Attributes ¶
func (agj *Resource) Attributes() awsGlueJobAttributes
Attributes returns the attributes for Resource.
func (*Resource) Configuration ¶
func (agj *Resource) Configuration() interface{}
Configuration returns the configuration (args) for Resource.
func (*Resource) Dependencies ¶
func (agj *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.
Click to show internal directories.
Click to hide internal directories.