src/main/java/com/awslabs/aws/greengrass/provisioner/implementations/helpers/BasicDeploymentHelper.java
private Role createCoreRole(RoleConf coreRoleConf) {
        requireAssumeRolePolicy(coreRoleConf, "core");

        return createRoleFromRoleConfAndAttachPolicies("core", coreRoleConf);
    }
/**
     * Create IAM resources and configuration required for Greengrass
     *
     * @param coreRoleConf
     * @return
     */
Create IAM resources and configuration required for Greengrass
@param coreRoleConf
@return
Create IAM resources and configuration required for Greengrass @param coreRoleConf @return
private Role createCoreRole(RoleConf coreRoleConf) {
        requireAssumeRolePolicy(coreRoleConf, "core");
        return createRoleFromRoleConfAndAttachPolicies("core", coreRoleConf);
    }
private Role createCoreRole ( RoleConf coreRoleConf ) { requireAssumeRolePolicy ( coreRoleConf , "core" ) ; return createRoleFromRoleConfAndAttachPolicies ( "core" , coreRoleConf ) ; }
Create IAM resources and configuration required for Greengrass
 @param coreRoleConf
 @return
Create IAM resources and configuration required for Greengrass @param coreRoleConf @return