|
1 | 1 | AWSTemplateFormatVersion: "2010-09-09" |
2 | | -Description: AWS Billing Data Export Aggregation v0.3.0 |
| 2 | +Description: AWS Billing Data Export Aggregation v0.3.1 |
3 | 3 | Metadata: |
4 | 4 |
|
5 | 5 | AWS::CloudFormation::Interface: |
@@ -331,46 +331,70 @@ Resources: |
331 | 331 | Bucket: !Sub "arn:${AWS::Partition}:s3:::${ResourcePrefix}-${DestinationAccountId}-data-exports" |
332 | 332 | StorageClass: STANDARD |
333 | 333 | Id: ReplicateCUR2Data |
334 | | - Prefix: !Sub "cur2/${AWS::AccountId}/${ResourcePrefix}-cur2/data/" # Hardcoded export name |
| 334 | + Filter: |
| 335 | + Prefix: !Sub "cur2/${AWS::AccountId}/${ResourcePrefix}-cur2/data/" # Hardcoded export name |
335 | 336 | Status: Enabled |
| 337 | + Priority: 1 |
| 338 | + DeleteMarkerReplication: |
| 339 | + Status: Enabled |
336 | 340 | - Destination: |
337 | 341 | Bucket: !Sub "arn:${AWS::Partition}:s3:::${ResourcePrefix}-${DestinationAccountId}-data-exports" |
338 | 342 | StorageClass: STANDARD |
339 | 343 | Id: ReplicateFOCUSData |
340 | | - Prefix: !Sub "focus/${AWS::AccountId}/${ResourcePrefix}-focus/data/" # Hardcoded export name |
| 344 | + Filter: |
| 345 | + Prefix: !Sub "focus/${AWS::AccountId}/${ResourcePrefix}-focus/data/" # Hardcoded export name |
341 | 346 | Status: Enabled |
| 347 | + Priority: 2 |
| 348 | + DeleteMarkerReplication: |
| 349 | + Status: Enabled |
342 | 350 | - Destination: |
343 | 351 | Bucket: !Sub "arn:${AWS::Partition}:s3:::${ResourcePrefix}-${DestinationAccountId}-data-exports" |
344 | 352 | StorageClass: STANDARD |
345 | 353 | Id: ReplicateCOHData |
346 | | - Prefix: !Sub "coh/${AWS::AccountId}/${ResourcePrefix}-coh/data/" # Hardcoded export name |
| 354 | + Filter: |
| 355 | + Prefix: !Sub "coh/${AWS::AccountId}/${ResourcePrefix}-coh/data/" # Hardcoded export name |
347 | 356 | Status: Enabled |
| 357 | + Priority: 3 |
| 358 | + DeleteMarkerReplication: |
| 359 | + Status: Enabled |
348 | 360 | - Fn::If: |
349 | 361 | - NonEmptySecondaryDestinationBucket |
350 | 362 | - Destination: |
351 | 363 | Bucket: !Sub "arn:${AWS::Partition}:s3:::${SecondaryDestinationBucket}" |
352 | 364 | StorageClass: STANDARD |
353 | 365 | Id: ReplicateCUR2DataToSecondaryBucket |
354 | | - Prefix: !Sub "cur2/${AWS::AccountId}/${ResourcePrefix}-cur2/data/" # Hardcoded export name |
| 366 | + Filter: |
| 367 | + Prefix: !Sub "cur2/${AWS::AccountId}/${ResourcePrefix}-cur2/data/" # Hardcoded export name |
355 | 368 | Status: Enabled |
| 369 | + Priority: 101 |
| 370 | + DeleteMarkerReplication: |
| 371 | + Status: Enabled |
356 | 372 | - !Ref 'AWS::NoValue' |
357 | 373 | - Fn::If: |
358 | 374 | - NonEmptySecondaryDestinationBucket |
359 | 375 | - Destination: |
360 | 376 | Bucket: !Sub "arn:${AWS::Partition}:s3:::${SecondaryDestinationBucket}" |
361 | 377 | StorageClass: STANDARD |
362 | 378 | Id: ReplicateFOCUSDataToSecondaryBucket |
363 | | - Prefix: !Sub "focus/${AWS::AccountId}/${ResourcePrefix}-focus/data/" # Hardcoded export name |
| 379 | + Filter: |
| 380 | + Prefix: !Sub "focus/${AWS::AccountId}/${ResourcePrefix}-focus/data/" # Hardcoded export name |
364 | 381 | Status: Enabled |
| 382 | + Priority: 102 |
| 383 | + DeleteMarkerReplication: |
| 384 | + Status: Enabled |
365 | 385 | - !Ref 'AWS::NoValue' |
366 | 386 | - Fn::If: |
367 | 387 | - NonEmptySecondaryDestinationBucket |
368 | 388 | - Destination: |
369 | 389 | Bucket: !Sub "arn:${AWS::Partition}:s3:::${SecondaryDestinationBucket}" |
370 | 390 | StorageClass: STANDARD |
371 | 391 | Id: ReplicateCOHDataToSecondaryBucket |
372 | | - Prefix: !Sub "coh/${AWS::AccountId}/${ResourcePrefix}-coh/data/" # Hardcoded export name |
| 392 | + Filter: |
| 393 | + Prefix: !Sub "coh/${AWS::AccountId}/${ResourcePrefix}-coh/data/" # Hardcoded export name |
373 | 394 | Status: Enabled |
| 395 | + Priority: 103 |
| 396 | + DeleteMarkerReplication: |
| 397 | + Status: Enabled |
374 | 398 | - !Ref 'AWS::NoValue' |
375 | 399 | LifecycleConfiguration: |
376 | 400 | Rules: |
|
0 commit comments