@Stability(value=Stable) public static final class CfnAgreement.Builder extends Object implements software.amazon.jsii.Builder<CfnAgreement>
CfnAgreement.| Modifier and Type | Method and Description |
|---|---|
CfnAgreement.Builder |
accessRole(String accessRole)
With AS2, you can send files by calling `StartFileTransfer` and specifying the file paths in the request parameter, `SendFilePaths` .
|
CfnAgreement.Builder |
baseDirectory(String baseDirectory)
The landing directory (folder) for files that are transferred by using the AS2 protocol.
|
CfnAgreement |
build() |
static CfnAgreement.Builder |
create(Construct scope,
String id) |
CfnAgreement.Builder |
description(String description)
The name or short description that's used to identify the agreement.
|
CfnAgreement.Builder |
localProfileId(String localProfileId)
A unique identifier for the AS2 local profile.
|
CfnAgreement.Builder |
partnerProfileId(String partnerProfileId)
A unique identifier for the partner profile used in the agreement.
|
CfnAgreement.Builder |
serverId(String serverId)
A system-assigned unique identifier for a server instance.
|
CfnAgreement.Builder |
status(String status)
The current status of the agreement, either `ACTIVE` or `INACTIVE` .
|
CfnAgreement.Builder |
tags(List<? extends CfnTag> tags)
Key-value pairs that can be used to group and search for agreements.
|
@Stability(value=Stable) public static CfnAgreement.Builder create(Construct scope, String id)
scope - - scope in which this resource is defined. This parameter is required.id - - scoped id of the resource. This parameter is required.CfnAgreement.Builder.@Stability(value=Stable) public CfnAgreement.Builder accessRole(String accessRole)
We use the file’s parent directory (for example, for --send-file-paths /bucket/dir/file.txt , parent directory is /bucket/dir/ ) to temporarily store a processed AS2 message file, store the MDN when we receive them from the partner, and write a final JSON file containing relevant metadata of the transmission. So, the AccessRole needs to provide read and write access to the parent directory of the file location used in the StartFileTransfer request. Additionally, you need to provide read and write access to the parent directory of the files that you intend to send with StartFileTransfer .
accessRole - With AS2, you can send files by calling `StartFileTransfer` and specifying the file paths in the request parameter, `SendFilePaths` . This parameter is required.this@Stability(value=Stable) public CfnAgreement.Builder baseDirectory(String baseDirectory)
baseDirectory - The landing directory (folder) for files that are transferred by using the AS2 protocol. This parameter is required.this@Stability(value=Stable) public CfnAgreement.Builder localProfileId(String localProfileId)
localProfileId - A unique identifier for the AS2 local profile. This parameter is required.this@Stability(value=Stable) public CfnAgreement.Builder partnerProfileId(String partnerProfileId)
partnerProfileId - A unique identifier for the partner profile used in the agreement. This parameter is required.this@Stability(value=Stable) public CfnAgreement.Builder serverId(String serverId)
This identifier indicates the specific server that the agreement uses.
serverId - A system-assigned unique identifier for a server instance. This parameter is required.this@Stability(value=Stable) public CfnAgreement.Builder description(String description)
description - The name or short description that's used to identify the agreement. This parameter is required.this@Stability(value=Stable) public CfnAgreement.Builder status(String status)
status - The current status of the agreement, either `ACTIVE` or `INACTIVE` . This parameter is required.this@Stability(value=Stable) public CfnAgreement.Builder tags(List<? extends CfnTag> tags)
tags - Key-value pairs that can be used to group and search for agreements. This parameter is required.this@Stability(value=Stable) public CfnAgreement build()
build in interface software.amazon.jsii.Builder<CfnAgreement>Copyright © 2023. All rights reserved.