private createThingInstallerDevEnvPolicy()

in infra/stack/iot/thing-installer-stack.ts [104:124]


    private createThingInstallerDevEnvPolicy(): iam.PolicyStatement {
        const statement = {
            "Sid": "DeployDevTools",
            "Effect": "Allow",
            "Action": [
                "greengrass:CreateDeployment",
                "iot:CancelJob",
                "iot:CreateJob",
                "iot:DeleteThingShadow",
                "iot:DescribeJob",
                "iot:DescribeThing",
                "iot:DescribeThingGroup",
                "iot:GetThingShadow",
                "iot:UpdateJob",
                "iot:UpdateThingShadow"
            ],
            "Resource": "*"
        };

        return iam.PolicyStatement.fromJson(statement);
    }