Documentation
¶
Overview ¶
nolint: lll
nolint: lll
nolint: lll
nolint: lll
nolint: lll
Index ¶
- type LookupServerArgs
- type LookupServerResult
- type Server
- type ServerArgs
- type ServerEndpointDetails
- type ServerEndpointDetailsArgs
- func (ServerEndpointDetailsArgs) ElementType() reflect.Type
- func (i ServerEndpointDetailsArgs) ToServerEndpointDetailsOutput() ServerEndpointDetailsOutput
- func (i ServerEndpointDetailsArgs) ToServerEndpointDetailsOutputWithContext(ctx context.Context) ServerEndpointDetailsOutput
- func (i ServerEndpointDetailsArgs) ToServerEndpointDetailsPtrOutput() ServerEndpointDetailsPtrOutput
- func (i ServerEndpointDetailsArgs) ToServerEndpointDetailsPtrOutputWithContext(ctx context.Context) ServerEndpointDetailsPtrOutput
- type ServerEndpointDetailsInput
- type ServerEndpointDetailsOutput
- func (ServerEndpointDetailsOutput) ElementType() reflect.Type
- func (o ServerEndpointDetailsOutput) ToServerEndpointDetailsOutput() ServerEndpointDetailsOutput
- func (o ServerEndpointDetailsOutput) ToServerEndpointDetailsOutputWithContext(ctx context.Context) ServerEndpointDetailsOutput
- func (o ServerEndpointDetailsOutput) ToServerEndpointDetailsPtrOutput() ServerEndpointDetailsPtrOutput
- func (o ServerEndpointDetailsOutput) ToServerEndpointDetailsPtrOutputWithContext(ctx context.Context) ServerEndpointDetailsPtrOutput
- func (o ServerEndpointDetailsOutput) VpcEndpointId() pulumi.StringOutput
- type ServerEndpointDetailsPtrInput
- type ServerEndpointDetailsPtrOutput
- func (o ServerEndpointDetailsPtrOutput) Elem() ServerEndpointDetailsOutput
- func (ServerEndpointDetailsPtrOutput) ElementType() reflect.Type
- func (o ServerEndpointDetailsPtrOutput) ToServerEndpointDetailsPtrOutput() ServerEndpointDetailsPtrOutput
- func (o ServerEndpointDetailsPtrOutput) ToServerEndpointDetailsPtrOutputWithContext(ctx context.Context) ServerEndpointDetailsPtrOutput
- func (o ServerEndpointDetailsPtrOutput) VpcEndpointId() pulumi.StringOutput
- type ServerState
- type SshKey
- type SshKeyArgs
- type SshKeyState
- type User
- type UserArgs
- type UserState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LookupServerArgs ¶ added in v1.19.0
type LookupServerArgs struct { // ID for an SFTP server. ServerId string `pulumi:"serverId"` }
A collection of arguments for invoking getServer.
type LookupServerResult ¶ added in v1.19.0
type LookupServerResult struct { // Amazon Resource Name (ARN) of Transfer Server Arn string `pulumi:"arn"` // The endpoint of the Transfer Server (e.g. `s-12345678.server.transfer.REGION.amazonaws.com`) Endpoint string `pulumi:"endpoint"` // id is the provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // The mode of authentication enabled for this service. The default value is `SERVICE_MANAGED`, which allows you to store and access SFTP user credentials within the service. `API_GATEWAY` indicates that user authentication requires a call to an API Gateway endpoint URL provided by you to integrate an identity provider of your choice. IdentityProviderType string `pulumi:"identityProviderType"` // Amazon Resource Name (ARN) of the IAM role used to authenticate the user account with an `identityProviderType` of `API_GATEWAY`. InvocationRole string `pulumi:"invocationRole"` // Amazon Resource Name (ARN) of an IAM role that allows the service to write your SFTP users’ activity to your Amazon CloudWatch logs for monitoring and auditing purposes. LoggingRole string `pulumi:"loggingRole"` ServerId string `pulumi:"serverId"` // URL of the service endpoint used to authenticate users with an `identityProviderType` of `API_GATEWAY`. Url string `pulumi:"url"` }
A collection of values returned by getServer.
func LookupServer ¶ added in v0.18.1
func LookupServer(ctx *pulumi.Context, args *LookupServerArgs, opts ...pulumi.InvokeOption) (*LookupServerResult, error)
Use this data source to get the ARN of an AWS Transfer Server for use in other resources.
> This content is derived from https://github.com/terraform-providers/terraform-provider-aws/blob/master/website/docs/d/transfer_server.html.markdown.
type Server ¶
type Server struct { pulumi.CustomResourceState // Amazon Resource Name (ARN) of Transfer Server Arn pulumi.StringOutput `pulumi:"arn"` // The endpoint of the Transfer Server (e.g. `s-12345678.server.transfer.REGION.amazonaws.com`) Endpoint pulumi.StringOutput `pulumi:"endpoint"` // The virtual private cloud (VPC) endpoint settings that you want to configure for your SFTP server. Fields documented below. EndpointDetails ServerEndpointDetailsPtrOutput `pulumi:"endpointDetails"` // The type of endpoint that you want your SFTP server connect to. If you connect to a `VPC_ENDPOINT`, your SFTP server isn't accessible over the public internet. If you want to connect your SFTP server via public internet, set `PUBLIC`. Defaults to `PUBLIC`. EndpointType pulumi.StringPtrOutput `pulumi:"endpointType"` // A boolean that indicates all users associated with the server should be deleted so that the Server can be destroyed without error. The default value is `false`. ForceDestroy pulumi.BoolPtrOutput `pulumi:"forceDestroy"` // The mode of authentication enabled for this service. The default value is `SERVICE_MANAGED`, which allows you to store and access SFTP user credentials within the service. `API_GATEWAY` indicates that user authentication requires a call to an API Gateway endpoint URL provided by you to integrate an identity provider of your choice. IdentityProviderType pulumi.StringPtrOutput `pulumi:"identityProviderType"` // Amazon Resource Name (ARN) of the IAM role used to authenticate the user account with an `identityProviderType` of `API_GATEWAY`. InvocationRole pulumi.StringPtrOutput `pulumi:"invocationRole"` // Amazon Resource Name (ARN) of an IAM role that allows the service to write your SFTP users’ activity to your Amazon CloudWatch logs for monitoring and auditing purposes. LoggingRole pulumi.StringPtrOutput `pulumi:"loggingRole"` // A mapping of tags to assign to the resource. Tags pulumi.MapOutput `pulumi:"tags"` // - URL of the service endpoint used to authenticate users with an `identityProviderType` of `API_GATEWAY`. Url pulumi.StringPtrOutput `pulumi:"url"` }
Provides a AWS Transfer Server resource.
> This content is derived from https://github.com/terraform-providers/terraform-provider-aws/blob/master/website/docs/r/transfer_server.html.markdown.
func GetServer ¶
func GetServer(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ServerState, opts ...pulumi.ResourceOption) (*Server, error)
GetServer gets an existing Server resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewServer ¶
func NewServer(ctx *pulumi.Context, name string, args *ServerArgs, opts ...pulumi.ResourceOption) (*Server, error)
NewServer registers a new resource with the given unique name, arguments, and options.
type ServerArgs ¶
type ServerArgs struct { // The virtual private cloud (VPC) endpoint settings that you want to configure for your SFTP server. Fields documented below. EndpointDetails ServerEndpointDetailsPtrInput // The type of endpoint that you want your SFTP server connect to. If you connect to a `VPC_ENDPOINT`, your SFTP server isn't accessible over the public internet. If you want to connect your SFTP server via public internet, set `PUBLIC`. Defaults to `PUBLIC`. EndpointType pulumi.StringPtrInput // A boolean that indicates all users associated with the server should be deleted so that the Server can be destroyed without error. The default value is `false`. ForceDestroy pulumi.BoolPtrInput // The mode of authentication enabled for this service. The default value is `SERVICE_MANAGED`, which allows you to store and access SFTP user credentials within the service. `API_GATEWAY` indicates that user authentication requires a call to an API Gateway endpoint URL provided by you to integrate an identity provider of your choice. IdentityProviderType pulumi.StringPtrInput // Amazon Resource Name (ARN) of the IAM role used to authenticate the user account with an `identityProviderType` of `API_GATEWAY`. InvocationRole pulumi.StringPtrInput // Amazon Resource Name (ARN) of an IAM role that allows the service to write your SFTP users’ activity to your Amazon CloudWatch logs for monitoring and auditing purposes. LoggingRole pulumi.StringPtrInput // A mapping of tags to assign to the resource. Tags pulumi.MapInput // - URL of the service endpoint used to authenticate users with an `identityProviderType` of `API_GATEWAY`. Url pulumi.StringPtrInput }
The set of arguments for constructing a Server resource.
func (ServerArgs) ElementType ¶ added in v1.19.0
func (ServerArgs) ElementType() reflect.Type
type ServerEndpointDetails ¶ added in v1.19.0
type ServerEndpointDetails struct { // The ID of the VPC endpoint. VpcEndpointId string `pulumi:"vpcEndpointId"` }
type ServerEndpointDetailsArgs ¶ added in v1.19.0
type ServerEndpointDetailsArgs struct { // The ID of the VPC endpoint. VpcEndpointId pulumi.StringInput `pulumi:"vpcEndpointId"` }
func (ServerEndpointDetailsArgs) ElementType ¶ added in v1.19.0
func (ServerEndpointDetailsArgs) ElementType() reflect.Type
func (ServerEndpointDetailsArgs) ToServerEndpointDetailsOutput ¶ added in v1.19.0
func (i ServerEndpointDetailsArgs) ToServerEndpointDetailsOutput() ServerEndpointDetailsOutput
func (ServerEndpointDetailsArgs) ToServerEndpointDetailsOutputWithContext ¶ added in v1.19.0
func (i ServerEndpointDetailsArgs) ToServerEndpointDetailsOutputWithContext(ctx context.Context) ServerEndpointDetailsOutput
func (ServerEndpointDetailsArgs) ToServerEndpointDetailsPtrOutput ¶ added in v1.19.0
func (i ServerEndpointDetailsArgs) ToServerEndpointDetailsPtrOutput() ServerEndpointDetailsPtrOutput
func (ServerEndpointDetailsArgs) ToServerEndpointDetailsPtrOutputWithContext ¶ added in v1.19.0
func (i ServerEndpointDetailsArgs) ToServerEndpointDetailsPtrOutputWithContext(ctx context.Context) ServerEndpointDetailsPtrOutput
type ServerEndpointDetailsInput ¶ added in v1.19.0
type ServerEndpointDetailsInput interface { pulumi.Input ToServerEndpointDetailsOutput() ServerEndpointDetailsOutput ToServerEndpointDetailsOutputWithContext(context.Context) ServerEndpointDetailsOutput }
type ServerEndpointDetailsOutput ¶ added in v1.19.0
type ServerEndpointDetailsOutput struct{ *pulumi.OutputState }
func (ServerEndpointDetailsOutput) ElementType ¶ added in v1.19.0
func (ServerEndpointDetailsOutput) ElementType() reflect.Type
func (ServerEndpointDetailsOutput) ToServerEndpointDetailsOutput ¶ added in v1.19.0
func (o ServerEndpointDetailsOutput) ToServerEndpointDetailsOutput() ServerEndpointDetailsOutput
func (ServerEndpointDetailsOutput) ToServerEndpointDetailsOutputWithContext ¶ added in v1.19.0
func (o ServerEndpointDetailsOutput) ToServerEndpointDetailsOutputWithContext(ctx context.Context) ServerEndpointDetailsOutput
func (ServerEndpointDetailsOutput) ToServerEndpointDetailsPtrOutput ¶ added in v1.19.0
func (o ServerEndpointDetailsOutput) ToServerEndpointDetailsPtrOutput() ServerEndpointDetailsPtrOutput
func (ServerEndpointDetailsOutput) ToServerEndpointDetailsPtrOutputWithContext ¶ added in v1.19.0
func (o ServerEndpointDetailsOutput) ToServerEndpointDetailsPtrOutputWithContext(ctx context.Context) ServerEndpointDetailsPtrOutput
func (ServerEndpointDetailsOutput) VpcEndpointId ¶ added in v1.19.0
func (o ServerEndpointDetailsOutput) VpcEndpointId() pulumi.StringOutput
The ID of the VPC endpoint.
type ServerEndpointDetailsPtrInput ¶ added in v1.19.0
type ServerEndpointDetailsPtrInput interface { pulumi.Input ToServerEndpointDetailsPtrOutput() ServerEndpointDetailsPtrOutput ToServerEndpointDetailsPtrOutputWithContext(context.Context) ServerEndpointDetailsPtrOutput }
func ServerEndpointDetailsPtr ¶ added in v1.19.0
func ServerEndpointDetailsPtr(v *ServerEndpointDetailsArgs) ServerEndpointDetailsPtrInput
type ServerEndpointDetailsPtrOutput ¶ added in v1.19.0
type ServerEndpointDetailsPtrOutput struct{ *pulumi.OutputState }
func (ServerEndpointDetailsPtrOutput) Elem ¶ added in v1.19.0
func (o ServerEndpointDetailsPtrOutput) Elem() ServerEndpointDetailsOutput
func (ServerEndpointDetailsPtrOutput) ElementType ¶ added in v1.19.0
func (ServerEndpointDetailsPtrOutput) ElementType() reflect.Type
func (ServerEndpointDetailsPtrOutput) ToServerEndpointDetailsPtrOutput ¶ added in v1.19.0
func (o ServerEndpointDetailsPtrOutput) ToServerEndpointDetailsPtrOutput() ServerEndpointDetailsPtrOutput
func (ServerEndpointDetailsPtrOutput) ToServerEndpointDetailsPtrOutputWithContext ¶ added in v1.19.0
func (o ServerEndpointDetailsPtrOutput) ToServerEndpointDetailsPtrOutputWithContext(ctx context.Context) ServerEndpointDetailsPtrOutput
func (ServerEndpointDetailsPtrOutput) VpcEndpointId ¶ added in v1.19.0
func (o ServerEndpointDetailsPtrOutput) VpcEndpointId() pulumi.StringOutput
The ID of the VPC endpoint.
type ServerState ¶
type ServerState struct { // Amazon Resource Name (ARN) of Transfer Server Arn pulumi.StringPtrInput // The endpoint of the Transfer Server (e.g. `s-12345678.server.transfer.REGION.amazonaws.com`) Endpoint pulumi.StringPtrInput // The virtual private cloud (VPC) endpoint settings that you want to configure for your SFTP server. Fields documented below. EndpointDetails ServerEndpointDetailsPtrInput // The type of endpoint that you want your SFTP server connect to. If you connect to a `VPC_ENDPOINT`, your SFTP server isn't accessible over the public internet. If you want to connect your SFTP server via public internet, set `PUBLIC`. Defaults to `PUBLIC`. EndpointType pulumi.StringPtrInput // A boolean that indicates all users associated with the server should be deleted so that the Server can be destroyed without error. The default value is `false`. ForceDestroy pulumi.BoolPtrInput // The mode of authentication enabled for this service. The default value is `SERVICE_MANAGED`, which allows you to store and access SFTP user credentials within the service. `API_GATEWAY` indicates that user authentication requires a call to an API Gateway endpoint URL provided by you to integrate an identity provider of your choice. IdentityProviderType pulumi.StringPtrInput // Amazon Resource Name (ARN) of the IAM role used to authenticate the user account with an `identityProviderType` of `API_GATEWAY`. InvocationRole pulumi.StringPtrInput // Amazon Resource Name (ARN) of an IAM role that allows the service to write your SFTP users’ activity to your Amazon CloudWatch logs for monitoring and auditing purposes. LoggingRole pulumi.StringPtrInput // A mapping of tags to assign to the resource. Tags pulumi.MapInput // - URL of the service endpoint used to authenticate users with an `identityProviderType` of `API_GATEWAY`. Url pulumi.StringPtrInput }
func (ServerState) ElementType ¶ added in v1.19.0
func (ServerState) ElementType() reflect.Type
type SshKey ¶ added in v0.16.5
type SshKey struct { pulumi.CustomResourceState // The public key portion of an SSH key pair. Body pulumi.StringOutput `pulumi:"body"` // The Server ID of the Transfer Server (e.g. `s-12345678`) ServerId pulumi.StringOutput `pulumi:"serverId"` // The name of the user account that is assigned to one or more servers. UserName pulumi.StringOutput `pulumi:"userName"` }
Provides a AWS Transfer User SSH Key resource.
> This content is derived from https://github.com/terraform-providers/terraform-provider-aws/blob/master/website/docs/r/transfer_ssh_key.html.markdown.
func GetSshKey ¶ added in v0.16.5
func GetSshKey(ctx *pulumi.Context, name string, id pulumi.IDInput, state *SshKeyState, opts ...pulumi.ResourceOption) (*SshKey, error)
GetSshKey gets an existing SshKey resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewSshKey ¶ added in v0.16.5
func NewSshKey(ctx *pulumi.Context, name string, args *SshKeyArgs, opts ...pulumi.ResourceOption) (*SshKey, error)
NewSshKey registers a new resource with the given unique name, arguments, and options.
type SshKeyArgs ¶ added in v0.16.5
type SshKeyArgs struct { // The public key portion of an SSH key pair. Body pulumi.StringInput // The Server ID of the Transfer Server (e.g. `s-12345678`) ServerId pulumi.StringInput // The name of the user account that is assigned to one or more servers. UserName pulumi.StringInput }
The set of arguments for constructing a SshKey resource.
func (SshKeyArgs) ElementType ¶ added in v1.19.0
func (SshKeyArgs) ElementType() reflect.Type
type SshKeyState ¶ added in v0.16.5
type SshKeyState struct { // The public key portion of an SSH key pair. Body pulumi.StringPtrInput // The Server ID of the Transfer Server (e.g. `s-12345678`) ServerId pulumi.StringPtrInput // The name of the user account that is assigned to one or more servers. UserName pulumi.StringPtrInput }
func (SshKeyState) ElementType ¶ added in v1.19.0
func (SshKeyState) ElementType() reflect.Type
type User ¶ added in v0.16.5
type User struct { pulumi.CustomResourceState // Amazon Resource Name (ARN) of Transfer User Arn pulumi.StringOutput `pulumi:"arn"` // The landing directory (folder) for a user when they log in to the server using their SFTP client. It should begin with a `/`. The first item in the path is the name of the home bucket (accessible as `${Transfer:HomeBucket}` in the policy) and the rest is the home directory (accessible as `${Transfer:HomeDirectory}` in the policy). For example, `/example-bucket-1234/username` would set the home bucket to `example-bucket-1234` and the home directory to `username`. HomeDirectory pulumi.StringPtrOutput `pulumi:"homeDirectory"` // An IAM JSON policy document that scopes down user access to portions of their Amazon S3 bucket. IAM variables you can use inside this policy include `${Transfer:UserName}`, `${Transfer:HomeDirectory}`, and `${Transfer:HomeBucket}`. These are evaluated on-the-fly when navigating the bucket. Policy pulumi.StringPtrOutput `pulumi:"policy"` // Amazon Resource Name (ARN) of an IAM role that allows the service to controls your user’s access to your Amazon S3 bucket. Role pulumi.StringOutput `pulumi:"role"` // The Server ID of the Transfer Server (e.g. `s-12345678`) ServerId pulumi.StringOutput `pulumi:"serverId"` // A mapping of tags to assign to the resource. Tags pulumi.MapOutput `pulumi:"tags"` // The name used for log in to your SFTP server. UserName pulumi.StringOutput `pulumi:"userName"` }
Provides a AWS Transfer User resource. Managing SSH keys can be accomplished with the [`transfer.SshKey` resource](https://www.terraform.io/docs/providers/aws/r/transfer_ssh_key.html).
> This content is derived from https://github.com/terraform-providers/terraform-provider-aws/blob/master/website/docs/r/transfer_user.html.markdown.
func GetUser ¶ added in v0.16.5
func GetUser(ctx *pulumi.Context, name string, id pulumi.IDInput, state *UserState, opts ...pulumi.ResourceOption) (*User, error)
GetUser gets an existing User resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
type UserArgs ¶ added in v0.16.5
type UserArgs struct { // The landing directory (folder) for a user when they log in to the server using their SFTP client. It should begin with a `/`. The first item in the path is the name of the home bucket (accessible as `${Transfer:HomeBucket}` in the policy) and the rest is the home directory (accessible as `${Transfer:HomeDirectory}` in the policy). For example, `/example-bucket-1234/username` would set the home bucket to `example-bucket-1234` and the home directory to `username`. HomeDirectory pulumi.StringPtrInput // An IAM JSON policy document that scopes down user access to portions of their Amazon S3 bucket. IAM variables you can use inside this policy include `${Transfer:UserName}`, `${Transfer:HomeDirectory}`, and `${Transfer:HomeBucket}`. These are evaluated on-the-fly when navigating the bucket. Policy pulumi.StringPtrInput // Amazon Resource Name (ARN) of an IAM role that allows the service to controls your user’s access to your Amazon S3 bucket. Role pulumi.StringInput // The Server ID of the Transfer Server (e.g. `s-12345678`) ServerId pulumi.StringInput // A mapping of tags to assign to the resource. Tags pulumi.MapInput // The name used for log in to your SFTP server. UserName pulumi.StringInput }
The set of arguments for constructing a User resource.
func (UserArgs) ElementType ¶ added in v1.19.0
type UserState ¶ added in v0.16.5
type UserState struct { // Amazon Resource Name (ARN) of Transfer User Arn pulumi.StringPtrInput // The landing directory (folder) for a user when they log in to the server using their SFTP client. It should begin with a `/`. The first item in the path is the name of the home bucket (accessible as `${Transfer:HomeBucket}` in the policy) and the rest is the home directory (accessible as `${Transfer:HomeDirectory}` in the policy). For example, `/example-bucket-1234/username` would set the home bucket to `example-bucket-1234` and the home directory to `username`. HomeDirectory pulumi.StringPtrInput // An IAM JSON policy document that scopes down user access to portions of their Amazon S3 bucket. IAM variables you can use inside this policy include `${Transfer:UserName}`, `${Transfer:HomeDirectory}`, and `${Transfer:HomeBucket}`. These are evaluated on-the-fly when navigating the bucket. Policy pulumi.StringPtrInput // Amazon Resource Name (ARN) of an IAM role that allows the service to controls your user’s access to your Amazon S3 bucket. Role pulumi.StringPtrInput // The Server ID of the Transfer Server (e.g. `s-12345678`) ServerId pulumi.StringPtrInput // A mapping of tags to assign to the resource. Tags pulumi.MapInput // The name used for log in to your SFTP server. UserName pulumi.StringPtrInput }