aws_fsx_openzfs_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 {
	// 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"`
	// CopyTagsToVolumes: bool, optional
	CopyTagsToVolumes terra.BoolValue `hcl:"copy_tags_to_volumes,attr"`
	// DailyAutomaticBackupStartTime: string, optional
	DailyAutomaticBackupStartTime terra.StringValue `hcl:"daily_automatic_backup_start_time,attr"`
	// DeploymentType: string, required
	DeploymentType terra.StringValue `hcl:"deployment_type,attr" validate:"required"`
	// EndpointIpAddressRange: string, optional
	EndpointIpAddressRange terra.StringValue `hcl:"endpoint_ip_address_range,attr"`
	// Id: string, optional
	Id terra.StringValue `hcl:"id,attr"`
	// KmsKeyId: string, optional
	KmsKeyId terra.StringValue `hcl:"kms_key_id,attr"`
	// PreferredSubnetId: string, optional
	PreferredSubnetId terra.StringValue `hcl:"preferred_subnet_id,attr"`
	// RouteTableIds: set of string, optional
	RouteTableIds terra.SetValue[terra.StringValue] `hcl:"route_table_ids,attr"`
	// SecurityGroupIds: set of string, optional
	SecurityGroupIds terra.SetValue[terra.StringValue] `hcl:"security_group_ids,attr"`
	// SkipFinalBackup: bool, optional
	SkipFinalBackup terra.BoolValue `hcl:"skip_final_backup,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"`
	// ThroughputCapacity: number, required
	ThroughputCapacity terra.NumberValue `hcl:"throughput_capacity,attr" validate:"required"`
	// WeeklyMaintenanceStartTime: string, optional
	WeeklyMaintenanceStartTime terra.StringValue `hcl:"weekly_maintenance_start_time,attr"`
	// DiskIopsConfiguration: optional
	DiskIopsConfiguration *DiskIopsConfiguration `hcl:"disk_iops_configuration,block"`
	// RootVolumeConfiguration: optional
	RootVolumeConfiguration *RootVolumeConfiguration `hcl:"root_volume_configuration,block"`
	// Timeouts: optional
	Timeouts *Timeouts `hcl:"timeouts,block"`
}

Args contains the configurations for aws_fsx_openzfs_file_system.

type DiskIopsConfiguration

type DiskIopsConfiguration struct {
	// Iops: number, optional
	Iops terra.NumberValue `hcl:"iops,attr"`
	// Mode: string, optional
	Mode terra.StringValue `hcl:"mode,attr"`
}

type DiskIopsConfigurationAttributes

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

func (DiskIopsConfigurationAttributes) InternalRef

func (DiskIopsConfigurationAttributes) InternalTokens

func (dic DiskIopsConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error)

func (DiskIopsConfigurationAttributes) InternalWithRef

func (DiskIopsConfigurationAttributes) Iops

func (DiskIopsConfigurationAttributes) Mode

type DiskIopsConfigurationState

type DiskIopsConfigurationState struct {
	Iops float64 `json:"iops"`
	Mode string  `json:"mode"`
}

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

func New

func New(name string, args Args) *Resource

New creates a new instance of Resource.

func (*Resource) Attributes

func (afofs *Resource) Attributes() awsFsxOpenzfsFileSystemAttributes

Attributes returns the attributes for Resource.

func (*Resource) Configuration

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

Configuration returns the configuration (args) for Resource.

func (*Resource) DependOn

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

DependOn is used for other resources to depend on Resource.

func (*Resource) Dependencies

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

Dependencies returns the list of resources Resource depends_on.

func (*Resource) ImportState

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

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

func (*Resource) LifecycleManagement

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

LifecycleManagement returns the lifecycle block for Resource.

func (*Resource) LocalName

func (afofs *Resource) LocalName() string

LocalName returns the local name for Resource.

func (*Resource) State

func (afofs *Resource) State() (*awsFsxOpenzfsFileSystemState, bool)

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

func (*Resource) StateMust

func (afofs *Resource) StateMust() *awsFsxOpenzfsFileSystemState

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

func (*Resource) Type

func (afofs *Resource) Type() string

Type returns the Terraform object type for Resource.

type RootVolumeConfiguration

type RootVolumeConfiguration struct {
	// CopyTagsToSnapshots: bool, optional
	CopyTagsToSnapshots terra.BoolValue `hcl:"copy_tags_to_snapshots,attr"`
	// DataCompressionType: string, optional
	DataCompressionType terra.StringValue `hcl:"data_compression_type,attr"`
	// ReadOnly: bool, optional
	ReadOnly terra.BoolValue `hcl:"read_only,attr"`
	// RecordSizeKib: number, optional
	RecordSizeKib terra.NumberValue `hcl:"record_size_kib,attr"`
	// RootVolumeConfigurationNfsExports: optional
	NfsExports *RootVolumeConfigurationNfsExports `hcl:"nfs_exports,block"`
	// RootVolumeConfigurationUserAndGroupQuotas: min=0,max=100
	UserAndGroupQuotas []RootVolumeConfigurationUserAndGroupQuotas `hcl:"user_and_group_quotas,block" validate:"min=0,max=100"`
}

type RootVolumeConfigurationAttributes

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

func (RootVolumeConfigurationAttributes) CopyTagsToSnapshots

func (rvc RootVolumeConfigurationAttributes) CopyTagsToSnapshots() terra.BoolValue

func (RootVolumeConfigurationAttributes) DataCompressionType

func (rvc RootVolumeConfigurationAttributes) DataCompressionType() terra.StringValue

func (RootVolumeConfigurationAttributes) InternalRef

func (RootVolumeConfigurationAttributes) InternalTokens

func (rvc RootVolumeConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error)

func (RootVolumeConfigurationAttributes) InternalWithRef

func (RootVolumeConfigurationAttributes) NfsExports

func (RootVolumeConfigurationAttributes) ReadOnly

func (RootVolumeConfigurationAttributes) RecordSizeKib

func (RootVolumeConfigurationAttributes) UserAndGroupQuotas

type RootVolumeConfigurationNfsExports

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

type RootVolumeConfigurationNfsExportsAttributes

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

func (RootVolumeConfigurationNfsExportsAttributes) InternalRef

func (RootVolumeConfigurationNfsExportsAttributes) InternalTokens

func (RootVolumeConfigurationNfsExportsAttributes) InternalWithRef

type RootVolumeConfigurationNfsExportsClientConfigurations

type RootVolumeConfigurationNfsExportsClientConfigurations 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 RootVolumeConfigurationNfsExportsClientConfigurationsAttributes

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

func (RootVolumeConfigurationNfsExportsClientConfigurationsAttributes) Clients

func (RootVolumeConfigurationNfsExportsClientConfigurationsAttributes) InternalRef

func (RootVolumeConfigurationNfsExportsClientConfigurationsAttributes) InternalTokens

func (RootVolumeConfigurationNfsExportsClientConfigurationsAttributes) InternalWithRef

func (RootVolumeConfigurationNfsExportsClientConfigurationsAttributes) Options

type RootVolumeConfigurationNfsExportsClientConfigurationsState

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

type RootVolumeConfigurationNfsExportsState

type RootVolumeConfigurationNfsExportsState struct {
	ClientConfigurations []RootVolumeConfigurationNfsExportsClientConfigurationsState `json:"client_configurations"`
}

type RootVolumeConfigurationState

type RootVolumeConfigurationState struct {
	CopyTagsToSnapshots bool                                             `json:"copy_tags_to_snapshots"`
	DataCompressionType string                                           `json:"data_compression_type"`
	ReadOnly            bool                                             `json:"read_only"`
	RecordSizeKib       float64                                          `json:"record_size_kib"`
	NfsExports          []RootVolumeConfigurationNfsExportsState         `json:"nfs_exports"`
	UserAndGroupQuotas  []RootVolumeConfigurationUserAndGroupQuotasState `json:"user_and_group_quotas"`
}

type RootVolumeConfigurationUserAndGroupQuotas

type RootVolumeConfigurationUserAndGroupQuotas 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 RootVolumeConfigurationUserAndGroupQuotasAttributes

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

func (RootVolumeConfigurationUserAndGroupQuotasAttributes) Id

func (RootVolumeConfigurationUserAndGroupQuotasAttributes) InternalRef

func (RootVolumeConfigurationUserAndGroupQuotasAttributes) InternalTokens

func (RootVolumeConfigurationUserAndGroupQuotasAttributes) InternalWithRef

func (RootVolumeConfigurationUserAndGroupQuotasAttributes) StorageCapacityQuotaGib

func (RootVolumeConfigurationUserAndGroupQuotasAttributes) Type

type RootVolumeConfigurationUserAndGroupQuotasState

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

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