We recommend new projects start with resources from the AWS provider.
AWS Cloud Control v1.26.0 published on Wednesday, Mar 12, 2025 by Pulumi
aws-native.transfer.getAgreement
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
AWS Cloud Control v1.26.0 published on Wednesday, Mar 12, 2025 by Pulumi
Resource Type definition for AWS::Transfer::Agreement
Using getAgreement
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getAgreement(args: GetAgreementArgs, opts?: InvokeOptions): Promise<GetAgreementResult>
function getAgreementOutput(args: GetAgreementOutputArgs, opts?: InvokeOptions): Output<GetAgreementResult>def get_agreement(agreement_id: Optional[str] = None,
                  server_id: Optional[str] = None,
                  opts: Optional[InvokeOptions] = None) -> GetAgreementResult
def get_agreement_output(agreement_id: Optional[pulumi.Input[str]] = None,
                  server_id: Optional[pulumi.Input[str]] = None,
                  opts: Optional[InvokeOptions] = None) -> Output[GetAgreementResult]func LookupAgreement(ctx *Context, args *LookupAgreementArgs, opts ...InvokeOption) (*LookupAgreementResult, error)
func LookupAgreementOutput(ctx *Context, args *LookupAgreementOutputArgs, opts ...InvokeOption) LookupAgreementResultOutput> Note: This function is named LookupAgreement in the Go SDK.
public static class GetAgreement 
{
    public static Task<GetAgreementResult> InvokeAsync(GetAgreementArgs args, InvokeOptions? opts = null)
    public static Output<GetAgreementResult> Invoke(GetAgreementInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetAgreementResult> getAgreement(GetAgreementArgs args, InvokeOptions options)
public static Output<GetAgreementResult> getAgreement(GetAgreementArgs args, InvokeOptions options)
fn::invoke:
  function: aws-native:transfer:getAgreement
  arguments:
    # arguments dictionaryThe following arguments are supported:
- AgreementId string
- A unique identifier for the agreement.
- ServerId string
- A unique identifier for the server.
- AgreementId string
- A unique identifier for the agreement.
- ServerId string
- A unique identifier for the server.
- agreementId String
- A unique identifier for the agreement.
- serverId String
- A unique identifier for the server.
- agreementId string
- A unique identifier for the agreement.
- serverId string
- A unique identifier for the server.
- agreement_id str
- A unique identifier for the agreement.
- server_id str
- A unique identifier for the server.
- agreementId String
- A unique identifier for the agreement.
- serverId String
- A unique identifier for the server.
getAgreement Result
The following output properties are available:
- AccessRole string
- Specifies the access role for the agreement.
- AgreementId string
- A unique identifier for the agreement.
- Arn string
- Specifies the unique Amazon Resource Name (ARN) for the agreement.
- BaseDirectory string
- Specifies the base directory for the agreement.
- CustomDirectories Pulumi.Aws Native. Transfer. Outputs. Custom Directories Properties 
- Specifies a separate directory for each type of file to store for an AS2 message.
- Description string
- A textual description for the agreement.
- EnforceMessage Pulumi.Signing Aws Native. Transfer. Agreement Enforce Message Signing 
- Specifies whether to enforce an AS2 message is signed for this agreement.
- LocalProfile stringId 
- A unique identifier for the local profile.
- PartnerProfile stringId 
- A unique identifier for the partner profile.
- PreserveFilename Pulumi.Aws Native. Transfer. Agreement Preserve Filename 
- Specifies whether to preserve the filename received for this agreement.
- Status
Pulumi.Aws Native. Transfer. Agreement Status 
- Specifies the status of the agreement.
- 
List<Pulumi.Aws Native. Outputs. 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.
- AgreementId string
- A unique identifier for the agreement.
- Arn string
- Specifies the unique Amazon Resource Name (ARN) for the agreement.
- BaseDirectory string
- Specifies the base directory for the agreement.
- CustomDirectories CustomDirectories Properties 
- Specifies a separate directory for each type of file to store for an AS2 message.
- Description string
- A textual description for the agreement.
- EnforceMessage AgreementSigning Enforce Message Signing 
- Specifies whether to enforce an AS2 message is signed for this agreement.
- LocalProfile stringId 
- A unique identifier for the local profile.
- PartnerProfile stringId 
- A unique identifier for the partner profile.
- PreserveFilename AgreementPreserve Filename 
- Specifies whether to preserve the filename received for this agreement.
- Status
AgreementStatus 
- Specifies the status of the agreement.
- 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.
- agreementId String
- A unique identifier for the agreement.
- arn String
- Specifies the unique Amazon Resource Name (ARN) for the agreement.
- baseDirectory String
- Specifies the base directory for the agreement.
- customDirectories CustomDirectories Properties 
- Specifies a separate directory for each type of file to store for an AS2 message.
- description String
- A textual description for the agreement.
- enforceMessage AgreementSigning Enforce Message Signing 
- Specifies whether to enforce an AS2 message is signed for this agreement.
- localProfile StringId 
- A unique identifier for the local profile.
- partnerProfile StringId 
- A unique identifier for the partner profile.
- preserveFilename AgreementPreserve Filename 
- Specifies whether to preserve the filename received for this agreement.
- status
AgreementStatus 
- Specifies the status of the agreement.
- 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.
- agreementId string
- A unique identifier for the agreement.
- arn string
- Specifies the unique Amazon Resource Name (ARN) for the agreement.
- baseDirectory string
- Specifies the base directory for the agreement.
- customDirectories CustomDirectories Properties 
- Specifies a separate directory for each type of file to store for an AS2 message.
- description string
- A textual description for the agreement.
- enforceMessage AgreementSigning Enforce Message Signing 
- Specifies whether to enforce an AS2 message is signed for this agreement.
- localProfile stringId 
- A unique identifier for the local profile.
- partnerProfile stringId 
- A unique identifier for the partner profile.
- preserveFilename AgreementPreserve Filename 
- Specifies whether to preserve the filename received for this agreement.
- status
AgreementStatus 
- Specifies the status of the agreement.
- 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.
- agreement_id str
- A unique identifier for the agreement.
- arn str
- Specifies the unique Amazon Resource Name (ARN) for the agreement.
- base_directory str
- Specifies the base directory for the agreement.
- custom_directories CustomDirectories Properties 
- 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_ Agreementsigning Enforce Message Signing 
- Specifies whether to enforce an AS2 message is signed for this agreement.
- local_profile_ strid 
- A unique identifier for the local profile.
- partner_profile_ strid 
- A unique identifier for the partner profile.
- preserve_filename AgreementPreserve Filename 
- Specifies whether to preserve the filename received for this agreement.
- status
AgreementStatus 
- Specifies the status of the agreement.
- Sequence[root_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.
- agreementId String
- A unique identifier for the agreement.
- arn String
- Specifies the unique Amazon Resource Name (ARN) for the agreement.
- 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.
- enforceMessage "ENABLED" | "DISABLED"Signing 
- Specifies whether to enforce an AS2 message is signed for this agreement.
- localProfile StringId 
- A unique identifier for the local profile.
- partnerProfile StringId 
- A unique identifier for the partner profile.
- preserveFilename "ENABLED" | "DISABLED"
- Specifies whether to preserve the filename received for this agreement.
- status "ACTIVE" | "INACTIVE"
- Specifies the status of the agreement.
- 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.
Supporting Types
AgreementEnforceMessageSigning   
AgreementPreserveFilename  
AgreementStatus 
CustomDirectoriesProperties  
- FailedFiles stringDirectory 
- Specifies a location to store the failed files for an AS2 message.
- MdnFiles stringDirectory 
- Specifies a location to store the MDN file for an AS2 message.
- PayloadFiles stringDirectory 
- Specifies a location to store the payload file for an AS2 message.
- StatusFiles stringDirectory 
- Specifies a location to store the status file for an AS2 message.
- TemporaryFiles stringDirectory 
- Specifies a location to store the temporary processing file for an AS2 message.
- FailedFiles stringDirectory 
- Specifies a location to store the failed files for an AS2 message.
- MdnFiles stringDirectory 
- Specifies a location to store the MDN file for an AS2 message.
- PayloadFiles stringDirectory 
- Specifies a location to store the payload file for an AS2 message.
- StatusFiles stringDirectory 
- Specifies a location to store the status file for an AS2 message.
- TemporaryFiles stringDirectory 
- Specifies a location to store the temporary processing file for an AS2 message.
- failedFiles StringDirectory 
- Specifies a location to store the failed files for an AS2 message.
- mdnFiles StringDirectory 
- Specifies a location to store the MDN file for an AS2 message.
- payloadFiles StringDirectory 
- Specifies a location to store the payload file for an AS2 message.
- statusFiles StringDirectory 
- Specifies a location to store the status file for an AS2 message.
- temporaryFiles StringDirectory 
- Specifies a location to store the temporary processing file for an AS2 message.
- failedFiles stringDirectory 
- Specifies a location to store the failed files for an AS2 message.
- mdnFiles stringDirectory 
- Specifies a location to store the MDN file for an AS2 message.
- payloadFiles stringDirectory 
- Specifies a location to store the payload file for an AS2 message.
- statusFiles stringDirectory 
- Specifies a location to store the status file for an AS2 message.
- temporaryFiles stringDirectory 
- Specifies a location to store the temporary processing file for an AS2 message.
- failed_files_ strdirectory 
- Specifies a location to store the failed files for an AS2 message.
- mdn_files_ strdirectory 
- Specifies a location to store the MDN file for an AS2 message.
- payload_files_ strdirectory 
- Specifies a location to store the payload file for an AS2 message.
- status_files_ strdirectory 
- Specifies a location to store the status file for an AS2 message.
- temporary_files_ strdirectory 
- Specifies a location to store the temporary processing file for an AS2 message.
- failedFiles StringDirectory 
- Specifies a location to store the failed files for an AS2 message.
- mdnFiles StringDirectory 
- Specifies a location to store the MDN file for an AS2 message.
- payloadFiles StringDirectory 
- Specifies a location to store the payload file for an AS2 message.
- statusFiles StringDirectory 
- Specifies a location to store the status file for an AS2 message.
- temporaryFiles StringDirectory 
- Specifies a location to store the temporary processing file for an AS2 message.
Tag
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.
AWS Cloud Control v1.26.0 published on Wednesday, Mar 12, 2025 by Pulumi