aws_transfer_server

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 {
	// Certificate: string, optional
	Certificate terra.StringValue `hcl:"certificate,attr"`
	// DirectoryId: string, optional
	DirectoryId terra.StringValue `hcl:"directory_id,attr"`
	// Domain: string, optional
	Domain terra.StringValue `hcl:"domain,attr"`
	// EndpointType: string, optional
	EndpointType terra.StringValue `hcl:"endpoint_type,attr"`
	// ForceDestroy: bool, optional
	ForceDestroy terra.BoolValue `hcl:"force_destroy,attr"`
	// Function: string, optional
	Function terra.StringValue `hcl:"function,attr"`
	// HostKey: string, optional
	HostKey terra.StringValue `hcl:"host_key,attr"`
	// Id: string, optional
	Id terra.StringValue `hcl:"id,attr"`
	// IdentityProviderType: string, optional
	IdentityProviderType terra.StringValue `hcl:"identity_provider_type,attr"`
	// InvocationRole: string, optional
	InvocationRole terra.StringValue `hcl:"invocation_role,attr"`
	// LoggingRole: string, optional
	LoggingRole terra.StringValue `hcl:"logging_role,attr"`
	// PostAuthenticationLoginBanner: string, optional
	PostAuthenticationLoginBanner terra.StringValue `hcl:"post_authentication_login_banner,attr"`
	// PreAuthenticationLoginBanner: string, optional
	PreAuthenticationLoginBanner terra.StringValue `hcl:"pre_authentication_login_banner,attr"`
	// Protocols: set of string, optional
	Protocols terra.SetValue[terra.StringValue] `hcl:"protocols,attr"`
	// SecurityPolicyName: string, optional
	SecurityPolicyName terra.StringValue `hcl:"security_policy_name,attr"`
	// StructuredLogDestinations: set of string, optional
	StructuredLogDestinations terra.SetValue[terra.StringValue] `hcl:"structured_log_destinations,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"`
	// Url: string, optional
	Url terra.StringValue `hcl:"url,attr"`
	// EndpointDetails: optional
	EndpointDetails *EndpointDetails `hcl:"endpoint_details,block"`
	// ProtocolDetails: optional
	ProtocolDetails *ProtocolDetails `hcl:"protocol_details,block"`
	// S3StorageOptions: optional
	S3StorageOptions *S3StorageOptions `hcl:"s3_storage_options,block"`
	// WorkflowDetails: optional
	WorkflowDetails *WorkflowDetails `hcl:"workflow_details,block"`
}

Args contains the configurations for aws_transfer_server.

type DataArgs

type DataArgs struct {
	// Id: string, optional
	Id terra.StringValue `hcl:"id,attr"`
	// ServerId: string, required
	ServerId terra.StringValue `hcl:"server_id,attr" validate:"required"`
}

DataArgs contains the configurations for aws_transfer_server.

type DataSource

type DataSource struct {
	Name string
	Args DataArgs
}

DataSource represents the Terraform data resource aws_transfer_server.

func Data

func Data(name string, args DataArgs) *DataSource

Data creates a new instance of DataSource.

func (*DataSource) Attributes

func (ats *DataSource) Attributes() dataAwsTransferServerAttributes

Attributes returns the attributes for DataSource.

func (*DataSource) Configuration

func (ats *DataSource) Configuration() interface{}

Configuration returns the configuration (args) for DataSource.

func (*DataSource) DataSource

func (ats *DataSource) DataSource() string

DataSource returns the Terraform object type for DataSource.

func (*DataSource) LocalName

func (ats *DataSource) LocalName() string

LocalName returns the local name for DataSource.

type EndpointDetails

type EndpointDetails struct {
	// AddressAllocationIds: set of string, optional
	AddressAllocationIds terra.SetValue[terra.StringValue] `hcl:"address_allocation_ids,attr"`
	// SecurityGroupIds: set of string, optional
	SecurityGroupIds terra.SetValue[terra.StringValue] `hcl:"security_group_ids,attr"`
	// SubnetIds: set of string, optional
	SubnetIds terra.SetValue[terra.StringValue] `hcl:"subnet_ids,attr"`
	// VpcEndpointId: string, optional
	VpcEndpointId terra.StringValue `hcl:"vpc_endpoint_id,attr"`
	// VpcId: string, optional
	VpcId terra.StringValue `hcl:"vpc_id,attr"`
}

type EndpointDetailsAttributes

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

func (EndpointDetailsAttributes) AddressAllocationIds

func (ed EndpointDetailsAttributes) AddressAllocationIds() terra.SetValue[terra.StringValue]

func (EndpointDetailsAttributes) InternalRef

func (ed EndpointDetailsAttributes) InternalRef() (terra.Reference, error)

func (EndpointDetailsAttributes) InternalTokens

func (ed EndpointDetailsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (EndpointDetailsAttributes) InternalWithRef

func (EndpointDetailsAttributes) SecurityGroupIds

func (ed EndpointDetailsAttributes) SecurityGroupIds() terra.SetValue[terra.StringValue]

func (EndpointDetailsAttributes) SubnetIds

func (EndpointDetailsAttributes) VpcEndpointId

func (ed EndpointDetailsAttributes) VpcEndpointId() terra.StringValue

func (EndpointDetailsAttributes) VpcId

type EndpointDetailsState

type EndpointDetailsState struct {
	AddressAllocationIds []string `json:"address_allocation_ids"`
	SecurityGroupIds     []string `json:"security_group_ids"`
	SubnetIds            []string `json:"subnet_ids"`
	VpcEndpointId        string   `json:"vpc_endpoint_id"`
	VpcId                string   `json:"vpc_id"`
}

type ProtocolDetails

type ProtocolDetails struct {
	// As2Transports: set of string, optional
	As2Transports terra.SetValue[terra.StringValue] `hcl:"as2_transports,attr"`
	// PassiveIp: string, optional
	PassiveIp terra.StringValue `hcl:"passive_ip,attr"`
	// SetStatOption: string, optional
	SetStatOption terra.StringValue `hcl:"set_stat_option,attr"`
	// TlsSessionResumptionMode: string, optional
	TlsSessionResumptionMode terra.StringValue `hcl:"tls_session_resumption_mode,attr"`
}

type ProtocolDetailsAttributes

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

func (ProtocolDetailsAttributes) As2Transports

func (ProtocolDetailsAttributes) InternalRef

func (pd ProtocolDetailsAttributes) InternalRef() (terra.Reference, error)

func (ProtocolDetailsAttributes) InternalTokens

func (pd ProtocolDetailsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (ProtocolDetailsAttributes) InternalWithRef

func (ProtocolDetailsAttributes) PassiveIp

func (ProtocolDetailsAttributes) SetStatOption

func (pd ProtocolDetailsAttributes) SetStatOption() terra.StringValue

func (ProtocolDetailsAttributes) TlsSessionResumptionMode

func (pd ProtocolDetailsAttributes) TlsSessionResumptionMode() terra.StringValue

type ProtocolDetailsState

type ProtocolDetailsState struct {
	As2Transports            []string `json:"as2_transports"`
	PassiveIp                string   `json:"passive_ip"`
	SetStatOption            string   `json:"set_stat_option"`
	TlsSessionResumptionMode string   `json:"tls_session_resumption_mode"`
}

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

func New

func New(name string, args Args) *Resource

New creates a new instance of Resource.

func (*Resource) Attributes

func (ats *Resource) Attributes() awsTransferServerAttributes

Attributes returns the attributes for Resource.

func (*Resource) Configuration

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

Configuration returns the configuration (args) for Resource.

func (*Resource) DependOn

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

DependOn is used for other resources to depend on Resource.

func (*Resource) Dependencies

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

Dependencies returns the list of resources Resource depends_on.

func (*Resource) ImportState

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

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

func (*Resource) LifecycleManagement

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

LifecycleManagement returns the lifecycle block for Resource.

func (*Resource) LocalName

func (ats *Resource) LocalName() string

LocalName returns the local name for Resource.

func (*Resource) State

func (ats *Resource) State() (*awsTransferServerState, bool)

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

func (*Resource) StateMust

func (ats *Resource) StateMust() *awsTransferServerState

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

func (*Resource) Type

func (ats *Resource) Type() string

Type returns the Terraform object type for Resource.

type S3StorageOptions

type S3StorageOptions struct {
	// DirectoryListingOptimization: string, optional
	DirectoryListingOptimization terra.StringValue `hcl:"directory_listing_optimization,attr"`
}

type S3StorageOptionsAttributes

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

func (S3StorageOptionsAttributes) DirectoryListingOptimization

func (sso S3StorageOptionsAttributes) DirectoryListingOptimization() terra.StringValue

func (S3StorageOptionsAttributes) InternalRef

func (sso S3StorageOptionsAttributes) InternalRef() (terra.Reference, error)

func (S3StorageOptionsAttributes) InternalTokens

func (sso S3StorageOptionsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (S3StorageOptionsAttributes) InternalWithRef

type S3StorageOptionsState

type S3StorageOptionsState struct {
	DirectoryListingOptimization string `json:"directory_listing_optimization"`
}

type WorkflowDetails

type WorkflowDetails struct {
	// WorkflowDetailsOnPartialUpload: optional
	OnPartialUpload *WorkflowDetailsOnPartialUpload `hcl:"on_partial_upload,block"`
	// WorkflowDetailsOnUpload: optional
	OnUpload *WorkflowDetailsOnUpload `hcl:"on_upload,block"`
}

type WorkflowDetailsAttributes

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

func (WorkflowDetailsAttributes) InternalRef

func (wd WorkflowDetailsAttributes) InternalRef() (terra.Reference, error)

func (WorkflowDetailsAttributes) InternalTokens

func (wd WorkflowDetailsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (WorkflowDetailsAttributes) InternalWithRef

func (WorkflowDetailsAttributes) OnPartialUpload

func (WorkflowDetailsAttributes) OnUpload

type WorkflowDetailsOnPartialUpload

type WorkflowDetailsOnPartialUpload struct {
	// ExecutionRole: string, required
	ExecutionRole terra.StringValue `hcl:"execution_role,attr" validate:"required"`
	// WorkflowId: string, required
	WorkflowId terra.StringValue `hcl:"workflow_id,attr" validate:"required"`
}

type WorkflowDetailsOnPartialUploadAttributes

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

func (WorkflowDetailsOnPartialUploadAttributes) ExecutionRole

func (WorkflowDetailsOnPartialUploadAttributes) InternalRef

func (WorkflowDetailsOnPartialUploadAttributes) InternalTokens

func (WorkflowDetailsOnPartialUploadAttributes) InternalWithRef

func (WorkflowDetailsOnPartialUploadAttributes) WorkflowId

type WorkflowDetailsOnPartialUploadState

type WorkflowDetailsOnPartialUploadState struct {
	ExecutionRole string `json:"execution_role"`
	WorkflowId    string `json:"workflow_id"`
}

type WorkflowDetailsOnUpload

type WorkflowDetailsOnUpload struct {
	// ExecutionRole: string, required
	ExecutionRole terra.StringValue `hcl:"execution_role,attr" validate:"required"`
	// WorkflowId: string, required
	WorkflowId terra.StringValue `hcl:"workflow_id,attr" validate:"required"`
}

type WorkflowDetailsOnUploadAttributes

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

func (WorkflowDetailsOnUploadAttributes) ExecutionRole

func (WorkflowDetailsOnUploadAttributes) InternalRef

func (WorkflowDetailsOnUploadAttributes) InternalTokens

func (ou WorkflowDetailsOnUploadAttributes) InternalTokens() (hclwrite.Tokens, error)

func (WorkflowDetailsOnUploadAttributes) InternalWithRef

func (WorkflowDetailsOnUploadAttributes) WorkflowId

type WorkflowDetailsOnUploadState

type WorkflowDetailsOnUploadState struct {
	ExecutionRole string `json:"execution_role"`
	WorkflowId    string `json:"workflow_id"`
}

type WorkflowDetailsState

type WorkflowDetailsState struct {
	OnPartialUpload []WorkflowDetailsOnPartialUploadState `json:"on_partial_upload"`
	OnUpload        []WorkflowDetailsOnUploadState        `json:"on_upload"`
}

Jump to

Keyboard shortcuts

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