Connector

class Connector : KotlinCustomResource

Provides a AWS Transfer AS2 Connector resource.

Example Usage

Basic

package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.transfer.Connector;
import com.pulumi.aws.transfer.ConnectorArgs;
import com.pulumi.aws.transfer.inputs.ConnectorAs2ConfigArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var example = new Connector("example", ConnectorArgs.builder()
.accessRole(aws_iam_role.test().arn())
.as2Config(ConnectorAs2ConfigArgs.builder()
.compression("DISABLED")
.encryptionAlgorithm("AWS128_CBC")
.messageSubject("For Connector")
.localProfileId(aws_transfer_profile.local().profile_id())
.mdnResponse("NONE")
.mdnSigningAlgorithm("NONE")
.partnerProfileId(aws_transfer_profile.partner().profile_id())
.signingAlgorithm("NONE")
.build())
.url("http://www.test.com")
.build());
}
}

Import

Using pulumi import, import Transfer AS2 Connector using the connector_id. For example:

$ pulumi import aws:transfer/connector:Connector example c-4221a88afd5f4362a

Properties

Link copied to clipboard
val accessRole: Output<String>

The IAM Role which provides read and write access to the parent directory of the file location mentioned in the StartFileTransfer request.

Link copied to clipboard
val arn: Output<String>

The ARN of the connector.

Link copied to clipboard

The parameters to configure for the connector object. Fields documented below.

Link copied to clipboard
val connectorId: Output<String>

The unique identifier for the AS2 profile.

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val loggingRole: Output<String>?

The IAM Role which is required for allowing the connector to turn on CloudWatch logging for Amazon S3 events.

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val tags: Output<Map<String, String>>?

A map of tags to assign to the resource. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.

Link copied to clipboard
val tagsAll: Output<Map<String, String>>
Link copied to clipboard
val url: Output<String>

The URL of the partners AS2 endpoint.

Link copied to clipboard
val urn: Output<String>