@Stability(value=Stable) public static final class CfnConnector.Builder extends Object implements software.amazon.jsii.Builder<CfnConnector>
CfnConnector.| Modifier and Type | Method and Description |
|---|---|
CfnConnector.Builder |
accessRole(String accessRole)
With AS2, you can send files by calling `StartFileTransfer` and specifying the file paths in the request parameter, `SendFilePaths` .
|
CfnConnector.Builder |
as2Config(Object as2Config)
A structure that contains the parameters for a connector object.
|
CfnConnector |
build() |
static CfnConnector.Builder |
create(Construct scope,
String id) |
CfnConnector.Builder |
loggingRole(String loggingRole)
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.
|
CfnConnector.Builder |
tags(List<? extends CfnTag> tags)
Key-value pairs that can be used to group and search for connectors.
|
CfnConnector.Builder |
url(String url)
The URL of the partner's AS2 endpoint.
|
@Stability(value=Stable) public static CfnConnector.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.CfnConnector.As2ConfigProperty.Builder.@Stability(value=Stable) public CfnConnector.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 CfnConnector.Builder as2Config(Object as2Config)
as2Config - A structure that contains the parameters for a connector object. This parameter is required.this@Stability(value=Stable) public CfnConnector.Builder url(String url)
url - The URL of the partner's AS2 endpoint. This parameter is required.this@Stability(value=Stable) public CfnConnector.Builder loggingRole(String loggingRole)
When set, you can view connector activity in your CloudWatch logs.
loggingRole - 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. This parameter is required.this@Stability(value=Stable) public CfnConnector.Builder tags(List<? extends CfnTag> tags)
tags - Key-value pairs that can be used to group and search for connectors. This parameter is required.this@Stability(value=Stable) public CfnConnector build()
build in interface software.amazon.jsii.Builder<CfnConnector>Copyright © 2022. All rights reserved.