Appflow Patterns - a library to facilitate data flows
This library aims at simplifying the task of setting up data flows between SaaS like SharePoint and S3.
This library is written using the wonderful projen framework.
Note: this library is just the result of some personal experimentation. It is not an official AWS library and is not supported by AWS!
Installation
The library is available on npmjs.com and can be installed using:
npm i dms-patterns
And on pypi:
pip install dms-patterns
Usage Examples
Sharepoint to S3
This example creates a scheduled and ondemand flow from a sharepoint site to an s3 bucket.
import { Sharepoint2S3Flow } from '../src/appflow-patterns/sharepoint2s3';
export class Sharepoint2S3Stack extends cdk.Stack {
constructor(scope: Construct, id: string, props: cdk.StackProps) {
super(scope, id, props);
const bucket = new s3.Bucket(this, 'Bucket', {
bucketName: 'my-bucket',
});
new Sharepoint2S3Flow(this, 'Sharepoint2S3Flow', {
site: 'sites/${siteName},${siteID},${webID}',
entities: ['${site}/_api/v2.0/drive/root:/path/to/folder'],
profileArn: 'arn:aws:appflow:us-east-1:123456789012:connector-profile/12345678-1234-1234-1234-123456789012',
bucketName: bucket.bucketName,
scheduleExpression: 'rate(12 hour)',
});
}
}
Currently, only carbon-based entities are supported due to a limitation of AWS Appflow.
Metadata
Release files for appflow-patterns 0.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| appflow-patterns-0.0.2.tar.gz | 31.9 kB | Without provenance | Details for appflow-patterns-0.0.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| appflow_patterns-0.0.2-py3-none-any.whl | Python 3 | none | any | Details for appflow_patterns-0.0.2-py3-none-any.whl |
Total release size: 62.3 kB
Release files / appflow-patterns-0.0.2.tar.gz
| Download URL | appflow-patterns-0.0.2.tar.gz |
|---|---|
| Size | 31.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a7f4bff0ef587d9d8353d4f75ac669f24f84e20b16fb1f0a5b147b0232339493
|
|
BLAKE2b-256 checksum How to use checksums |
9d3153c5420d3414c9aee2810d04d701c576fc88d77ffa041b5e7fcb9ff8f649
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.12.2
|
Release files / appflow_patterns-0.0.2-py3-none-any.whl
| Download URL | appflow_patterns-0.0.2-py3-none-any.whl |
|---|---|
| Size | 30.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
336898a68598b320f4e8af44b9a59e96d3b81c314f78b882cf6efccbf722be2a
|
|
BLAKE2b-256 checksum How to use checksums |
69385d3a9025f8aef593e59498f30bd6310d7f4e09aa5202a64631e620adc671
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.12.2
|
Security for appflow-patterns 0.0.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.