@Generated(value="jsii-pacmak/1.72.0 (build 4b8828b)", date="2023-01-03T16:22:30.651Z") @Stability(value=Stable) public interface CfnConnectorProps 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.*;
Object as2Config;
CfnConnectorProps cfnConnectorProps = CfnConnectorProps.builder()
.accessRole("accessRole")
.as2Config(as2Config)
.url("url")
// the properties below are optional
.loggingRole("loggingRole")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnConnectorProps.Builder
A builder for
CfnConnectorProps |
static class |
CfnConnectorProps.Jsii$Proxy
An implementation for
CfnConnectorProps |
| Modifier and Type | Method and Description |
|---|---|
static CfnConnectorProps.Builder |
builder() |
String |
getAccessRole()
With AS2, you can send files by calling `StartFileTransfer` and specifying the file paths in the request parameter, `SendFilePaths` .
|
Object |
getAs2Config()
A structure that contains the parameters for a connector object.
|
default String |
getLoggingRole()
The Amazon Resource Name (ARN) of the AWS Identity and Access Management (IAM) role that allows a connector to turn on CloudWatch logging for Amazon S3 events.
|
default List<CfnTag> |
getTags()
Key-value pairs that can be used to group and search for connectors.
|
String |
getUrl()
The URL of the partner's AS2 endpoint.
|
@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 Object getAs2Config()
@Stability(value=Stable) @NotNull String getUrl()
@Stability(value=Stable) @Nullable default String getLoggingRole()
When set, you can view connector activity in your CloudWatch logs.
@Stability(value=Stable) @Nullable default List<CfnTag> getTags()
@Stability(value=Stable) static CfnConnectorProps.Builder builder()
CfnConnectorProps.Builder of CfnConnectorPropsCopyright © 2023. All rights reserved.