packages/aws/data_stream/s3access/agent/stream/aws-s3.yml.hbs (86 lines of code) (raw):

{{#if collect_s3_logs}} {{#if bucket_arn}} bucket_arn: {{bucket_arn}} {{else if access_point_arn}} access_point_arn: {{access_point_arn}} {{/if}} {{#if interval}} bucket_list_interval: {{interval}} {{/if}} {{#if bucket_list_prefix}} bucket_list_prefix: {{bucket_list_prefix}} {{/if}} {{#if start_timestamp}} start_timestamp: {{start_timestamp}} {{/if}} {{#if ignore_older}} ignore_older: {{ignore_older}} {{/if}} {{else}} {{#if queue_url}} queue_url: {{queue_url}} {{/if}} {{#if visibility_timeout}} visibility_timeout: {{visibility_timeout}} {{/if}} {{#if api_timeout}} api_timeout: {{api_timeout}} {{/if}} {{#if max_number_of_messages}} max_number_of_messages: {{max_number_of_messages}} {{/if}} {{/if}} {{! allows number of workers to be configured for SQS queue and S3 buckets}} {{#if number_of_workers}} number_of_workers: {{number_of_workers}} {{/if}} {{#if credential_profile_name}} credential_profile_name: {{credential_profile_name}} {{/if}} {{#if shared_credential_file}} shared_credential_file: {{shared_credential_file}} {{/if}} {{#if endpoint}} endpoint: {{endpoint}} {{/if}} {{#if region}} region: {{region}} {{/if}} {{#if default_region}} default_region: {{default_region}} {{/if}} {{#if access_key_id}} access_key_id: {{access_key_id}} {{/if}} {{#if secret_access_key}} secret_access_key: {{secret_access_key}} {{/if}} {{#if session_token}} session_token: {{session_token}} {{/if}} {{#if role_arn}} role_arn: {{role_arn}} {{/if}} {{#if fips_enabled}} fips_enabled: {{fips_enabled}} {{/if}} {{#if proxy_url }} proxy_url: {{proxy_url}} {{/if}} tags: {{#if preserve_original_event}} - preserve_original_event {{/if}} {{#each tags as |tag i|}} - {{tag}} {{/each}} {{#contains "forwarded" tags}} publisher_pipeline.disable_host: true {{/contains}} {{#if processors}} processors: {{processors}} {{/if}} {{#if custom}} {{custom}} {{/if}}