aws_fsx_file_cache

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 {
	// CopyTagsToDataRepositoryAssociations: bool, optional
	CopyTagsToDataRepositoryAssociations terra.BoolValue `hcl:"copy_tags_to_data_repository_associations,attr"`
	// FileCacheType: string, required
	FileCacheType terra.StringValue `hcl:"file_cache_type,attr" validate:"required"`
	// FileCacheTypeVersion: string, required
	FileCacheTypeVersion terra.StringValue `hcl:"file_cache_type_version,attr" validate:"required"`
	// Id: string, optional
	Id terra.StringValue `hcl:"id,attr"`
	// KmsKeyId: string, optional
	KmsKeyId terra.StringValue `hcl:"kms_key_id,attr"`
	// SecurityGroupIds: set of string, optional
	SecurityGroupIds terra.SetValue[terra.StringValue] `hcl:"security_group_ids,attr"`
	// StorageCapacity: number, required
	StorageCapacity terra.NumberValue `hcl:"storage_capacity,attr" validate:"required"`
	// 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"`
	// DataRepositoryAssociation: min=0,max=8
	DataRepositoryAssociation []DataRepositoryAssociation `hcl:"data_repository_association,block" validate:"min=0,max=8"`
	// LustreConfiguration: min=0
	LustreConfiguration []LustreConfiguration `hcl:"lustre_configuration,block" validate:"min=0"`
	// Timeouts: optional
	Timeouts *Timeouts `hcl:"timeouts,block"`
}

Args contains the configurations for aws_fsx_file_cache.

type DataRepositoryAssociation

type DataRepositoryAssociation struct {
	// DataRepositoryPath: string, required
	DataRepositoryPath terra.StringValue `hcl:"data_repository_path,attr" validate:"required"`
	// DataRepositorySubdirectories: set of string, optional
	DataRepositorySubdirectories terra.SetValue[terra.StringValue] `hcl:"data_repository_subdirectories,attr"`
	// FileCachePath: string, required
	FileCachePath terra.StringValue `hcl:"file_cache_path,attr" validate:"required"`
	// Tags: map of string, optional
	Tags terra.MapValue[terra.StringValue] `hcl:"tags,attr"`
	// DataRepositoryAssociationNfs: min=0
	Nfs []DataRepositoryAssociationNfs `hcl:"nfs,block" validate:"min=0"`
}

type DataRepositoryAssociationAttributes

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

func (DataRepositoryAssociationAttributes) AssociationId

func (DataRepositoryAssociationAttributes) DataRepositoryPath

func (dra DataRepositoryAssociationAttributes) DataRepositoryPath() terra.StringValue

func (DataRepositoryAssociationAttributes) DataRepositorySubdirectories

func (dra DataRepositoryAssociationAttributes) DataRepositorySubdirectories() terra.SetValue[terra.StringValue]

func (DataRepositoryAssociationAttributes) FileCacheId

func (DataRepositoryAssociationAttributes) FileCachePath

func (DataRepositoryAssociationAttributes) FileSystemId

func (DataRepositoryAssociationAttributes) FileSystemPath

func (DataRepositoryAssociationAttributes) ImportedFileChunkSize

func (dra DataRepositoryAssociationAttributes) ImportedFileChunkSize() terra.NumberValue

func (DataRepositoryAssociationAttributes) InternalRef

func (DataRepositoryAssociationAttributes) InternalTokens

func (dra DataRepositoryAssociationAttributes) InternalTokens() (hclwrite.Tokens, error)

func (DataRepositoryAssociationAttributes) InternalWithRef

func (DataRepositoryAssociationAttributes) Nfs

func (DataRepositoryAssociationAttributes) ResourceArn

func (DataRepositoryAssociationAttributes) Tags

type DataRepositoryAssociationNfs

type DataRepositoryAssociationNfs struct {
	// DnsIps: set of string, optional
	DnsIps terra.SetValue[terra.StringValue] `hcl:"dns_ips,attr"`
	// Version: string, required
	Version terra.StringValue `hcl:"version,attr" validate:"required"`
}

type DataRepositoryAssociationNfsAttributes

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

func (DataRepositoryAssociationNfsAttributes) DnsIps

func (DataRepositoryAssociationNfsAttributes) InternalRef

func (DataRepositoryAssociationNfsAttributes) InternalTokens

func (DataRepositoryAssociationNfsAttributes) InternalWithRef

func (DataRepositoryAssociationNfsAttributes) Version

type DataRepositoryAssociationNfsState

type DataRepositoryAssociationNfsState struct {
	DnsIps  []string `json:"dns_ips"`
	Version string   `json:"version"`
}

type DataRepositoryAssociationState

type DataRepositoryAssociationState struct {
	AssociationId                string                              `json:"association_id"`
	DataRepositoryPath           string                              `json:"data_repository_path"`
	DataRepositorySubdirectories []string                            `json:"data_repository_subdirectories"`
	FileCacheId                  string                              `json:"file_cache_id"`
	FileCachePath                string                              `json:"file_cache_path"`
	FileSystemId                 string                              `json:"file_system_id"`
	FileSystemPath               string                              `json:"file_system_path"`
	ImportedFileChunkSize        float64                             `json:"imported_file_chunk_size"`
	ResourceArn                  string                              `json:"resource_arn"`
	Tags                         map[string]string                   `json:"tags"`
	Nfs                          []DataRepositoryAssociationNfsState `json:"nfs"`
}

type LustreConfiguration

type LustreConfiguration struct {
	// DeploymentType: string, required
	DeploymentType terra.StringValue `hcl:"deployment_type,attr" validate:"required"`
	// PerUnitStorageThroughput: number, required
	PerUnitStorageThroughput terra.NumberValue `hcl:"per_unit_storage_throughput,attr" validate:"required"`
	// WeeklyMaintenanceStartTime: string, optional
	WeeklyMaintenanceStartTime terra.StringValue `hcl:"weekly_maintenance_start_time,attr"`
	// LustreConfigurationMetadataConfiguration: min=1,max=8
	MetadataConfiguration []LustreConfigurationMetadataConfiguration `hcl:"metadata_configuration,block" validate:"min=1,max=8"`
}

type LustreConfigurationAttributes

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

func (LustreConfigurationAttributes) DeploymentType

func (lc LustreConfigurationAttributes) DeploymentType() terra.StringValue

func (LustreConfigurationAttributes) InternalRef

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

func (LustreConfigurationAttributes) InternalTokens

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

func (LustreConfigurationAttributes) InternalWithRef

func (LustreConfigurationAttributes) LogConfiguration

func (LustreConfigurationAttributes) MetadataConfiguration

func (LustreConfigurationAttributes) MountName

func (LustreConfigurationAttributes) PerUnitStorageThroughput

func (lc LustreConfigurationAttributes) PerUnitStorageThroughput() terra.NumberValue

func (LustreConfigurationAttributes) WeeklyMaintenanceStartTime

func (lc LustreConfigurationAttributes) WeeklyMaintenanceStartTime() terra.StringValue

type LustreConfigurationLogConfigurationAttributes

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

func (LustreConfigurationLogConfigurationAttributes) Destination

func (LustreConfigurationLogConfigurationAttributes) InternalRef

func (LustreConfigurationLogConfigurationAttributes) InternalTokens

func (LustreConfigurationLogConfigurationAttributes) InternalWithRef

func (LustreConfigurationLogConfigurationAttributes) Level

type LustreConfigurationLogConfigurationState

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

type LustreConfigurationMetadataConfiguration

type LustreConfigurationMetadataConfiguration struct {
	// StorageCapacity: number, required
	StorageCapacity terra.NumberValue `hcl:"storage_capacity,attr" validate:"required"`
}

type LustreConfigurationMetadataConfigurationAttributes

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

func (LustreConfigurationMetadataConfigurationAttributes) InternalRef

func (LustreConfigurationMetadataConfigurationAttributes) InternalTokens

func (LustreConfigurationMetadataConfigurationAttributes) InternalWithRef

func (LustreConfigurationMetadataConfigurationAttributes) StorageCapacity

type LustreConfigurationMetadataConfigurationState

type LustreConfigurationMetadataConfigurationState struct {
	StorageCapacity float64 `json:"storage_capacity"`
}

type LustreConfigurationState

type LustreConfigurationState struct {
	DeploymentType             string                                          `json:"deployment_type"`
	MountName                  string                                          `json:"mount_name"`
	PerUnitStorageThroughput   float64                                         `json:"per_unit_storage_throughput"`
	WeeklyMaintenanceStartTime string                                          `json:"weekly_maintenance_start_time"`
	LogConfiguration           []LustreConfigurationLogConfigurationState      `json:"log_configuration"`
	MetadataConfiguration      []LustreConfigurationMetadataConfigurationState `json:"metadata_configuration"`
}

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

func New

func New(name string, args Args) *Resource

New creates a new instance of Resource.

func (*Resource) Attributes

func (affc *Resource) Attributes() awsFsxFileCacheAttributes

Attributes returns the attributes for Resource.

func (*Resource) Configuration

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

Configuration returns the configuration (args) for Resource.

func (*Resource) DependOn

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

DependOn is used for other resources to depend on Resource.

func (*Resource) Dependencies

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

Dependencies returns the list of resources Resource depends_on.

func (*Resource) ImportState

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

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

func (*Resource) LifecycleManagement

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

LifecycleManagement returns the lifecycle block for Resource.

func (*Resource) LocalName

func (affc *Resource) LocalName() string

LocalName returns the local name for Resource.

func (*Resource) State

func (affc *Resource) State() (*awsFsxFileCacheState, bool)

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

func (*Resource) StateMust

func (affc *Resource) StateMust() *awsFsxFileCacheState

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

func (*Resource) Type

func (affc *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"`
}

Jump to

Keyboard shortcuts

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