Overview
These public interfaces are used in Amazon related services components. They are provided for implementing advanced functionality in your scripts. In order for you to use these interfaces in your project, you have to reference CozyRoc.SSISPlus.dll library.
IAmazonS3Connection
When you call Amazon S3 Connection Manager AcquireConnection method, it returns object implementing IAmazonS3Connection interface. This is the interface used for interaction with Amazon S3 service.
Methods
Retrieves list of available buckets. The method result is array of strings.
Retrieves list of available objects in a bucket. The method result is array of IFileInfo objects. These are the method parameters:
- bucket (string) - name of bucket.
Downloads object from Amazon S3 service. The method result is Stream to object. These are the method parameters:
- bucket (string) - name of bucket.
- name (string) - name of object.
Uploads object to Amazon S3 service. These are the method parameters:
- bucket (string) - name of bucket.
- name (string) - name of object.
- stream (Stream) - stream to uploaded object.
- contentType (string) - MIME content type of object.
- acl (string) - access control of object. This parameter has the options listed in the following table (from Amazon S3 documentation).
Value Description private Owner gets FULL_CONTROL. public-read Owner gets FULL_CONTROL and the anonymous principal is granted READ access. public-read-write Owner gets FULL_CONTROL, the anonymous principal is granted READ and WRITE access. authenticated-read Owner gets FULL_CONTROL, and any principal authenticated as a registered Amazon S3 user is granted READ access.
Removes object from Amazon S3 service. These are the method parameters:
- bucket (string) - name of bucket.
- name (string) - name of object.
Copies object from Amazon S3 bucket to another. These are the method parameters:
- srcBucket (string) - name of source bucket.
- name (string) - name of source object.
- destBucket (string) - name of destination bucket.
- destName (string) - name of destination object.
Properties
Specify the name or IP address of the Amazon S3 service.
Specify to establish secure HTTPS connection with Amazon S3 service on port 443.
Specify to connect to Amazon S3 service, using regular calling format. Set to false, when connecting to EU Amazon S3 service.
Specify access key for Amazon S3 service.
Specify secret key for Amazon S3 service.
Specify the number of seconds before timing out session connect. The default value of this property is 100.
Set to true to use proxy.
Specify the name or IP address of the proxy server.
Specify the port number on the proxy server to use for the connection. The default value of this property is 80.
Specify user name to access the proxy server.
Specify password to access the proxy server.
Knowledge Base
COZYROC SSIS+ Components Suite is free for testing in your development environment.
A licensed version can be deployed on-premises, on Azure-SSIS IR and on COZYROC Cloud.