Documentation ¶
Index ¶
- type Args
- type DataArgs
- type DataSource
- type EndpointDetails
- type EndpointDetailsAttributes
- func (ed EndpointDetailsAttributes) AddressAllocationIds() terra.SetValue[terra.StringValue]
- func (ed EndpointDetailsAttributes) InternalRef() (terra.Reference, error)
- func (ed EndpointDetailsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (ed EndpointDetailsAttributes) InternalWithRef(ref terra.Reference) EndpointDetailsAttributes
- func (ed EndpointDetailsAttributes) SecurityGroupIds() terra.SetValue[terra.StringValue]
- func (ed EndpointDetailsAttributes) SubnetIds() terra.SetValue[terra.StringValue]
- func (ed EndpointDetailsAttributes) VpcEndpointId() terra.StringValue
- func (ed EndpointDetailsAttributes) VpcId() terra.StringValue
- type EndpointDetailsState
- type Resource
- func (ats *Resource) Attributes() awsTransferServerAttributes
- func (ats *Resource) Configuration() interface{}
- func (ats *Resource) DependOn() terra.Reference
- func (ats *Resource) Dependencies() terra.Dependencies
- func (ats *Resource) ImportState(state io.Reader) error
- func (ats *Resource) LifecycleManagement() *terra.Lifecycle
- func (ats *Resource) LocalName() string
- func (ats *Resource) State() (*awsTransferServerState, bool)
- func (ats *Resource) StateMust() *awsTransferServerState
- func (ats *Resource) Type() string
- type WorkflowDetails
- type WorkflowDetailsAttributes
- func (wd WorkflowDetailsAttributes) InternalRef() (terra.Reference, error)
- func (wd WorkflowDetailsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (wd WorkflowDetailsAttributes) InternalWithRef(ref terra.Reference) WorkflowDetailsAttributes
- func (wd WorkflowDetailsAttributes) OnUpload() terra.ListValue[WorkflowDetailsOnUploadAttributes]
- type WorkflowDetailsOnUpload
- type WorkflowDetailsOnUploadAttributes
- func (ou WorkflowDetailsOnUploadAttributes) ExecutionRole() terra.StringValue
- func (ou WorkflowDetailsOnUploadAttributes) InternalRef() (terra.Reference, error)
- func (ou WorkflowDetailsOnUploadAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (ou WorkflowDetailsOnUploadAttributes) InternalWithRef(ref terra.Reference) WorkflowDetailsOnUploadAttributes
- func (ou WorkflowDetailsOnUploadAttributes) WorkflowId() terra.StringValue
- type WorkflowDetailsOnUploadState
- type WorkflowDetailsState
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 ¶
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 (ed EndpointDetailsAttributes) InternalWithRef(ref terra.Reference) EndpointDetailsAttributes
func (EndpointDetailsAttributes) SecurityGroupIds ¶
func (ed EndpointDetailsAttributes) SecurityGroupIds() terra.SetValue[terra.StringValue]
func (EndpointDetailsAttributes) SubnetIds ¶
func (ed EndpointDetailsAttributes) SubnetIds() terra.SetValue[terra.StringValue]
func (EndpointDetailsAttributes) VpcEndpointId ¶
func (ed EndpointDetailsAttributes) VpcEndpointId() terra.StringValue
func (EndpointDetailsAttributes) VpcId ¶
func (ed EndpointDetailsAttributes) VpcId() terra.StringValue
type EndpointDetailsState ¶
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 (*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) Dependencies ¶
func (ats *Resource) Dependencies() terra.Dependencies
Dependencies returns the list of resources Resource depends_on.
func (*Resource) ImportState ¶
ImportState imports the given attribute values into Resource's state.
func (*Resource) LifecycleManagement ¶
LifecycleManagement returns the lifecycle block 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 (wd WorkflowDetailsAttributes) InternalWithRef(ref terra.Reference) WorkflowDetailsAttributes
func (WorkflowDetailsAttributes) OnUpload ¶
func (wd WorkflowDetailsAttributes) OnUpload() terra.ListValue[WorkflowDetailsOnUploadAttributes]
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 (ou WorkflowDetailsOnUploadAttributes) ExecutionRole() terra.StringValue
func (WorkflowDetailsOnUploadAttributes) InternalRef ¶
func (ou WorkflowDetailsOnUploadAttributes) InternalRef() (terra.Reference, error)
func (WorkflowDetailsOnUploadAttributes) InternalTokens ¶
func (ou WorkflowDetailsOnUploadAttributes) InternalTokens() (hclwrite.Tokens, error)
func (WorkflowDetailsOnUploadAttributes) InternalWithRef ¶
func (ou WorkflowDetailsOnUploadAttributes) InternalWithRef(ref terra.Reference) WorkflowDetailsOnUploadAttributes
func (WorkflowDetailsOnUploadAttributes) WorkflowId ¶
func (ou WorkflowDetailsOnUploadAttributes) WorkflowId() terra.StringValue
type WorkflowDetailsState ¶
type WorkflowDetailsState struct {
OnUpload []WorkflowDetailsOnUploadState `json:"on_upload"`
}