We recommend new projects start with resources from the AWS provider.
AWS Cloud Control v1.37.0 published on Wednesday, Oct 15, 2025 by Pulumi
aws-native.transfer.getAgreement
We recommend new projects start with resources from the AWS provider.
AWS Cloud Control v1.37.0 published on Wednesday, Oct 15, 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:
- Agreement
Id string - A unique identifier for the agreement.
- Server
Id string - A unique identifier for the server.
- Agreement
Id string - A unique identifier for the agreement.
- Server
Id string - A unique identifier for the server.
- agreement
Id String - A unique identifier for the agreement.
- server
Id String - A unique identifier for the server.
- agreement
Id string - A unique identifier for the agreement.
- server
Id 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.
- agreement
Id String - A unique identifier for the agreement.
- server
Id String - A unique identifier for the server.
getAgreement Result
The following output properties are available:
- Access
Role string - Specifies the access role for the agreement.
- Agreement
Id string - A unique identifier for the agreement.
- Arn string
- Specifies the unique Amazon Resource Name (ARN) for the agreement.
- Base
Directory string - Specifies the base directory for the agreement.
- Custom
Directories 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.
- Enforce
Message Pulumi.Signing Aws Native. Transfer. Agreement Enforce Message Signing - Specifies whether to enforce an AS2 message is signed for this agreement.
- Local
Profile stringId - A unique identifier for the local profile.
- Partner
Profile stringId - A unique identifier for the partner profile.
- Preserve
Filename 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.
- Access
Role string - Specifies the access role for the agreement.
- Agreement
Id string - A unique identifier for the agreement.
- Arn string
- Specifies the unique Amazon Resource Name (ARN) for the agreement.
- Base
Directory string - 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 string
- 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 stringId - A unique identifier for the local profile.
- Partner
Profile stringId - A unique identifier for the partner profile.
- Preserve
Filename AgreementPreserve Filename - Specifies whether to preserve the filename received for this agreement.
- Status
Agreement
Status - 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 String - Specifies the access role for the agreement.
- agreement
Id String - A unique identifier for the agreement.
- arn String
- Specifies the unique Amazon Resource Name (ARN) for the agreement.
- base
Directory String - 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 String
- 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 StringId - A unique identifier for the local profile.
- partner
Profile StringId - A unique identifier for the partner profile.
- preserve
Filename AgreementPreserve Filename - Specifies whether to preserve the filename received for this agreement.
- status
Agreement
Status - 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.
- access
Role string - Specifies the access role for the agreement.
- agreement
Id string - A unique identifier for the agreement.
- arn string
- Specifies the unique Amazon Resource Name (ARN) for the agreement.
- base
Directory string - 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 string
- 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 stringId - A unique identifier for the local profile.
- partner
Profile stringId - A unique identifier for the partner profile.
- preserve
Filename AgreementPreserve Filename - Specifies whether to preserve the filename received for this agreement.
- status
Agreement
Status - 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
Agreement
Status - 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.
- access
Role String - Specifies the access role for the agreement.
- agreement
Id String - A unique identifier for the agreement.
- arn String
- Specifies the unique Amazon Resource Name (ARN) for the agreement.
- base
Directory String - Specifies the base directory for the agreement.
- custom
Directories 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.
- enforce
Message "ENABLED" | "DISABLED"Signing - Specifies whether to enforce an AS2 message is signed for this agreement.
- local
Profile StringId - A unique identifier for the local profile.
- partner
Profile StringId - A unique identifier for the partner profile.
- preserve
Filename "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
- Failed
Files stringDirectory - Specifies a location to store the failed files for an AS2 message.
- Mdn
Files stringDirectory - Specifies a location to store the MDN file for an AS2 message.
- Payload
Files stringDirectory - Specifies a location to store the payload file for an AS2 message.
- Status
Files stringDirectory - Specifies a location to store the status file for an AS2 message.
- Temporary
Files stringDirectory - Specifies a location to store the temporary processing file for an AS2 message.
- Failed
Files stringDirectory - Specifies a location to store the failed files for an AS2 message.
- Mdn
Files stringDirectory - Specifies a location to store the MDN file for an AS2 message.
- Payload
Files stringDirectory - Specifies a location to store the payload file for an AS2 message.
- Status
Files stringDirectory - Specifies a location to store the status file for an AS2 message.
- Temporary
Files stringDirectory - Specifies a location to store the temporary processing file for an AS2 message.
- failed
Files StringDirectory - Specifies a location to store the failed files for an AS2 message.
- mdn
Files StringDirectory - Specifies a location to store the MDN file for an AS2 message.
- payload
Files StringDirectory - Specifies a location to store the payload file for an AS2 message.
- status
Files StringDirectory - Specifies a location to store the status file for an AS2 message.
- temporary
Files StringDirectory - Specifies a location to store the temporary processing file for an AS2 message.
- failed
Files stringDirectory - Specifies a location to store the failed files for an AS2 message.
- mdn
Files stringDirectory - Specifies a location to store the MDN file for an AS2 message.
- payload
Files stringDirectory - Specifies a location to store the payload file for an AS2 message.
- status
Files stringDirectory - Specifies a location to store the status file for an AS2 message.
- temporary
Files 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.
- failed
Files StringDirectory - Specifies a location to store the failed files for an AS2 message.
- mdn
Files StringDirectory - Specifies a location to store the MDN file for an AS2 message.
- payload
Files StringDirectory - Specifies a location to store the payload file for an AS2 message.
- status
Files StringDirectory - Specifies a location to store the status file for an AS2 message.
- temporary
Files 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.37.0 published on Wednesday, Oct 15, 2025 by Pulumi
