-
-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
103 changed files
with
3,202 additions
and
148 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
113 changes: 113 additions & 0 deletions
113
docs/source/_static/managed-policies/AWSCloudFrontVPCOriginServiceRolePolicy.json
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,113 @@ | ||
{ | ||
"Version": "2012-10-17", | ||
"Statement": [ | ||
{ | ||
"Sid": "EC2Action1", | ||
"Effect": "Allow", | ||
"Action": [ | ||
"ec2:CreateNetworkInterface" | ||
], | ||
"Condition": { | ||
"StringEquals": { | ||
"aws:RequestTag/aws.cloudfront.vpcorigin": "enabled" | ||
} | ||
}, | ||
"Resource": "arn:aws:ec2:*:*:network-interface/*" | ||
}, | ||
{ | ||
"Sid": "EC2Action2", | ||
"Effect": "Allow", | ||
"Action": [ | ||
"ec2:CreateNetworkInterface" | ||
], | ||
"Resource": [ | ||
"arn:aws:ec2:*:*:subnet/*", | ||
"arn:aws:ec2:*:*:security-group/*" | ||
] | ||
}, | ||
{ | ||
"Sid": "EC2Action3", | ||
"Effect": "Allow", | ||
"Action": [ | ||
"ec2:CreateSecurityGroup" | ||
], | ||
"Condition": { | ||
"StringEquals": { | ||
"aws:RequestTag/aws.cloudfront.vpcorigin": "enabled" | ||
} | ||
}, | ||
"Resource": [ | ||
"arn:aws:ec2:*:*:security-group/*" | ||
] | ||
}, | ||
{ | ||
"Sid": "EC2Action4", | ||
"Effect": "Allow", | ||
"Action": [ | ||
"ec2:CreateSecurityGroup" | ||
], | ||
"Resource": [ | ||
"arn:aws:ec2:*:*:vpc/*" | ||
] | ||
}, | ||
{ | ||
"Sid": "EC2Action5", | ||
"Effect": "Allow", | ||
"Action": [ | ||
"ec2:ModifyNetworkInterfaceAttribute", | ||
"ec2:DeleteNetworkInterface", | ||
"ec2:DeleteSecurityGroup", | ||
"ec2:AssignIpv6Addresses", | ||
"ec2:UnassignIpv6Addresses" | ||
], | ||
"Condition": { | ||
"StringEquals": { | ||
"aws:ResourceTag/aws.cloudfront.vpcorigin": "enabled" | ||
} | ||
}, | ||
"Resource": "*" | ||
}, | ||
{ | ||
"Sid": "EC2Action6", | ||
"Effect": "Allow", | ||
"Action": [ | ||
"ec2:DescribeNetworkInterfaces", | ||
"ec2:DescribeSecurityGroups", | ||
"ec2:DescribeInstances", | ||
"ec2:DescribeInternetGateways", | ||
"ec2:DescribeSubnets", | ||
"ec2:DescribeRegions", | ||
"ec2:DescribeAddresses" | ||
], | ||
"Resource": "*" | ||
}, | ||
{ | ||
"Sid": "EC2Action7", | ||
"Effect": "Allow", | ||
"Action": "ec2:CreateTags", | ||
"Condition": { | ||
"StringEquals": { | ||
"aws:RequestTag/aws.cloudfront.vpcorigin": "enabled", | ||
"ec2:CreateAction": [ | ||
"CreateNetworkInterface", | ||
"CreateSecurityGroup" | ||
] | ||
} | ||
}, | ||
"Resource": [ | ||
"arn:aws:ec2:*:*:security-group/*", | ||
"arn:aws:ec2:*:*:network-interface/*" | ||
] | ||
}, | ||
{ | ||
"Sid": "ElbAction1", | ||
"Effect": "Allow", | ||
"Action": [ | ||
"elasticloadbalancing:DescribeLoadBalancers", | ||
"elasticloadbalancing:DescribeListeners", | ||
"elasticloadbalancing:DescribeTargetGroups" | ||
], | ||
"Resource": "*" | ||
} | ||
] | ||
} |
This file contains 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
102 changes: 102 additions & 0 deletions
102
docs/source/_static/managed-policies/AWSCompromisedKeyQuarantineV3.json
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,102 @@ | ||
{ | ||
"Version": "2012-10-17", | ||
"Statement": [ | ||
{ | ||
"Effect": "Deny", | ||
"Action": [ | ||
"cloudtrail:LookupEvents", | ||
"ec2:RequestSpotInstances", | ||
"ec2:RunInstances", | ||
"ec2:StartInstances", | ||
"iam:AddUserToGroup", | ||
"iam:AttachGroupPolicy", | ||
"iam:AttachRolePolicy", | ||
"iam:AttachUserPolicy", | ||
"iam:ChangePassword", | ||
"iam:CreateAccessKey", | ||
"iam:CreateInstanceProfile", | ||
"iam:CreateLoginProfile", | ||
"iam:CreatePolicyVersion", | ||
"iam:CreateRole", | ||
"iam:CreateUser", | ||
"iam:DetachUserPolicy", | ||
"iam:PassRole", | ||
"iam:PutGroupPolicy", | ||
"iam:PutRolePolicy", | ||
"iam:PutUserPermissionsBoundary", | ||
"iam:PutUserPolicy", | ||
"iam:SetDefaultPolicyVersion", | ||
"iam:UpdateAccessKey", | ||
"iam:UpdateAccountPasswordPolicy", | ||
"iam:UpdateAssumeRolePolicy", | ||
"iam:UpdateLoginProfile", | ||
"iam:UpdateUser", | ||
"lambda:AddLayerVersionPermission", | ||
"lambda:AddPermission", | ||
"lambda:CreateFunction", | ||
"lambda:GetPolicy", | ||
"lambda:ListTags", | ||
"lambda:PutProvisionedConcurrencyConfig", | ||
"lambda:TagResource", | ||
"lambda:UntagResource", | ||
"lambda:UpdateFunctionCode", | ||
"lightsail:Create*", | ||
"lightsail:Delete*", | ||
"lightsail:DownloadDefaultKeyPair", | ||
"lightsail:GetInstanceAccessDetails", | ||
"lightsail:Start*", | ||
"lightsail:Update*", | ||
"organizations:CreateAccount", | ||
"organizations:CreateOrganization", | ||
"organizations:InviteAccountToOrganization", | ||
"s3:DeleteBucket", | ||
"s3:DeleteObject", | ||
"s3:DeleteObjectVersion", | ||
"s3:PutLifecycleConfiguration", | ||
"s3:PutBucketAcl", | ||
"s3:PutBucketOwnershipControls", | ||
"s3:DeleteBucketPolicy", | ||
"s3:ObjectOwnerOverrideToBucketOwner", | ||
"s3:PutAccountPublicAccessBlock", | ||
"s3:PutBucketPolicy", | ||
"s3:ListAllMyBuckets", | ||
"ec2:PurchaseReservedInstancesOffering", | ||
"ec2:AcceptReservedInstancesExchangeQuote", | ||
"ec2:CreateReservedInstancesListing", | ||
"savingsplans:CreateSavingsPlan", | ||
"ecs:CreateService", | ||
"ecs:CreateCluster", | ||
"ecs:RegisterTaskDefinition", | ||
"ecr:GetAuthorizationToken", | ||
"bedrock:CreateModelInvocationJob", | ||
"bedrock:InvokeModelWithResponseStream", | ||
"bedrock:CreateFoundationModelAgreement", | ||
"bedrock:PutFoundationModelEntitlement", | ||
"bedrock:InvokeModel", | ||
"s3:CreateBucket", | ||
"s3:PutBucketCors", | ||
"s3:GetObject", | ||
"s3:ListBucket", | ||
"sagemaker:CreateEndpointConfig", | ||
"sagemaker:CreateProcessingJob", | ||
"ses:GetSendQuota", | ||
"ses:ListIdentities", | ||
"sts:GetSessionToken", | ||
"sts:GetFederationToken", | ||
"amplify:CreateDeployment", | ||
"amplify:CreateBackendEnvironment", | ||
"codebuild:CreateProject", | ||
"glue:CreateJob", | ||
"iam:DeleteRole", | ||
"iam:DeleteAccessKey", | ||
"iam:ListUsers", | ||
"lambda:GetEventSourceMapping", | ||
"sns:GetSMSAttributes", | ||
"mediapackagev2:CreateChannel" | ||
], | ||
"Resource": [ | ||
"*" | ||
] | ||
} | ||
] | ||
} |
Oops, something went wrong.