aws_sagemaker_pipeline

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"`
	// PipelineDefinition: string, optional
	PipelineDefinition terra.StringValue `hcl:"pipeline_definition,attr"`
	// PipelineDescription: string, optional
	PipelineDescription terra.StringValue `hcl:"pipeline_description,attr"`
	// PipelineDisplayName: string, required
	PipelineDisplayName terra.StringValue `hcl:"pipeline_display_name,attr" validate:"required"`
	// PipelineName: string, required
	PipelineName terra.StringValue `hcl:"pipeline_name,attr" validate:"required"`
	// RoleArn: string, optional
	RoleArn terra.StringValue `hcl:"role_arn,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"`
	// ParallelismConfiguration: optional
	ParallelismConfiguration *ParallelismConfiguration `hcl:"parallelism_configuration,block"`
	// PipelineDefinitionS3Location: optional
	PipelineDefinitionS3Location *PipelineDefinitionS3Location `hcl:"pipeline_definition_s3_location,block"`
}

Args contains the configurations for aws_sagemaker_pipeline.

type ParallelismConfiguration

type ParallelismConfiguration struct {
	// MaxParallelExecutionSteps: number, required
	MaxParallelExecutionSteps terra.NumberValue `hcl:"max_parallel_execution_steps,attr" validate:"required"`
}

type ParallelismConfigurationAttributes

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

func (ParallelismConfigurationAttributes) InternalRef

func (ParallelismConfigurationAttributes) InternalTokens

func (ParallelismConfigurationAttributes) InternalWithRef

func (ParallelismConfigurationAttributes) MaxParallelExecutionSteps

func (pc ParallelismConfigurationAttributes) MaxParallelExecutionSteps() terra.NumberValue

type ParallelismConfigurationState

type ParallelismConfigurationState struct {
	MaxParallelExecutionSteps float64 `json:"max_parallel_execution_steps"`
}

type PipelineDefinitionS3Location

type PipelineDefinitionS3Location struct {
	// Bucket: string, required
	Bucket terra.StringValue `hcl:"bucket,attr" validate:"required"`
	// ObjectKey: string, required
	ObjectKey terra.StringValue `hcl:"object_key,attr" validate:"required"`
	// VersionId: string, optional
	VersionId terra.StringValue `hcl:"version_id,attr"`
}

type PipelineDefinitionS3LocationAttributes

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

func (PipelineDefinitionS3LocationAttributes) Bucket

func (PipelineDefinitionS3LocationAttributes) InternalRef

func (PipelineDefinitionS3LocationAttributes) InternalTokens

func (PipelineDefinitionS3LocationAttributes) InternalWithRef

func (PipelineDefinitionS3LocationAttributes) ObjectKey

func (PipelineDefinitionS3LocationAttributes) VersionId

type PipelineDefinitionS3LocationState

type PipelineDefinitionS3LocationState struct {
	Bucket    string `json:"bucket"`
	ObjectKey string `json:"object_key"`
	VersionId string `json:"version_id"`
}

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

func New

func New(name string, args Args) *Resource

New creates a new instance of Resource.

func (*Resource) Attributes

func (asp *Resource) Attributes() awsSagemakerPipelineAttributes

Attributes returns the attributes for Resource.

func (*Resource) Configuration

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

Configuration returns the configuration (args) for Resource.

func (*Resource) DependOn

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

DependOn is used for other resources to depend on Resource.

func (*Resource) Dependencies

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

Dependencies returns the list of resources Resource depends_on.

func (*Resource) ImportState

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

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

func (*Resource) LifecycleManagement

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

LifecycleManagement returns the lifecycle block for Resource.

func (*Resource) LocalName

func (asp *Resource) LocalName() string

LocalName returns the local name for Resource.

func (*Resource) State

func (asp *Resource) State() (*awsSagemakerPipelineState, bool)

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

func (*Resource) StateMust

func (asp *Resource) StateMust() *awsSagemakerPipelineState

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

func (*Resource) Type

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