Difference between revisions of "Amazon Free AWS training in Stratford"

From MyWiki
Jump to: navigation, search
Line 9: Line 9:
 
In the editor textbox, completely replace the sample policy with the following.
 
In the editor textbox, completely replace the sample policy with the following.
 
</source>
 
</source>
<source lang="json">
+
<source lang="text">
 
{
 
{
 
     "Version": "2012-10-17",
 
     "Version": "2012-10-17",

Revision as of 19:17, 22 August 2019

'Bold text'EDX Course
Week 2 - Exercise 4

Create an AWS IAM policy
In the AWS Management Console, click Services, then click IAM to open the IAM dashboard.
In the left navigation menu, click Policies.
Click Create policy.
Click the JSON tab.
In the editor textbox, completely replace the sample policy with the following.
{
    "Version": "2012-10-17",
    "Statement": [
        {
            "Sid": "Sid1",
            "Effect": "Allow",
            "Action": [
                "iam:*",
                "rds:*",
                "sns:*",
                "cloudformation:*",
                "rekognition:*",
                "ec2:*",
                "cognito-idp:*",
                "sqs:*",
                "xray:*",
                "s3:*",
                "elasticloadbalancing:*",
                "cloud9:*",
                "lambda:*",
                "tag:GetResources",
                "logs:*",
                "kms:ListKeyPolicies",
                "kms:GenerateRandom",
                "kms:ListRetirableGrants",
                "kms:GetKeyPolicy",
                "kms:ListResourceTags",
                "kms:ReEncryptFrom",
                "kms:ListGrants",
                "kms:GetParametersForImport",
                "kms:ListKeys",
                "kms:GetKeyRotationStatus",
                "kms:ListAliases",
                "kms:ReEncryptTo",
                "kms:DescribeKey"
            ],
            "Resource": "*"
        }
    ]
}