1. Registry
  2. Packages
  3. AWS Cloud Control
  4. API Docs
  5. transfer
  6. Agreement

We recommend new projects start with resources from the AWS provider.

Viewing docs for AWS Cloud Control v1.86.0
published on Wednesday, Nov 18, 2026 by Pulumi
aws-native logo aws-native logo AWS Cloud Control

We recommend new projects start with resources from the AWS provider.

Viewing docs for AWS Cloud Control v1.86.0
published on Wednesday, Nov 18, 2026 by Pulumi

    Resource Type definition for AWS::Transfer::Agreement

    Create Agreement Resource

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

    Constructor syntax

    new Agreement(name: string, args: AgreementArgs, opts?: CustomResourceOptions);
    @overload
    def Agreement(resource_name: str,
                  args: AgreementArgs,
                  opts: Optional[ResourceOptions] = None)
    
    @overload
    def Agreement(resource_name: str,
                  opts: Optional[ResourceOptions] = None,
                  access_role: Optional[str] = None,
                  local_profile_id: Optional[str] = None,
                  partner_profile_id: Optional[str] = None,
                  server_id: Optional[str] = None,
                  base_directory: Optional[str] = None,
                  custom_directories: Optional[CustomDirectoriesPropertiesArgs] = None,
                  description: Optional[str] = None,
                  enforce_message_signing: Optional[AgreementEnforceMessageSigning] = None,
                  preserve_filename: Optional[AgreementPreserveFilename] = None,
                  status: Optional[AgreementStatus] = None,
                  tags: Optional[Sequence[_root_inputs.TagArgs]] = None)
    func NewAgreement(ctx *Context, name string, args AgreementArgs, opts ...ResourceOption) (*Agreement, error)
    public Agreement(string name, AgreementArgs args, CustomResourceOptions? opts = null)
    public Agreement(String name, AgreementArgs args)
    public Agreement(String name, AgreementArgs args, CustomResourceOptions options)
    
    type: aws-native:transfer:Agreement
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "aws-native_transfer_agreement" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args AgreementArgs
    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 AgreementArgs
    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 AgreementArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args AgreementArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args AgreementArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Agreement 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 Agreement resource accepts the following input properties:

    AccessRole string
    Specifies the access role for the agreement.
    LocalProfileId string
    A unique identifier for the local profile.
    PartnerProfileId string
    A unique identifier for the partner profile.
    ServerId string
    A unique identifier for the server.
    BaseDirectory string
    Specifies the base directory for the agreement.
    CustomDirectories Pulumi.AwsNative.Transfer.Inputs.CustomDirectoriesProperties
    Specifies a separate directory for each type of file to store for an AS2 message.
    Description string
    A textual description for the agreement.
    EnforceMessageSigning Pulumi.AwsNative.Transfer.AgreementEnforceMessageSigning
    Specifies whether to enforce an AS2 message is signed for this agreement.
    PreserveFilename Pulumi.AwsNative.Transfer.AgreementPreserveFilename
    Specifies whether to preserve the filename received for this agreement.
    Status Pulumi.AwsNative.Transfer.AgreementStatus
    Specifies the status of the agreement.
    Tags List<Pulumi.AwsNative.Inputs.Tag>
    Key-value pairs that can be used to group and search for agreements. Tags are metadata attached to agreements for any purpose.
    AccessRole string
    Specifies the access role for the agreement.
    LocalProfileId string
    A unique identifier for the local profile.
    PartnerProfileId string
    A unique identifier for the partner profile.
    ServerId string
    A unique identifier for the server.
    BaseDirectory string
    Specifies the base directory for the agreement.
    CustomDirectories CustomDirectoriesPropertiesArgs
    Specifies a separate directory for each type of file to store for an AS2 message.
    Description string
    A textual description for the agreement.
    EnforceMessageSigning AgreementEnforceMessageSigning
    Specifies whether to enforce an AS2 message is signed for this agreement.
    PreserveFilename AgreementPreserveFilename
    Specifies whether to preserve the filename received for this agreement.
    Status AgreementStatus
    Specifies the status of the agreement.
    Tags TagArgs
    Key-value pairs that can be used to group and search for agreements. Tags are metadata attached to agreements for any purpose.
    access_role string
    Specifies the access role for the agreement.
    local_profile_id string
    A unique identifier for the local profile.
    partner_profile_id string
    A unique identifier for the partner profile.
    server_id string
    A unique identifier for the server.
    base_directory string
    Specifies the base directory for the agreement.
    custom_directories object
    Specifies a separate directory for each type of file to store for an AS2 message.
    description string
    A textual description for the agreement.
    enforce_message_signing "ENABLED" | "DISABLED"
    Specifies whether to enforce an AS2 message is signed for this agreement.
    preserve_filename "ENABLED" | "DISABLED"
    Specifies whether to preserve the filename received for this agreement.
    status "ACTIVE" | "INACTIVE"
    Specifies the status of the agreement.
    tags list(object)
    Key-value pairs that can be used to group and search for agreements. Tags are metadata attached to agreements for any purpose.
    accessRole String
    Specifies the access role for the agreement.
    localProfileId String
    A unique identifier for the local profile.
    partnerProfileId String
    A unique identifier for the partner profile.
    serverId String
    A unique identifier for the server.
    baseDirectory String
    Specifies the base directory for the agreement.
    customDirectories CustomDirectoriesProperties
    Specifies a separate directory for each type of file to store for an AS2 message.
    description String
    A textual description for the agreement.
    enforceMessageSigning AgreementEnforceMessageSigning
    Specifies whether to enforce an AS2 message is signed for this agreement.
    preserveFilename AgreementPreserveFilename
    Specifies whether to preserve the filename received for this agreement.
    status AgreementStatus
    Specifies the status of the agreement.
    tags List<Tag>
    Key-value pairs that can be used to group and search for agreements. Tags are metadata attached to agreements for any purpose.
    accessRole string
    Specifies the access role for the agreement.
    localProfileId string
    A unique identifier for the local profile.
    partnerProfileId string
    A unique identifier for the partner profile.
    serverId string
    A unique identifier for the server.
    baseDirectory string
    Specifies the base directory for the agreement.
    customDirectories CustomDirectoriesProperties
    Specifies a separate directory for each type of file to store for an AS2 message.
    description string
    A textual description for the agreement.
    enforceMessageSigning AgreementEnforceMessageSigning
    Specifies whether to enforce an AS2 message is signed for this agreement.
    preserveFilename AgreementPreserveFilename
    Specifies whether to preserve the filename received for this agreement.
    status AgreementStatus
    Specifies the status of the agreement.
    tags Tag[]
    Key-value pairs that can be used to group and search for agreements. Tags are metadata attached to agreements for any purpose.
    access_role str
    Specifies the access role for the agreement.
    local_profile_id str
    A unique identifier for the local profile.
    partner_profile_id str
    A unique identifier for the partner profile.
    server_id str
    A unique identifier for the server.
    base_directory str
    Specifies the base directory for the agreement.
    custom_directories CustomDirectoriesPropertiesArgs
    Specifies a separate directory for each type of file to store for an AS2 message.
    description str
    A textual description for the agreement.
    enforce_message_signing AgreementEnforceMessageSigning
    Specifies whether to enforce an AS2 message is signed for this agreement.
    preserve_filename AgreementPreserveFilename
    Specifies whether to preserve the filename received for this agreement.
    status AgreementStatus
    Specifies the status of the agreement.
    tags Sequence[TagArgs]
    Key-value pairs that can be used to group and search for agreements. Tags are metadata attached to agreements for any purpose.
    accessRole String
    Specifies the access role for the agreement.
    localProfileId String
    A unique identifier for the local profile.
    partnerProfileId String
    A unique identifier for the partner profile.
    serverId String
    A unique identifier for the server.
    baseDirectory String
    Specifies the base directory for the agreement.
    customDirectories Property Map
    Specifies a separate directory for each type of file to store for an AS2 message.
    description String
    A textual description for the agreement.
    enforceMessageSigning "ENABLED" | "DISABLED"
    Specifies whether to enforce an AS2 message is signed for this agreement.
    preserveFilename "ENABLED" | "DISABLED"
    Specifies whether to preserve the filename received for this agreement.
    status "ACTIVE" | "INACTIVE"
    Specifies the status of the agreement.
    tags List<Property Map>
    Key-value pairs that can be used to group and search for agreements. Tags are metadata attached to agreements for any purpose.

    Outputs

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

    AgreementId string
    A unique identifier for the agreement.
    Arn string
    Specifies the unique Amazon Resource Name (ARN) for the agreement.
    Id string
    The provider-assigned unique ID for this managed resource.
    AgreementId string
    A unique identifier for the agreement.
    Arn string
    Specifies the unique Amazon Resource Name (ARN) for the agreement.
    Id string
    The provider-assigned unique ID for this managed resource.
    agreement_id string
    A unique identifier for the agreement.
    arn string
    Specifies the unique Amazon Resource Name (ARN) for the agreement.
    id string
    The provider-assigned unique ID for this managed resource.
    agreementId String
    A unique identifier for the agreement.
    arn String
    Specifies the unique Amazon Resource Name (ARN) for the agreement.
    id String
    The provider-assigned unique ID for this managed resource.
    agreementId string
    A unique identifier for the agreement.
    arn string
    Specifies the unique Amazon Resource Name (ARN) for the agreement.
    id string
    The provider-assigned unique ID for this managed resource.
    agreement_id str
    A unique identifier for the agreement.
    arn str
    Specifies the unique Amazon Resource Name (ARN) for the agreement.
    id str
    The provider-assigned unique ID for this managed resource.
    agreementId String
    A unique identifier for the agreement.
    arn String
    Specifies the unique Amazon Resource Name (ARN) for the agreement.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing Agreement Resource

    Get an existing Agreement 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>, opts?: CustomResourceOptions): Agreement
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None) -> Agreement
    func GetAgreement(ctx *Context, name string, id IDInput, state *AgreementState, opts ...ResourceOption) (*Agreement, error)
    public static Agreement Get(string name, Input<string> id, CustomResourceOptions? opts = null)
    public static Agreement get(String name, Output<String> id, CustomResourceOptions options)
    resources:  existingAgreement:    type: aws-native:transfer:Agreement    get:      id: ${id}
    import {
      to = aws-native_transfer_agreement.example
      id = "${id}"
    }
    
    name string
    The unique name of the resulting resource.
    id Input<ID>
    The unique provider ID of the resource to look up.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resulting resource.
    id str
    The unique provider ID of the resource to look up.
    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 resulting resource.
    id IDInput
    The unique provider ID of the resource to look up.
    state AgreementState
    Pass nil. This resource has no state arguments.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resulting resource.
    id Input<string>
    The unique provider ID of the resource to look up.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resulting resource.
    id Output<String>
    The unique provider ID of the resource to look up.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Supporting Types

    AgreementEnforceMessageSigning

    Specifies whether to enforce an AS2 message is signed for this agreement.

    NameValue
    EnabledENABLED
    DisabledDISABLED
    NameValue
    AgreementEnforceMessageSigningEnabledENABLED
    AgreementEnforceMessageSigningDisabledDISABLED
    Value
    ENABLED
    DISABLED
    NameValue
    EnabledENABLED
    DisabledDISABLED
    NameValue
    EnabledENABLED
    DisabledDISABLED
    NameValue
    ENABLEDENABLED
    DISABLEDDISABLED
    Value
    ENABLED
    DISABLED

    AgreementPreserveFilename

    Specifies whether to preserve the filename received for this agreement.

    NameValue
    EnabledENABLED
    DisabledDISABLED
    NameValue
    AgreementPreserveFilenameEnabledENABLED
    AgreementPreserveFilenameDisabledDISABLED
    Value
    ENABLED
    DISABLED
    NameValue
    EnabledENABLED
    DisabledDISABLED
    NameValue
    EnabledENABLED
    DisabledDISABLED
    NameValue
    ENABLEDENABLED
    DISABLEDDISABLED
    Value
    ENABLED
    DISABLED

    AgreementStatus

    Specifies the status of the agreement.

    NameValue
    ActiveACTIVE
    InactiveINACTIVE
    NameValue
    AgreementStatusActiveACTIVE
    AgreementStatusInactiveINACTIVE
    Value
    ACTIVE
    INACTIVE
    NameValue
    ActiveACTIVE
    InactiveINACTIVE
    NameValue
    ActiveACTIVE
    InactiveINACTIVE
    NameValue
    ACTIVEACTIVE
    INACTIVEINACTIVE
    Value
    ACTIVE
    INACTIVE

    CustomDirectoriesProperties, CustomDirectoriesPropertiesArgs

    Specifies a separate directory for each type of file to store for an AS2 message.

    FailedFilesDirectory string
    Specifies a location to store the failed files for an AS2 message.
    MdnFilesDirectory string
    Specifies a location to store the MDN file for an AS2 message.
    PayloadFilesDirectory string
    Specifies a location to store the payload file for an AS2 message.
    StatusFilesDirectory string
    Specifies a location to store the status file for an AS2 message.
    TemporaryFilesDirectory string
    Specifies a location to store the temporary processing file for an AS2 message.
    FailedFilesDirectory string
    Specifies a location to store the failed files for an AS2 message.
    MdnFilesDirectory string
    Specifies a location to store the MDN file for an AS2 message.
    PayloadFilesDirectory string
    Specifies a location to store the payload file for an AS2 message.
    StatusFilesDirectory string
    Specifies a location to store the status file for an AS2 message.
    TemporaryFilesDirectory string
    Specifies a location to store the temporary processing file for an AS2 message.
    failed_files_directory string
    Specifies a location to store the failed files for an AS2 message.
    mdn_files_directory string
    Specifies a location to store the MDN file for an AS2 message.
    payload_files_directory string
    Specifies a location to store the payload file for an AS2 message.
    status_files_directory string
    Specifies a location to store the status file for an AS2 message.
    temporary_files_directory string
    Specifies a location to store the temporary processing file for an AS2 message.
    failedFilesDirectory String
    Specifies a location to store the failed files for an AS2 message.
    mdnFilesDirectory String
    Specifies a location to store the MDN file for an AS2 message.
    payloadFilesDirectory String
    Specifies a location to store the payload file for an AS2 message.
    statusFilesDirectory String
    Specifies a location to store the status file for an AS2 message.
    temporaryFilesDirectory String
    Specifies a location to store the temporary processing file for an AS2 message.
    failedFilesDirectory string
    Specifies a location to store the failed files for an AS2 message.
    mdnFilesDirectory string
    Specifies a location to store the MDN file for an AS2 message.
    payloadFilesDirectory string
    Specifies a location to store the payload file for an AS2 message.
    statusFilesDirectory string
    Specifies a location to store the status file for an AS2 message.
    temporaryFilesDirectory string
    Specifies a location to store the temporary processing file for an AS2 message.
    failed_files_directory str
    Specifies a location to store the failed files for an AS2 message.
    mdn_files_directory str
    Specifies a location to store the MDN file for an AS2 message.
    payload_files_directory str
    Specifies a location to store the payload file for an AS2 message.
    status_files_directory str
    Specifies a location to store the status file for an AS2 message.
    temporary_files_directory str
    Specifies a location to store the temporary processing file for an AS2 message.
    failedFilesDirectory String
    Specifies a location to store the failed files for an AS2 message.
    mdnFilesDirectory String
    Specifies a location to store the MDN file for an AS2 message.
    payloadFilesDirectory String
    Specifies a location to store the payload file for an AS2 message.
    statusFilesDirectory String
    Specifies a location to store the status file for an AS2 message.
    temporaryFilesDirectory String
    Specifies a location to store the temporary processing file for an AS2 message.

    Tag, TagArgs

    A set of tags to apply to the resource.

    Key string
    The key name of the tag
    Value string
    The value of the tag
    Key string
    The key name of the tag
    Value string
    The value of the tag
    key string
    The key name of the tag
    value string
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag
    key string
    The key name of the tag
    value string
    The value of the tag
    key str
    The key name of the tag
    value str
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag

    Package Details

    Repository
    AWS Native pulumi/pulumi-aws-native
    License
    Apache-2.0
    aws-native logo aws-native logo AWS Cloud Control

    We recommend new projects start with resources from the AWS provider.

    Viewing docs for AWS Cloud Control v1.86.0
    published on Wednesday, Nov 18, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial