aws_glue_script

package
v5.45.0 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"`
	// Language: string, optional
	Language terra.StringValue `hcl:"language,attr"`
	// DagEdge: min=1
	DagEdge []DataDagEdge `hcl:"dag_edge,block" validate:"min=1"`
	// DagNode: min=1
	DagNode []DataDagNode `hcl:"dag_node,block" validate:"min=1"`
}

DataArgs contains the configurations for aws_glue_script.

type DataDagEdge

type DataDagEdge struct {
	// Source: string, required
	Source terra.StringValue `hcl:"source,attr" validate:"required"`
	// Target: string, required
	Target terra.StringValue `hcl:"target,attr" validate:"required"`
	// TargetParameter: string, optional
	TargetParameter terra.StringValue `hcl:"target_parameter,attr"`
}

type DataDagEdgeAttributes

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

func (DataDagEdgeAttributes) InternalRef

func (de DataDagEdgeAttributes) InternalRef() (terra.Reference, error)

func (DataDagEdgeAttributes) InternalTokens

func (de DataDagEdgeAttributes) InternalTokens() (hclwrite.Tokens, error)

func (DataDagEdgeAttributes) InternalWithRef

func (DataDagEdgeAttributes) Source

func (DataDagEdgeAttributes) Target

func (DataDagEdgeAttributes) TargetParameter

func (de DataDagEdgeAttributes) TargetParameter() terra.StringValue

type DataDagEdgeState

type DataDagEdgeState struct {
	Source          string `json:"source"`
	Target          string `json:"target"`
	TargetParameter string `json:"target_parameter"`
}

type DataDagNode

type DataDagNode struct {
	// Id: string, required
	Id terra.StringValue `hcl:"id,attr" validate:"required"`
	// LineNumber: number, optional
	LineNumber terra.NumberValue `hcl:"line_number,attr"`
	// NodeType: string, required
	NodeType terra.StringValue `hcl:"node_type,attr" validate:"required"`
	// DagNodeArgs: min=1
	Args []DataDagNodeArgs `hcl:"args,block" validate:"min=1"`
}

type DataDagNodeArgs

type DataDagNodeArgs struct {
	// Name: string, required
	Name terra.StringValue `hcl:"name,attr" validate:"required"`
	// Param: bool, optional
	Param terra.BoolValue `hcl:"param,attr"`
	// Value: string, required
	Value terra.StringValue `hcl:"value,attr" validate:"required"`
}

type DataDagNodeArgsAttributes

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

func (DataDagNodeArgsAttributes) InternalRef

func (a DataDagNodeArgsAttributes) InternalRef() (terra.Reference, error)

func (DataDagNodeArgsAttributes) InternalTokens

func (a DataDagNodeArgsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (DataDagNodeArgsAttributes) InternalWithRef

func (DataDagNodeArgsAttributes) Name

func (DataDagNodeArgsAttributes) Param

func (DataDagNodeArgsAttributes) Value

type DataDagNodeArgsState

type DataDagNodeArgsState struct {
	Name  string `json:"name"`
	Param bool   `json:"param"`
	Value string `json:"value"`
}

type DataDagNodeAttributes

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

func (DataDagNodeAttributes) Args

func (DataDagNodeAttributes) Id

func (DataDagNodeAttributes) InternalRef

func (dn DataDagNodeAttributes) InternalRef() (terra.Reference, error)

func (DataDagNodeAttributes) InternalTokens

func (dn DataDagNodeAttributes) InternalTokens() (hclwrite.Tokens, error)

func (DataDagNodeAttributes) InternalWithRef

func (DataDagNodeAttributes) LineNumber

func (dn DataDagNodeAttributes) LineNumber() terra.NumberValue

func (DataDagNodeAttributes) NodeType

func (dn DataDagNodeAttributes) NodeType() terra.StringValue

type DataDagNodeState

type DataDagNodeState struct {
	Id         string                 `json:"id"`
	LineNumber float64                `json:"line_number"`
	NodeType   string                 `json:"node_type"`
	Args       []DataDagNodeArgsState `json:"args"`
}

type DataSource

type DataSource struct {
	Name string
	Args DataArgs
}

DataSource represents the Terraform data resource aws_glue_script.

func Data

func Data(name string, args DataArgs) *DataSource

Data creates a new instance of DataSource.

func (*DataSource) Attributes

func (ags *DataSource) Attributes() dataAwsGlueScriptAttributes

Attributes returns the attributes for DataSource.

func (*DataSource) Configuration

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

Configuration returns the configuration (args) for DataSource.

func (*DataSource) DataSource

func (ags *DataSource) DataSource() string

DataSource returns the Terraform object type for DataSource.

func (*DataSource) LocalName

func (ags *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