aws_finspace_kx_dataview

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 {
	// AutoUpdate: bool, required
	AutoUpdate terra.BoolValue `hcl:"auto_update,attr" validate:"required"`
	// AvailabilityZoneId: string, optional
	AvailabilityZoneId terra.StringValue `hcl:"availability_zone_id,attr"`
	// AzMode: string, required
	AzMode terra.StringValue `hcl:"az_mode,attr" validate:"required"`
	// ChangesetId: string, optional
	ChangesetId terra.StringValue `hcl:"changeset_id,attr"`
	// DatabaseName: string, required
	DatabaseName terra.StringValue `hcl:"database_name,attr" validate:"required"`
	// Description: string, optional
	Description terra.StringValue `hcl:"description,attr"`
	// EnvironmentId: string, required
	EnvironmentId terra.StringValue `hcl:"environment_id,attr" validate:"required"`
	// Id: string, optional
	Id terra.StringValue `hcl:"id,attr"`
	// Name: string, required
	Name terra.StringValue `hcl:"name,attr" validate:"required"`
	// ReadWrite: bool, optional
	ReadWrite terra.BoolValue `hcl:"read_write,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"`
	// SegmentConfigurations: min=0
	SegmentConfigurations []SegmentConfigurations `hcl:"segment_configurations,block" validate:"min=0"`
	// Timeouts: optional
	Timeouts *Timeouts `hcl:"timeouts,block"`
}

Args contains the configurations for aws_finspace_kx_dataview.

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

func New

func New(name string, args Args) *Resource

New creates a new instance of Resource.

func (*Resource) Attributes

func (afkd *Resource) Attributes() awsFinspaceKxDataviewAttributes

Attributes returns the attributes for Resource.

func (*Resource) Configuration

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

Configuration returns the configuration (args) for Resource.

func (*Resource) DependOn

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

DependOn is used for other resources to depend on Resource.

func (*Resource) Dependencies

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

Dependencies returns the list of resources Resource depends_on.

func (*Resource) ImportState

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

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

func (*Resource) LifecycleManagement

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

LifecycleManagement returns the lifecycle block for Resource.

func (*Resource) LocalName

func (afkd *Resource) LocalName() string

LocalName returns the local name for Resource.

func (*Resource) State

func (afkd *Resource) State() (*awsFinspaceKxDataviewState, bool)

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

func (*Resource) StateMust

func (afkd *Resource) StateMust() *awsFinspaceKxDataviewState

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

func (*Resource) Type

func (afkd *Resource) Type() string

Type returns the Terraform object type for Resource.

type SegmentConfigurations

type SegmentConfigurations struct {
	// DbPaths: list of string, required
	DbPaths terra.ListValue[terra.StringValue] `hcl:"db_paths,attr" validate:"required"`
	// OnDemand: bool, optional
	OnDemand terra.BoolValue `hcl:"on_demand,attr"`
	// VolumeName: string, required
	VolumeName terra.StringValue `hcl:"volume_name,attr" validate:"required"`
}

type SegmentConfigurationsAttributes

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

func (SegmentConfigurationsAttributes) DbPaths

func (SegmentConfigurationsAttributes) InternalRef

func (SegmentConfigurationsAttributes) InternalTokens

func (sc SegmentConfigurationsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (SegmentConfigurationsAttributes) InternalWithRef

func (SegmentConfigurationsAttributes) OnDemand

func (SegmentConfigurationsAttributes) VolumeName

type SegmentConfigurationsState

type SegmentConfigurationsState struct {
	DbPaths    []string `json:"db_paths"`
	OnDemand   bool     `json:"on_demand"`
	VolumeName string   `json:"volume_name"`
}

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"`
}

Jump to

Keyboard shortcuts

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