aws_fsx_lustre_file_system

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 {
	// AutoImportPolicy: string, optional
	AutoImportPolicy terra.StringValue `hcl:"auto_import_policy,attr"`
	// AutomaticBackupRetentionDays: number, optional
	AutomaticBackupRetentionDays terra.NumberValue `hcl:"automatic_backup_retention_days,attr"`
	// BackupId: string, optional
	BackupId terra.StringValue `hcl:"backup_id,attr"`
	// CopyTagsToBackups: bool, optional
	CopyTagsToBackups terra.BoolValue `hcl:"copy_tags_to_backups,attr"`
	// DailyAutomaticBackupStartTime: string, optional
	DailyAutomaticBackupStartTime terra.StringValue `hcl:"daily_automatic_backup_start_time,attr"`
	// DataCompressionType: string, optional
	DataCompressionType terra.StringValue `hcl:"data_compression_type,attr"`
	// DeploymentType: string, optional
	DeploymentType terra.StringValue `hcl:"deployment_type,attr"`
	// DriveCacheType: string, optional
	DriveCacheType terra.StringValue `hcl:"drive_cache_type,attr"`
	// ExportPath: string, optional
	ExportPath terra.StringValue `hcl:"export_path,attr"`
	// FileSystemTypeVersion: string, optional
	FileSystemTypeVersion terra.StringValue `hcl:"file_system_type_version,attr"`
	// Id: string, optional
	Id terra.StringValue `hcl:"id,attr"`
	// ImportPath: string, optional
	ImportPath terra.StringValue `hcl:"import_path,attr"`
	// ImportedFileChunkSize: number, optional
	ImportedFileChunkSize terra.NumberValue `hcl:"imported_file_chunk_size,attr"`
	// KmsKeyId: string, optional
	KmsKeyId terra.StringValue `hcl:"kms_key_id,attr"`
	// PerUnitStorageThroughput: number, optional
	PerUnitStorageThroughput terra.NumberValue `hcl:"per_unit_storage_throughput,attr"`
	// SecurityGroupIds: set of string, optional
	SecurityGroupIds terra.SetValue[terra.StringValue] `hcl:"security_group_ids,attr"`
	// StorageCapacity: number, optional
	StorageCapacity terra.NumberValue `hcl:"storage_capacity,attr"`
	// StorageType: string, optional
	StorageType terra.StringValue `hcl:"storage_type,attr"`
	// SubnetIds: list of string, required
	SubnetIds terra.ListValue[terra.StringValue] `hcl:"subnet_ids,attr" validate:"required"`
	// 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"`
	// WeeklyMaintenanceStartTime: string, optional
	WeeklyMaintenanceStartTime terra.StringValue `hcl:"weekly_maintenance_start_time,attr"`
	// LogConfiguration: optional
	LogConfiguration *LogConfiguration `hcl:"log_configuration,block"`
	// RootSquashConfiguration: optional
	RootSquashConfiguration *RootSquashConfiguration `hcl:"root_squash_configuration,block"`
	// Timeouts: optional
	Timeouts *Timeouts `hcl:"timeouts,block"`
}

Args contains the configurations for aws_fsx_lustre_file_system.

type LogConfiguration

type LogConfiguration struct {
	// Destination: string, optional
	Destination terra.StringValue `hcl:"destination,attr"`
	// Level: string, optional
	Level terra.StringValue `hcl:"level,attr"`
}

type LogConfigurationAttributes

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

func (LogConfigurationAttributes) Destination

func (lc LogConfigurationAttributes) Destination() terra.StringValue

func (LogConfigurationAttributes) InternalRef

func (lc LogConfigurationAttributes) InternalRef() (terra.Reference, error)

func (LogConfigurationAttributes) InternalTokens

func (lc LogConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error)

func (LogConfigurationAttributes) InternalWithRef

func (LogConfigurationAttributes) Level

type LogConfigurationState

type LogConfigurationState struct {
	Destination string `json:"destination"`
	Level       string `json:"level"`
}

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

func New

func New(name string, args Args) *Resource

New creates a new instance of Resource.

func (*Resource) Attributes

func (aflfs *Resource) Attributes() awsFsxLustreFileSystemAttributes

Attributes returns the attributes for Resource.

func (*Resource) Configuration

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

Configuration returns the configuration (args) for Resource.

func (*Resource) DependOn

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

DependOn is used for other resources to depend on Resource.

func (*Resource) Dependencies

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

Dependencies returns the list of resources Resource depends_on.

func (*Resource) ImportState

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

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

func (*Resource) LifecycleManagement

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

LifecycleManagement returns the lifecycle block for Resource.

func (*Resource) LocalName

func (aflfs *Resource) LocalName() string

LocalName returns the local name for Resource.

func (*Resource) State

func (aflfs *Resource) State() (*awsFsxLustreFileSystemState, bool)

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

func (*Resource) StateMust

func (aflfs *Resource) StateMust() *awsFsxLustreFileSystemState

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

func (*Resource) Type

func (aflfs *Resource) Type() string

Type returns the Terraform object type for Resource.

type RootSquashConfiguration

type RootSquashConfiguration struct {
	// NoSquashNids: set of string, optional
	NoSquashNids terra.SetValue[terra.StringValue] `hcl:"no_squash_nids,attr"`
	// RootSquash: string, optional
	RootSquash terra.StringValue `hcl:"root_squash,attr"`
}

type RootSquashConfigurationAttributes

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

func (RootSquashConfigurationAttributes) InternalRef

func (RootSquashConfigurationAttributes) InternalTokens

func (rsc RootSquashConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error)

func (RootSquashConfigurationAttributes) InternalWithRef

func (RootSquashConfigurationAttributes) NoSquashNids

func (RootSquashConfigurationAttributes) RootSquash

type RootSquashConfigurationState

type RootSquashConfigurationState struct {
	NoSquashNids []string `json:"no_squash_nids"`
	RootSquash   string   `json:"root_squash"`
}

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