aws_fsx_openzfs_volume

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 {
	// CopyTagsToSnapshots: bool, optional
	CopyTagsToSnapshots terra.BoolValue `hcl:"copy_tags_to_snapshots,attr"`
	// DataCompressionType: string, optional
	DataCompressionType terra.StringValue `hcl:"data_compression_type,attr"`
	// DeleteVolumeOptions: list of string, optional
	DeleteVolumeOptions terra.ListValue[terra.StringValue] `hcl:"delete_volume_options,attr"`
	// Id: string, optional
	Id terra.StringValue `hcl:"id,attr"`
	// Name: string, required
	Name terra.StringValue `hcl:"name,attr" validate:"required"`
	// ParentVolumeId: string, required
	ParentVolumeId terra.StringValue `hcl:"parent_volume_id,attr" validate:"required"`
	// ReadOnly: bool, optional
	ReadOnly terra.BoolValue `hcl:"read_only,attr"`
	// RecordSizeKib: number, optional
	RecordSizeKib terra.NumberValue `hcl:"record_size_kib,attr"`
	// StorageCapacityQuotaGib: number, optional
	StorageCapacityQuotaGib terra.NumberValue `hcl:"storage_capacity_quota_gib,attr"`
	// StorageCapacityReservationGib: number, optional
	StorageCapacityReservationGib terra.NumberValue `hcl:"storage_capacity_reservation_gib,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"`
	// VolumeType: string, optional
	VolumeType terra.StringValue `hcl:"volume_type,attr"`
	// NfsExports: optional
	NfsExports *NfsExports `hcl:"nfs_exports,block"`
	// OriginSnapshot: optional
	OriginSnapshot *OriginSnapshot `hcl:"origin_snapshot,block"`
	// Timeouts: optional
	Timeouts *Timeouts `hcl:"timeouts,block"`
	// UserAndGroupQuotas: min=0,max=100
	UserAndGroupQuotas []UserAndGroupQuotas `hcl:"user_and_group_quotas,block" validate:"min=0,max=100"`
}

Args contains the configurations for aws_fsx_openzfs_volume.

type NfsExports

type NfsExports struct {
	// NfsExportsClientConfigurations: min=1,max=25
	ClientConfigurations []NfsExportsClientConfigurations `hcl:"client_configurations,block" validate:"min=1,max=25"`
}

type NfsExportsAttributes

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

func (NfsExportsAttributes) ClientConfigurations

func (NfsExportsAttributes) InternalRef

func (ne NfsExportsAttributes) InternalRef() (terra.Reference, error)

func (NfsExportsAttributes) InternalTokens

func (ne NfsExportsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (NfsExportsAttributes) InternalWithRef

func (ne NfsExportsAttributes) InternalWithRef(ref terra.Reference) NfsExportsAttributes

type NfsExportsClientConfigurations

type NfsExportsClientConfigurations struct {
	// Clients: string, required
	Clients terra.StringValue `hcl:"clients,attr" validate:"required"`
	// Options: list of string, required
	Options terra.ListValue[terra.StringValue] `hcl:"options,attr" validate:"required"`
}

type NfsExportsClientConfigurationsAttributes

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

func (NfsExportsClientConfigurationsAttributes) Clients

func (NfsExportsClientConfigurationsAttributes) InternalRef

func (NfsExportsClientConfigurationsAttributes) InternalTokens

func (NfsExportsClientConfigurationsAttributes) InternalWithRef

func (NfsExportsClientConfigurationsAttributes) Options

type NfsExportsClientConfigurationsState

type NfsExportsClientConfigurationsState struct {
	Clients string   `json:"clients"`
	Options []string `json:"options"`
}

type NfsExportsState

type NfsExportsState struct {
	ClientConfigurations []NfsExportsClientConfigurationsState `json:"client_configurations"`
}

type OriginSnapshot

type OriginSnapshot struct {
	// CopyStrategy: string, required
	CopyStrategy terra.StringValue `hcl:"copy_strategy,attr" validate:"required"`
	// SnapshotArn: string, required
	SnapshotArn terra.StringValue `hcl:"snapshot_arn,attr" validate:"required"`
}

type OriginSnapshotAttributes

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

func (OriginSnapshotAttributes) CopyStrategy

func (os OriginSnapshotAttributes) CopyStrategy() terra.StringValue

func (OriginSnapshotAttributes) InternalRef

func (os OriginSnapshotAttributes) InternalRef() (terra.Reference, error)

func (OriginSnapshotAttributes) InternalTokens

func (os OriginSnapshotAttributes) InternalTokens() (hclwrite.Tokens, error)

func (OriginSnapshotAttributes) InternalWithRef

func (OriginSnapshotAttributes) SnapshotArn

func (os OriginSnapshotAttributes) SnapshotArn() terra.StringValue

type OriginSnapshotState

type OriginSnapshotState struct {
	CopyStrategy string `json:"copy_strategy"`
	SnapshotArn  string `json:"snapshot_arn"`
}

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

func New

func New(name string, args Args) *Resource

New creates a new instance of Resource.

func (*Resource) Attributes

func (afov *Resource) Attributes() awsFsxOpenzfsVolumeAttributes

Attributes returns the attributes for Resource.

func (*Resource) Configuration

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

Configuration returns the configuration (args) for Resource.

func (*Resource) DependOn

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

DependOn is used for other resources to depend on Resource.

func (*Resource) Dependencies

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

Dependencies returns the list of resources Resource depends_on.

func (*Resource) ImportState

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

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

func (*Resource) LifecycleManagement

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

LifecycleManagement returns the lifecycle block for Resource.

func (*Resource) LocalName

func (afov *Resource) LocalName() string

LocalName returns the local name for Resource.

func (*Resource) State

func (afov *Resource) State() (*awsFsxOpenzfsVolumeState, bool)

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

func (*Resource) StateMust

func (afov *Resource) StateMust() *awsFsxOpenzfsVolumeState

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

func (*Resource) Type

func (afov *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 UserAndGroupQuotas

type UserAndGroupQuotas struct {
	// Id: number, required
	Id terra.NumberValue `hcl:"id,attr" validate:"required"`
	// StorageCapacityQuotaGib: number, required
	StorageCapacityQuotaGib terra.NumberValue `hcl:"storage_capacity_quota_gib,attr" validate:"required"`
	// Type: string, required
	Type terra.StringValue `hcl:"type,attr" validate:"required"`
}

type UserAndGroupQuotasAttributes

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

func (UserAndGroupQuotasAttributes) Id

func (UserAndGroupQuotasAttributes) InternalRef

func (uagq UserAndGroupQuotasAttributes) InternalRef() (terra.Reference, error)

func (UserAndGroupQuotasAttributes) InternalTokens

func (uagq UserAndGroupQuotasAttributes) InternalTokens() (hclwrite.Tokens, error)

func (UserAndGroupQuotasAttributes) InternalWithRef

func (UserAndGroupQuotasAttributes) StorageCapacityQuotaGib

func (uagq UserAndGroupQuotasAttributes) StorageCapacityQuotaGib() terra.NumberValue

func (UserAndGroupQuotasAttributes) Type

type UserAndGroupQuotasState

type UserAndGroupQuotasState struct {
	Id                      float64 `json:"id"`
	StorageCapacityQuotaGib float64 `json:"storage_capacity_quota_gib"`
	Type                    string  `json:"type"`
}

Jump to

Keyboard shortcuts

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