Created
October 7, 2020 21:31
-
-
Save sid137/c7e15b7c3859c48f36f492175f24f654 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| AWSTemplateFormatVersion: '2010-09-09' | |
| Description: "\n Creates server autoscaling groups for syslog servers, S3 buckets\ | |
| \ for storage, and dyanmoDB tables for caching. Also logmanagement\n " | |
| Resources: | |
| SyslogBucket: | |
| Properties: | |
| BucketEncryption: | |
| ServerSideEncryptionConfiguration: | |
| - ServerSideEncryptionByDefault: | |
| SSEAlgorithm: AES256 | |
| BucketName: boundless-dev-eu-west-1-syslog-data | |
| InventoryConfigurations: | |
| - Destination: | |
| BucketArn: arn:aws:s3:::boundless-dev-eu-west-1-syslog-data | |
| Format: CSV | |
| Enabled: 'true' | |
| Id: boundless-dev-eu-west-1-syslog-data-inventory-csv | |
| IncludedObjectVersions: All | |
| OptionalFields: [] | |
| Prefix: inventory/ | |
| ScheduleFrequency: Daily | |
| - Destination: | |
| BucketArn: arn:aws:s3:::boundless-dev-eu-west-1-syslog-data | |
| Format: Parquet | |
| Enabled: 'true' | |
| Id: boundless-dev-eu-west-1-syslog-data-inventory-parquet | |
| IncludedObjectVersions: All | |
| OptionalFields: [] | |
| Prefix: inventory/ | |
| ScheduleFrequency: Daily | |
| LifecycleConfiguration: | |
| Rules: | |
| - AbortIncompleteMultipartUpload: | |
| DaysAfterInitiation: 1 | |
| Status: Enabled | |
| - ExpirationInDays: 365 | |
| Id: Delete after 365 days | |
| Status: Enabled | |
| TagFilters: | |
| - Key: ExpirationDays | |
| Value: '365' | |
| - ExpirationInDays: 270 | |
| Id: Delete after 270 days | |
| Status: Enabled | |
| TagFilters: | |
| - Key: ExpirationDays | |
| Value: '270' | |
| - ExpirationInDays: 180 | |
| Id: Delete after 180 days | |
| Status: Enabled | |
| TagFilters: | |
| - Key: ExpirationDays | |
| Value: '180' | |
| - ExpirationInDays: 90 | |
| Id: Delete after 90 days | |
| Status: Enabled | |
| TagFilters: | |
| - Key: ExpirationDays | |
| Value: '90' | |
| - ExpirationInDays: 60 | |
| Id: Delete after 60 days | |
| Status: Enabled | |
| TagFilters: | |
| - Key: ExpirationDays | |
| Value: '60' | |
| - ExpirationInDays: 45 | |
| Id: Delete after 45 days | |
| Status: Enabled | |
| TagFilters: | |
| - Key: ExpirationDays | |
| Value: '45' | |
| - ExpirationInDays: 30 | |
| Id: Delete after 30 days | |
| Status: Enabled | |
| TagFilters: | |
| - Key: ExpirationDays | |
| Value: '30' | |
| - ExpirationInDays: 15 | |
| Id: Delete after 15 days | |
| Status: Enabled | |
| TagFilters: | |
| - Key: ExpirationDays | |
| Value: '15' | |
| - ExpirationInDays: 1 | |
| Id: Delete after 1 days | |
| Status: Enabled | |
| TagFilters: | |
| - Key: ExpirationDays | |
| Value: '1' | |
| MetricsConfigurations: | |
| - Id: boundless-dev-eu-west-1-syslog-data-metrics | |
| ObjectLockEnabled: 'true' | |
| PublicAccessBlockConfiguration: | |
| BlockPublicAcls: 'true' | |
| BlockPublicPolicy: 'true' | |
| IgnorePublicAcls: 'true' | |
| RestrictPublicBuckets: 'true' | |
| VersioningConfiguration: | |
| Status: Enabled | |
| Type: AWS::S3::Bucket | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment