|
532 | 532 | ] |
533 | 533 | } |
534 | 534 | }, |
| 535 | + "VPCFlowLogsS3WithDestinationOptionsBucket1B7AC456": { |
| 536 | + "Type": "AWS::S3::Bucket", |
| 537 | + "Properties": { |
| 538 | + "Tags": [ |
| 539 | + { |
| 540 | + "Key": "Name", |
| 541 | + "Value": "FlowLogsFeatureFlag/VPC" |
| 542 | + } |
| 543 | + ] |
| 544 | + }, |
| 545 | + "UpdateReplacePolicy": "Retain", |
| 546 | + "DeletionPolicy": "Retain" |
| 547 | + }, |
| 548 | + "VPCFlowLogsS3WithDestinationOptionsBucketPolicy35257B71": { |
| 549 | + "Type": "AWS::S3::BucketPolicy", |
| 550 | + "Properties": { |
| 551 | + "Bucket": { |
| 552 | + "Ref": "VPCFlowLogsS3WithDestinationOptionsBucket1B7AC456" |
| 553 | + }, |
| 554 | + "PolicyDocument": { |
| 555 | + "Statement": [ |
| 556 | + { |
| 557 | + "Action": "s3:PutObject", |
| 558 | + "Condition": { |
| 559 | + "StringEquals": { |
| 560 | + "s3:x-amz-acl": "bucket-owner-full-control", |
| 561 | + "aws:SourceAccount": { |
| 562 | + "Ref": "AWS::AccountId" |
| 563 | + } |
| 564 | + }, |
| 565 | + "ArnLike": { |
| 566 | + "aws:SourceArn": { |
| 567 | + "Fn::Join": [ |
| 568 | + "", |
| 569 | + [ |
| 570 | + "arn:", |
| 571 | + { |
| 572 | + "Ref": "AWS::Partition" |
| 573 | + }, |
| 574 | + ":logs:", |
| 575 | + { |
| 576 | + "Ref": "AWS::Region" |
| 577 | + }, |
| 578 | + ":", |
| 579 | + { |
| 580 | + "Ref": "AWS::AccountId" |
| 581 | + }, |
| 582 | + ":*" |
| 583 | + ] |
| 584 | + ] |
| 585 | + } |
| 586 | + } |
| 587 | + }, |
| 588 | + "Effect": "Allow", |
| 589 | + "Principal": { |
| 590 | + "Service": "delivery.logs.amazonaws.com" |
| 591 | + }, |
| 592 | + "Resource": { |
| 593 | + "Fn::Join": [ |
| 594 | + "", |
| 595 | + [ |
| 596 | + { |
| 597 | + "Fn::GetAtt": [ |
| 598 | + "VPCFlowLogsS3WithDestinationOptionsBucket1B7AC456", |
| 599 | + "Arn" |
| 600 | + ] |
| 601 | + }, |
| 602 | + "/AWSLogs/aws-account-id=", |
| 603 | + { |
| 604 | + "Ref": "AWS::AccountId" |
| 605 | + }, |
| 606 | + "/*" |
| 607 | + ] |
| 608 | + ] |
| 609 | + } |
| 610 | + }, |
| 611 | + { |
| 612 | + "Action": [ |
| 613 | + "s3:GetBucketAcl", |
| 614 | + "s3:ListBucket" |
| 615 | + ], |
| 616 | + "Condition": { |
| 617 | + "StringEquals": { |
| 618 | + "aws:SourceAccount": { |
| 619 | + "Ref": "AWS::AccountId" |
| 620 | + } |
| 621 | + }, |
| 622 | + "ArnLike": { |
| 623 | + "aws:SourceArn": { |
| 624 | + "Fn::Join": [ |
| 625 | + "", |
| 626 | + [ |
| 627 | + "arn:", |
| 628 | + { |
| 629 | + "Ref": "AWS::Partition" |
| 630 | + }, |
| 631 | + ":logs:", |
| 632 | + { |
| 633 | + "Ref": "AWS::Region" |
| 634 | + }, |
| 635 | + ":", |
| 636 | + { |
| 637 | + "Ref": "AWS::AccountId" |
| 638 | + }, |
| 639 | + ":*" |
| 640 | + ] |
| 641 | + ] |
| 642 | + } |
| 643 | + } |
| 644 | + }, |
| 645 | + "Effect": "Allow", |
| 646 | + "Principal": { |
| 647 | + "Service": "delivery.logs.amazonaws.com" |
| 648 | + }, |
| 649 | + "Resource": { |
| 650 | + "Fn::GetAtt": [ |
| 651 | + "VPCFlowLogsS3WithDestinationOptionsBucket1B7AC456", |
| 652 | + "Arn" |
| 653 | + ] |
| 654 | + } |
| 655 | + } |
| 656 | + ], |
| 657 | + "Version": "2012-10-17" |
| 658 | + } |
| 659 | + } |
| 660 | + }, |
| 661 | + "VPCFlowLogsS3WithDestinationOptionsFlowLog030C15B2": { |
| 662 | + "Type": "AWS::EC2::FlowLog", |
| 663 | + "Properties": { |
| 664 | + "ResourceId": { |
| 665 | + "Ref": "VPCB9E5F0B4" |
| 666 | + }, |
| 667 | + "ResourceType": "VPC", |
| 668 | + "TrafficType": "ALL", |
| 669 | + "DestinationOptions": { |
| 670 | + "fileFormat": "plain-text", |
| 671 | + "perHourPartition": false, |
| 672 | + "hiveCompatiblePartitions": true |
| 673 | + }, |
| 674 | + "LogDestination": { |
| 675 | + "Fn::GetAtt": [ |
| 676 | + "VPCFlowLogsS3WithDestinationOptionsBucket1B7AC456", |
| 677 | + "Arn" |
| 678 | + ] |
| 679 | + }, |
| 680 | + "LogDestinationType": "s3", |
| 681 | + "Tags": [ |
| 682 | + { |
| 683 | + "Key": "Name", |
| 684 | + "Value": "FlowLogsFeatureFlag/VPC" |
| 685 | + } |
| 686 | + ] |
| 687 | + } |
| 688 | + }, |
535 | 689 | "FlowLogsInstanceInstanceSecurityGroupF61782E0": { |
536 | 690 | "Type": "AWS::EC2::SecurityGroup", |
537 | 691 | "Properties": { |
|
0 commit comments