Documentation ¶
Index ¶
- type Args
- type CacheAttributes
- type CacheAttributesAttributes
- func (ca CacheAttributesAttributes) CacheStaleTimeoutInSeconds() terra.NumberValue
- func (ca CacheAttributesAttributes) InternalRef() (terra.Reference, error)
- func (ca CacheAttributesAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (ca CacheAttributesAttributes) InternalWithRef(ref terra.Reference) CacheAttributesAttributes
- type CacheAttributesState
- type NfsFileShareDefaults
- type NfsFileShareDefaultsAttributes
- func (nfsd NfsFileShareDefaultsAttributes) DirectoryMode() terra.StringValue
- func (nfsd NfsFileShareDefaultsAttributes) FileMode() terra.StringValue
- func (nfsd NfsFileShareDefaultsAttributes) GroupId() terra.StringValue
- func (nfsd NfsFileShareDefaultsAttributes) InternalRef() (terra.Reference, error)
- func (nfsd NfsFileShareDefaultsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (nfsd NfsFileShareDefaultsAttributes) InternalWithRef(ref terra.Reference) NfsFileShareDefaultsAttributes
- func (nfsd NfsFileShareDefaultsAttributes) OwnerId() terra.StringValue
- type NfsFileShareDefaultsState
- type Resource
- func (asnfs *Resource) Attributes() awsStoragegatewayNfsFileShareAttributes
- func (asnfs *Resource) Configuration() interface{}
- func (asnfs *Resource) DependOn() terra.Reference
- func (asnfs *Resource) Dependencies() terra.Dependencies
- func (asnfs *Resource) ImportState(state io.Reader) error
- func (asnfs *Resource) LifecycleManagement() *terra.Lifecycle
- func (asnfs *Resource) LocalName() string
- func (asnfs *Resource) State() (*awsStoragegatewayNfsFileShareState, bool)
- func (asnfs *Resource) StateMust() *awsStoragegatewayNfsFileShareState
- func (asnfs *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 { // AuditDestinationArn: string, optional AuditDestinationArn terra.StringValue `hcl:"audit_destination_arn,attr"` // BucketRegion: string, optional BucketRegion terra.StringValue `hcl:"bucket_region,attr"` // ClientList: set of string, required ClientList terra.SetValue[terra.StringValue] `hcl:"client_list,attr" validate:"required"` // DefaultStorageClass: string, optional DefaultStorageClass terra.StringValue `hcl:"default_storage_class,attr"` FileShareName terra.StringValue `hcl:"file_share_name,attr"` // GatewayArn: string, required GatewayArn terra.StringValue `hcl:"gateway_arn,attr" validate:"required"` // GuessMimeTypeEnabled: bool, optional GuessMimeTypeEnabled terra.BoolValue `hcl:"guess_mime_type_enabled,attr"` // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // KmsEncrypted: bool, optional KmsEncrypted terra.BoolValue `hcl:"kms_encrypted,attr"` // KmsKeyArn: string, optional KmsKeyArn terra.StringValue `hcl:"kms_key_arn,attr"` // LocationArn: string, required LocationArn terra.StringValue `hcl:"location_arn,attr" validate:"required"` // NotificationPolicy: string, optional NotificationPolicy terra.StringValue `hcl:"notification_policy,attr"` // ObjectAcl: string, optional ObjectAcl terra.StringValue `hcl:"object_acl,attr"` // ReadOnly: bool, optional ReadOnly terra.BoolValue `hcl:"read_only,attr"` // RequesterPays: bool, optional RequesterPays terra.BoolValue `hcl:"requester_pays,attr"` // RoleArn: string, required RoleArn terra.StringValue `hcl:"role_arn,attr" validate:"required"` // Squash: string, optional Squash terra.StringValue `hcl:"squash,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"` // VpcEndpointDnsName: string, optional VpcEndpointDnsName terra.StringValue `hcl:"vpc_endpoint_dns_name,attr"` // CacheAttributes: optional CacheAttributes *CacheAttributes `hcl:"cache_attributes,block"` NfsFileShareDefaults *NfsFileShareDefaults `hcl:"nfs_file_share_defaults,block"` // Timeouts: optional Timeouts *Timeouts `hcl:"timeouts,block"` }
Args contains the configurations for aws_storagegateway_nfs_file_share.
type CacheAttributes ¶
type CacheAttributes struct { // CacheStaleTimeoutInSeconds: number, optional CacheStaleTimeoutInSeconds terra.NumberValue `hcl:"cache_stale_timeout_in_seconds,attr"` }
type CacheAttributesAttributes ¶
type CacheAttributesAttributes struct {
// contains filtered or unexported fields
}
func (CacheAttributesAttributes) CacheStaleTimeoutInSeconds ¶
func (ca CacheAttributesAttributes) CacheStaleTimeoutInSeconds() terra.NumberValue
func (CacheAttributesAttributes) InternalRef ¶
func (ca CacheAttributesAttributes) InternalRef() (terra.Reference, error)
func (CacheAttributesAttributes) InternalTokens ¶
func (ca CacheAttributesAttributes) InternalTokens() (hclwrite.Tokens, error)
func (CacheAttributesAttributes) InternalWithRef ¶
func (ca CacheAttributesAttributes) InternalWithRef(ref terra.Reference) CacheAttributesAttributes
type CacheAttributesState ¶
type CacheAttributesState struct {
CacheStaleTimeoutInSeconds float64 `json:"cache_stale_timeout_in_seconds"`
}
type NfsFileShareDefaults ¶
type NfsFileShareDefaults struct { terra.StringValue `hcl:"directory_mode,attr"` FileMode terra.StringValue `hcl:"file_mode,attr"` GroupId terra.StringValue `hcl:"group_id,attr"` OwnerId terra.StringValue `hcl:"owner_id,attr"` }DirectoryMode
type NfsFileShareDefaultsAttributes ¶
type NfsFileShareDefaultsAttributes struct {
// contains filtered or unexported fields
}
func (NfsFileShareDefaultsAttributes) DirectoryMode ¶
func (nfsd NfsFileShareDefaultsAttributes) DirectoryMode() terra.StringValue
func (NfsFileShareDefaultsAttributes) FileMode ¶
func (nfsd NfsFileShareDefaultsAttributes) FileMode() terra.StringValue
func (NfsFileShareDefaultsAttributes) GroupId ¶
func (nfsd NfsFileShareDefaultsAttributes) GroupId() terra.StringValue
func (NfsFileShareDefaultsAttributes) InternalRef ¶
func (nfsd NfsFileShareDefaultsAttributes) InternalRef() (terra.Reference, error)
func (NfsFileShareDefaultsAttributes) InternalTokens ¶
func (nfsd NfsFileShareDefaultsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (NfsFileShareDefaultsAttributes) InternalWithRef ¶
func (nfsd NfsFileShareDefaultsAttributes) InternalWithRef(ref terra.Reference) NfsFileShareDefaultsAttributes
func (NfsFileShareDefaultsAttributes) OwnerId ¶
func (nfsd NfsFileShareDefaultsAttributes) OwnerId() terra.StringValue
type NfsFileShareDefaultsState ¶
type NfsFileShareDefaultsState struct {}
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_storagegateway_nfs_file_share.
func (*Resource) Attributes ¶
func (asnfs *Resource) Attributes() awsStoragegatewayNfsFileShareAttributes
Attributes returns the attributes for Resource.
func (*Resource) Configuration ¶
func (asnfs *Resource) Configuration() interface{}
Configuration returns the configuration (args) for Resource.
func (*Resource) Dependencies ¶
func (asnfs *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.