aws_datasync_location_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 {
	// FsxFilesystemArn: string, required
	FsxFilesystemArn terra.StringValue `hcl:"fsx_filesystem_arn,attr" validate:"required"`
	// Id: string, optional
	Id terra.StringValue `hcl:"id,attr"`
	// SecurityGroupArns: set of string, required
	SecurityGroupArns terra.SetValue[terra.StringValue] `hcl:"security_group_arns,attr" validate:"required"`
	// Subdirectory: string, optional
	Subdirectory terra.StringValue `hcl:"subdirectory,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"`
	// Protocol: required
	Protocol *Protocol `hcl:"protocol,block" validate:"required"`
}

Args contains the configurations for aws_datasync_location_fsx_openzfs_file_system.

type Protocol

type Protocol struct {
	// ProtocolNfs: required
	Nfs *ProtocolNfs `hcl:"nfs,block" validate:"required"`
}

type ProtocolAttributes

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

func (ProtocolAttributes) InternalRef

func (p ProtocolAttributes) InternalRef() (terra.Reference, error)

func (ProtocolAttributes) InternalTokens

func (p ProtocolAttributes) InternalTokens() (hclwrite.Tokens, error)

func (ProtocolAttributes) InternalWithRef

func (p ProtocolAttributes) InternalWithRef(ref terra.Reference) ProtocolAttributes

func (ProtocolAttributes) Nfs

type ProtocolNfs

type ProtocolNfs struct {
	// ProtocolNfsMountOptions: required
	MountOptions *ProtocolNfsMountOptions `hcl:"mount_options,block" validate:"required"`
}

type ProtocolNfsAttributes

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

func (ProtocolNfsAttributes) InternalRef

func (n ProtocolNfsAttributes) InternalRef() (terra.Reference, error)

func (ProtocolNfsAttributes) InternalTokens

func (n ProtocolNfsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (ProtocolNfsAttributes) InternalWithRef

func (ProtocolNfsAttributes) MountOptions

type ProtocolNfsMountOptions

type ProtocolNfsMountOptions struct {
	// Version: string, optional
	Version terra.StringValue `hcl:"version,attr"`
}

type ProtocolNfsMountOptionsAttributes

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

func (ProtocolNfsMountOptionsAttributes) InternalRef

func (ProtocolNfsMountOptionsAttributes) InternalTokens

func (mo ProtocolNfsMountOptionsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (ProtocolNfsMountOptionsAttributes) InternalWithRef

func (ProtocolNfsMountOptionsAttributes) Version

type ProtocolNfsMountOptionsState

type ProtocolNfsMountOptionsState struct {
	Version string `json:"version"`
}

type ProtocolNfsState

type ProtocolNfsState struct {
	MountOptions []ProtocolNfsMountOptionsState `json:"mount_options"`
}

type ProtocolState

type ProtocolState struct {
	Nfs []ProtocolNfsState `json:"nfs"`
}

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

func New

func New(name string, args Args) *Resource

New creates a new instance of Resource.

func (*Resource) Attributes

func (adlfofs *Resource) Attributes() awsDatasyncLocationFsxOpenzfsFileSystemAttributes

Attributes returns the attributes for Resource.

func (*Resource) Configuration

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

Configuration returns the configuration (args) for Resource.

func (*Resource) DependOn

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

DependOn is used for other resources to depend on Resource.

func (*Resource) Dependencies

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

Dependencies returns the list of resources Resource depends_on.

func (*Resource) ImportState

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

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

func (*Resource) LifecycleManagement

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

LifecycleManagement returns the lifecycle block for Resource.

func (*Resource) LocalName

func (adlfofs *Resource) LocalName() string

LocalName returns the local name for Resource.

func (*Resource) State

func (adlfofs *Resource) State() (*awsDatasyncLocationFsxOpenzfsFileSystemState, bool)

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

func (*Resource) StateMust

func (adlfofs *Resource) StateMust() *awsDatasyncLocationFsxOpenzfsFileSystemState

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

func (*Resource) Type

func (adlfofs *Resource) Type() string

Type returns the Terraform object type for Resource.

Jump to

Keyboard shortcuts

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