aws_datasync_location_hdfs

package
v5.45.0 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 {
	// AgentArns: set of string, required
	AgentArns terra.SetValue[terra.StringValue] `hcl:"agent_arns,attr" validate:"required"`
	// AuthenticationType: string, optional
	AuthenticationType terra.StringValue `hcl:"authentication_type,attr"`
	// BlockSize: number, optional
	BlockSize terra.NumberValue `hcl:"block_size,attr"`
	// Id: string, optional
	Id terra.StringValue `hcl:"id,attr"`
	// KerberosKeytab: string, optional
	KerberosKeytab terra.StringValue `hcl:"kerberos_keytab,attr"`
	// KerberosKrb5Conf: string, optional
	KerberosKrb5Conf terra.StringValue `hcl:"kerberos_krb5_conf,attr"`
	// KerberosPrincipal: string, optional
	KerberosPrincipal terra.StringValue `hcl:"kerberos_principal,attr"`
	// KmsKeyProviderUri: string, optional
	KmsKeyProviderUri terra.StringValue `hcl:"kms_key_provider_uri,attr"`
	// ReplicationFactor: number, optional
	ReplicationFactor terra.NumberValue `hcl:"replication_factor,attr"`
	// SimpleUser: string, optional
	SimpleUser terra.StringValue `hcl:"simple_user,attr"`
	// 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"`
	// NameNode: min=1
	NameNode []NameNode `hcl:"name_node,block" validate:"min=1"`
	// QopConfiguration: optional
	QopConfiguration *QopConfiguration `hcl:"qop_configuration,block"`
}

Args contains the configurations for aws_datasync_location_hdfs.

type NameNode

type NameNode struct {
	// Hostname: string, required
	Hostname terra.StringValue `hcl:"hostname,attr" validate:"required"`
	// Port: number, required
	Port terra.NumberValue `hcl:"port,attr" validate:"required"`
}

type NameNodeAttributes

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

func (NameNodeAttributes) Hostname

func (nn NameNodeAttributes) Hostname() terra.StringValue

func (NameNodeAttributes) InternalRef

func (nn NameNodeAttributes) InternalRef() (terra.Reference, error)

func (NameNodeAttributes) InternalTokens

func (nn NameNodeAttributes) InternalTokens() (hclwrite.Tokens, error)

func (NameNodeAttributes) InternalWithRef

func (nn NameNodeAttributes) InternalWithRef(ref terra.Reference) NameNodeAttributes

func (NameNodeAttributes) Port

type NameNodeState

type NameNodeState struct {
	Hostname string  `json:"hostname"`
	Port     float64 `json:"port"`
}

type QopConfiguration

type QopConfiguration struct {
	// DataTransferProtection: string, optional
	DataTransferProtection terra.StringValue `hcl:"data_transfer_protection,attr"`
	// RpcProtection: string, optional
	RpcProtection terra.StringValue `hcl:"rpc_protection,attr"`
}

type QopConfigurationAttributes

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

func (QopConfigurationAttributes) DataTransferProtection

func (qc QopConfigurationAttributes) DataTransferProtection() terra.StringValue

func (QopConfigurationAttributes) InternalRef

func (qc QopConfigurationAttributes) InternalRef() (terra.Reference, error)

func (QopConfigurationAttributes) InternalTokens

func (qc QopConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error)

func (QopConfigurationAttributes) InternalWithRef

func (QopConfigurationAttributes) RpcProtection

func (qc QopConfigurationAttributes) RpcProtection() terra.StringValue

type QopConfigurationState

type QopConfigurationState struct {
	DataTransferProtection string `json:"data_transfer_protection"`
	RpcProtection          string `json:"rpc_protection"`
}

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

func New

func New(name string, args Args) *Resource

New creates a new instance of Resource.

func (*Resource) Attributes

func (adlh *Resource) Attributes() awsDatasyncLocationHdfsAttributes

Attributes returns the attributes for Resource.

func (*Resource) Configuration

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

Configuration returns the configuration (args) for Resource.

func (*Resource) DependOn

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

DependOn is used for other resources to depend on Resource.

func (*Resource) Dependencies

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

Dependencies returns the list of resources Resource depends_on.

func (*Resource) ImportState

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

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

func (*Resource) LifecycleManagement

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

LifecycleManagement returns the lifecycle block for Resource.

func (*Resource) LocalName

func (adlh *Resource) LocalName() string

LocalName returns the local name for Resource.

func (*Resource) State

func (adlh *Resource) State() (*awsDatasyncLocationHdfsState, bool)

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

func (*Resource) StateMust

func (adlh *Resource) StateMust() *awsDatasyncLocationHdfsState

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

func (*Resource) Type

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