aws_transfer_server

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 {
	// 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"`
	// 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"`
	// 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 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 WorkflowDetails

type WorkflowDetails struct {
	// 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) OnUpload

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 {
	OnUpload []WorkflowDetailsOnUploadState `json:"on_upload"`
}

Jump to

Keyboard shortcuts

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