aws_storagegateway_nfs_file_share

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 {
	// 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: string, optional
	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: optional
	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

type CacheAttributesState

type CacheAttributesState struct {
	CacheStaleTimeoutInSeconds float64 `json:"cache_stale_timeout_in_seconds"`
}

type NfsFileShareDefaults

type NfsFileShareDefaults struct {
	// DirectoryMode: string, optional
	DirectoryMode terra.StringValue `hcl:"directory_mode,attr"`
	// FileMode: string, optional
	FileMode terra.StringValue `hcl:"file_mode,attr"`
	// GroupId: string, optional
	GroupId terra.StringValue `hcl:"group_id,attr"`
	// OwnerId: string, optional
	OwnerId terra.StringValue `hcl:"owner_id,attr"`
}

type NfsFileShareDefaultsAttributes

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

func (NfsFileShareDefaultsAttributes) DirectoryMode

func (nfsd NfsFileShareDefaultsAttributes) DirectoryMode() terra.StringValue

func (NfsFileShareDefaultsAttributes) FileMode

func (NfsFileShareDefaultsAttributes) GroupId

func (NfsFileShareDefaultsAttributes) InternalRef

func (nfsd NfsFileShareDefaultsAttributes) InternalRef() (terra.Reference, error)

func (NfsFileShareDefaultsAttributes) InternalTokens

func (nfsd NfsFileShareDefaultsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (NfsFileShareDefaultsAttributes) InternalWithRef

func (NfsFileShareDefaultsAttributes) OwnerId

type NfsFileShareDefaultsState

type NfsFileShareDefaultsState struct {
	DirectoryMode string `json:"directory_mode"`
	FileMode      string `json:"file_mode"`
	GroupId       string `json:"group_id"`
	OwnerId       string `json:"owner_id"`
}

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 New

func New(name string, args Args) *Resource

New creates a new instance of Resource.

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) DependOn

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

DependOn is used for other resources to depend on Resource.

func (*Resource) Dependencies

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

Dependencies returns the list of resources Resource depends_on.

func (*Resource) ImportState

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

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

func (*Resource) LifecycleManagement

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

LifecycleManagement returns the lifecycle block for Resource.

func (*Resource) LocalName

func (asnfs *Resource) LocalName() string

LocalName returns the local name for Resource.

func (*Resource) State

func (asnfs *Resource) State() (*awsStoragegatewayNfsFileShareState, bool)

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

func (*Resource) StateMust

func (asnfs *Resource) StateMust() *awsStoragegatewayNfsFileShareState

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

func (*Resource) Type

func (asnfs *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