@Generated(value="jsii-pacmak/1.73.0 (build 6faeda3)", date="2023-01-25T18:29:00.712Z") @Stability(value=Stable) public interface CfnAgreementProps extends software.amazon.jsii.JsiiSerializable
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.transfer.*;
CfnAgreementProps cfnAgreementProps = CfnAgreementProps.builder()
.accessRole("accessRole")
.baseDirectory("baseDirectory")
.localProfileId("localProfileId")
.partnerProfileId("partnerProfileId")
.serverId("serverId")
// the properties below are optional
.description("description")
.status("status")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnAgreementProps.Builder
A builder for
CfnAgreementProps |
static class |
CfnAgreementProps.Jsii$Proxy
An implementation for
CfnAgreementProps |
| Modifier and Type | Method and Description |
|---|---|
static CfnAgreementProps.Builder |
builder() |
String |
getAccessRole()
With AS2, you can send files by calling `StartFileTransfer` and specifying the file paths in the request parameter, `SendFilePaths` .
|
String |
getBaseDirectory()
The landing directory (folder) for files that are transferred by using the AS2 protocol.
|
default String |
getDescription()
The name or short description that's used to identify the agreement.
|
String |
getLocalProfileId()
A unique identifier for the AS2 local profile.
|
String |
getPartnerProfileId()
A unique identifier for the partner profile used in the agreement.
|
String |
getServerId()
A system-assigned unique identifier for a server instance.
|
default String |
getStatus()
The current status of the agreement, either `ACTIVE` or `INACTIVE` .
|
default List<CfnTag> |
getTags()
Key-value pairs that can be used to group and search for agreements.
|
@Stability(value=Stable) @NotNull String getAccessRole()
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 .
@Stability(value=Stable) @NotNull String getBaseDirectory()
@Stability(value=Stable) @NotNull String getLocalProfileId()
@Stability(value=Stable) @NotNull String getPartnerProfileId()
@Stability(value=Stable) @NotNull String getServerId()
This identifier indicates the specific server that the agreement uses.
@Stability(value=Stable) @Nullable default String getDescription()
@Stability(value=Stable) @Nullable default String getStatus()
@Stability(value=Stable) @Nullable default List<CfnTag> getTags()
@Stability(value=Stable) static CfnAgreementProps.Builder builder()
CfnAgreementProps.Builder of CfnAgreementPropsCopyright © 2023. All rights reserved.