1. Registry
  2. Packages
  3. Files.com
  4. API Docs
  5. As2Partner
Viewing docs for Files.com v0.1.1
published on Thursday, Aug 20, 2026 by jschady
filescom logo
Viewing docs for Files.com v0.1.1
published on Thursday, Aug 20, 2026 by jschady

    An AS2Partner is a counterparty of the Files.com site’s AS2 connectivity. Generally you will have one AS2 Partner created for each counterparty with whom you send and/or receive files via AS2.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as filescom from "pulumi-filescom";
    
    const exampleAs2Partner = new filescom.As2Partner("example_as2_partner", {
        enableDedicatedIps: true,
        httpAuthUsername: "username",
        mdnValidationLevel: "none",
        signatureValidationLevel: "normal",
        serverCertificate: "require_match",
        defaultMimeType: "application/octet-stream",
        additionalHttpHeaders: {
            key: "example value",
        },
        as2StationId: 1,
        name: "AS2 Partner Name",
        uri: "example",
        publicCertificate: "public_certificate",
    });
    
    import pulumi
    import pulumi_filescom as filescom
    
    example_as2_partner = filescom.As2Partner("example_as2_partner",
        enable_dedicated_ips=True,
        http_auth_username="username",
        mdn_validation_level="none",
        signature_validation_level="normal",
        server_certificate="require_match",
        default_mime_type="application/octet-stream",
        additional_http_headers={
            "key": "example value",
        },
        as2_station_id=1,
        name="AS2 Partner Name",
        uri="example",
        public_certificate="public_certificate")
    
    package main
    
    import (
    	"github.com/jschady/pulumi-filescom/sdk/go/filescom"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := filescom.NewAs2Partner(ctx, "example_as2_partner", &filescom.As2PartnerArgs{
    			EnableDedicatedIps:       pulumi.Bool(true),
    			HttpAuthUsername:         pulumi.String("username"),
    			MdnValidationLevel:       pulumi.String("none"),
    			SignatureValidationLevel: pulumi.String("normal"),
    			ServerCertificate:        pulumi.String("require_match"),
    			DefaultMimeType:          pulumi.String("application/octet-stream"),
    			AdditionalHttpHeaders: pulumi.Any(map[string]interface{}{
    				"key": "example value",
    			}),
    			As2StationId:      pulumi.Int(1),
    			Name:              pulumi.String("AS2 Partner Name"),
    			Uri:               pulumi.String("example"),
    			PublicCertificate: pulumi.String("public_certificate"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Filescom = Jschady.Filescom;
    
    return await Deployment.RunAsync(() => 
    {
        var exampleAs2Partner = new Filescom.As2Partner("example_as2_partner", new()
        {
            EnableDedicatedIps = true,
            HttpAuthUsername = "username",
            MdnValidationLevel = "none",
            SignatureValidationLevel = "normal",
            ServerCertificate = "require_match",
            DefaultMimeType = "application/octet-stream",
            AdditionalHttpHeaders = new Dictionary<string, object?>
            {
                ["key"] = "example value",
            },
            As2StationId = 1,
            Name = "AS2 Partner Name",
            Uri = "example",
            PublicCertificate = "public_certificate",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.filescom.As2Partner;
    import com.pulumi.filescom.As2PartnerArgs;
    import java.util.ArrayList;
    import java.util.Arrays;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var exampleAs2Partner = new As2Partner("exampleAs2Partner", As2PartnerArgs.builder()
                .enableDedicatedIps(true)
                .httpAuthUsername("username")
                .mdnValidationLevel("none")
                .signatureValidationLevel("normal")
                .serverCertificate("require_match")
                .defaultMimeType("application/octet-stream")
                .additionalHttpHeaders(Map.of("key", "example value"))
                .as2StationId(1)
                .name("AS2 Partner Name")
                .uri("example")
                .publicCertificate("public_certificate")
                .build());
    
        }
    }
    
    resources:
      exampleAs2Partner:
        type: filescom:As2Partner
        name: example_as2_partner
        properties:
          enableDedicatedIps: true
          httpAuthUsername: username
          mdnValidationLevel: none
          signatureValidationLevel: normal
          serverCertificate: require_match
          defaultMimeType: application/octet-stream
          additionalHttpHeaders:
            key: example value
          as2StationId: 1
          name: AS2 Partner Name
          uri: example
          publicCertificate: public_certificate
    
    pulumi {
      required_providers {
        filescom = {
          source = "pulumi/filescom"
        }
      }
    }
    
    resource "filescom_as2partner" "example_as2_partner" {
      enable_dedicated_ips       = true
      http_auth_username         = "username"
      mdn_validation_level       = "none"
      signature_validation_level = "normal"
      server_certificate         = "require_match"
      default_mime_type          = "application/octet-stream"
      additional_http_headers = {
        "key" = "example value"
      }
      as2_station_id     = 1
      name               = "AS2 Partner Name"
      uri                = "example"
      public_certificate = "public_certificate"
    }
    

    Create As2Partner Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new As2Partner(name: string, args: As2PartnerArgs, opts?: CustomResourceOptions);
    @overload
    def As2Partner(resource_name: str,
                   args: As2PartnerArgs,
                   opts: Optional[ResourceOptions] = None)
    
    @overload
    def As2Partner(resource_name: str,
                   opts: Optional[ResourceOptions] = None,
                   as2_station_id: Optional[int] = None,
                   public_certificate: Optional[str] = None,
                   uri: Optional[str] = None,
                   additional_http_headers: Optional[Any] = None,
                   default_mime_type: Optional[str] = None,
                   enable_dedicated_ips: Optional[bool] = None,
                   http_auth_password: Optional[str] = None,
                   http_auth_username: Optional[str] = None,
                   mdn_validation_level: Optional[str] = None,
                   name: Optional[str] = None,
                   server_certificate: Optional[str] = None,
                   signature_validation_level: Optional[str] = None)
    func NewAs2Partner(ctx *Context, name string, args As2PartnerArgs, opts ...ResourceOption) (*As2Partner, error)
    public As2Partner(string name, As2PartnerArgs args, CustomResourceOptions? opts = null)
    public As2Partner(String name, As2PartnerArgs args)
    public As2Partner(String name, As2PartnerArgs args, CustomResourceOptions options)
    
    type: filescom:As2Partner
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "filescom_as2_partner" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args As2PartnerArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args As2PartnerArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args As2PartnerArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args As2PartnerArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args As2PartnerArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var as2PartnerResource = new Filescom.As2Partner("as2PartnerResource", new()
    {
        As2StationId = 0,
        PublicCertificate = "string",
        Uri = "string",
        AdditionalHttpHeaders = "any",
        DefaultMimeType = "string",
        EnableDedicatedIps = false,
        HttpAuthPassword = "string",
        HttpAuthUsername = "string",
        MdnValidationLevel = "string",
        Name = "string",
        ServerCertificate = "string",
        SignatureValidationLevel = "string",
    });
    
    example, err := filescom.NewAs2Partner(ctx, "as2PartnerResource", &filescom.As2PartnerArgs{
    	As2StationId:             pulumi.Int(0),
    	PublicCertificate:        pulumi.String("string"),
    	Uri:                      pulumi.String("string"),
    	AdditionalHttpHeaders:    pulumi.Any("any"),
    	DefaultMimeType:          pulumi.String("string"),
    	EnableDedicatedIps:       pulumi.Bool(false),
    	HttpAuthPassword:         pulumi.String("string"),
    	HttpAuthUsername:         pulumi.String("string"),
    	MdnValidationLevel:       pulumi.String("string"),
    	Name:                     pulumi.String("string"),
    	ServerCertificate:        pulumi.String("string"),
    	SignatureValidationLevel: pulumi.String("string"),
    })
    
    resource "filescom_as2_partner" "as2PartnerResource" {
      lifecycle {
        create_before_destroy = true
      }
      as2_station_id             = 0
      public_certificate         = "string"
      uri                        = "string"
      additional_http_headers    = "any"
      default_mime_type          = "string"
      enable_dedicated_ips       = false
      http_auth_password         = "string"
      http_auth_username         = "string"
      mdn_validation_level       = "string"
      name                       = "string"
      server_certificate         = "string"
      signature_validation_level = "string"
    }
    
    var as2PartnerResource = new As2Partner("as2PartnerResource", As2PartnerArgs.builder()
        .as2StationId(0)
        .publicCertificate("string")
        .uri("string")
        .additionalHttpHeaders("any")
        .defaultMimeType("string")
        .enableDedicatedIps(false)
        .httpAuthPassword("string")
        .httpAuthUsername("string")
        .mdnValidationLevel("string")
        .name("string")
        .serverCertificate("string")
        .signatureValidationLevel("string")
        .build());
    
    as2_partner_resource = filescom.As2Partner("as2PartnerResource",
        as2_station_id=0,
        public_certificate="string",
        uri="string",
        additional_http_headers="any",
        default_mime_type="string",
        enable_dedicated_ips=False,
        http_auth_password="string",
        http_auth_username="string",
        mdn_validation_level="string",
        name="string",
        server_certificate="string",
        signature_validation_level="string")
    
    const as2PartnerResource = new filescom.As2Partner("as2PartnerResource", {
        as2StationId: 0,
        publicCertificate: "string",
        uri: "string",
        additionalHttpHeaders: "any",
        defaultMimeType: "string",
        enableDedicatedIps: false,
        httpAuthPassword: "string",
        httpAuthUsername: "string",
        mdnValidationLevel: "string",
        name: "string",
        serverCertificate: "string",
        signatureValidationLevel: "string",
    });
    
    type: filescom:As2Partner
    properties:
        additionalHttpHeaders: any
        as2StationId: 0
        defaultMimeType: string
        enableDedicatedIps: false
        httpAuthPassword: string
        httpAuthUsername: string
        mdnValidationLevel: string
        name: string
        publicCertificate: string
        serverCertificate: string
        signatureValidationLevel: string
        uri: string
    

    As2Partner Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The As2Partner resource accepts the following input properties:

    As2StationId int
    ID of the AS2 Station associated with this partner.
    PublicCertificate string
    Public certificate used for message security.
    Uri string
    Public URI where we will send the AS2 messages (via HTTP/HTTPS).
    AdditionalHttpHeaders object
    Additional HTTP Headers for outgoing message sent to this partner.
    DefaultMimeType string
    Default mime type of the file attached to the encrypted message
    EnableDedicatedIps bool
    If true, we will use your site's dedicated IPs for all outbound connections to this AS2 Partner.
    HttpAuthPassword string
    NOTE: This field is write-only and its value will not be updated in state as part of read operations. Password to send to server for HTTP Authentication.
    HttpAuthUsername string
    Username to send to server for HTTP Authentication.
    MdnValidationLevel string
    How should Files.com evaluate message transfer success based on a partner's MDN response? This setting does not affect MDN storage; all MDNs received from a partner are always stored. none: MDN is stored for informational purposes only, a successful HTTPS transfer is a successful AS2 transfer. weak: Inspect the MDN for MIC and Disposition only. normal: weak plus validate MDN signature matches body, strict: normal but do not allow signatures from self-signed or incorrectly purposed certificates. auto: Automatically set the correct value for this setting based on next mdn received.
    Name string
    The partner's formal AS2 name.
    ServerCertificate string
    Should we require that the remote HTTP server have a valid SSL Certificate for HTTPS? (This only applies to Outgoing AS2 message from Files.com to a Partner.)
    SignatureValidationLevel string
    Should Files.com require signatures on incoming AS2 messages? normal: require that incoming messages are signed with a valid matching signature. none: Unsigned incoming messages are allowed. auto: Automatically set the correct value for this setting based on next message received.
    As2StationId int
    ID of the AS2 Station associated with this partner.
    PublicCertificate string
    Public certificate used for message security.
    Uri string
    Public URI where we will send the AS2 messages (via HTTP/HTTPS).
    AdditionalHttpHeaders interface{}
    Additional HTTP Headers for outgoing message sent to this partner.
    DefaultMimeType string
    Default mime type of the file attached to the encrypted message
    EnableDedicatedIps bool
    If true, we will use your site's dedicated IPs for all outbound connections to this AS2 Partner.
    HttpAuthPassword string
    NOTE: This field is write-only and its value will not be updated in state as part of read operations. Password to send to server for HTTP Authentication.
    HttpAuthUsername string
    Username to send to server for HTTP Authentication.
    MdnValidationLevel string
    How should Files.com evaluate message transfer success based on a partner's MDN response? This setting does not affect MDN storage; all MDNs received from a partner are always stored. none: MDN is stored for informational purposes only, a successful HTTPS transfer is a successful AS2 transfer. weak: Inspect the MDN for MIC and Disposition only. normal: weak plus validate MDN signature matches body, strict: normal but do not allow signatures from self-signed or incorrectly purposed certificates. auto: Automatically set the correct value for this setting based on next mdn received.
    Name string
    The partner's formal AS2 name.
    ServerCertificate string
    Should we require that the remote HTTP server have a valid SSL Certificate for HTTPS? (This only applies to Outgoing AS2 message from Files.com to a Partner.)
    SignatureValidationLevel string
    Should Files.com require signatures on incoming AS2 messages? normal: require that incoming messages are signed with a valid matching signature. none: Unsigned incoming messages are allowed. auto: Automatically set the correct value for this setting based on next message received.
    as2_station_id number
    ID of the AS2 Station associated with this partner.
    public_certificate string
    Public certificate used for message security.
    uri string
    Public URI where we will send the AS2 messages (via HTTP/HTTPS).
    additional_http_headers any
    Additional HTTP Headers for outgoing message sent to this partner.
    default_mime_type string
    Default mime type of the file attached to the encrypted message
    enable_dedicated_ips bool
    If true, we will use your site's dedicated IPs for all outbound connections to this AS2 Partner.
    http_auth_password string
    NOTE: This field is write-only and its value will not be updated in state as part of read operations. Password to send to server for HTTP Authentication.
    http_auth_username string
    Username to send to server for HTTP Authentication.
    mdn_validation_level string
    How should Files.com evaluate message transfer success based on a partner's MDN response? This setting does not affect MDN storage; all MDNs received from a partner are always stored. none: MDN is stored for informational purposes only, a successful HTTPS transfer is a successful AS2 transfer. weak: Inspect the MDN for MIC and Disposition only. normal: weak plus validate MDN signature matches body, strict: normal but do not allow signatures from self-signed or incorrectly purposed certificates. auto: Automatically set the correct value for this setting based on next mdn received.
    name string
    The partner's formal AS2 name.
    server_certificate string
    Should we require that the remote HTTP server have a valid SSL Certificate for HTTPS? (This only applies to Outgoing AS2 message from Files.com to a Partner.)
    signature_validation_level string
    Should Files.com require signatures on incoming AS2 messages? normal: require that incoming messages are signed with a valid matching signature. none: Unsigned incoming messages are allowed. auto: Automatically set the correct value for this setting based on next message received.
    as2StationId Integer
    ID of the AS2 Station associated with this partner.
    publicCertificate String
    Public certificate used for message security.
    uri String
    Public URI where we will send the AS2 messages (via HTTP/HTTPS).
    additionalHttpHeaders Object
    Additional HTTP Headers for outgoing message sent to this partner.
    defaultMimeType String
    Default mime type of the file attached to the encrypted message
    enableDedicatedIps Boolean
    If true, we will use your site's dedicated IPs for all outbound connections to this AS2 Partner.
    httpAuthPassword String
    NOTE: This field is write-only and its value will not be updated in state as part of read operations. Password to send to server for HTTP Authentication.
    httpAuthUsername String
    Username to send to server for HTTP Authentication.
    mdnValidationLevel String
    How should Files.com evaluate message transfer success based on a partner's MDN response? This setting does not affect MDN storage; all MDNs received from a partner are always stored. none: MDN is stored for informational purposes only, a successful HTTPS transfer is a successful AS2 transfer. weak: Inspect the MDN for MIC and Disposition only. normal: weak plus validate MDN signature matches body, strict: normal but do not allow signatures from self-signed or incorrectly purposed certificates. auto: Automatically set the correct value for this setting based on next mdn received.
    name String
    The partner's formal AS2 name.
    serverCertificate String
    Should we require that the remote HTTP server have a valid SSL Certificate for HTTPS? (This only applies to Outgoing AS2 message from Files.com to a Partner.)
    signatureValidationLevel String
    Should Files.com require signatures on incoming AS2 messages? normal: require that incoming messages are signed with a valid matching signature. none: Unsigned incoming messages are allowed. auto: Automatically set the correct value for this setting based on next message received.
    as2StationId number
    ID of the AS2 Station associated with this partner.
    publicCertificate string
    Public certificate used for message security.
    uri string
    Public URI where we will send the AS2 messages (via HTTP/HTTPS).
    additionalHttpHeaders any
    Additional HTTP Headers for outgoing message sent to this partner.
    defaultMimeType string
    Default mime type of the file attached to the encrypted message
    enableDedicatedIps boolean
    If true, we will use your site's dedicated IPs for all outbound connections to this AS2 Partner.
    httpAuthPassword string
    NOTE: This field is write-only and its value will not be updated in state as part of read operations. Password to send to server for HTTP Authentication.
    httpAuthUsername string
    Username to send to server for HTTP Authentication.
    mdnValidationLevel string
    How should Files.com evaluate message transfer success based on a partner's MDN response? This setting does not affect MDN storage; all MDNs received from a partner are always stored. none: MDN is stored for informational purposes only, a successful HTTPS transfer is a successful AS2 transfer. weak: Inspect the MDN for MIC and Disposition only. normal: weak plus validate MDN signature matches body, strict: normal but do not allow signatures from self-signed or incorrectly purposed certificates. auto: Automatically set the correct value for this setting based on next mdn received.
    name string
    The partner's formal AS2 name.
    serverCertificate string
    Should we require that the remote HTTP server have a valid SSL Certificate for HTTPS? (This only applies to Outgoing AS2 message from Files.com to a Partner.)
    signatureValidationLevel string
    Should Files.com require signatures on incoming AS2 messages? normal: require that incoming messages are signed with a valid matching signature. none: Unsigned incoming messages are allowed. auto: Automatically set the correct value for this setting based on next message received.
    as2_station_id int
    ID of the AS2 Station associated with this partner.
    public_certificate str
    Public certificate used for message security.
    uri str
    Public URI where we will send the AS2 messages (via HTTP/HTTPS).
    additional_http_headers Any
    Additional HTTP Headers for outgoing message sent to this partner.
    default_mime_type str
    Default mime type of the file attached to the encrypted message
    enable_dedicated_ips bool
    If true, we will use your site's dedicated IPs for all outbound connections to this AS2 Partner.
    http_auth_password str
    NOTE: This field is write-only and its value will not be updated in state as part of read operations. Password to send to server for HTTP Authentication.
    http_auth_username str
    Username to send to server for HTTP Authentication.
    mdn_validation_level str
    How should Files.com evaluate message transfer success based on a partner's MDN response? This setting does not affect MDN storage; all MDNs received from a partner are always stored. none: MDN is stored for informational purposes only, a successful HTTPS transfer is a successful AS2 transfer. weak: Inspect the MDN for MIC and Disposition only. normal: weak plus validate MDN signature matches body, strict: normal but do not allow signatures from self-signed or incorrectly purposed certificates. auto: Automatically set the correct value for this setting based on next mdn received.
    name str
    The partner's formal AS2 name.
    server_certificate str
    Should we require that the remote HTTP server have a valid SSL Certificate for HTTPS? (This only applies to Outgoing AS2 message from Files.com to a Partner.)
    signature_validation_level str
    Should Files.com require signatures on incoming AS2 messages? normal: require that incoming messages are signed with a valid matching signature. none: Unsigned incoming messages are allowed. auto: Automatically set the correct value for this setting based on next message received.
    as2StationId Number
    ID of the AS2 Station associated with this partner.
    publicCertificate String
    Public certificate used for message security.
    uri String
    Public URI where we will send the AS2 messages (via HTTP/HTTPS).
    additionalHttpHeaders Any
    Additional HTTP Headers for outgoing message sent to this partner.
    defaultMimeType String
    Default mime type of the file attached to the encrypted message
    enableDedicatedIps Boolean
    If true, we will use your site's dedicated IPs for all outbound connections to this AS2 Partner.
    httpAuthPassword String
    NOTE: This field is write-only and its value will not be updated in state as part of read operations. Password to send to server for HTTP Authentication.
    httpAuthUsername String
    Username to send to server for HTTP Authentication.
    mdnValidationLevel String
    How should Files.com evaluate message transfer success based on a partner's MDN response? This setting does not affect MDN storage; all MDNs received from a partner are always stored. none: MDN is stored for informational purposes only, a successful HTTPS transfer is a successful AS2 transfer. weak: Inspect the MDN for MIC and Disposition only. normal: weak plus validate MDN signature matches body, strict: normal but do not allow signatures from self-signed or incorrectly purposed certificates. auto: Automatically set the correct value for this setting based on next mdn received.
    name String
    The partner's formal AS2 name.
    serverCertificate String
    Should we require that the remote HTTP server have a valid SSL Certificate for HTTPS? (This only applies to Outgoing AS2 message from Files.com to a Partner.)
    signatureValidationLevel String
    Should Files.com require signatures on incoming AS2 messages? normal: require that incoming messages are signed with a valid matching signature. none: Unsigned incoming messages are allowed. auto: Automatically set the correct value for this setting based on next message received.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the As2Partner resource produces the following output properties:

    HexPublicCertificateSerial string
    Serial of public certificate used for message security in hex format.
    Id string
    The provider-assigned unique ID for this managed resource.
    PublicCertificateIssuer string
    Issuer of public certificate used for message security.
    PublicCertificateMd5 string
    MD5 hash of public certificate used for message security.
    PublicCertificateNotAfter string
    Not after value of public certificate used for message security.
    PublicCertificateNotBefore string
    Not before value of public certificate used for message security.
    PublicCertificateSerial string
    Serial of public certificate used for message security.
    PublicCertificateSubject string
    Subject of public certificate used for message security.
    WorkspaceId int
    ID of the Workspace associated with this AS2 Partner.
    HexPublicCertificateSerial string
    Serial of public certificate used for message security in hex format.
    Id string
    The provider-assigned unique ID for this managed resource.
    PublicCertificateIssuer string
    Issuer of public certificate used for message security.
    PublicCertificateMd5 string
    MD5 hash of public certificate used for message security.
    PublicCertificateNotAfter string
    Not after value of public certificate used for message security.
    PublicCertificateNotBefore string
    Not before value of public certificate used for message security.
    PublicCertificateSerial string
    Serial of public certificate used for message security.
    PublicCertificateSubject string
    Subject of public certificate used for message security.
    WorkspaceId int
    ID of the Workspace associated with this AS2 Partner.
    hex_public_certificate_serial string
    Serial of public certificate used for message security in hex format.
    id string
    The provider-assigned unique ID for this managed resource.
    public_certificate_issuer string
    Issuer of public certificate used for message security.
    public_certificate_md5 string
    MD5 hash of public certificate used for message security.
    public_certificate_not_after string
    Not after value of public certificate used for message security.
    public_certificate_not_before string
    Not before value of public certificate used for message security.
    public_certificate_serial string
    Serial of public certificate used for message security.
    public_certificate_subject string
    Subject of public certificate used for message security.
    workspace_id number
    ID of the Workspace associated with this AS2 Partner.
    hexPublicCertificateSerial String
    Serial of public certificate used for message security in hex format.
    id String
    The provider-assigned unique ID for this managed resource.
    publicCertificateIssuer String
    Issuer of public certificate used for message security.
    publicCertificateMd5 String
    MD5 hash of public certificate used for message security.
    publicCertificateNotAfter String
    Not after value of public certificate used for message security.
    publicCertificateNotBefore String
    Not before value of public certificate used for message security.
    publicCertificateSerial String
    Serial of public certificate used for message security.
    publicCertificateSubject String
    Subject of public certificate used for message security.
    workspaceId Integer
    ID of the Workspace associated with this AS2 Partner.
    hexPublicCertificateSerial string
    Serial of public certificate used for message security in hex format.
    id string
    The provider-assigned unique ID for this managed resource.
    publicCertificateIssuer string
    Issuer of public certificate used for message security.
    publicCertificateMd5 string
    MD5 hash of public certificate used for message security.
    publicCertificateNotAfter string
    Not after value of public certificate used for message security.
    publicCertificateNotBefore string
    Not before value of public certificate used for message security.
    publicCertificateSerial string
    Serial of public certificate used for message security.
    publicCertificateSubject string
    Subject of public certificate used for message security.
    workspaceId number
    ID of the Workspace associated with this AS2 Partner.
    hex_public_certificate_serial str
    Serial of public certificate used for message security in hex format.
    id str
    The provider-assigned unique ID for this managed resource.
    public_certificate_issuer str
    Issuer of public certificate used for message security.
    public_certificate_md5 str
    MD5 hash of public certificate used for message security.
    public_certificate_not_after str
    Not after value of public certificate used for message security.
    public_certificate_not_before str
    Not before value of public certificate used for message security.
    public_certificate_serial str
    Serial of public certificate used for message security.
    public_certificate_subject str
    Subject of public certificate used for message security.
    workspace_id int
    ID of the Workspace associated with this AS2 Partner.
    hexPublicCertificateSerial String
    Serial of public certificate used for message security in hex format.
    id String
    The provider-assigned unique ID for this managed resource.
    publicCertificateIssuer String
    Issuer of public certificate used for message security.
    publicCertificateMd5 String
    MD5 hash of public certificate used for message security.
    publicCertificateNotAfter String
    Not after value of public certificate used for message security.
    publicCertificateNotBefore String
    Not before value of public certificate used for message security.
    publicCertificateSerial String
    Serial of public certificate used for message security.
    publicCertificateSubject String
    Subject of public certificate used for message security.
    workspaceId Number
    ID of the Workspace associated with this AS2 Partner.

    Look up Existing As2Partner Resource

    Get an existing As2Partner resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: As2PartnerState, opts?: CustomResourceOptions): As2Partner
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            additional_http_headers: Optional[Any] = None,
            as2_station_id: Optional[int] = None,
            default_mime_type: Optional[str] = None,
            enable_dedicated_ips: Optional[bool] = None,
            hex_public_certificate_serial: Optional[str] = None,
            http_auth_password: Optional[str] = None,
            http_auth_username: Optional[str] = None,
            mdn_validation_level: Optional[str] = None,
            name: Optional[str] = None,
            public_certificate: Optional[str] = None,
            public_certificate_issuer: Optional[str] = None,
            public_certificate_md5: Optional[str] = None,
            public_certificate_not_after: Optional[str] = None,
            public_certificate_not_before: Optional[str] = None,
            public_certificate_serial: Optional[str] = None,
            public_certificate_subject: Optional[str] = None,
            server_certificate: Optional[str] = None,
            signature_validation_level: Optional[str] = None,
            uri: Optional[str] = None,
            workspace_id: Optional[int] = None) -> As2Partner
    func GetAs2Partner(ctx *Context, name string, id IDInput, state *As2PartnerState, opts ...ResourceOption) (*As2Partner, error)
    public static As2Partner Get(string name, Input<string> id, As2PartnerState? state, CustomResourceOptions? opts = null)
    public static As2Partner get(String name, Output<String> id, As2PartnerState state, CustomResourceOptions options)
    resources:  _:    type: filescom:As2Partner    get:      id: ${id}
    import {
      to = filescom_as2_partner.example
      id = "${id}"
    }
    
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    AdditionalHttpHeaders object
    Additional HTTP Headers for outgoing message sent to this partner.
    As2StationId int
    ID of the AS2 Station associated with this partner.
    DefaultMimeType string
    Default mime type of the file attached to the encrypted message
    EnableDedicatedIps bool
    If true, we will use your site's dedicated IPs for all outbound connections to this AS2 Partner.
    HexPublicCertificateSerial string
    Serial of public certificate used for message security in hex format.
    HttpAuthPassword string
    NOTE: This field is write-only and its value will not be updated in state as part of read operations. Password to send to server for HTTP Authentication.
    HttpAuthUsername string
    Username to send to server for HTTP Authentication.
    MdnValidationLevel string
    How should Files.com evaluate message transfer success based on a partner's MDN response? This setting does not affect MDN storage; all MDNs received from a partner are always stored. none: MDN is stored for informational purposes only, a successful HTTPS transfer is a successful AS2 transfer. weak: Inspect the MDN for MIC and Disposition only. normal: weak plus validate MDN signature matches body, strict: normal but do not allow signatures from self-signed or incorrectly purposed certificates. auto: Automatically set the correct value for this setting based on next mdn received.
    Name string
    The partner's formal AS2 name.
    PublicCertificate string
    Public certificate used for message security.
    PublicCertificateIssuer string
    Issuer of public certificate used for message security.
    PublicCertificateMd5 string
    MD5 hash of public certificate used for message security.
    PublicCertificateNotAfter string
    Not after value of public certificate used for message security.
    PublicCertificateNotBefore string
    Not before value of public certificate used for message security.
    PublicCertificateSerial string
    Serial of public certificate used for message security.
    PublicCertificateSubject string
    Subject of public certificate used for message security.
    ServerCertificate string
    Should we require that the remote HTTP server have a valid SSL Certificate for HTTPS? (This only applies to Outgoing AS2 message from Files.com to a Partner.)
    SignatureValidationLevel string
    Should Files.com require signatures on incoming AS2 messages? normal: require that incoming messages are signed with a valid matching signature. none: Unsigned incoming messages are allowed. auto: Automatically set the correct value for this setting based on next message received.
    Uri string
    Public URI where we will send the AS2 messages (via HTTP/HTTPS).
    WorkspaceId int
    ID of the Workspace associated with this AS2 Partner.
    AdditionalHttpHeaders interface{}
    Additional HTTP Headers for outgoing message sent to this partner.
    As2StationId int
    ID of the AS2 Station associated with this partner.
    DefaultMimeType string
    Default mime type of the file attached to the encrypted message
    EnableDedicatedIps bool
    If true, we will use your site's dedicated IPs for all outbound connections to this AS2 Partner.
    HexPublicCertificateSerial string
    Serial of public certificate used for message security in hex format.
    HttpAuthPassword string
    NOTE: This field is write-only and its value will not be updated in state as part of read operations. Password to send to server for HTTP Authentication.
    HttpAuthUsername string
    Username to send to server for HTTP Authentication.
    MdnValidationLevel string
    How should Files.com evaluate message transfer success based on a partner's MDN response? This setting does not affect MDN storage; all MDNs received from a partner are always stored. none: MDN is stored for informational purposes only, a successful HTTPS transfer is a successful AS2 transfer. weak: Inspect the MDN for MIC and Disposition only. normal: weak plus validate MDN signature matches body, strict: normal but do not allow signatures from self-signed or incorrectly purposed certificates. auto: Automatically set the correct value for this setting based on next mdn received.
    Name string
    The partner's formal AS2 name.
    PublicCertificate string
    Public certificate used for message security.
    PublicCertificateIssuer string
    Issuer of public certificate used for message security.
    PublicCertificateMd5 string
    MD5 hash of public certificate used for message security.
    PublicCertificateNotAfter string
    Not after value of public certificate used for message security.
    PublicCertificateNotBefore string
    Not before value of public certificate used for message security.
    PublicCertificateSerial string
    Serial of public certificate used for message security.
    PublicCertificateSubject string
    Subject of public certificate used for message security.
    ServerCertificate string
    Should we require that the remote HTTP server have a valid SSL Certificate for HTTPS? (This only applies to Outgoing AS2 message from Files.com to a Partner.)
    SignatureValidationLevel string
    Should Files.com require signatures on incoming AS2 messages? normal: require that incoming messages are signed with a valid matching signature. none: Unsigned incoming messages are allowed. auto: Automatically set the correct value for this setting based on next message received.
    Uri string
    Public URI where we will send the AS2 messages (via HTTP/HTTPS).
    WorkspaceId int
    ID of the Workspace associated with this AS2 Partner.
    additional_http_headers any
    Additional HTTP Headers for outgoing message sent to this partner.
    as2_station_id number
    ID of the AS2 Station associated with this partner.
    default_mime_type string
    Default mime type of the file attached to the encrypted message
    enable_dedicated_ips bool
    If true, we will use your site's dedicated IPs for all outbound connections to this AS2 Partner.
    hex_public_certificate_serial string
    Serial of public certificate used for message security in hex format.
    http_auth_password string
    NOTE: This field is write-only and its value will not be updated in state as part of read operations. Password to send to server for HTTP Authentication.
    http_auth_username string
    Username to send to server for HTTP Authentication.
    mdn_validation_level string
    How should Files.com evaluate message transfer success based on a partner's MDN response? This setting does not affect MDN storage; all MDNs received from a partner are always stored. none: MDN is stored for informational purposes only, a successful HTTPS transfer is a successful AS2 transfer. weak: Inspect the MDN for MIC and Disposition only. normal: weak plus validate MDN signature matches body, strict: normal but do not allow signatures from self-signed or incorrectly purposed certificates. auto: Automatically set the correct value for this setting based on next mdn received.
    name string
    The partner's formal AS2 name.
    public_certificate string
    Public certificate used for message security.
    public_certificate_issuer string
    Issuer of public certificate used for message security.
    public_certificate_md5 string
    MD5 hash of public certificate used for message security.
    public_certificate_not_after string
    Not after value of public certificate used for message security.
    public_certificate_not_before string
    Not before value of public certificate used for message security.
    public_certificate_serial string
    Serial of public certificate used for message security.
    public_certificate_subject string
    Subject of public certificate used for message security.
    server_certificate string
    Should we require that the remote HTTP server have a valid SSL Certificate for HTTPS? (This only applies to Outgoing AS2 message from Files.com to a Partner.)
    signature_validation_level string
    Should Files.com require signatures on incoming AS2 messages? normal: require that incoming messages are signed with a valid matching signature. none: Unsigned incoming messages are allowed. auto: Automatically set the correct value for this setting based on next message received.
    uri string
    Public URI where we will send the AS2 messages (via HTTP/HTTPS).
    workspace_id number
    ID of the Workspace associated with this AS2 Partner.
    additionalHttpHeaders Object
    Additional HTTP Headers for outgoing message sent to this partner.
    as2StationId Integer
    ID of the AS2 Station associated with this partner.
    defaultMimeType String
    Default mime type of the file attached to the encrypted message
    enableDedicatedIps Boolean
    If true, we will use your site's dedicated IPs for all outbound connections to this AS2 Partner.
    hexPublicCertificateSerial String
    Serial of public certificate used for message security in hex format.
    httpAuthPassword String
    NOTE: This field is write-only and its value will not be updated in state as part of read operations. Password to send to server for HTTP Authentication.
    httpAuthUsername String
    Username to send to server for HTTP Authentication.
    mdnValidationLevel String
    How should Files.com evaluate message transfer success based on a partner's MDN response? This setting does not affect MDN storage; all MDNs received from a partner are always stored. none: MDN is stored for informational purposes only, a successful HTTPS transfer is a successful AS2 transfer. weak: Inspect the MDN for MIC and Disposition only. normal: weak plus validate MDN signature matches body, strict: normal but do not allow signatures from self-signed or incorrectly purposed certificates. auto: Automatically set the correct value for this setting based on next mdn received.
    name String
    The partner's formal AS2 name.
    publicCertificate String
    Public certificate used for message security.
    publicCertificateIssuer String
    Issuer of public certificate used for message security.
    publicCertificateMd5 String
    MD5 hash of public certificate used for message security.
    publicCertificateNotAfter String
    Not after value of public certificate used for message security.
    publicCertificateNotBefore String
    Not before value of public certificate used for message security.
    publicCertificateSerial String
    Serial of public certificate used for message security.
    publicCertificateSubject String
    Subject of public certificate used for message security.
    serverCertificate String
    Should we require that the remote HTTP server have a valid SSL Certificate for HTTPS? (This only applies to Outgoing AS2 message from Files.com to a Partner.)
    signatureValidationLevel String
    Should Files.com require signatures on incoming AS2 messages? normal: require that incoming messages are signed with a valid matching signature. none: Unsigned incoming messages are allowed. auto: Automatically set the correct value for this setting based on next message received.
    uri String
    Public URI where we will send the AS2 messages (via HTTP/HTTPS).
    workspaceId Integer
    ID of the Workspace associated with this AS2 Partner.
    additionalHttpHeaders any
    Additional HTTP Headers for outgoing message sent to this partner.
    as2StationId number
    ID of the AS2 Station associated with this partner.
    defaultMimeType string
    Default mime type of the file attached to the encrypted message
    enableDedicatedIps boolean
    If true, we will use your site's dedicated IPs for all outbound connections to this AS2 Partner.
    hexPublicCertificateSerial string
    Serial of public certificate used for message security in hex format.
    httpAuthPassword string
    NOTE: This field is write-only and its value will not be updated in state as part of read operations. Password to send to server for HTTP Authentication.
    httpAuthUsername string
    Username to send to server for HTTP Authentication.
    mdnValidationLevel string
    How should Files.com evaluate message transfer success based on a partner's MDN response? This setting does not affect MDN storage; all MDNs received from a partner are always stored. none: MDN is stored for informational purposes only, a successful HTTPS transfer is a successful AS2 transfer. weak: Inspect the MDN for MIC and Disposition only. normal: weak plus validate MDN signature matches body, strict: normal but do not allow signatures from self-signed or incorrectly purposed certificates. auto: Automatically set the correct value for this setting based on next mdn received.
    name string
    The partner's formal AS2 name.
    publicCertificate string
    Public certificate used for message security.
    publicCertificateIssuer string
    Issuer of public certificate used for message security.
    publicCertificateMd5 string
    MD5 hash of public certificate used for message security.
    publicCertificateNotAfter string
    Not after value of public certificate used for message security.
    publicCertificateNotBefore string
    Not before value of public certificate used for message security.
    publicCertificateSerial string
    Serial of public certificate used for message security.
    publicCertificateSubject string
    Subject of public certificate used for message security.
    serverCertificate string
    Should we require that the remote HTTP server have a valid SSL Certificate for HTTPS? (This only applies to Outgoing AS2 message from Files.com to a Partner.)
    signatureValidationLevel string
    Should Files.com require signatures on incoming AS2 messages? normal: require that incoming messages are signed with a valid matching signature. none: Unsigned incoming messages are allowed. auto: Automatically set the correct value for this setting based on next message received.
    uri string
    Public URI where we will send the AS2 messages (via HTTP/HTTPS).
    workspaceId number
    ID of the Workspace associated with this AS2 Partner.
    additional_http_headers Any
    Additional HTTP Headers for outgoing message sent to this partner.
    as2_station_id int
    ID of the AS2 Station associated with this partner.
    default_mime_type str
    Default mime type of the file attached to the encrypted message
    enable_dedicated_ips bool
    If true, we will use your site's dedicated IPs for all outbound connections to this AS2 Partner.
    hex_public_certificate_serial str
    Serial of public certificate used for message security in hex format.
    http_auth_password str
    NOTE: This field is write-only and its value will not be updated in state as part of read operations. Password to send to server for HTTP Authentication.
    http_auth_username str
    Username to send to server for HTTP Authentication.
    mdn_validation_level str
    How should Files.com evaluate message transfer success based on a partner's MDN response? This setting does not affect MDN storage; all MDNs received from a partner are always stored. none: MDN is stored for informational purposes only, a successful HTTPS transfer is a successful AS2 transfer. weak: Inspect the MDN for MIC and Disposition only. normal: weak plus validate MDN signature matches body, strict: normal but do not allow signatures from self-signed or incorrectly purposed certificates. auto: Automatically set the correct value for this setting based on next mdn received.
    name str
    The partner's formal AS2 name.
    public_certificate str
    Public certificate used for message security.
    public_certificate_issuer str
    Issuer of public certificate used for message security.
    public_certificate_md5 str
    MD5 hash of public certificate used for message security.
    public_certificate_not_after str
    Not after value of public certificate used for message security.
    public_certificate_not_before str
    Not before value of public certificate used for message security.
    public_certificate_serial str
    Serial of public certificate used for message security.
    public_certificate_subject str
    Subject of public certificate used for message security.
    server_certificate str
    Should we require that the remote HTTP server have a valid SSL Certificate for HTTPS? (This only applies to Outgoing AS2 message from Files.com to a Partner.)
    signature_validation_level str
    Should Files.com require signatures on incoming AS2 messages? normal: require that incoming messages are signed with a valid matching signature. none: Unsigned incoming messages are allowed. auto: Automatically set the correct value for this setting based on next message received.
    uri str
    Public URI where we will send the AS2 messages (via HTTP/HTTPS).
    workspace_id int
    ID of the Workspace associated with this AS2 Partner.
    additionalHttpHeaders Any
    Additional HTTP Headers for outgoing message sent to this partner.
    as2StationId Number
    ID of the AS2 Station associated with this partner.
    defaultMimeType String
    Default mime type of the file attached to the encrypted message
    enableDedicatedIps Boolean
    If true, we will use your site's dedicated IPs for all outbound connections to this AS2 Partner.
    hexPublicCertificateSerial String
    Serial of public certificate used for message security in hex format.
    httpAuthPassword String
    NOTE: This field is write-only and its value will not be updated in state as part of read operations. Password to send to server for HTTP Authentication.
    httpAuthUsername String
    Username to send to server for HTTP Authentication.
    mdnValidationLevel String
    How should Files.com evaluate message transfer success based on a partner's MDN response? This setting does not affect MDN storage; all MDNs received from a partner are always stored. none: MDN is stored for informational purposes only, a successful HTTPS transfer is a successful AS2 transfer. weak: Inspect the MDN for MIC and Disposition only. normal: weak plus validate MDN signature matches body, strict: normal but do not allow signatures from self-signed or incorrectly purposed certificates. auto: Automatically set the correct value for this setting based on next mdn received.
    name String
    The partner's formal AS2 name.
    publicCertificate String
    Public certificate used for message security.
    publicCertificateIssuer String
    Issuer of public certificate used for message security.
    publicCertificateMd5 String
    MD5 hash of public certificate used for message security.
    publicCertificateNotAfter String
    Not after value of public certificate used for message security.
    publicCertificateNotBefore String
    Not before value of public certificate used for message security.
    publicCertificateSerial String
    Serial of public certificate used for message security.
    publicCertificateSubject String
    Subject of public certificate used for message security.
    serverCertificate String
    Should we require that the remote HTTP server have a valid SSL Certificate for HTTPS? (This only applies to Outgoing AS2 message from Files.com to a Partner.)
    signatureValidationLevel String
    Should Files.com require signatures on incoming AS2 messages? normal: require that incoming messages are signed with a valid matching signature. none: Unsigned incoming messages are allowed. auto: Automatically set the correct value for this setting based on next message received.
    uri String
    Public URI where we will send the AS2 messages (via HTTP/HTTPS).
    workspaceId Number
    ID of the Workspace associated with this AS2 Partner.

    Import

    The pulumi import command can be used, for example:

    As2 Partners can be imported by specifying the id.

    $ pulumi import filescom:index/as2Partner:As2Partner example_as2_partner 1
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    filescom jschady/pulumi-filescom
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the filescom Terraform Provider.
    filescom logo
    Viewing docs for Files.com v0.1.1
    published on Thursday, Aug 20, 2026 by jschady

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial