aws_datapipeline_pipeline_definition

package
v0.0.0-...-4deecce 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: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Args

type Args struct {
	// Id: string, optional
	Id terra.StringValue `hcl:"id,attr"`
	// PipelineId: string, required
	PipelineId terra.StringValue `hcl:"pipeline_id,attr" validate:"required"`
	// ParameterObject: min=0
	ParameterObject []ParameterObject `hcl:"parameter_object,block" validate:"min=0"`
	// ParameterValue: min=0
	ParameterValue []ParameterValue `hcl:"parameter_value,block" validate:"min=0"`
	// PipelineObject: min=1
	PipelineObject []PipelineObject `hcl:"pipeline_object,block" validate:"min=1"`
}

Args contains the configurations for aws_datapipeline_pipeline_definition.

type DataArgs

type DataArgs struct {
	// Id: string, optional
	Id terra.StringValue `hcl:"id,attr"`
	// PipelineId: string, required
	PipelineId terra.StringValue `hcl:"pipeline_id,attr" validate:"required"`
	// ParameterValue: min=0
	ParameterValue []DataParameterValue `hcl:"parameter_value,block" validate:"min=0"`
}

DataArgs contains the configurations for aws_datapipeline_pipeline_definition.

type DataParameterObjectAttributeAttributes

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

func (DataParameterObjectAttributeAttributes) InternalRef

func (DataParameterObjectAttributeAttributes) InternalTokens

func (DataParameterObjectAttributeAttributes) InternalWithRef

func (DataParameterObjectAttributeAttributes) Key

func (DataParameterObjectAttributeAttributes) StringValue

type DataParameterObjectAttributeState

type DataParameterObjectAttributeState struct {
	Key         string `json:"key"`
	StringValue string `json:"string_value"`
}

type DataParameterObjectAttributes

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

func (DataParameterObjectAttributes) Attribute

func (DataParameterObjectAttributes) Id

func (DataParameterObjectAttributes) InternalRef

func (po DataParameterObjectAttributes) InternalRef() (terra.Reference, error)

func (DataParameterObjectAttributes) InternalTokens

func (po DataParameterObjectAttributes) InternalTokens() (hclwrite.Tokens, error)

func (DataParameterObjectAttributes) InternalWithRef

type DataParameterObjectState

type DataParameterObjectState struct {
	Id        string                              `json:"id"`
	Attribute []DataParameterObjectAttributeState `json:"attribute"`
}

type DataParameterValue

type DataParameterValue struct{}

type DataParameterValueAttributes

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

func (DataParameterValueAttributes) Id

func (DataParameterValueAttributes) InternalRef

func (pv DataParameterValueAttributes) InternalRef() (terra.Reference, error)

func (DataParameterValueAttributes) InternalTokens

func (pv DataParameterValueAttributes) InternalTokens() (hclwrite.Tokens, error)

func (DataParameterValueAttributes) InternalWithRef

func (DataParameterValueAttributes) StringValue

type DataParameterValueState

type DataParameterValueState struct {
	Id          string `json:"id"`
	StringValue string `json:"string_value"`
}

type DataPipelineObjectAttributes

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

func (DataPipelineObjectAttributes) Field

func (DataPipelineObjectAttributes) Id

func (DataPipelineObjectAttributes) InternalRef

func (po DataPipelineObjectAttributes) InternalRef() (terra.Reference, error)

func (DataPipelineObjectAttributes) InternalTokens

func (po DataPipelineObjectAttributes) InternalTokens() (hclwrite.Tokens, error)

func (DataPipelineObjectAttributes) InternalWithRef

func (DataPipelineObjectAttributes) Name

type DataPipelineObjectFieldAttributes

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

func (DataPipelineObjectFieldAttributes) InternalRef

func (DataPipelineObjectFieldAttributes) InternalTokens

func (DataPipelineObjectFieldAttributes) InternalWithRef

func (DataPipelineObjectFieldAttributes) Key

func (DataPipelineObjectFieldAttributes) RefValue

func (DataPipelineObjectFieldAttributes) StringValue

type DataPipelineObjectFieldState

type DataPipelineObjectFieldState struct {
	Key         string `json:"key"`
	RefValue    string `json:"ref_value"`
	StringValue string `json:"string_value"`
}

type DataPipelineObjectState

type DataPipelineObjectState struct {
	Id    string                         `json:"id"`
	Name  string                         `json:"name"`
	Field []DataPipelineObjectFieldState `json:"field"`
}

type DataSource

type DataSource struct {
	Name string
	Args DataArgs
}

DataSource represents the Terraform data resource aws_datapipeline_pipeline_definition.

func Data

func Data(name string, args DataArgs) *DataSource

Data creates a new instance of DataSource.

func (*DataSource) Attributes

func (adpd *DataSource) Attributes() dataAwsDatapipelinePipelineDefinitionAttributes

Attributes returns the attributes for DataSource.

func (*DataSource) Configuration

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

Configuration returns the configuration (args) for DataSource.

func (*DataSource) DataSource

func (adpd *DataSource) DataSource() string

DataSource returns the Terraform object type for DataSource.

func (*DataSource) LocalName

func (adpd *DataSource) LocalName() string

LocalName returns the local name for DataSource.

type ParameterObject

type ParameterObject struct {
	// Id: string, required
	Id terra.StringValue `hcl:"id,attr" validate:"required"`
	// ParameterObjectAttribute: min=0
	Attribute []ParameterObjectAttribute `hcl:"attribute,block" validate:"min=0"`
}

type ParameterObjectAttribute

type ParameterObjectAttribute struct {
	// Key: string, required
	Key terra.StringValue `hcl:"key,attr" validate:"required"`
	// StringValue: string, required
	StringValue terra.StringValue `hcl:"string_value,attr" validate:"required"`
}

type ParameterObjectAttributeAttributes

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

func (ParameterObjectAttributeAttributes) InternalRef

func (ParameterObjectAttributeAttributes) InternalTokens

func (ParameterObjectAttributeAttributes) InternalWithRef

func (ParameterObjectAttributeAttributes) Key

func (ParameterObjectAttributeAttributes) StringValue

type ParameterObjectAttributeState

type ParameterObjectAttributeState struct {
	Key         string `json:"key"`
	StringValue string `json:"string_value"`
}

type ParameterObjectAttributes

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

func (ParameterObjectAttributes) Attribute

func (ParameterObjectAttributes) Id

func (ParameterObjectAttributes) InternalRef

func (po ParameterObjectAttributes) InternalRef() (terra.Reference, error)

func (ParameterObjectAttributes) InternalTokens

func (po ParameterObjectAttributes) InternalTokens() (hclwrite.Tokens, error)

func (ParameterObjectAttributes) InternalWithRef

type ParameterObjectState

type ParameterObjectState struct {
	Id        string                          `json:"id"`
	Attribute []ParameterObjectAttributeState `json:"attribute"`
}

type ParameterValue

type ParameterValue struct {
	// Id: string, required
	Id terra.StringValue `hcl:"id,attr" validate:"required"`
	// StringValue: string, required
	StringValue terra.StringValue `hcl:"string_value,attr" validate:"required"`
}

type ParameterValueAttributes

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

func (ParameterValueAttributes) Id

func (ParameterValueAttributes) InternalRef

func (pv ParameterValueAttributes) InternalRef() (terra.Reference, error)

func (ParameterValueAttributes) InternalTokens

func (pv ParameterValueAttributes) InternalTokens() (hclwrite.Tokens, error)

func (ParameterValueAttributes) InternalWithRef

func (ParameterValueAttributes) StringValue

func (pv ParameterValueAttributes) StringValue() terra.StringValue

type ParameterValueState

type ParameterValueState struct {
	Id          string `json:"id"`
	StringValue string `json:"string_value"`
}

type PipelineObject

type PipelineObject struct {
	// Id: string, required
	Id terra.StringValue `hcl:"id,attr" validate:"required"`
	// Name: string, required
	Name terra.StringValue `hcl:"name,attr" validate:"required"`
	// PipelineObjectField: min=0
	Field []PipelineObjectField `hcl:"field,block" validate:"min=0"`
}

type PipelineObjectAttributes

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

func (PipelineObjectAttributes) Field

func (PipelineObjectAttributes) Id

func (PipelineObjectAttributes) InternalRef

func (po PipelineObjectAttributes) InternalRef() (terra.Reference, error)

func (PipelineObjectAttributes) InternalTokens

func (po PipelineObjectAttributes) InternalTokens() (hclwrite.Tokens, error)

func (PipelineObjectAttributes) InternalWithRef

func (PipelineObjectAttributes) Name

type PipelineObjectField

type PipelineObjectField struct {
	// Key: string, required
	Key terra.StringValue `hcl:"key,attr" validate:"required"`
	// RefValue: string, optional
	RefValue terra.StringValue `hcl:"ref_value,attr"`
	// StringValue: string, optional
	StringValue terra.StringValue `hcl:"string_value,attr"`
}

type PipelineObjectFieldAttributes

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

func (PipelineObjectFieldAttributes) InternalRef

func (PipelineObjectFieldAttributes) InternalTokens

func (f PipelineObjectFieldAttributes) InternalTokens() (hclwrite.Tokens, error)

func (PipelineObjectFieldAttributes) InternalWithRef

func (PipelineObjectFieldAttributes) Key

func (PipelineObjectFieldAttributes) RefValue

func (PipelineObjectFieldAttributes) StringValue

type PipelineObjectFieldState

type PipelineObjectFieldState struct {
	Key         string `json:"key"`
	RefValue    string `json:"ref_value"`
	StringValue string `json:"string_value"`
}

type PipelineObjectState

type PipelineObjectState struct {
	Id    string                     `json:"id"`
	Name  string                     `json:"name"`
	Field []PipelineObjectFieldState `json:"field"`
}

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_datapipeline_pipeline_definition.

func New

func New(name string, args Args) *Resource

New creates a new instance of Resource.

func (*Resource) Attributes

func (adpd *Resource) Attributes() awsDatapipelinePipelineDefinitionAttributes

Attributes returns the attributes for Resource.

func (*Resource) Configuration

func (adpd *Resource) Configuration() interface{}

Configuration returns the configuration (args) for Resource.

func (*Resource) DependOn

func (adpd *Resource) DependOn() terra.Reference

DependOn is used for other resources to depend on Resource.

func (*Resource) Dependencies

func (adpd *Resource) Dependencies() terra.Dependencies

Dependencies returns the list of resources Resource depends_on.

func (*Resource) ImportState

func (adpd *Resource) ImportState(state io.Reader) error

ImportState imports the given attribute values into Resource's state.

func (*Resource) LifecycleManagement

func (adpd *Resource) LifecycleManagement() *terra.Lifecycle

LifecycleManagement returns the lifecycle block for Resource.

func (*Resource) LocalName

func (adpd *Resource) LocalName() string

LocalName returns the local name for Resource.

func (*Resource) State

func (adpd *Resource) State() (*awsDatapipelinePipelineDefinitionState, bool)

State returns the state and a bool indicating if Resource has state.

func (*Resource) StateMust

func (adpd *Resource) StateMust() *awsDatapipelinePipelineDefinitionState

StateMust returns the state for Resource. Panics if the state is nil.

func (*Resource) Type

func (adpd *Resource) Type() string

Type returns the Terraform object type for Resource.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL