mirror of
https://github.com/Sea-Haven-Industries/proposal-system.git
synced 2026-09-30 10:03:14 +00:00
52 lines
1.7 KiB
JSON
52 lines
1.7 KiB
JSON
|
|
{
|
||
|
|
"Version": "2012-10-17",
|
||
|
|
"Statement": [
|
||
|
|
{
|
||
|
|
"Sid": "AssumeCdkBootstrapRoles",
|
||
|
|
"Effect": "Allow",
|
||
|
|
"Action": "sts:AssumeRole",
|
||
|
|
"Resource": [
|
||
|
|
"arn:aws:iam::011934824531:role/cdk-hnb659fds-deploy-role-011934824531-us-east-1",
|
||
|
|
"arn:aws:iam::011934824531:role/cdk-hnb659fds-file-publishing-role-011934824531-us-east-1",
|
||
|
|
"arn:aws:iam::011934824531:role/cdk-hnb659fds-lookup-role-011934824531-us-east-1",
|
||
|
|
"arn:aws:iam::011934824531:role/cdk-hnb659fds-image-publishing-role-011934824531-us-east-1"
|
||
|
|
]
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"Sid": "CdkDeployHealthCheck",
|
||
|
|
"Effect": "Allow",
|
||
|
|
"Action": "cloudformation:DescribeStacks",
|
||
|
|
"Resource": "*",
|
||
|
|
"Condition": {
|
||
|
|
"StringEquals": {
|
||
|
|
"aws:RequestedRegion": "us-east-1"
|
||
|
|
}
|
||
|
|
}
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"Sid": "FrontendSiteBucketSync",
|
||
|
|
"Effect": "Allow",
|
||
|
|
"Action": [
|
||
|
|
"s3:PutObject",
|
||
|
|
"s3:DeleteObject",
|
||
|
|
"s3:ListBucket"
|
||
|
|
],
|
||
|
|
"Resource": [
|
||
|
|
"arn:aws:s3:::proposal-system-web-011934824531",
|
||
|
|
"arn:aws:s3:::proposal-system-web-011934824531/*"
|
||
|
|
]
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"Sid": "CloudFrontInvalidation",
|
||
|
|
"Effect": "Allow",
|
||
|
|
"Action": "cloudfront:CreateInvalidation",
|
||
|
|
"Resource": "*",
|
||
|
|
"Condition": {
|
||
|
|
"StringEquals": {
|
||
|
|
"aws:ResourceAccount": "011934824531"
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|
||
|
|
]
|
||
|
|
}
|