Documentation
¶
Index ¶
- type Args
- type DataRepositoryAssociation
- type DataRepositoryAssociationAttributes
- func (dra DataRepositoryAssociationAttributes) AssociationId() terra.StringValue
- func (dra DataRepositoryAssociationAttributes) DataRepositoryPath() terra.StringValue
- func (dra DataRepositoryAssociationAttributes) DataRepositorySubdirectories() terra.SetValue[terra.StringValue]
- func (dra DataRepositoryAssociationAttributes) FileCacheId() terra.StringValue
- func (dra DataRepositoryAssociationAttributes) FileCachePath() terra.StringValue
- func (dra DataRepositoryAssociationAttributes) FileSystemId() terra.StringValue
- func (dra DataRepositoryAssociationAttributes) FileSystemPath() terra.StringValue
- func (dra DataRepositoryAssociationAttributes) ImportedFileChunkSize() terra.NumberValue
- func (dra DataRepositoryAssociationAttributes) InternalRef() (terra.Reference, error)
- func (dra DataRepositoryAssociationAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (dra DataRepositoryAssociationAttributes) InternalWithRef(ref terra.Reference) DataRepositoryAssociationAttributes
- func (dra DataRepositoryAssociationAttributes) Nfs() terra.SetValue[DataRepositoryAssociationNfsAttributes]
- func (dra DataRepositoryAssociationAttributes) ResourceArn() terra.StringValue
- func (dra DataRepositoryAssociationAttributes) Tags() terra.MapValue[terra.StringValue]
- type DataRepositoryAssociationNfs
- type DataRepositoryAssociationNfsAttributes
- func (n DataRepositoryAssociationNfsAttributes) DnsIps() terra.SetValue[terra.StringValue]
- func (n DataRepositoryAssociationNfsAttributes) InternalRef() (terra.Reference, error)
- func (n DataRepositoryAssociationNfsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (n DataRepositoryAssociationNfsAttributes) InternalWithRef(ref terra.Reference) DataRepositoryAssociationNfsAttributes
- func (n DataRepositoryAssociationNfsAttributes) Version() terra.StringValue
- type DataRepositoryAssociationNfsState
- type DataRepositoryAssociationState
- type LustreConfiguration
- type LustreConfigurationAttributes
- func (lc LustreConfigurationAttributes) DeploymentType() terra.StringValue
- func (lc LustreConfigurationAttributes) InternalRef() (terra.Reference, error)
- func (lc LustreConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (lc LustreConfigurationAttributes) InternalWithRef(ref terra.Reference) LustreConfigurationAttributes
- func (lc LustreConfigurationAttributes) LogConfiguration() terra.SetValue[LustreConfigurationLogConfigurationAttributes]
- func (lc LustreConfigurationAttributes) MetadataConfiguration() terra.SetValue[LustreConfigurationMetadataConfigurationAttributes]
- func (lc LustreConfigurationAttributes) MountName() terra.StringValue
- func (lc LustreConfigurationAttributes) PerUnitStorageThroughput() terra.NumberValue
- func (lc LustreConfigurationAttributes) WeeklyMaintenanceStartTime() terra.StringValue
- type LustreConfigurationLogConfigurationAttributes
- func (lc LustreConfigurationLogConfigurationAttributes) Destination() terra.StringValue
- func (lc LustreConfigurationLogConfigurationAttributes) InternalRef() (terra.Reference, error)
- func (lc LustreConfigurationLogConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (lc LustreConfigurationLogConfigurationAttributes) InternalWithRef(ref terra.Reference) LustreConfigurationLogConfigurationAttributes
- func (lc LustreConfigurationLogConfigurationAttributes) Level() terra.StringValue
- type LustreConfigurationLogConfigurationState
- type LustreConfigurationMetadataConfiguration
- type LustreConfigurationMetadataConfigurationAttributes
- func (mc LustreConfigurationMetadataConfigurationAttributes) InternalRef() (terra.Reference, error)
- func (mc LustreConfigurationMetadataConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (mc LustreConfigurationMetadataConfigurationAttributes) InternalWithRef(ref terra.Reference) LustreConfigurationMetadataConfigurationAttributes
- func (mc LustreConfigurationMetadataConfigurationAttributes) StorageCapacity() terra.NumberValue
- type LustreConfigurationMetadataConfigurationState
- type LustreConfigurationState
- type Resource
- func (affc *Resource) Attributes() awsFsxFileCacheAttributes
- func (affc *Resource) Configuration() interface{}
- func (affc *Resource) DependOn() terra.Reference
- func (affc *Resource) Dependencies() terra.Dependencies
- func (affc *Resource) ImportState(state io.Reader) error
- func (affc *Resource) LifecycleManagement() *terra.Lifecycle
- func (affc *Resource) LocalName() string
- func (affc *Resource) State() (*awsFsxFileCacheState, bool)
- func (affc *Resource) StateMust() *awsFsxFileCacheState
- func (affc *Resource) Type() string
- type Timeouts
- type TimeoutsAttributes
- func (t TimeoutsAttributes) Create() terra.StringValue
- func (t TimeoutsAttributes) Delete() terra.StringValue
- func (t TimeoutsAttributes) InternalRef() (terra.Reference, error)
- func (t TimeoutsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (t TimeoutsAttributes) InternalWithRef(ref terra.Reference) TimeoutsAttributes
- func (t TimeoutsAttributes) Update() terra.StringValue
- type TimeoutsState
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 (dra DataRepositoryAssociationAttributes) AssociationId() terra.StringValue
func (DataRepositoryAssociationAttributes) DataRepositoryPath ¶
func (dra DataRepositoryAssociationAttributes) DataRepositoryPath() terra.StringValue
func (DataRepositoryAssociationAttributes) DataRepositorySubdirectories ¶
func (dra DataRepositoryAssociationAttributes) DataRepositorySubdirectories() terra.SetValue[terra.StringValue]
func (DataRepositoryAssociationAttributes) FileCacheId ¶
func (dra DataRepositoryAssociationAttributes) FileCacheId() terra.StringValue
func (DataRepositoryAssociationAttributes) FileCachePath ¶
func (dra DataRepositoryAssociationAttributes) FileCachePath() terra.StringValue
func (DataRepositoryAssociationAttributes) FileSystemId ¶
func (dra DataRepositoryAssociationAttributes) FileSystemId() terra.StringValue
func (DataRepositoryAssociationAttributes) FileSystemPath ¶
func (dra DataRepositoryAssociationAttributes) FileSystemPath() terra.StringValue
func (DataRepositoryAssociationAttributes) ImportedFileChunkSize ¶
func (dra DataRepositoryAssociationAttributes) ImportedFileChunkSize() terra.NumberValue
func (DataRepositoryAssociationAttributes) InternalRef ¶
func (dra DataRepositoryAssociationAttributes) InternalRef() (terra.Reference, error)
func (DataRepositoryAssociationAttributes) InternalTokens ¶
func (dra DataRepositoryAssociationAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataRepositoryAssociationAttributes) InternalWithRef ¶
func (dra DataRepositoryAssociationAttributes) InternalWithRef(ref terra.Reference) DataRepositoryAssociationAttributes
func (DataRepositoryAssociationAttributes) ResourceArn ¶
func (dra DataRepositoryAssociationAttributes) ResourceArn() terra.StringValue
func (DataRepositoryAssociationAttributes) Tags ¶
func (dra DataRepositoryAssociationAttributes) Tags() terra.MapValue[terra.StringValue]
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 (n DataRepositoryAssociationNfsAttributes) DnsIps() terra.SetValue[terra.StringValue]
func (DataRepositoryAssociationNfsAttributes) InternalRef ¶
func (n DataRepositoryAssociationNfsAttributes) InternalRef() (terra.Reference, error)
func (DataRepositoryAssociationNfsAttributes) InternalTokens ¶
func (n DataRepositoryAssociationNfsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataRepositoryAssociationNfsAttributes) InternalWithRef ¶
func (n DataRepositoryAssociationNfsAttributes) InternalWithRef(ref terra.Reference) DataRepositoryAssociationNfsAttributes
func (DataRepositoryAssociationNfsAttributes) Version ¶
func (n DataRepositoryAssociationNfsAttributes) Version() terra.StringValue
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 (lc LustreConfigurationAttributes) InternalWithRef(ref terra.Reference) LustreConfigurationAttributes
func (LustreConfigurationAttributes) LogConfiguration ¶
func (lc LustreConfigurationAttributes) LogConfiguration() terra.SetValue[LustreConfigurationLogConfigurationAttributes]
func (LustreConfigurationAttributes) MetadataConfiguration ¶
func (lc LustreConfigurationAttributes) MetadataConfiguration() terra.SetValue[LustreConfigurationMetadataConfigurationAttributes]
func (LustreConfigurationAttributes) MountName ¶
func (lc LustreConfigurationAttributes) MountName() terra.StringValue
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 (lc LustreConfigurationLogConfigurationAttributes) Destination() terra.StringValue
func (LustreConfigurationLogConfigurationAttributes) InternalRef ¶
func (lc LustreConfigurationLogConfigurationAttributes) InternalRef() (terra.Reference, error)
func (LustreConfigurationLogConfigurationAttributes) InternalTokens ¶
func (lc LustreConfigurationLogConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error)
func (LustreConfigurationLogConfigurationAttributes) InternalWithRef ¶
func (lc LustreConfigurationLogConfigurationAttributes) InternalWithRef(ref terra.Reference) LustreConfigurationLogConfigurationAttributes
func (LustreConfigurationLogConfigurationAttributes) Level ¶
func (lc LustreConfigurationLogConfigurationAttributes) Level() terra.StringValue
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 (mc LustreConfigurationMetadataConfigurationAttributes) InternalRef() (terra.Reference, error)
func (LustreConfigurationMetadataConfigurationAttributes) InternalTokens ¶
func (mc LustreConfigurationMetadataConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error)
func (LustreConfigurationMetadataConfigurationAttributes) InternalWithRef ¶
func (mc LustreConfigurationMetadataConfigurationAttributes) InternalWithRef(ref terra.Reference) LustreConfigurationMetadataConfigurationAttributes
func (LustreConfigurationMetadataConfigurationAttributes) StorageCapacity ¶
func (mc LustreConfigurationMetadataConfigurationAttributes) StorageCapacity() terra.NumberValue
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 (*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) Dependencies ¶
func (affc *Resource) Dependencies() terra.Dependencies
Dependencies returns the list of resources Resource depends_on.
func (*Resource) ImportState ¶
ImportState imports the given attribute values into Resource's state.
func (*Resource) LifecycleManagement ¶
LifecycleManagement returns the lifecycle block 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 (t TimeoutsAttributes) Create() terra.StringValue
func (TimeoutsAttributes) Delete ¶
func (t TimeoutsAttributes) Delete() terra.StringValue
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 ¶
func (t TimeoutsAttributes) Update() terra.StringValue
type TimeoutsState ¶
Click to show internal directories.
Click to hide internal directories.