aws_datasync_location_fsx_ontap_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 {
	// 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"`
	// StorageVirtualMachineArn: string, required
	StorageVirtualMachineArn terra.StringValue `hcl:"storage_virtual_machine_arn,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_ontap_file_system.

type Protocol

type Protocol struct {
	// ProtocolNfs: optional
	Nfs *ProtocolNfs `hcl:"nfs,block"`
	// ProtocolSmb: optional
	Smb *ProtocolSmb `hcl:"smb,block"`
}

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

func (ProtocolAttributes) Smb

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 ProtocolSmb

type ProtocolSmb struct {
	// Domain: string, optional
	Domain terra.StringValue `hcl:"domain,attr"`
	// Password: string, required
	Password terra.StringValue `hcl:"password,attr" validate:"required"`
	// User: string, required
	User terra.StringValue `hcl:"user,attr" validate:"required"`
	// ProtocolSmbMountOptions: required
	MountOptions *ProtocolSmbMountOptions `hcl:"mount_options,block" validate:"required"`
}

type ProtocolSmbAttributes

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

func (ProtocolSmbAttributes) Domain

func (ProtocolSmbAttributes) InternalRef

func (s ProtocolSmbAttributes) InternalRef() (terra.Reference, error)

func (ProtocolSmbAttributes) InternalTokens

func (s ProtocolSmbAttributes) InternalTokens() (hclwrite.Tokens, error)

func (ProtocolSmbAttributes) InternalWithRef

func (ProtocolSmbAttributes) MountOptions

func (ProtocolSmbAttributes) Password

func (ProtocolSmbAttributes) User

type ProtocolSmbMountOptions

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

type ProtocolSmbMountOptionsAttributes

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

func (ProtocolSmbMountOptionsAttributes) InternalRef

func (ProtocolSmbMountOptionsAttributes) InternalTokens

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

func (ProtocolSmbMountOptionsAttributes) InternalWithRef

func (ProtocolSmbMountOptionsAttributes) Version

type ProtocolSmbMountOptionsState

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

type ProtocolSmbState

type ProtocolSmbState struct {
	Domain       string                         `json:"domain"`
	Password     string                         `json:"password"`
	User         string                         `json:"user"`
	MountOptions []ProtocolSmbMountOptionsState `json:"mount_options"`
}

type ProtocolState

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

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_ontap_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() awsDatasyncLocationFsxOntapFileSystemAttributes

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() (*awsDatasyncLocationFsxOntapFileSystemState, bool)

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

func (*Resource) StateMust

func (adlfofs *Resource) StateMust() *awsDatasyncLocationFsxOntapFileSystemState

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