aws_osis_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 {
	// MaxUnits: number, required
	MaxUnits terra.NumberValue `hcl:"max_units,attr" validate:"required"`
	// MinUnits: number, required
	MinUnits terra.NumberValue `hcl:"min_units,attr" validate:"required"`
	// PipelineConfigurationBody: string, required
	PipelineConfigurationBody terra.StringValue `hcl:"pipeline_configuration_body,attr" validate:"required"`
	// PipelineName: string, required
	PipelineName terra.StringValue `hcl:"pipeline_name,attr" validate:"required"`
	// Tags: map of string, optional
	Tags terra.MapValue[terra.StringValue] `hcl:"tags,attr"`
	// BufferOptions: min=0
	BufferOptions []BufferOptions `hcl:"buffer_options,block" validate:"min=0"`
	// EncryptionAtRestOptions: min=0
	EncryptionAtRestOptions []EncryptionAtRestOptions `hcl:"encryption_at_rest_options,block" validate:"min=0"`
	// LogPublishingOptions: min=0
	LogPublishingOptions []LogPublishingOptions `hcl:"log_publishing_options,block" validate:"min=0"`
	// Timeouts: optional
	Timeouts *Timeouts `hcl:"timeouts,block"`
	// VpcOptions: min=0
	VpcOptions []VpcOptions `hcl:"vpc_options,block" validate:"min=0"`
}

Args contains the configurations for aws_osis_pipeline.

type BufferOptions

type BufferOptions struct {
	// PersistentBufferEnabled: bool, required
	PersistentBufferEnabled terra.BoolValue `hcl:"persistent_buffer_enabled,attr" validate:"required"`
}

type BufferOptionsAttributes

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

func (BufferOptionsAttributes) InternalRef

func (bo BufferOptionsAttributes) InternalRef() (terra.Reference, error)

func (BufferOptionsAttributes) InternalTokens

func (bo BufferOptionsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (BufferOptionsAttributes) InternalWithRef

func (BufferOptionsAttributes) PersistentBufferEnabled

func (bo BufferOptionsAttributes) PersistentBufferEnabled() terra.BoolValue

type BufferOptionsState

type BufferOptionsState struct {
	PersistentBufferEnabled bool `json:"persistent_buffer_enabled"`
}

type EncryptionAtRestOptions

type EncryptionAtRestOptions struct {
	// KmsKeyArn: string, required
	KmsKeyArn terra.StringValue `hcl:"kms_key_arn,attr" validate:"required"`
}

type EncryptionAtRestOptionsAttributes

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

func (EncryptionAtRestOptionsAttributes) InternalRef

func (EncryptionAtRestOptionsAttributes) InternalTokens

func (earo EncryptionAtRestOptionsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (EncryptionAtRestOptionsAttributes) InternalWithRef

func (EncryptionAtRestOptionsAttributes) KmsKeyArn

type EncryptionAtRestOptionsState

type EncryptionAtRestOptionsState struct {
	KmsKeyArn string `json:"kms_key_arn"`
}

type LogPublishingOptions

type LogPublishingOptions struct {
	// IsLoggingEnabled: bool, optional
	IsLoggingEnabled terra.BoolValue `hcl:"is_logging_enabled,attr"`
	// LogPublishingOptionsCloudwatchLogDestination: min=0
	CloudwatchLogDestination []LogPublishingOptionsCloudwatchLogDestination `hcl:"cloudwatch_log_destination,block" validate:"min=0"`
}

type LogPublishingOptionsAttributes

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

func (LogPublishingOptionsAttributes) CloudwatchLogDestination

func (LogPublishingOptionsAttributes) InternalRef

func (lpo LogPublishingOptionsAttributes) InternalRef() (terra.Reference, error)

func (LogPublishingOptionsAttributes) InternalTokens

func (lpo LogPublishingOptionsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (LogPublishingOptionsAttributes) InternalWithRef

func (LogPublishingOptionsAttributes) IsLoggingEnabled

func (lpo LogPublishingOptionsAttributes) IsLoggingEnabled() terra.BoolValue

type LogPublishingOptionsCloudwatchLogDestination

type LogPublishingOptionsCloudwatchLogDestination struct {
	// LogGroup: string, required
	LogGroup terra.StringValue `hcl:"log_group,attr" validate:"required"`
}

type LogPublishingOptionsCloudwatchLogDestinationAttributes

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

func (LogPublishingOptionsCloudwatchLogDestinationAttributes) InternalRef

func (LogPublishingOptionsCloudwatchLogDestinationAttributes) InternalTokens

func (LogPublishingOptionsCloudwatchLogDestinationAttributes) InternalWithRef

func (LogPublishingOptionsCloudwatchLogDestinationAttributes) LogGroup

type LogPublishingOptionsCloudwatchLogDestinationState

type LogPublishingOptionsCloudwatchLogDestinationState struct {
	LogGroup string `json:"log_group"`
}

type LogPublishingOptionsState

type LogPublishingOptionsState struct {
	IsLoggingEnabled         bool                                                `json:"is_logging_enabled"`
	CloudwatchLogDestination []LogPublishingOptionsCloudwatchLogDestinationState `json:"cloudwatch_log_destination"`
}

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

func New

func New(name string, args Args) *Resource

New creates a new instance of Resource.

func (*Resource) Attributes

func (aop *Resource) Attributes() awsOsisPipelineAttributes

Attributes returns the attributes for Resource.

func (*Resource) Configuration

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

Configuration returns the configuration (args) for Resource.

func (*Resource) DependOn

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

DependOn is used for other resources to depend on Resource.

func (*Resource) Dependencies

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

Dependencies returns the list of resources Resource depends_on.

func (*Resource) ImportState

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

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

func (*Resource) LifecycleManagement

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

LifecycleManagement returns the lifecycle block for Resource.

func (*Resource) LocalName

func (aop *Resource) LocalName() string

LocalName returns the local name for Resource.

func (*Resource) State

func (aop *Resource) State() (*awsOsisPipelineState, bool)

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

func (*Resource) StateMust

func (aop *Resource) StateMust() *awsOsisPipelineState

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

func (*Resource) Type

func (aop *Resource) Type() string

Type returns the Terraform object type 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 (TimeoutsAttributes) Delete

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

type TimeoutsState

type TimeoutsState struct {
	Create string `json:"create"`
	Delete string `json:"delete"`
	Update string `json:"update"`
}

type VpcOptions

type VpcOptions struct {
	// SecurityGroupIds: set of string, optional
	SecurityGroupIds terra.SetValue[terra.StringValue] `hcl:"security_group_ids,attr"`
	// SubnetIds: set of string, required
	SubnetIds terra.SetValue[terra.StringValue] `hcl:"subnet_ids,attr" validate:"required"`
}

type VpcOptionsAttributes

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

func (VpcOptionsAttributes) InternalRef

func (vo VpcOptionsAttributes) InternalRef() (terra.Reference, error)

func (VpcOptionsAttributes) InternalTokens

func (vo VpcOptionsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (VpcOptionsAttributes) InternalWithRef

func (vo VpcOptionsAttributes) InternalWithRef(ref terra.Reference) VpcOptionsAttributes

func (VpcOptionsAttributes) SecurityGroupIds

func (vo VpcOptionsAttributes) SecurityGroupIds() terra.SetValue[terra.StringValue]

func (VpcOptionsAttributes) SubnetIds

type VpcOptionsState

type VpcOptionsState struct {
	SecurityGroupIds []string `json:"security_group_ids"`
	SubnetIds        []string `json:"subnet_ids"`
}

Jump to

Keyboard shortcuts

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